File: //proc/self/root/home/arjun/projects/buyercall/buyercall/assets/vue/mock/partnershipAccounts.js
import { GET, POST, PUT } from '../constants';
export default [
{
type: GET,
endpoint: /partnership\/accounts\/\d$/,
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Partnership account details Fetched Successfully!',
data: {
sid: 'Ss5sfdgS-ZhYs454s-5555215ss-retwewt4t',
name: 'Hello',
description: 'Hello',
safety_information: 'Hello',
address_1: 'Hello',
address_2: 'Hello',
city: 'Hello',
state: 'Hello',
zip_code: 'Hello',
country: 'Hello',
timezone: 'US/Eastern',
email: 'testtet',
active: true,
billing_type: 'partnership',
business_type: 'automotive',
},
},
},
{
type: POST,
endpoint: '/partnership/accounts',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Partnership account created Successfully!',
data: {},
},
},
{
type: PUT,
endpoint: '/partnership/accounts/1',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Partnership account updated Successfully!',
data: {},
},
},
{
type: GET,
endpoint: '/partnership/accounts',
status: 200,
response: {
statusCode: 200,
success: true,
message: 'Partnership accounts Fetched Successfully!',
data: [
{
sid: 1,
account_name: 'Account One',
partnerId: 10,
partnershipName: 'Partnership One',
email: 'test@test.com',
active: true,
created_on: '2018/07/29',
updated_on: '2018/07/29',
business_type: 'automotive',
billing_type: 'partnership',
},
{
sid: 2,
account_name: 'Account Two',
partnerId: 10,
partnershipName: 'Partnership One',
email: 'test@test.com',
active: true,
created_on: '2018/07/29',
updated_on: '2018/07/29',
business_type: 'automotive',
billing_type: 'partnership',
},
{
sid: 3,
account_name: 'Account Three',
partnerId: 10,
partnershipName: 'Partnership One',
email: 'test@test.com',
active: true,
created_on: '2018/07/29',
updated_on: '2018/07/29',
business_type: 'automotive',
billing_type: 'partnership',
},
],
},
},
];