Chatwoot/app/javascript/dashboard/store/modules/specs/campaigns/fixtures.js

46 lines
1 KiB
JavaScript
Raw Normal View History

2021-05-04 09:38:41 +00:00
export default [
{
id: 1,
2021-05-04 09:38:41 +00:00
title: 'Welcome',
description: null,
account_id: 1,
campaign_type: 'ongoing',
2021-05-04 09:38:41 +00:00
message: 'Hey, What brings you today',
enabled: true,
trigger_rules: {
url: 'https://github.com',
time_on_page: 10,
},
created_at: '2021-05-03T04:53:36.354Z',
updated_at: '2021-05-03T04:53:36.354Z',
},
{
id: 2,
2021-05-04 09:38:41 +00:00
title: 'Onboarding Campaign',
description: null,
account_id: 1,
campaign_type: 'one_off',
2021-05-04 09:38:41 +00:00
trigger_rules: {
url: 'https://chatwoot.com',
time_on_page: '20',
},
created_at: '2021-05-03T08:15:35.828Z',
updated_at: '2021-05-03T08:15:35.828Z',
},
{
id: 3,
2021-05-04 09:38:41 +00:00
title: 'Thanks',
description: null,
account_id: 1,
campaign_type: 'ongoing',
2021-05-04 09:38:41 +00:00
message: 'Thanks for coming to the show. How may I help you?',
enabled: false,
trigger_rules: {
url: 'https://noshow.com',
time_on_page: 10,
},
created_at: '2021-05-03T10:22:51.025Z',
updated_at: '2021-05-03T10:22:51.025Z',
},
];