"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from .basesdk import BaseSDK
from .sdkconfiguration import SDKConfiguration
from panora_sdk.actions import Actions
from panora_sdk.automations import Automations
from panora_sdk.campaigns import Campaigns
from panora_sdk.emails import Emails
from panora_sdk.lists import Lists
from panora_sdk.messages import Messages
from panora_sdk.panora_events import PanoraEvents
from panora_sdk.panora_marketingautomation_contacts import (
    PanoraMarketingautomationContacts,
)
from panora_sdk.panora_marketingautomation_users import PanoraMarketingautomationUsers
from panora_sdk.templates import Templates


class Marketingautomation(BaseSDK):
    actions: Actions
    automations: Automations
    campaigns: Campaigns
    contacts: PanoraMarketingautomationContacts
    emails: Emails
    events: PanoraEvents
    lists: Lists
    messages: Messages
    templates: Templates
    users: PanoraMarketingautomationUsers

    def __init__(self, sdk_config: SDKConfiguration) -> None:
        BaseSDK.__init__(self, sdk_config)
        self.sdk_configuration = sdk_config
        self._init_sdks()

    def _init_sdks(self):
        self.actions = Actions(self.sdk_configuration)
        self.automations = Automations(self.sdk_configuration)
        self.campaigns = Campaigns(self.sdk_configuration)
        self.contacts = PanoraMarketingautomationContacts(self.sdk_configuration)
        self.emails = Emails(self.sdk_configuration)
        self.events = PanoraEvents(self.sdk_configuration)
        self.lists = Lists(self.sdk_configuration)
        self.messages = Messages(self.sdk_configuration)
        self.templates = Templates(self.sdk_configuration)
        self.users = PanoraMarketingautomationUsers(self.sdk_configuration)
