o
    øÎ
`8  ã                   @   sb   d Z ddlmZ ddlZddlZddlmZ ddlmZ G dd„ dej	ƒZ
edkr/e ¡  dS dS )	aø  
    SendinBlue API

    SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to :   - Manage your campaigns and get the statistics   - Manage your contacts   - Send transactional Emails and SMS   - and much more...  You can download our wrappers at https://github.com/orgs/sendinblue  **Possible responses**   | Code | Message |   | :-------------: | ------------- |   | 200  | OK. Successful Request  |   | 201  | OK. Successful Creation |   | 202  | OK. Request accepted |   | 204  | OK. Successful Update/Deletion  |   | 400  | Error. Bad Request  |   | 401  | Error. Authentication Needed  |   | 402  | Error. Not enough credit, plan upgrade needed  |   | 403  | Error. Permission denied  |   | 404  | Error. Object does not exist |   | 405  | Error. Method not allowed  |   | 406  | Error. Not Acceptable  |   # noqa: E501

    OpenAPI spec version: 3.0.0
    Contact: contact@sendinblue.com
    Generated by: https://github.com/swagger-api/swagger-codegen.git
é    )Úabsolute_importN)ÚTransactionalEmailsApi)ÚApiExceptionc                   @   sÀ   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zd d!„ Zd"d#„ Zd$d%„ Zd&d'„ Zd(d)„ Zd*d+„ Zd,d-„ Zd.S )/ÚTestTransactionalEmailsApiz&TransactionalEmailsApi unit test stubsc                 C   s   t jj ¡ | _d S ©N)Úsib_api_v3_sdkÚapiÚtransactional_emails_apir   ©Úself© r   úT/var/www/html/env/lib/python3.10/site-packages/test/test_transactional_emails_api.pyÚsetUp   s   z TestTransactionalEmailsApi.setUpc                 C   s   d S r   r   r
   r   r   r   ÚtearDown   s   z#TestTransactionalEmailsApi.tearDownc                 C   ó   dS )znTest case for block_new_domain

        Add a new domain to the list of blocked domains  # noqa: E501
        Nr   r
   r   r   r   Útest_block_new_domain    ó   z0TestTransactionalEmailsApi.test_block_new_domainc                 C   r   )z[Test case for create_smtp_template

        Create an email template  # noqa: E501
        Nr   r
   r   r   r   Útest_create_smtp_template'   r   z4TestTransactionalEmailsApi.test_create_smtp_templatec                 C   r   )zTest case for delete_blocked_domain

        Unblock an existing domain from the list of blocked domains  # noqa: E501
        Nr   r
   r   r   r   Útest_delete_blocked_domain.   r   z5TestTransactionalEmailsApi.test_delete_blocked_domainc                 C   r   )zSTest case for delete_hardbounces

        Delete hardbounces  # noqa: E501
        Nr   r
   r   r   r   Útest_delete_hardbounces5   r   z2TestTransactionalEmailsApi.test_delete_hardbouncesc                 C   r   )zdTest case for delete_smtp_template

        Delete an inactive email template  # noqa: E501
        Nr   r
   r   r   r   Útest_delete_smtp_template<   r   z4TestTransactionalEmailsApi.test_delete_smtp_templatec                 C   r   )z�Test case for get_aggregated_smtp_report

        Get your transactional email activity aggregated over a period of time  # noqa: E501
        Nr   r
   r   r   r   Útest_get_aggregated_smtp_reportC   r   z:TestTransactionalEmailsApi.test_get_aggregated_smtp_reportc                 C   r   )zaTest case for get_blocked_domains

        Get the list of blocked domains  # noqa: E501
        Nr   r
   r   r   r   Útest_get_blocked_domainsJ   r   z3TestTransactionalEmailsApi.test_get_blocked_domainsc                 C   r   )z„Test case for get_email_event_report

        Get all your transactional email activity (unaggregated events)  # noqa: E501
        Nr   r
   r   r   r   Útest_get_email_event_reportQ   r   z6TestTransactionalEmailsApi.test_get_email_event_reportc                 C   r   )zvTest case for get_smtp_report

        Get your transactional email activity aggregated per day  # noqa: E501
        Nr   r
   r   r   r   Útest_get_smtp_reportX   r   z/TestTransactionalEmailsApi.test_get_smtp_reportc                 C   r   )z`Test case for get_smtp_template

        Returns the template information  # noqa: E501
        Nr   r
   r   r   r   Útest_get_smtp_template_   r   z1TestTransactionalEmailsApi.test_get_smtp_templatec                 C   r   )z`Test case for get_smtp_templates

        Get the list of email templates  # noqa: E501
        Nr   r
   r   r   r   Útest_get_smtp_templatesf   r   z2TestTransactionalEmailsApi.test_get_smtp_templatesc                 C   r   )z‰Test case for get_transac_blocked_contacts

        Get the list of blocked or unsubscribed transactional contacts  # noqa: E501
        Nr   r
   r   r   r   Ú!test_get_transac_blocked_contactsm   r   z<TestTransactionalEmailsApi.test_get_transac_blocked_contactsc                 C   r   )z‚Test case for get_transac_email_content

        Get the personalized content of a sent transactional email  # noqa: E501
        Nr   r
   r   r   r   Útest_get_transac_email_contentt   r   z9TestTransactionalEmailsApi.test_get_transac_email_contentc                 C   r   )zŠTest case for get_transac_emails_list

        Get the list of transactional emails on the basis of allowed filters  # noqa: E501
        Nr   r
   r   r   r   Útest_get_transac_emails_list{   r   z7TestTransactionalEmailsApi.test_get_transac_emails_listc                 C   r   )zKTest case for send_template

        Send a template  # noqa: E501
        Nr   r
   r   r   r   Útest_send_template‚   r   z-TestTransactionalEmailsApi.test_send_templatec                 C   r   )zbTest case for send_test_template

        Send a template to your test list  # noqa: E501
        Nr   r
   r   r   r   Útest_send_test_template‰   r   z2TestTransactionalEmailsApi.test_send_test_templatec                 C   r   )z[Test case for send_transac_email

        Send a transactional email  # noqa: E501
        Nr   r
   r   r   r   Útest_send_transac_email�   r   z2TestTransactionalEmailsApi.test_send_transac_emailc                 C   r   )zTest case for smtp_blocked_contacts_email_delete

        Unblock or resubscribe a transactional contact  # noqa: E501
        Nr   r
   r   r   r   Ú'test_smtp_blocked_contacts_email_delete—   r   zBTestTransactionalEmailsApi.test_smtp_blocked_contacts_email_deletec                 C   r   )ziTest case for smtp_log_message_id_delete

        Delete an SMTP transactional log  # noqa: E501
        Nr   r
   r   r   r   Útest_smtp_log_message_id_deletež   r   z:TestTransactionalEmailsApi.test_smtp_log_message_id_deletec                 C   r   )z[Test case for update_smtp_template

        Update an email template  # noqa: E501
        Nr   r
   r   r   r   Útest_update_smtp_template¥   r   z4TestTransactionalEmailsApi.test_update_smtp_templateN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r   r   r   r   r      s0    r   Ú__main__)r)   Ú
__future__r   Úunittestr   Ú+sib_api_v3_sdk.api.transactional_emails_apir   Úsib_api_v3_sdk.restr   ÚTestCaser   r&   Úmainr   r   r   r   Ú<module>   s    ÿ