
    ~i۹                     J    d Z ddlmZ ddlZddlZddlZ G d de          ZdS )z
    mem0

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: common-version
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
    )absolute_importNc                       e Zd ZdZddZd Zd Zd Zd Zd Z	d	 Z
d
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd ZdS )MEM0ApizNOTE: 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                 >    |t          j                    }|| _        d S N)volcenginesdkcore	ApiClient
api_client)selfr
   s     g/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkmem0/api/mem0_api.py__init__zMEM0Api.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  create_api_key  # 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_api_key(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateAPIKeyRequest body: (required)
        :return: CreateAPIKeyResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)getcreate_api_key_with_http_infor   bodykwargsdatas       r   create_api_keyzMEM0Api.create_api_key$   ]     ,0'(::k"" 	545dEEfEEE7T7GGGGTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  create_api_key  # 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_api_key_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateAPIKeyRequest body: (required)
        :return: CreateAPIKeyResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   z@Got an unexpected keyword argument '%s' to method create_api_keyNzCMissing the required parameter `body` when calling `create_api_key`application/jsonAcceptContent-TypevolcengineSignz4/CreateAPIKey/2025-10-10/mem0/post/application_json/POSTCreateAPIKeyResponseT
r   post_paramsfilesresponse_typeauth_settingsr   r   r   r   collection_formatsappendlocalssix	iteritems	TypeErrorr
   client_side_validation
ValueErrorselect_header_acceptselect_header_content_typecall_apir   r   r   r   
all_paramsparamskeyvalr(   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr'   s                  r   r   z%MEM0Api.create_api_key_with_http_info9       X
+&&&2333,---,---fX&677 	 	HC*$$0256   F3KK8?1 	dvV7K7K7=f~7MbcccV .K"&/"F"F #" #"h )-(R(R )" )"n% **''BF#!0'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  create_memory_project  # 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_memory_project(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateMemoryProjectRequest body: (required)
        :return: CreateMemoryProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   $create_memory_project_with_http_infor   s       r   create_memory_projectzMEM0Api.create_memory_project   ]     ,0'(::k"" 	<4<TLLVLLL>T>tNNvNNTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  create_memory_project  # 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_memory_project_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateMemoryProjectRequest body: (required)
        :return: CreateMemoryProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zGGot an unexpected keyword argument '%s' to method create_memory_projectNzJMissing the required parameter `body` when calling `create_memory_project`r   r   r   r    z;/CreateMemoryProject/2025-10-10/mem0/post/application_json/r!   CreateMemoryProjectResponseTr#   r)   r4   s                  r   rA   z,MEM0Api.create_memory_project_with_http_info       X
+&&&2333,---,---fX&677 	 	HC*$$79<=   F3KK8?1 	kvV7K7K7=f~7MijjjV .K"&/"F"F #" #"h )-(R(R )" )"n% **''I6#!7'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  delete_api_key  # 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_api_key(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteAPIKeyRequest body: (required)
        :return: DeleteAPIKeyResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   delete_api_key_with_http_infor   s       r   delete_api_keyzMEM0Api.delete_api_key   r   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  delete_api_key  # 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_api_key_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteAPIKeyRequest body: (required)
        :return: DeleteAPIKeyResponse
                 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_api_keyNzCMissing the required parameter `body` when calling `delete_api_key`r   r   r   r    z4/DeleteAPIKey/2025-10-10/mem0/post/application_json/r!   DeleteAPIKeyResponseTr#   r)   r4   s                  r   rH   z%MEM0Api.delete_api_key_with_http_info   r?   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  delete_memory_project  # 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_memory_project(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteMemoryProjectRequest body: (required)
        :return: DeleteMemoryProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   $delete_memory_project_with_http_infor   s       r   delete_memory_projectzMEM0Api.delete_memory_projectG  rC   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  delete_memory_project  # 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_memory_project_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteMemoryProjectRequest body: (required)
        :return: DeleteMemoryProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zGGot an unexpected keyword argument '%s' to method delete_memory_projectNzJMissing the required parameter `body` when calling `delete_memory_project`r   r   r   r    z;/DeleteMemoryProject/2025-10-10/mem0/post/application_json/r!   DeleteMemoryProjectResponseTr#   r)   r4   s                  r   rM   z,MEM0Api.delete_memory_project_with_http_info\  rF   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  describe_api_key_detail  # noqa: E501

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

        :param async_req bool
        :param DescribeAPIKeyDetailRequest body: (required)
        :return: DescribeAPIKeyDetailResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   &describe_api_key_detail_with_http_infor   s       r   describe_api_key_detailzMEM0Api.describe_api_key_detail  ]     ,0'(::k"" 	>4>tNNvNNN@T@PPPPTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a   describe_api_key_detail  # noqa: E501

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

        :param async_req bool
        :param DescribeAPIKeyDetailRequest body: (required)
        :return: DescribeAPIKeyDetailResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zIGot an unexpected keyword argument '%s' to method describe_api_key_detailNzLMissing the required parameter `body` when calling `describe_api_key_detail`r   r   r   r    z</DescribeAPIKeyDetail/2025-10-10/mem0/post/application_json/r!   DescribeAPIKeyDetailResponseTr#   r)   r4   s                  r   rR   z.MEM0Api.describe_api_key_detail_with_http_info      X
+&&&2333,---,---fX&677 	 	HC*$$9;>?   F3KK8?1 	mvV7K7K7=f~7MklllV .K"&/"F"F #" #"h )-(R(R )" )"n% **''JF#!8'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a-  describe_memory_project_detail  # noqa: E501

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

        :param async_req bool
        :param DescribeMemoryProjectDetailRequest body: (required)
        :return: DescribeMemoryProjectDetailResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   -describe_memory_project_detail_with_http_infor   s       r   describe_memory_project_detailz&MEM0Api.describe_memory_project_detail	  s^     ,0'(::k"" 	E4EdUUfUUUGTGWWPVWWTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a<  describe_memory_project_detail  # noqa: E501

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

        :param async_req bool
        :param DescribeMemoryProjectDetailRequest body: (required)
        :return: DescribeMemoryProjectDetailResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zPGot an unexpected keyword argument '%s' to method describe_memory_project_detailNzSMissing the required parameter `body` when calling `describe_memory_project_detail`r   r   r   r    zC/DescribeMemoryProjectDetail/2025-10-10/mem0/post/application_json/r!   #DescribeMemoryProjectDetailResponseTr#   r)   r4   s                  r   rY   z5MEM0Api.describe_memory_project_detail_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$@BEF   F3KK8?1 	tvV7K7K7=f~7MrsssV .K"&/"F"F #" #"h )-(R(R )" )"n% **''QSY#!?'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  describe_memory_projects  # noqa: E501

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

        :param async_req bool
        :param DescribeMemoryProjectsRequest body: (required)
        :return: DescribeMemoryProjectsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   'describe_memory_projects_with_http_infor   s       r   describe_memory_projectsz MEM0Api.describe_memory_projectsj  ]     ,0'(::k"" 	?4?OOOOOATA$QQ&QQTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a&  describe_memory_projects  # noqa: E501

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

        :param async_req bool
        :param DescribeMemoryProjectsRequest body: (required)
        :return: DescribeMemoryProjectsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zJGot an unexpected keyword argument '%s' to method describe_memory_projectsNzMMissing the required parameter `body` when calling `describe_memory_projects`r   r   r   r    z>/DescribeMemoryProjects/2025-10-10/mem0/post/application_json/r!   DescribeMemoryProjectsResponseTr#   r)   r4   s                  r   r^   z/MEM0Api.describe_memory_projects_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$:<?@   F3KK8?1 	nvV7K7K7=f~7MlmmmV .K"&/"F"F #" #"h )-(R(R )" )"n% **''Lf#!:'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  list_tags_for_resources  # noqa: E501

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

        :param async_req bool
        :param ListTagsForResourcesRequest body: (required)
        :return: ListTagsForResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   &list_tags_for_resources_with_http_infor   s       r   list_tags_for_resourceszMEM0Api.list_tags_for_resources  rT   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a   list_tags_for_resources  # noqa: E501

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

        :param async_req bool
        :param ListTagsForResourcesRequest body: (required)
        :return: ListTagsForResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zIGot an unexpected keyword argument '%s' to method list_tags_for_resourcesNzLMissing the required parameter `body` when calling `list_tags_for_resources`r   r   r   r    z</ListTagsForResources/2025-10-10/mem0/post/application_json/r!   ListTagsForResourcesResponseTr#   r)   r4   s                  r   rd   z.MEM0Api.list_tags_for_resources_with_http_info  rW   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  modify_api_key_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.modify_api_key_attribute(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ModifyAPIKeyAttributeRequest body: (required)
        :return: ModifyAPIKeyAttributeResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   'modify_api_key_attribute_with_http_infor   s       r   modify_api_key_attributez MEM0Api.modify_api_key_attribute,  r`   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a$  modify_api_key_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.modify_api_key_attribute_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ModifyAPIKeyAttributeRequest body: (required)
        :return: ModifyAPIKeyAttributeResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zJGot an unexpected keyword argument '%s' to method modify_api_key_attributeNzMMissing the required parameter `body` when calling `modify_api_key_attribute`r   r   r   r    z=/ModifyAPIKeyAttribute/2025-10-10/mem0/post/application_json/r!   ModifyAPIKeyAttributeResponseTr#   r)   r4   s                  r   ri   z/MEM0Api.modify_api_key_attribute_with_http_infoA  s    X
+&&&2333,---,---fX&677 	 	HC*$$:<?@   F3KK8?1 	nvV7K7K7=f~7MlmmmV .K"&/"F"F #" #"h )-(R(R )" )"n% **''KV#!9'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )aQ  modify_memory_project_long_term_strategy  # noqa: E501

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

        :param async_req bool
        :param ModifyMemoryProjectLongTermStrategyRequest body: (required)
        :return: ModifyMemoryProjectLongTermStrategyResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   7modify_memory_project_long_term_strategy_with_http_infor   s       r   (modify_memory_project_long_term_strategyz0MEM0Api.modify_memory_project_long_term_strategy  sa     ,0'(::k"" 	O4OPT__X^___QTQRVaaZ`aaTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a`  modify_memory_project_long_term_strategy  # noqa: E501

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

        :param async_req bool
        :param ModifyMemoryProjectLongTermStrategyRequest body: (required)
        :return: ModifyMemoryProjectLongTermStrategyResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zZGot an unexpected keyword argument '%s' to method modify_memory_project_long_term_strategyNz]Missing the required parameter `body` when calling `modify_memory_project_long_term_strategy`r   r   r   r    zK/ModifyMemoryProjectLongTermStrategy/2025-10-10/mem0/post/application_json/r!   +ModifyMemoryProjectLongTermStrategyResponseTr#   r)   r4   s                  r   rn   z?MEM0Api.modify_memory_project_long_term_strategy_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$JLOP   F3KK8?1 	~vV7K7K7=f~7M|}}}V .K"&/"F"F #" #"h )-(R(R )" )"n% **''Y[a#!G'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  tag_resources  # noqa: E501

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

        :param async_req bool
        :param TagResourcesRequest body: (required)
        :return: TagResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   tag_resources_with_http_infor   s       r   tag_resourceszMEM0Api.tag_resources  s]     ,0'(::k"" 	444TDDVDDD6T6tFFvFFTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  tag_resources  # noqa: E501

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

        :param async_req bool
        :param TagResourcesRequest body: (required)
        :return: TagResourcesResponse
                 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 tag_resourcesNzBMissing the required parameter `body` when calling `tag_resources`r   r   r   r    z4/TagResources/2025-10-10/mem0/post/application_json/r!   TagResourcesResponseTr#   r)   r4   s                  r   rs   z$MEM0Api.tag_resources_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$/145   F3KK8?1 	cvV7K7K7=f~7MabbbV .K"&/"F"F #" #"h )-(R(R )" )"n% **''BF#!0'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  untag_resources  # noqa: E501

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

        :param async_req bool
        :param UntagResourcesRequest body: (required)
        :return: UntagResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   untag_resources_with_http_infor   s       r   untag_resourceszMEM0Api.untag_resourcesO  s]     ,0'(::k"" 	646tFFvFFF8T8HHHHTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  untag_resources  # noqa: E501

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

        :param async_req bool
        :param UntagResourcesRequest body: (required)
        :return: UntagResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zAGot an unexpected keyword argument '%s' to method untag_resourcesNzDMissing the required parameter `body` when calling `untag_resources`r   r   r   r    z6/UntagResources/2025-10-10/mem0/post/application_json/r!   UntagResourcesResponseTr#   r)   r4   s                  r   rx   z&MEM0Api.untag_resources_with_http_infod  s    X
+&&&2333,---,---fX&677 	 	HC*$$1367   F3KK8?1 	evV7K7K7=f~7McdddV .K"&/"F"F #" #"h )-(R(R )" )"n% **''Df#!2'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   r   )__name__
__module____qualname____doc__r   r   r   rB   rA   rI   rH   rN   rM   rS   rR   rZ   rY   r_   r^   re   rd   rj   ri   ro   rn   rt   rs   ry   rx    r   r   r   r      s        % % % %
  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3 J3 J3r   r   )r   
__future__r   rer,   r   objectr   r   r   r   <module>r      s     ' & & & & & 				 


    V3 V3 V3 V3 V3f V3 V3 V3 V3 V3r   