o
    ųĪ
`hĶ ć                   @   s@   d Z ddlmZ ddlZddlZddlmZ G dd deZ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)Ś	ApiClientc                   @   sŹ  e Zd ZdZdqd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/d0 Zd1d2 Zd3d4 Zd5d6 Zd7d8 Zd9d: Zd;d< Z d=d> Z!d?d@ Z"dAdB Z#dCdD Z$dEdF Z%dGdH Z&dIdJ Z'dKdL Z(dMdN Z)dOdP Z*dQdR Z+dSdT Z,dUdV Z-dWdX Z.dYdZ Z/d[d\ Z0d]d^ Z1d_d` Z2dadb Z3dcdd Z4dedf Z5dgdh Z6didj Z7dkdl Z8dmdn Z9dodp Z:dS )rŚContactsApiz«NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    Ref: https://github.com/swagger-api/swagger-codegen
    Nc                 C   s   |d u rt  }|| _d S ©N)r   Ś
api_client)Śselfr   © r   śQ/var/www/html/env/lib/python3.10/site-packages/sib_api_v3_sdk/api/contacts_api.pyŚ__init__   s   
zContactsApi.__init__c                 K   ó>   d|d< |  d”r| j||fi |¤S | j||fi |¤}|S )ax  Add existing contacts to a list  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.add_contact_to_list(list_id, contact_emails, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int list_id: Id of the list (required)
        :param AddContactToList contact_emails: Emails addresses OR IDs of the contacts (required)
        :return: PostContactInfo
                 If the method is called asynchronously,
                 returns the request thread.
        TŚ_return_http_data_onlyŚ	async_req)ŚgetŚ"add_contact_to_list_with_http_info©r   Ślist_idŚcontact_emailsŚkwargsŚdatar   r   r	   Śadd_contact_to_list$   ó
   
zContactsApi.add_contact_to_listc                 K   óX  ddg}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr0td| |||< q"|d= d|vsB|d d	u rFtd
d|vsP|d d	u rTtdi }i }	d|v rb|d |	d< g }
i }g }i }d	}d|v rt|d }| j dg”|d< | j dg”|d< ddg}| jj	dd|	|
||||d|| 
d”| 
d”| 
dd”| 
d”|dS )a  Add existing contacts to a list  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.add_contact_to_list_with_http_info(list_id, contact_emails, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int list_id: Id of the list (required)
        :param AddContactToList contact_emails: Emails addresses OR IDs of the contacts (required)
        :return: PostContactInfo
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   Ś_preload_contentŚ_request_timeoutr   zEGot an unexpected keyword argument '%s' to method add_contact_to_listNzKMissing the required parameter `list_id` when calling `add_contact_to_list`zRMissing the required parameter `contact_emails` when calling `add_contact_to_list`ŚlistIdśapplication/jsonŚAcceptśContent-Typeśapi-keyśpartner-keyz%/contacts/lists/{listId}/contacts/addŚPOSTŚPostContactInfoT©
ŚbodyŚpost_paramsŚfilesŚresponse_typeŚauth_settingsr   r   r   r   Ścollection_formats©ŚappendŚlocalsŚsixŚ	iteritemsŚ	TypeErrorŚ
ValueErrorr   Śselect_header_acceptŚselect_header_content_typeŚcall_apir   ©r   r   r   r   Ś
all_paramsŚparamsŚkeyŚvalr(   Śpath_paramsŚquery_paramsŚheader_paramsŚform_paramsŚlocal_var_filesŚbody_paramsr'   r   r   r	   r   :   ón   



’’
’’
ņz.ContactsApi.add_contact_to_list_with_http_infoc                 K   óB   d|d< |  d”r| j|||fi |¤S | j|||fi |¤}|S )aŃ  Create contact attribute  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_attribute(attribute_category, attribute_name, create_attribute, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str attribute_category: Category of the attribute (required)
        :param str attribute_name: Name of the attribute (required)
        :param CreateAttribute create_attribute: Values to create an attribute (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Ścreate_attribute_with_http_info)r   Śattribute_categoryŚattribute_nameŚcreate_attributer   r   r   r   r	   rC      ó
   
zContactsApi.create_attributec                 K   ó  g d¢}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr0td| |||< q"|d= d|vsB|d d	u rFtd
d|vsP|d d	u rTtdd|vs^|d d	u rbtdi }	i }
d|v rp|d |
d< d|v rz|d |
d< g }i }g }i }d	}d|v r|d }| j dg”|d< | j dg”|d< ddg}| jj	dd|
|||||d	|| 
d”| 
d”| 
dd”| 
d”|	dS )aą  Create contact attribute  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_attribute_with_http_info(attribute_category, attribute_name, create_attribute, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str attribute_category: Category of the attribute (required)
        :param str attribute_name: Name of the attribute (required)
        :param CreateAttribute create_attribute: Values to create an attribute (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        )rA   rB   rC   r   r   r   r   r   zBGot an unexpected keyword argument '%s' to method create_attributerA   NzSMissing the required parameter `attribute_category` when calling `create_attribute`rB   zOMissing the required parameter `attribute_name` when calling `create_attribute`rC   zQMissing the required parameter `create_attribute` when calling `create_attribute`ŚattributeCategoryŚattributeNamer   r   r   r   r   ś8/contacts/attributes/{attributeCategory}/{attributeName}r    Tr"   r)   )r   rA   rB   rC   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   r@   ¤   óx   



’’
’’
ņz+ContactsApi.create_attribute_with_http_infoc                 K   ó:   d|d< |  d”r| j|fi |¤S | j|fi |¤}|S )a  Create a contact  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_contact(create_contact, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateContact create_contact: Values to create a contact (required)
        :return: CreateUpdateContactModel
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Ścreate_contact_with_http_info)r   Ścreate_contactr   r   r   r   r	   rL   ž   ó
   
zContactsApi.create_contactc                 K   ó&  dg}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr/td| |||< q!|d= d|vsA|d du rEtd	i }i }g }	i }
g }i }d}d|v r[|d }| j d
g”|
d< | j d
g”|
d< ddg}| jj	dd||	|
|||d|| 
d”| 
d”| 
dd”| 
d”|dS )a-  Create a contact  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_contact_with_http_info(create_contact, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateContact create_contact: Values to create a contact (required)
        :return: CreateUpdateContactModel
                 If the method is called asynchronously,
                 returns the request thread.
        rL   r   r   r   r   r   z@Got an unexpected keyword argument '%s' to method create_contactNzMMissing the required parameter `create_contact` when calling `create_contact`r   r   r   r   r   ś	/contactsr    ŚCreateUpdateContactModelTr"   r)   )r   rL   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   rK     ód   



’’
’’
ņz)ContactsApi.create_contact_with_http_infoc                 K   rJ   )aJ  Create Contact via DOI (Double-Opt-In) Flow  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_doi_contact(create_doi_contact, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateDoiContact create_doi_contact: Values to create the Double opt-in (DOI) contact (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Ś!create_doi_contact_with_http_info)r   Ścreate_doi_contactr   r   r   r   r	   rS   _  rM   zContactsApi.create_doi_contactc                 K   s&  dg}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr/td| |||< q!|d= d|vsA|d du rEtd	i }i }g }	i }
g }i }d}d|v r[|d }| j d
g”|
d< | j d
g”|
d< ddg}| jj	dd||	|
|||d|| 
d”| 
d”| 
dd”| 
d”|dS )aY  Create Contact via DOI (Double-Opt-In) Flow  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_doi_contact_with_http_info(create_doi_contact, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateDoiContact create_doi_contact: Values to create the Double opt-in (DOI) contact (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        rS   r   r   r   r   r   zDGot an unexpected keyword argument '%s' to method create_doi_contactNzUMissing the required parameter `create_doi_contact` when calling `create_doi_contact`r   r   r   r   r   z!/contacts/doubleOptinConfirmationr    Tr"   r)   )r   rS   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   rR   t  rQ   z-ContactsApi.create_doi_contact_with_http_infoc                 K   rJ   )a
  Create a folder  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_folder(create_folder, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateUpdateFolder create_folder: Name of the folder (required)
        :return: CreateModel
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Ścreate_folder_with_http_info)r   Ścreate_folderr   r   r   r   r	   rU   Ą  rM   zContactsApi.create_folderc                 K   rN   )a  Create a folder  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_folder_with_http_info(create_folder, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateUpdateFolder create_folder: Name of the folder (required)
        :return: CreateModel
                 If the method is called asynchronously,
                 returns the request thread.
        rU   r   r   r   r   r   z?Got an unexpected keyword argument '%s' to method create_folderNzKMissing the required parameter `create_folder` when calling `create_folder`r   r   r   r   r   ś/contacts/foldersr    ŚCreateModelTr"   r)   )r   rU   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   rT   Õ  rQ   z(ContactsApi.create_folder_with_http_infoc                 K   rJ   )a’  Create a list  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_list(create_list, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateList create_list: Values to create a list (required)
        :return: CreateModel
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Ścreate_list_with_http_info)r   Ścreate_listr   r   r   r   r	   rY   !  rM   zContactsApi.create_listc                 K   rN   )a  Create a list  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_list_with_http_info(create_list, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateList create_list: Values to create a list (required)
        :return: CreateModel
                 If the method is called asynchronously,
                 returns the request thread.
        rY   r   r   r   r   r   z=Got an unexpected keyword argument '%s' to method create_listNzGMissing the required parameter `create_list` when calling `create_list`r   r   r   r   r   ś/contacts/listsr    rW   Tr"   r)   )r   rY   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   rX   6  rQ   z&ContactsApi.create_list_with_http_infoc                 K   r   )ai  Delete an attribute  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_attribute(attribute_category, attribute_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str attribute_category: Category of the attribute (required)
        :param str attribute_name: Name of the existing attribute (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śdelete_attribute_with_http_info)r   rA   rB   r   r   r   r   r	   Śdelete_attribute  r   zContactsApi.delete_attributec                 K   s\  ddg}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr0td| |||< q"|d= d|vsB|d d	u rFtd
d|vsP|d d	u rTtdi }i }	d|v rb|d |	d< d|v rl|d |	d< g }
i }g }i }d	}| j dg”|d< | j dg”|d< ddg}| jj	dd|	|
||||d	|| 
d”| 
d”| 
dd”| 
d”|dS )ax  Delete an attribute  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_attribute_with_http_info(attribute_category, attribute_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str attribute_category: Category of the attribute (required)
        :param str attribute_name: Name of the existing attribute (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        rA   rB   r   r   r   r   r   zBGot an unexpected keyword argument '%s' to method delete_attributeNzSMissing the required parameter `attribute_category` when calling `delete_attribute`zOMissing the required parameter `attribute_name` when calling `delete_attribute`rF   rG   r   r   r   r   r   rH   ŚDELETETr"   r)   )r   rA   rB   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   r[     sn   



’’
’’
ņz+ContactsApi.delete_attribute_with_http_infoc                 K   rJ   )a  Delete a contact  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_contact(identifier, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str identifier: Email (urlencoded) OR ID of the contact (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śdelete_contact_with_http_info©r   Ś
identifierr   r   r   r   r	   Śdelete_contactė  rM   zContactsApi.delete_contactc                 K   s*  dg}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr/td| |||< q!|d= d|vsA|d du rEtd	i }i }d|v rS|d |d< g }	i }
g }i }d}| j d
g”|
d< | j d
g”|
d< ddg}| jj	dd||	|
|||d|| 
d”| 
d”| 
dd”| 
d”|dS )a  Delete a contact  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_contact_with_http_info(identifier, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str identifier: Email (urlencoded) OR ID of the contact (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        r`   r   r   r   r   r   z@Got an unexpected keyword argument '%s' to method delete_contactNzIMissing the required parameter `identifier` when calling `delete_contact`r   r   r   r   r   ś/contacts/{identifier}r]   Tr"   r)   ©r   r`   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   r^      ód   



’’
’’
ņz)ContactsApi.delete_contact_with_http_infoc                 K   rJ   )až  Delete a folder (and all its lists)  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_folder(folder_id, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int folder_id: Id of the folder (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śdelete_folder_with_http_info©r   Ś	folder_idr   r   r   r   r	   Śdelete_folderL  rM   zContactsApi.delete_folderc                 K   ó*  dg}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr/td| |||< q!|d= d|vsA|d du rEtd	i }i }d|v rS|d |d
< g }	i }
g }i }d}| j dg”|
d< | j dg”|
d< ddg}| jj	dd||	|
|||d|| 
d”| 
d”| 
dd”| 
d”|dS )a  Delete a folder (and all its lists)  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_folder_with_http_info(folder_id, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int folder_id: Id of the folder (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        rg   r   r   r   r   r   z?Got an unexpected keyword argument '%s' to method delete_folderNzGMissing the required parameter `folder_id` when calling `delete_folder`ŚfolderIdr   r   r   r   r   ś/contacts/folders/{folderId}r]   Tr"   r)   ©r   rg   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   re   a  rd   z(ContactsApi.delete_folder_with_http_infoc                 K   rJ   )aą  Delete a list  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_list(list_id, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int list_id: Id of the list (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śdelete_list_with_http_info©r   r   r   r   r   r   r	   Śdelete_list­  rM   zContactsApi.delete_listc                 K   ri   )aļ  Delete a list  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_list_with_http_info(list_id, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int list_id: Id of the list (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z=Got an unexpected keyword argument '%s' to method delete_listNzCMissing the required parameter `list_id` when calling `delete_list`r   r   r   r   r   r   ś/contacts/lists/{listId}r]   Tr"   r)   ©r   r   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   rm   Ā  rd   z&ContactsApi.delete_list_with_http_infoc                 K   ó6   d|d< |  d”r| jdi |¤S | jdi |¤}|S )a³  List all attributes  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_attributes(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :return: GetAttributes
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   Nr   )r   Śget_attributes_with_http_info©r   r   r   r   r   r	   Śget_attributes  s
   
zContactsApi.get_attributesc                 K   sų   g }|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr.td| |||< q |d= i }i }g }i }	g }
i }d}| j dg”|	d	< | j dg”|	d
< ddg}| jjdd|||	||
|d|| 	d”| 	d”| 	dd”| 	d”|dS )aĀ  List all attributes  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_attributes_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :return: GetAttributes
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   z@Got an unexpected keyword argument '%s' to method get_attributesNr   r   r   r   r   z/contacts/attributesŚGETŚGetAttributesTr"   )
r*   r+   r,   r-   r.   r   r0   r1   r2   r   ©r   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   rs   "  sZ   



’’
’’
ņz)ContactsApi.get_attributes_with_http_infoc                 K   rJ   )a>  Get a contact's details  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_contact_info(identifier, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str identifier: Email (urlencoded) OR ID of the contact OR its SMS attribute value (required)
        :return: GetExtendedContactDetails
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śget_contact_info_with_http_infor_   r   r   r	   Śget_contact_infog  rM   zContactsApi.get_contact_infoc                 K   s*  dg}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr/td| |||< q!|d= d|vsA|d du rEtd	i }i }d|v rS|d |d< g }	i }
g }i }d}| j d
g”|
d< | j d
g”|
d< ddg}| jj	dd||	|
|||d|| 
d”| 
d”| 
dd”| 
d”|dS )aM  Get a contact's details  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_contact_info_with_http_info(identifier, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str identifier: Email (urlencoded) OR ID of the contact OR its SMS attribute value (required)
        :return: GetExtendedContactDetails
                 If the method is called asynchronously,
                 returns the request thread.
        r`   r   r   r   r   r   zBGot an unexpected keyword argument '%s' to method get_contact_infoNzKMissing the required parameter `identifier` when calling `get_contact_info`r   r   r   r   r   rb   rv   ŚGetExtendedContactDetailsTr"   r)   rc   r   r   r	   ry   |  rd   z+ContactsApi.get_contact_info_with_http_infoc                 K   rJ   )a  Get email campaigns' statistics for a contact  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_contact_stats(identifier, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str identifier: Email (urlencoded) OR ID of the contact (required)
        :param date start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate
        :param date end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate
        :return: GetContactCampaignStats
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Ś get_contact_stats_with_http_infor_   r   r   r	   Śget_contact_statsČ  s
   
zContactsApi.get_contact_statsc                 K   s`  g d¢}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr0td| |||< q"|d= d|vsB|d d	u rFtd
i }i }d|v rT|d |d< g }	d|v rc|	  d|d f” d|v rp|	  d|d f” i }
g }i }d	}| j dg”|
d< | j dg”|
d< ddg}| jj	dd||	|
|||d|| 
d”| 
d”| 
dd”| 
d”|dS )a”  Get email campaigns' statistics for a contact  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_contact_stats_with_http_info(identifier, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str identifier: Email (urlencoded) OR ID of the contact (required)
        :param date start_date: Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate
        :param date end_date: Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate
        :return: GetContactCampaignStats
                 If the method is called asynchronously,
                 returns the request thread.
        )r`   Ś
start_dateŚend_dater   r   r   r   r   zCGot an unexpected keyword argument '%s' to method get_contact_statsr`   NzLMissing the required parameter `identifier` when calling `get_contact_stats`r~   Ś	startDater   ŚendDater   r   r   r   r   z$/contacts/{identifier}/campaignStatsrv   ŚGetContactCampaignStatsTr"   r)   rc   r   r   r	   r|   ß  sl   



’’
’’
ņz,ContactsApi.get_contact_stats_with_http_infoc                 K   rr   )a  Get all the contacts  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_contacts(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int limit: Number of documents per page
        :param int offset: Index of the first document of the page
        :param datetime modified_since: Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
        :param str sort: Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
        :return: GetContacts
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   Nr   )r   Śget_contacts_with_http_infort   r   r   r	   Śget_contacts1  s
   
zContactsApi.get_contactsc                 K   s  g d¢}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr0td| |||< q"|d= d|v rF|d d	krFtd
i }i }g }d|v rY|  d|d f” d|v rf|  d|d f” d|v rs|  d|d f” d|v r|  d|d f” i }	g }
i }d}| j dg”|	d< | j dg”|	d< ddg}| jj	dd|||	||
|d|| 
d”| 
d”| 
dd”| 
d”|dS )a”  Get all the contacts  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_contacts_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int limit: Number of documents per page
        :param int offset: Index of the first document of the page
        :param datetime modified_since: Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
        :param str sort: Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
        :return: GetContacts
                 If the method is called asynchronously,
                 returns the request thread.
        )ŚlimitŚoffsetŚmodified_sinceŚsortr   r   r   r   r   z>Got an unexpected keyword argument '%s' to method get_contactsr   ič  zmInvalid value for parameter `limit` when calling `get_contacts`, must be a value less than or equal to `1000`r   r   ŚmodifiedSincer   Nr   r   r   r   r   rO   rv   ŚGetContactsTr"   r)   rx   r   r   r	   r   I  sn   



’’
’’
ņz'ContactsApi.get_contacts_with_http_infoc                 K   rJ   )aŻ  Get contacts in a list  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_contacts_from_list(list_id, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int list_id: Id of the list (required)
        :param datetime modified_since: Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
        :param int limit: Number of documents per page
        :param int offset: Index of the first document of the page
        :param str sort: Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
        :return: GetContacts
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Ś%get_contacts_from_list_with_http_inforn   r   r   r	   Śget_contacts_from_list  s
   
z"ContactsApi.get_contacts_from_listc                 K   s°  g d¢}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr0td| |||< q"|d= d|vsB|d d	u rFtd
d|v rT|d dkrTtdi }i }d|v rb|d |d< g }	d|v rq|	  d|d f” d|v r~|	  d|d f” d|v r|	  d|d f” d|v r|	  d|d f” i }
g }i }d	}| j dg”|
d< | j dg”|
d< ddg}| jj	dd||	|
|||d|| 
d”| 
d”| 
dd”| 
d”|dS )aģ  Get contacts in a list  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_contacts_from_list_with_http_info(list_id, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int list_id: Id of the list (required)
        :param datetime modified_since: Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
        :param int limit: Number of documents per page
        :param int offset: Index of the first document of the page
        :param str sort: Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
        :return: GetContacts
                 If the method is called asynchronously,
                 returns the request thread.
        )r   r   r   r   r   r   r   r   r   r   zHGot an unexpected keyword argument '%s' to method get_contacts_from_listr   NzNMissing the required parameter `list_id` when calling `get_contacts_from_list`r   iō  zvInvalid value for parameter `limit` when calling `get_contacts_from_list`, must be a value less than or equal to `500`r   r   r   r   r   r   r   r   r   r   z!/contacts/lists/{listId}/contactsrv   r   Tr"   r)   rq   r   r   r	   r   µ  sx   



’’
’’
ņz1ContactsApi.get_contacts_from_list_with_http_infoc                 K   rJ   )a÷  Returns a folder's details  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_folder(folder_id, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int folder_id: id of the folder (required)
        :return: GetFolder
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śget_folder_with_http_inforf   r   r   r	   Ś
get_folder  rM   zContactsApi.get_folderc                 K   ó*  dg}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr/td| |||< q!|d= d|vsA|d du rEtd	i }i }d|v rS|d |d
< g }	i }
g }i }d}| j dg”|
d< | j dg”|
d< ddg}| jj	dd||	|
|||d|| 
d”| 
d”| 
dd”| 
d”|dS )a  Returns a folder's details  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_folder_with_http_info(folder_id, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int folder_id: id of the folder (required)
        :return: GetFolder
                 If the method is called asynchronously,
                 returns the request thread.
        rg   r   r   r   r   r   z<Got an unexpected keyword argument '%s' to method get_folderNzDMissing the required parameter `folder_id` when calling `get_folder`rj   r   r   r   r   r   rk   rv   Ś	GetFolderTr"   r)   rl   r   r   r	   r   $  rd   z%ContactsApi.get_folder_with_http_infoc                 K   rJ   )a  Get lists in a folder  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_folder_lists(folder_id, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int folder_id: Id of the folder (required)
        :param int limit: Number of documents per page
        :param int offset: Index of the first document of the page
        :param str sort: Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
        :return: GetFolderLists
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śget_folder_lists_with_http_inforf   r   r   r	   Śget_folder_listsp  s
   
zContactsApi.get_folder_listsc                 K   s  g d¢}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr0td| |||< q"|d= d|vsB|d d	u rFtd
d|v rT|d dkrTtdi }i }d|v rb|d |d< g }	d|v rq|	  d|d f” d|v r~|	  d|d f” d|v r|	  d|d f” i }
g }i }d	}| j dg”|
d< | j dg”|
d< ddg}| jj	dd||	|
|||d|| 
d”| 
d”| 
dd”| 
d”|dS )a  Get lists in a folder  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_folder_lists_with_http_info(folder_id, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int folder_id: Id of the folder (required)
        :param int limit: Number of documents per page
        :param int offset: Index of the first document of the page
        :param str sort: Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
        :return: GetFolderLists
                 If the method is called asynchronously,
                 returns the request thread.
        )rg   r   r   r   r   r   r   r   r   zBGot an unexpected keyword argument '%s' to method get_folder_listsrg   NzJMissing the required parameter `folder_id` when calling `get_folder_lists`r   é2   zoInvalid value for parameter `limit` when calling `get_folder_lists`, must be a value less than or equal to `50`rj   r   r   r   r   r   r   r   z"/contacts/folders/{folderId}/listsrv   ŚGetFolderListsTr"   r)   rl   r   r   r	   r     st   



’’
’’
ņz+ContactsApi.get_folder_lists_with_http_infoc                 K   r   )aą  Get all folders  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_folders(limit, offset, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int limit: Number of documents per page (required)
        :param int offset: Index of the first document of the page (required)
        :param str sort: Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
        :return: GetFolders
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śget_folders_with_http_info)r   r   r   r   r   r   r   r	   Śget_foldersß  s
   
zContactsApi.get_foldersc                 K   s  g d¢}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr0td| |||< q"|d= d|vsB|d d	u rFtd
d|vsP|d d	u rTtdd|v rb|d dkrbtdi }i }	g }
d|v ru|
  d|d f” d|v r|
  d|d f” d|v r|
  d|d f” i }g }i }d	}| j dg”|d< | j dg”|d< ddg}| jj	dd|	|
||||d|| 
d”| 
d”| 
dd”| 
d”|dS )aļ  Get all folders  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_folders_with_http_info(limit, offset, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int limit: Number of documents per page (required)
        :param int offset: Index of the first document of the page (required)
        :param str sort: Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
        :return: GetFolders
                 If the method is called asynchronously,
                 returns the request thread.
        ©r   r   r   r   r   r   r   r   z=Got an unexpected keyword argument '%s' to method get_foldersr   NzAMissing the required parameter `limit` when calling `get_folders`r   zBMissing the required parameter `offset` when calling `get_folders`r   zjInvalid value for parameter `limit` when calling `get_folders`, must be a value less than or equal to `50`r   r   r   r   r   r   rV   rv   Ś
GetFoldersTr"   r)   )r   r   r   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   r   ö  sv   



’’
’’
ņz&ContactsApi.get_folders_with_http_infoc                 K   rJ   )aļ  Get a list's details  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_list(list_id, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int list_id: Id of the list (required)
        :return: GetExtendedList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śget_list_with_http_inforn   r   r   r	   Śget_listN  rM   zContactsApi.get_listc                 K   r   )až  Get a list's details  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_list_with_http_info(list_id, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int list_id: Id of the list (required)
        :return: GetExtendedList
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z:Got an unexpected keyword argument '%s' to method get_listNz@Missing the required parameter `list_id` when calling `get_list`r   r   r   r   r   r   rp   rv   ŚGetExtendedListTr"   r)   rq   r   r   r	   r   c  rd   z#ContactsApi.get_list_with_http_infoc                 K   rr   )a¹  Get all the lists  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_lists(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int limit: Number of documents per page
        :param int offset: Index of the first document of the page
        :param str sort: Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
        :return: GetLists
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   Nr   )r   Śget_lists_with_http_infort   r   r   r	   Ś	get_listsÆ  s
   
zContactsApi.get_listsc                 K   sf  g d¢}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr0td| |||< q"|d= d|v rF|d d	krFtd
i }i }g }d|v rY|  d|d f” d|v rf|  d|d f” d|v rs|  d|d f” i }	g }
i }d}| j dg”|	d< | j dg”|	d< ddg}| jj	dd|||	||
|d|| 
d”| 
d”| 
dd”| 
d”|dS )aČ  Get all the lists  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_lists_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int limit: Number of documents per page
        :param int offset: Index of the first document of the page
        :param str sort: Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
        :return: GetLists
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z;Got an unexpected keyword argument '%s' to method get_listsr   r   zhInvalid value for parameter `limit` when calling `get_lists`, must be a value less than or equal to `50`r   r   Nr   r   r   r   r   rZ   rv   ŚGetListsTr"   r)   rx   r   r   r	   r   Ę  sj   



’’
’’
ņz$ContactsApi.get_lists_with_http_infoc                 K   rJ   )aq  Import contacts  # noqa: E501

        It returns the background process ID which on completion calls the notify URL that you have set in the input.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.import_contacts(request_contact_import, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param RequestContactImport request_contact_import: Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (required)
        :return: CreatedProcessId
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śimport_contacts_with_http_info)r   Śrequest_contact_importr   r   r   r   r	   Śimport_contacts  ó
   
zContactsApi.import_contactsc                 K   rN   )a  Import contacts  # noqa: E501

        It returns the background process ID which on completion calls the notify URL that you have set in the input.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.import_contacts_with_http_info(request_contact_import, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param RequestContactImport request_contact_import: Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (required)
        :return: CreatedProcessId
                 If the method is called asynchronously,
                 returns the request thread.
        r    r   r   r   r   r   zAGot an unexpected keyword argument '%s' to method import_contactsNzVMissing the required parameter `request_contact_import` when calling `import_contacts`r   r   r   r   r   z/contacts/importr    ŚCreatedProcessIdTr"   r)   )r   r    r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   r   ,  ód   



’’
’’
ņz*ContactsApi.import_contacts_with_http_infoc                 K   r   )a  Delete a contact from a list  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.remove_contact_from_list(list_id, contact_emails, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int list_id: Id of the list (required)
        :param RemoveContactFromList contact_emails: Emails addresses OR IDs of the contacts (required)
        :return: PostContactInfo
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Ś'remove_contact_from_list_with_http_infor   r   r   r	   Śremove_contact_from_listy  r   z$ContactsApi.remove_contact_from_listc                 K   r   )a  Delete a contact from a list  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.remove_contact_from_list_with_http_info(list_id, contact_emails, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int list_id: Id of the list (required)
        :param RemoveContactFromList contact_emails: Emails addresses OR IDs of the contacts (required)
        :return: PostContactInfo
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   r   zJGot an unexpected keyword argument '%s' to method remove_contact_from_listNzPMissing the required parameter `list_id` when calling `remove_contact_from_list`zWMissing the required parameter `contact_emails` when calling `remove_contact_from_list`r   r   r   r   r   r   z(/contacts/lists/{listId}/contacts/remover    r!   Tr"   r)   r3   r   r   r	   r„     r>   z3ContactsApi.remove_contact_from_list_with_http_infoc                 K   rJ   )aß  Export contacts  # noqa: E501

        It returns the background process ID which on completion calls the notify URL that you have set in the input. File will be available in csv.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.request_contact_export(request_contact_export, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param RequestContactExport request_contact_export: Values to request a contact export (required)
        :return: CreatedProcessId
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Ś%request_contact_export_with_http_info)r   Śrequest_contact_exportr   r   r   r   r	   rØ   ā  r¢   z"ContactsApi.request_contact_exportc                 K   rN   )aī  Export contacts  # noqa: E501

        It returns the background process ID which on completion calls the notify URL that you have set in the input. File will be available in csv.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.request_contact_export_with_http_info(request_contact_export, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param RequestContactExport request_contact_export: Values to request a contact export (required)
        :return: CreatedProcessId
                 If the method is called asynchronously,
                 returns the request thread.
        rØ   r   r   r   r   r   zHGot an unexpected keyword argument '%s' to method request_contact_exportNz]Missing the required parameter `request_contact_export` when calling `request_contact_export`r   r   r   r   r   z/contacts/exportr    r£   Tr"   r)   )r   rØ   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   r§   ų  r¤   z1ContactsApi.request_contact_export_with_http_infoc                 K   r?   )aŚ  Update contact attribute  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_attribute(attribute_category, attribute_name, update_attribute, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str attribute_category: Category of the attribute (required)
        :param str attribute_name: Name of the existing attribute (required)
        :param UpdateAttribute update_attribute: Values to update an attribute (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śupdate_attribute_with_http_info)r   rA   rB   Śupdate_attributer   r   r   r   r	   rŖ   E	  rD   zContactsApi.update_attributec                 K   rE   )aé  Update contact attribute  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_attribute_with_http_info(attribute_category, attribute_name, update_attribute, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str attribute_category: Category of the attribute (required)
        :param str attribute_name: Name of the existing attribute (required)
        :param UpdateAttribute update_attribute: Values to update an attribute (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        )rA   rB   rŖ   r   r   r   r   r   zBGot an unexpected keyword argument '%s' to method update_attributerA   NzSMissing the required parameter `attribute_category` when calling `update_attribute`rB   zOMissing the required parameter `attribute_name` when calling `update_attribute`rŖ   zQMissing the required parameter `update_attribute` when calling `update_attribute`rF   rG   r   r   r   r   r   rH   ŚPUTTr"   r)   )r   rA   rB   rŖ   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   r©   \	  rI   z+ContactsApi.update_attribute_with_http_infoc                 K   r   )ah  Update a contact  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_contact(identifier, update_contact, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str identifier: Email (urlencoded) OR ID of the contact (required)
        :param UpdateContact update_contact: Values to update a contact (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śupdate_contact_with_http_info)r   r`   Śupdate_contactr   r   r   r   r	   r­   ¶	  r   zContactsApi.update_contactc                 K   sX  ddg}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr0td| |||< q"|d= d|vsB|d d	u rFtd
d|vsP|d d	u rTtdi }i }	d|v rb|d |	d< g }
i }g }i }d	}d|v rt|d }| j dg”|d< | j dg”|d< ddg}| jj	dd|	|
||||d	|| 
d”| 
d”| 
dd”| 
d”|dS )aw  Update a contact  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_contact_with_http_info(identifier, update_contact, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str identifier: Email (urlencoded) OR ID of the contact (required)
        :param UpdateContact update_contact: Values to update a contact (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        r`   r­   r   r   r   r   r   z@Got an unexpected keyword argument '%s' to method update_contactNzIMissing the required parameter `identifier` when calling `update_contact`zMMissing the required parameter `update_contact` when calling `update_contact`r   r   r   r   r   rb   r«   Tr"   r)   )r   r`   r­   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   r¬   Ģ	  r>   z)ContactsApi.update_contact_with_http_infoc                 K   r   )aH  Update a folder  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_folder(folder_id, update_folder, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int folder_id: Id of the folder (required)
        :param CreateUpdateFolder update_folder: Name of the folder (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śupdate_folder_with_http_info)r   rg   Śupdate_folderr   r   r   r   r	   rÆ   
  r   zContactsApi.update_folderc                 K   óX  ddg}|  d” |  d” |  d” |  d” t }t |d ”D ]\}}||vr0td| |||< q"|d= d|vsB|d d	u rFtd
d|vsP|d d	u rTtdi }i }	d|v rb|d |	d< g }
i }g }i }d	}d|v rt|d }| j dg”|d< | j dg”|d< ddg}| jj	dd|	|
||||d	|| 
d”| 
d”| 
dd”| 
d”|dS )aW  Update a folder  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_folder_with_http_info(folder_id, update_folder, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int folder_id: Id of the folder (required)
        :param CreateUpdateFolder update_folder: Name of the folder (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        rg   rÆ   r   r   r   r   r   z?Got an unexpected keyword argument '%s' to method update_folderNzGMissing the required parameter `folder_id` when calling `update_folder`zKMissing the required parameter `update_folder` when calling `update_folder`rj   r   r   r   r   r   rk   r«   Tr"   r)   )r   rg   rÆ   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   r®   5
  r>   z(ContactsApi.update_folder_with_http_infoc                 K   r   )a7  Update a list  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_list(list_id, update_list, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int list_id: Id of the list (required)
        :param UpdateList update_list: Values to update a list (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Śupdate_list_with_http_info)r   r   Śupdate_listr   r   r   r   r	   r²   
  r   zContactsApi.update_listc                 K   r°   )aF  Update a list  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_list_with_http_info(list_id, update_list, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param int list_id: Id of the list (required)
        :param UpdateList update_list: Values to update a list (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        r   r²   r   r   r   r   r   z=Got an unexpected keyword argument '%s' to method update_listNzCMissing the required parameter `list_id` when calling `update_list`zGMissing the required parameter `update_list` when calling `update_list`r   r   r   r   r   r   rp   r«   Tr"   r)   )r   r   r²   r   r4   r5   r6   r7   r(   r8   r9   r:   r;   r<   r=   r'   r   r   r	   r±   
  r>   z&ContactsApi.update_list_with_http_infor   );Ś__name__Ś
__module__Ś__qualname__Ś__doc__r
   r   r   rC   r@   rL   rK   rS   rR   rU   rT   rY   rX   r\   r[   ra   r^   rh   re   ro   rm   ru   rs   rz   ry   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Æ   r®   r²   r±   r   r   r   r	   r      sr    
SZLLLLSLLLELRSZLWXLPMSMZSSr   )	r¶   Ś
__future__r   Śrer,   Śsib_api_v3_sdk.api_clientr   Śobjectr   r   r   r   r	   Ś<module>   s   