from .enums import BillingTypeEnum, CampaignTypeEnum


EVENT_TYPES = {
    CampaignTypeEnum.BILLBOARD: ["BILLBOARD_SHOW"],
    CampaignTypeEnum.CATEGORY_SEARCH: [],
    CampaignTypeEnum.OVERVIEW_BANNER: ["BILLBOARD_SHOW"],
    CampaignTypeEnum.PIN_ON_ROUTE: ["BILLBOARD_SHOW"],
    CampaignTypeEnum.PROMOCODE: [],
    CampaignTypeEnum.ROUTE_BANNER: ["BILLBOARD_SHOW"],
    CampaignTypeEnum.VIA_POINTS: [
        "ACTION_MAKE_ROUTE",
    ],
    CampaignTypeEnum.ZERO_SPEED_BANNER: ["BILLBOARD_SHOW"],
}

BILLING_TYPES = {
    CampaignTypeEnum.BILLBOARD: BillingTypeEnum.CPM,
    CampaignTypeEnum.CATEGORY_SEARCH: BillingTypeEnum.FIX,
    CampaignTypeEnum.OVERVIEW_BANNER: BillingTypeEnum.CPM,
    CampaignTypeEnum.PIN_ON_ROUTE: BillingTypeEnum.CPM,
    CampaignTypeEnum.PROMOCODE: BillingTypeEnum.CPM,
    CampaignTypeEnum.ROUTE_BANNER: BillingTypeEnum.CPM,
    CampaignTypeEnum.VIA_POINTS: BillingTypeEnum.CPA,
    CampaignTypeEnum.ZERO_SPEED_BANNER: BillingTypeEnum.CPM,
}
