File: //proc/self/root/home/arjun/projects/buyercall/buyercall/assets/vue/mock/profileMockAPIs.js
import { GET, POST } from '../constants';
export default [
{
type: POST,
endpoint: '/profile/information',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Profile information successfully updated!',
data: {},
},
},
{
type: POST,
endpoint: '/profile/security-information',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Profile security information successfully updated!',
data: {},
},
},
{
type: POST,
endpoint: '/profile/two-factor-authentication',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Two factor authentication successfully updated!',
data: {},
},
},
{
type: POST,
endpoint: '/profile/theme-settings',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Theme settings successfully updated!',
data: {},
},
},
{
type: GET,
endpoint: '/profile',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Profile info fetched successfully!',
data: {
firstName: 'Louis',
lastName: 'Saha',
timeZoneId: 1,
jobTitle: 'Job Title',
department: 'Department',
languageId: 1,
// profileImage:
// 'https://cdn.icon-icons.com/icons2/1736/PNG/512/4043260-avatar-male-man-portrait_113269.png',
profileImage: '',
email: 'test@test.com',
mobileNumber: '(123) 456 7890',
'two-factor-auth': false,
darkMode: false,
loginInfo: {
signInCount: 21,
currentSignInOn: '2001-12-12 3:45 PM',
currentSignInIP: '127.0.0.1',
lastSignInDate: '2001-12-12 3:45 PM',
lastSignInIP: '127.0.0.1',
},
},
},
},
{
type: GET,
endpoint: '/profile/in-app-notification-settings',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Profile in app notifications successfully fetched!',
data: {
IanNewLead: true,
IanNewTasks: true,
IanAllTasks: true,
IanAccountActivity: true,
IanAccountSecurity: true,
PushNotification: true,
IanEmailPromotions: true,
},
},
},
{
type: POST,
endpoint: '/profile/in-app-notification-settings',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Profile in app notifications successfully updated!',
data: {},
},
},
{
type: GET,
endpoint: '/profile/email-notification-settings',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Profile email notification settings successfully fetched!',
data: {
EmnNewLead: true,
EmnNewTasks: true,
EmnAllTasks: true,
EmnAccountActivity: true,
EmnAccountSecurity: true,
EmnPromotions: true,
},
},
},
{
type: POST,
endpoint: '/profile/email-notification-settings',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Profile email notification settings successfully updated!',
data: {},
},
},
];