File size: 1,597 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import type { FeaturesByType } from '../../types';

// Individual Features
export const API_FEATURE_CUSTOM_DOMAIN = {
	id: 'custom-domain',
	name: 'Free domain for One Year',
	description:
		'Get a free domain for one year. Premium domains not included. Your domain will renew at its regular price.',
};
export const API_FEATURE_LIVE_SUPPORT = {
	id: 'support-live',
	name: 'Live chat support',
	description:
		'High quality support to help you get your website up and running and working how you want it.',
};
export const API_FEATURE_PRIORITY_SUPPORT = {
	id: 'priority-support',
	name: '24/7 Priority live chat support',
	description: 'Receive faster support from our WordPress experts - weekends included.',
};
export const API_FEATURE_RECURRING_PAYMENTS = {
	id: 'recurring-payments',
	name: 'Sell subscriptions (recurring payments)',
	description: 'Accept one-time, monthly or annual payments on your website.',
};
export const API_FEATURE_WORDADS = {
	id: 'wordads',
	name: 'WordAds',
	description: 'Put your site to work and earn through ad revenue.',
};

// Feature groups (by type)
export const API_FEATURES_BY_TYPE_GENERAL: FeaturesByType = {
	id: 'general',
	name: null,
	features: [
		API_FEATURE_CUSTOM_DOMAIN.id,
		API_FEATURE_LIVE_SUPPORT.id,
		API_FEATURE_PRIORITY_SUPPORT.id,
	],
};
export const API_FEATURES_BY_TYPE_COMMERCE: FeaturesByType = {
	id: 'commerce',
	name: 'Commerce',
	features: [ API_FEATURE_RECURRING_PAYMENTS.id ],
};
export const API_FEATURES_BY_TYPE_MARKETING: FeaturesByType = {
	id: 'marketing',
	name: 'Marketing',
	features: [ API_FEATURE_WORDADS.id ],
};