UNPKG

@automattic/calypso-products

Version:

This module contains information about the various products sold within calypso, such as product slugs, plan intervals, etc.

166 lines 8.67 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PLAN_WPCOM_FLEXIBLE = exports.PLAN_P2_FREE = exports.PLAN_P2_PLUS = exports.PLAN_VIP = exports.PLAN_CHARGEBACK = exports.PLAN_WPCOM_ENTERPRISE = exports.PLAN_HOST_BUNDLE = exports.PLAN_FREE = exports.PLAN_WOOEXPRESS_PLUS = exports.PLAN_WOOEXPRESS_MEDIUM_MONTHLY = exports.PLAN_WOOEXPRESS_MEDIUM = exports.PLAN_WOOEXPRESS_SMALL_MONTHLY = exports.PLAN_WOOEXPRESS_SMALL = exports.PLAN_ECOMMERCE_TRIAL_MONTHLY = exports.PLAN_ECOMMERCE_3_YEARS = exports.PLAN_ECOMMERCE_2_YEARS = exports.PLAN_ECOMMERCE = exports.PLAN_ECOMMERCE_MONTHLY = exports.PLAN_BLOGGER_2_YEARS = exports.PLAN_BLOGGER = exports.PLAN_PERSONAL_3_YEARS = exports.PLAN_PERSONAL_2_YEARS = exports.PLAN_PERSONAL = exports.PLAN_PERSONAL_MONTHLY = exports.PLAN_PREMIUM_3_YEARS = exports.PLAN_PREMIUM_2_YEARS = exports.PLAN_PREMIUM = exports.PLAN_PREMIUM_MONTHLY = exports.PLAN_100_YEARS = exports.PLAN_BUSINESS_3_YEARS = exports.PLAN_BUSINESS_2_YEARS = exports.PLAN_BUSINESS = exports.PLAN_BUSINESS_MONTHLY = exports.WPCOM_PRODUCTS = exports.WPCOM_OTHER_PRODUCTS = exports.PRODUCT_WPCOM_CUSTOM_DESIGN = exports.PRODUCT_1GB_SPACE = exports.PRODUCT_WPCOM_UNLIMITED_THEMES = exports.PRODUCT_NO_ADS = exports.WPCOM_SPACE_UPGRADE_PRODUCTS = exports.PRODUCT_100GB_SPACE_UPGRADE = exports.PRODUCT_50GB_SPACE_UPGRADE = exports.PRODUCT_10GB_SPACE_UPGRADE = exports.PRODUCT_5GB_SPACE_UPGRADE = exports.PRODUCT_1GB_SPACE_UPGRADE = exports.WPCOM_SEARCH_PRODUCTS = exports.PRODUCT_WPCOM_SEARCH_MONTHLY = exports.PRODUCT_WPCOM_SEARCH = exports.GROUP_P2 = exports.GROUP_WPCOM = void 0; exports.PLAN_BUSINESS_2Y_ONBOARDING_EXPIRE = exports.PLAN_BUSINESS_ONBOARDING_EXPIRE = exports.WPCOM_DIFM_LITE = exports.WPCOM_PREMIUM_PLANS = exports.WOO_EXPRESS_PLANS = exports.WPCOM_MONTHLY_PLANS = exports.WPCOM_PLANS = exports.PLAN_HOSTING_TRIAL_MONTHLY = exports.PLAN_MIGRATION_TRIAL_MONTHLY = exports.PLAN_ENTERPRISE_GRID_WPCOM = exports.PLAN_WPCOM_STARTER = exports.PLAN_WPCOM_PRO_2_YEARS = exports.PLAN_WPCOM_PRO_MONTHLY = exports.PLAN_WPCOM_PRO = void 0; exports.GROUP_WPCOM = 'GROUP_WPCOM'; exports.GROUP_P2 = 'GROUP_P2'; /** * WPCOM Search Products */ exports.PRODUCT_WPCOM_SEARCH = 'wpcom_search'; exports.PRODUCT_WPCOM_SEARCH_MONTHLY = 'wpcom_search_monthly'; exports.WPCOM_SEARCH_PRODUCTS = [ exports.PRODUCT_WPCOM_SEARCH, exports.PRODUCT_WPCOM_SEARCH_MONTHLY, ]; /** * WPCOM Space Upgrade Products * - Special products that do not yet map to the exported `PRODUCTS_LIST` in @automattic/calypso-products */ exports.PRODUCT_1GB_SPACE_UPGRADE = '1gb_space_upgrade'; exports.PRODUCT_5GB_SPACE_UPGRADE = '5gb_space_upgrade'; exports.PRODUCT_10GB_SPACE_UPGRADE = '10gb_space_upgrade'; exports.PRODUCT_50GB_SPACE_UPGRADE = '50gb_space_upgrade'; exports.PRODUCT_100GB_SPACE_UPGRADE = '100gb_space_upgrade'; exports.WPCOM_SPACE_UPGRADE_PRODUCTS = [ exports.PRODUCT_1GB_SPACE_UPGRADE, exports.PRODUCT_5GB_SPACE_UPGRADE, exports.PRODUCT_10GB_SPACE_UPGRADE, exports.PRODUCT_50GB_SPACE_UPGRADE, exports.PRODUCT_100GB_SPACE_UPGRADE, ]; /** * WPCOM Other Products * - Special products that do not yet map to the exported `PRODUCTS_LIST` in @automattic/calypso-products */ exports.PRODUCT_NO_ADS = 'no-adverts/no-adverts.php'; exports.PRODUCT_WPCOM_UNLIMITED_THEMES = 'unlimited_themes'; exports.PRODUCT_1GB_SPACE = 'wordpress_com_1gb_space_addon_yearly'; exports.PRODUCT_WPCOM_CUSTOM_DESIGN = 'custom-design'; exports.WPCOM_OTHER_PRODUCTS = [ exports.PRODUCT_NO_ADS, exports.PRODUCT_WPCOM_UNLIMITED_THEMES, exports.PRODUCT_1GB_SPACE, exports.PRODUCT_WPCOM_CUSTOM_DESIGN, ]; /** * WPCOM Products / having definitions in `PRODUCTS_LIST` in @automattic/calypso-products */ exports.WPCOM_PRODUCTS = [...exports.WPCOM_SEARCH_PRODUCTS]; /** * Plans */ exports.PLAN_BUSINESS_MONTHLY = 'business-bundle-monthly'; exports.PLAN_BUSINESS = 'business-bundle'; exports.PLAN_BUSINESS_2_YEARS = 'business-bundle-2y'; exports.PLAN_BUSINESS_3_YEARS = 'business-bundle-3y'; exports.PLAN_100_YEARS = 'wp_com_hundred_year_bundle_centennially'; exports.PLAN_PREMIUM_MONTHLY = 'value_bundle_monthly'; exports.PLAN_PREMIUM = 'value_bundle'; exports.PLAN_PREMIUM_2_YEARS = 'value_bundle-2y'; exports.PLAN_PREMIUM_3_YEARS = 'value_bundle-3y'; exports.PLAN_PERSONAL_MONTHLY = 'personal-bundle-monthly'; exports.PLAN_PERSONAL = 'personal-bundle'; exports.PLAN_PERSONAL_2_YEARS = 'personal-bundle-2y'; exports.PLAN_PERSONAL_3_YEARS = 'personal-bundle-3y'; exports.PLAN_BLOGGER = 'blogger-bundle'; exports.PLAN_BLOGGER_2_YEARS = 'blogger-bundle-2y'; exports.PLAN_ECOMMERCE_MONTHLY = 'ecommerce-bundle-monthly'; exports.PLAN_ECOMMERCE = 'ecommerce-bundle'; exports.PLAN_ECOMMERCE_2_YEARS = 'ecommerce-bundle-2y'; exports.PLAN_ECOMMERCE_3_YEARS = 'ecommerce-bundle-3y'; exports.PLAN_ECOMMERCE_TRIAL_MONTHLY = 'ecommerce-trial-bundle-monthly'; exports.PLAN_WOOEXPRESS_SMALL = 'wooexpress-small-bundle-yearly'; exports.PLAN_WOOEXPRESS_SMALL_MONTHLY = 'wooexpress-small-bundle-monthly'; exports.PLAN_WOOEXPRESS_MEDIUM = 'wooexpress-medium-bundle-yearly'; exports.PLAN_WOOEXPRESS_MEDIUM_MONTHLY = 'wooexpress-medium-bundle-monthly'; exports.PLAN_WOOEXPRESS_PLUS = 'wooexpress-plus'; // Not a real plan; exports.PLAN_FREE = 'free_plan'; exports.PLAN_HOST_BUNDLE = 'host-bundle'; exports.PLAN_WPCOM_ENTERPRISE = 'wpcom-enterprise'; exports.PLAN_CHARGEBACK = 'chargeback'; exports.PLAN_VIP = 'vip'; exports.PLAN_P2_PLUS = 'wp_p2_plus_monthly'; exports.PLAN_P2_FREE = 'p2_free_plan'; // Not a real plan; it's a renamed WP.com Free for the P2 project. exports.PLAN_WPCOM_FLEXIBLE = 'wpcom-flexible'; // Not a real plan; it's a renamed WP.com Free for the plans overhaul. exports.PLAN_WPCOM_PRO = 'pro-plan'; exports.PLAN_WPCOM_PRO_MONTHLY = 'pro-plan-monthly'; exports.PLAN_WPCOM_PRO_2_YEARS = 'pro-plan-2y'; exports.PLAN_WPCOM_STARTER = 'starter-plan'; exports.PLAN_ENTERPRISE_GRID_WPCOM = 'plan-enterprise-grid-wpcom'; // Not a real plan; we show the VIP section in the plans grid as part of pdgrnI-1Qp-p2. exports.PLAN_MIGRATION_TRIAL_MONTHLY = 'wp_bundle_migration_trial_monthly'; exports.PLAN_HOSTING_TRIAL_MONTHLY = 'wp_bundle_hosting_trial_monthly'; exports.WPCOM_PLANS = [ exports.PLAN_BUSINESS_MONTHLY, exports.PLAN_BUSINESS, exports.PLAN_BUSINESS_2_YEARS, exports.PLAN_BUSINESS_3_YEARS, exports.PLAN_100_YEARS, exports.PLAN_PREMIUM_MONTHLY, exports.PLAN_PREMIUM, exports.PLAN_PREMIUM_2_YEARS, exports.PLAN_PREMIUM_3_YEARS, exports.PLAN_PERSONAL_MONTHLY, exports.PLAN_PERSONAL, exports.PLAN_PERSONAL_2_YEARS, exports.PLAN_PERSONAL_3_YEARS, exports.PLAN_BLOGGER, exports.PLAN_BLOGGER_2_YEARS, exports.PLAN_ECOMMERCE_MONTHLY, exports.PLAN_ECOMMERCE, exports.PLAN_ECOMMERCE_2_YEARS, exports.PLAN_ECOMMERCE_3_YEARS, exports.PLAN_ECOMMERCE_TRIAL_MONTHLY, exports.PLAN_MIGRATION_TRIAL_MONTHLY, exports.PLAN_HOSTING_TRIAL_MONTHLY, exports.PLAN_FREE, exports.PLAN_HOST_BUNDLE, exports.PLAN_WPCOM_ENTERPRISE, exports.PLAN_CHARGEBACK, exports.PLAN_VIP, exports.PLAN_P2_PLUS, exports.PLAN_P2_FREE, exports.PLAN_WPCOM_FLEXIBLE, exports.PLAN_WPCOM_PRO, exports.PLAN_WPCOM_PRO_MONTHLY, exports.PLAN_WPCOM_PRO_2_YEARS, exports.PLAN_WPCOM_STARTER, exports.PLAN_ENTERPRISE_GRID_WPCOM, exports.PLAN_WOOEXPRESS_MEDIUM, exports.PLAN_WOOEXPRESS_MEDIUM_MONTHLY, exports.PLAN_WOOEXPRESS_SMALL, exports.PLAN_WOOEXPRESS_SMALL_MONTHLY, exports.PLAN_WOOEXPRESS_PLUS, ]; exports.WPCOM_MONTHLY_PLANS = [ exports.PLAN_BUSINESS_MONTHLY, exports.PLAN_PREMIUM_MONTHLY, exports.PLAN_PERSONAL_MONTHLY, exports.PLAN_ECOMMERCE_MONTHLY, exports.PLAN_ECOMMERCE_TRIAL_MONTHLY, exports.PLAN_MIGRATION_TRIAL_MONTHLY, exports.PLAN_HOSTING_TRIAL_MONTHLY, exports.PLAN_WOOEXPRESS_MEDIUM_MONTHLY, exports.PLAN_WOOEXPRESS_SMALL_MONTHLY, exports.PLAN_WOOEXPRESS_PLUS, exports.PLAN_WPCOM_PRO_MONTHLY, exports.PLAN_ENTERPRISE_GRID_WPCOM, exports.PLAN_FREE, ]; exports.WOO_EXPRESS_PLANS = [ exports.PLAN_WOOEXPRESS_MEDIUM, exports.PLAN_WOOEXPRESS_MEDIUM_MONTHLY, exports.PLAN_WOOEXPRESS_SMALL, exports.PLAN_WOOEXPRESS_SMALL_MONTHLY, exports.PLAN_WOOEXPRESS_PLUS, ]; exports.WPCOM_PREMIUM_PLANS = [ exports.PLAN_PREMIUM_MONTHLY, exports.PLAN_PREMIUM, exports.PLAN_PREMIUM_2_YEARS, exports.PLAN_PREMIUM_3_YEARS, ]; exports.WPCOM_DIFM_LITE = 'wp_difm_lite'; exports.PLAN_BUSINESS_ONBOARDING_EXPIRE = '2021-07-31T00:00:00+00:00'; exports.PLAN_BUSINESS_2Y_ONBOARDING_EXPIRE = '2022-07-31T00:00:00+00:00'; //# sourceMappingURL=wpcom.js.map