# Path: irisett/log.py
# def configure_logging(logtype: str, logfilename: Optional[str]=None, debug_logging: bool=False,
#                       rotate_length: int=1000000, max_rotated_files: int=250) -> None:
# def msg(logmsg: str, section: Optional[str]=None) -> None:
# def debug(logmsg: str, section: Optional[str]=None) -> None:
#     def log_msg(self, logmsg: str) -> None:
#     def log_debug(self, logmsg: str) -> None:
# class LoggingMixin:
# 
# Path: irisett/notify/clicksend.py
# CLICKSEND_URL = 'https://rest.clicksend.com/v3/sms/send'
# async def send_sms(recipients: Iterable[str], msg: str, username: str, api_key: str, sender: str):
# def parse_settings(config: Any) -> Optional[Dict[str, Any]]:


from typing import Dict, Any, Optional, Iterable
from irisett import (
    log,
)
from irisett.notify import (
    clicksend,
)



def parse_settings(config: Any) -> Optional[Dict[str, Any]]:
    provider = config.get('sms-provider')
    if not provider:
        log.msg('No SMS provider specified, no sms notifications will be sent', 'NOTIFICATIONS')
        return None
    if provider not in ['clicksend']:

# Path: irisett/log.py
# def configure_logging(logtype: str, logfilename: Optional[str]=None, debug_logging: bool=False,
#                       rotate_length: int=1000000, max_rotated_files: int=250) -> None:
# def msg(logmsg: str, section: Optional[str]=None) -> None:
# def debug(logmsg: str, section: Optional[str]=None) -> None:
#     def log_msg(self, logmsg: str) -> None:
#     def log_debug(self, logmsg: str) -> None:
# class LoggingMixin:
# 
# Path: irisett/notify/clicksend.py
# CLICKSEND_URL = 'https://rest.clicksend.com/v3/sms/send'
# async def send_sms(recipients: Iterable[str], msg: str, username: str, api_key: str, sender: str):
# def parse_settings(config: Any) -> Optional[Dict[str, Any]]:


# Path: irisett/notify/sms.py
from typing import Dict, Any, Optional, Iterable
from irisett import (
    log,
)
from irisett.notify import (
    clicksend,
)




def parse_settings(config: Any) -> Optional[Dict[str, Any]]:
    provider = config.get('sms-provider')
    if not provider:
        log.msg('No SMS provider specified, no sms notifications will be sent', 'NOTIFICATIONS')
        return None
    if provider not in ['clicksend']:

        log.msg('Unknown SMS provider specified, no sms notifications will be sent', 'NOTIFICATIONS')