ans123's picture
Initial upload from Colab
ef1ad9e verified
get_loan_offcier_response = {
"status": 200,
"message": "Loan officer details fetched successfully!",
"success": True,
"data": {
"first_name": "Suketu",
"last_name": "Gaglani",
"nmls_id": "2215236",
"organization": None,
"email": "[email protected]",
"mobile": None,
},
}
get_user_details_response = {
"status": 200,
"message": "User details fetched successfully!",
"success": True,
"data": {
"user": {
"lastName": "Lakhwani",
"isOnboardingCompleted": "1",
"stateId": 43,
"branch": None,
"email": "[email protected]",
"organisationNMLS": None,
"cityName": None,
"employeeTypeId": None,
"isOrganisation": "0",
"zipCode": None,
"profilePicture": None,
"phoneNumber": "(123)4567890",
"verificationCode": None,
"address": None,
"createdAt": "2024-09-12T07:11:26.796770Z",
"NMLS": "123456",
"isVerified": "1",
"mortgageBrokerName": None,
"updatedAt": "2024-09-12T07:11:38.901543Z",
"userId": 1,
"lenderId": 1070,
"lastLoginTime": None,
"dateOfBirth": None,
"isActive": "1",
"role": "consumer",
"company": None,
"firstName": "Ritik",
"googleOauthId": None,
"stateName": None,
}
},
}
get_all_users_response = {
"status": 200,
"message": "Users fetched successfully!",
"success": True,
"data": {
"users": [
{
"lastName": "testing",
"isOnboardingCompleted": "1",
"stateId": None,
"branch": None,
"email": "[email protected]",
"organisationNMLS": None,
"cityName": None,
"employeeTypeId": None,
"isOrganisation": "0",
"zipCode": None,
"profilePicture": None,
"phoneNumber": "9970849501",
"verificationCode": 545220,
"address": None,
"createdAt": "2024-09-12T07:11:26.796770Z",
"NMLS": None,
"isVerified": "0",
"mortgageBrokerName": None,
"updatedAt": "2024-09-12T07:11:38.901543Z",
"userId": 1014,
"lenderId": None,
"lastLoginTime": "2024-08-14T10:03:34.065492Z",
"dateOfBirth": None,
"isActive": "1",
"role": "consumer",
"company": None,
"firstName": "loadstar",
"googleOauthId": None,
"stateName": None,
},
{
"lastName": "pharandemailtesting",
"isOnboardingCompleted": "1",
"stateId": None,
"branch": None,
"email": "[email protected]",
"organisationNMLS": "",
"cityName": None,
"employeeTypeId": None,
"isOrganisation": "0",
"zipCode": None,
"profilePicture": None,
"phoneNumber": "2345678987",
"verificationCode": None,
"address": None,
"createdAt": "2024-09-12T07:11:26.796770Z",
"NMLS": "",
"isVerified": "1",
"mortgageBrokerName": None,
"updatedAt": "2024-09-12T07:11:38.901543Z",
"userId": 963,
"lenderId": 960,
"lastLoginTime": None,
"dateOfBirth": None,
"isActive": "1",
"role": "consumer",
"company": None,
"firstName": "shreyasmailtesting",
"googleOauthId": None,
"stateName": None,
},
]
},
}
get_loan_officers_response = {
"status": 200,
"message": "Loan Officers fetched successfully!",
"success": True,
"data": {
"users": [
{
"lastName": "Lakhwani",
"isOnboardingCompleted": None,
"stateId": 43,
"branch": None,
"email": "[email protected]",
"organisationNMLS": "123456",
"cityName": None,
"employeeTypeId": None,
"isOrganisation": "1",
"zipCode": None,
"profilePicture": None,
"phoneNumber": "0987654321",
"verificationCode": None,
"address": None,
"createdAt": "2024-09-12T07:11:26.796770Z",
"NMLS": "123456",
"isVerified": "1",
"mortgageBrokerName": None,
"updatedAt": "2024-09-12T07:11:38.901543Z",
"userId": 765,
"lenderId": 501,
"lastLoginTime": None,
"dateOfBirth": None,
"isActive": "1",
"role": "loan_officer_admin",
"company": None,
"firstName": "Nayan",
"googleOauthId": None,
"stateName": None,
},
{
"lastName": "test",
"isOnboardingCompleted": "1",
"stateId": 43,
"branch": "any",
"email": "[email protected]",
"organisationNMLS": None,
"cityName": "any",
"employeeTypeId": 3,
"isOrganisation": "0",
"zipCode": "78451",
"profilePicture": None,
"phoneNumber": "7878787878",
"verificationCode": 975828,
"address": "anything",
"createdAt": "2024-08-30T11:12:38.707168Z",
"NMLS": "556622",
"isVerified": "1",
"mortgageBrokerName": None,
"updatedAt": "2024-09-03T12:06:56.153594Z",
"userId": 1128,
"lenderId": None,
"lastLoginTime": "2024-08-30T11:12:38.707168Z",
"dateOfBirth": "2022-08-30 00:00:00",
"isActive": "1",
"role": "loan_officer",
"company": "any",
"firstName": "test",
"googleOauthId": None,
"stateName": "undefined",
},
]
},
}
is_first_time_user_response = {
"status": 200,
"message": "User exists",
"success": True,
"data": {
"new_user": 0,
"user_profile_exists": 0,
"pending_application_id": 0,
"user_id": 1003,
"first_name": "Gowri",
"last_name": "Sankar",
"is_verified": "1",
},
}
get_user_profiles_response = {
"status": 200,
"message": "User Profiles fetched successfully!",
"success": True,
"data": {
"user_profiles": [
{
"lastName": "Lakhwani",
"suitNo": None,
"previousCityName": None,
"phoneNumber": "8989680289",
"stateId": 1,
"previousZipCode": None,
"email": "[email protected]",
"cityId": None,
"maritalStatusId": 1,
"citizenshipStatusId": 2,
"zipCode": "378377",
"applicationId": 7,
"userId": 12,
"DOB": "2024-07-17T18:30:00",
"rent": None,
"userProfileId": 7,
"SSN": "3212121323",
"yearsLiving": 2,
"firstName": "N",
"ownershipId": 1,
"presentAddressLessThanTwoYears": "0",
"middleName": None,
"currentAddress": "95 Rajmahal",
"previousAddress": None,
}
]
},
}
onboarding_data = {
"data": {
"onboardingId": 786,
"userId": 1003,
"isWorkingWithAnyLoanOfficer": "1",
"address": "string",
"lenderId": 1,
"loanPurposeId": 1,
"employmentTypeId": 1,
"statusId": 1,
"pageNumber": 1,
}
}
create_onboarding_profile_response = {
"status": 200,
"message": "Onboarding data created successfully!",
"success": True,
"data": onboarding_data,
}
update_onboarding_profile_response = {
"status": 200,
"message": "Onboarding data updated successfully!",
"success": True,
"data": onboarding_data,
}
get_onboarding_profile_response = {
"status": 200,
"message": "Onboarding data fetched successfully!",
"success": True,
"data": onboarding_data,
}
delete_application_response = {
"status": 200,
"message": "Application deleted successfully!",
"success": True,
"data": {},
}
change_password_response = {"status": 200, "message": "Password changed successfully", "success": True, "data": {}}
resend_verification_mail_response = {
"status": 200,
"message": "Verification email sent successfully",
"success": True,
"data": {},
}