from decimal import Decimal

from corehq.apps.accounting.models import FeatureType, SoftwarePlanEdition

BOOTSTRAP_CONFIG = {
    (SoftwarePlanEdition.PAUSED, False, False): {
        'role': 'paused_plan_v0',
        'product_rate_monthly_fee': Decimal('0.00'),
        'feature_rates': {
            FeatureType.USER: dict(monthly_limit=0, per_excess_fee=Decimal('0.00')),
            FeatureType.SMS: dict(monthly_limit=0),
        }
    },
    (SoftwarePlanEdition.COMMUNITY, False, False): {
        'role': 'community_plan_v2',
        'product_rate_monthly_fee': Decimal('0.00'),
        'feature_rates': {
            FeatureType.USER: dict(monthly_limit=5, per_excess_fee=Decimal('2.00')),
            FeatureType.SMS: dict(monthly_limit=0),
        }
    },
    (SoftwarePlanEdition.PRO, False, False): {
        'role': 'pro_plan_v1',
        'product_rate_monthly_fee': Decimal('600.00'),
        'feature_rates': {
            FeatureType.USER: dict(monthly_limit=250, per_excess_fee=Decimal('2.00')),
            FeatureType.SMS: dict(monthly_limit=50),
        },
    },
}

@@ -753,32 +753,360 @@
        %7D%0A    %7D,%0A
+    (SoftwarePlanEdition.STANDARD, False, False): %7B%0A        'role': 'standard_plan_v1',%0A        'product_rate_monthly_fee': Decimal('300.00'),%0A        'feature_rates': %7B%0A            FeatureType.USER: dict(monthly_limit=125, per_excess_fee=Decimal('2.00')),%0A            FeatureType.SMS: dict(monthly_limit=50),%0A        %7D,%0A    %7D,%0A
     (SoftwarePla

add new standard_v1 plan to the migration