HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
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: {},
    },
  },
];