from .aliases import Aliases
from .conversations_models import ConversationsModels
from .debug import Debug
from .collections import Collections
from .multi_search import MultiSearch
from .keys import Keys
from .operations import Operations
from .configuration import Configuration
from .api_call import ApiCall
from .analytics import Analytics
from .stopwords import Stopwords

class Client(object):
    def __init__(self, config_dict):
        self.config = Configuration(config_dict)
        self.api_call = ApiCall(self.config)
        self.collections = Collections(self.api_call)
        self.multi_search = MultiSearch(self.api_call)
        self.keys = Keys(self.api_call)
        self.aliases = Aliases(self.api_call)
        self.analytics = Analytics(self.api_call)
        self.operations = Operations(self.api_call)
        self.debug = Debug(self.api_call)
        self.stopwords = Stopwords(self.api_call)
        self.conversations_models = ConversationsModels(self.api_call)
