File: //proc/self/root/home/arjun/projects/buyercall/buyercall/assets/vue/mock/partnershipSettings.js
import { GET, POST, DELETE } from '../constants';
export default [
{
type: GET,
endpoint: '/partnership/settings',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Partnership settings fetched successfully!',
data: {
name: 'Buyercall Inc',
// partnerImage:
// 'https://cdn.icon-icons.com/icons2/1736/PNG/512/4043260-avatar-male-man-portrait_113269.png',
partnerImage: '',
partnerImageSmall:
'https://cdn.icon-icons.com/icons2/1736/PNG/512/4043260-avatar-male-man-portrait_113269.png',
notificationUsers: [
{
firstName: 'Louis',
lastName: 'Saha',
email: 'louissaha@gmail.com',
id: 1,
},
{
firstName: 'Mark',
lastName: 'Otto',
email: 'markotto@gmail.com',
id: 2,
},
],
},
},
},
{
type: POST,
endpoint: '/partnership/settings',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Partnership settings updated successfully!',
data: {},
},
},
{
type: GET,
endpoint: '/partnership/users',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Partnership users fetched successfully!',
data: [
{
label: 'Louis Saha',
value: 'aa',
},
{
label: 'Mark Otto',
value: 'ab',
},
{
label: 'Helena law',
value: 'ac',
},
],
},
},
{
type: POST,
endpoint: '/partnership/notification-users',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Partnership notfication users updated successfully!',
data: {},
},
},
{
type: DELETE,
endpoint: /partnership\/notification-user\/\w\w?$/,
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Partnership notfication user deleted successfully!',
data: {},
},
},
];