
    NgB                        d dl mZ d dlmZmZ d dlmZ d dlmZ d dl	m
Z
mZ d dlmZ d dlmZ d dlmZ d d	lmZ d d
lmZ d dlmZ erd dlmZ  G d de          ZdS )    )annotations)TYPE_CHECKINGList)BaseTool)BaseToolkit)
ConfigDictField)O365CreateDraftMessage)O365SearchEvents)O365SearchEmails)O365SendEvent)O365SendMessage)authenticate)Accountc                  V    e Zd ZU dZ ee          Zded<    ed          Z	dd	Z
d
S )O365Toolkita  Toolkit for interacting with Office 365.

    *Security Note*: This toolkit contains tools that can read and modify
        the state of a service; e.g., by reading, creating, updating, deleting
        data associated with this service.

        For example, this toolkit can be used search through emails and events,
        send messages and event invites, and create draft messages.

        Please make sure that the permissions given by this toolkit
        are appropriate for your use case.

        See https://python.langchain.com/docs/security for more information.

    Parameters:
        account: Optional. The Office 365 account. Default is None.
    )default_factoryr   accountT)arbitrary_types_allowedreturnList[BaseTool]c                    t                      t                      t                      t                      t	                      gS )zGet the tools in the toolkit.)r   r
   r   r   r   )selfs    p/var/www/html/ai-engine/env/lib/python3.11/site-packages/langchain_community/agent_toolkits/office365/toolkit.py	get_toolszO365Toolkit.get_tools/   s9     "$$OO
 	
    N)r   r   )__name__
__module____qualname____doc__r	   r   r   __annotations__r   model_configr    r   r   r   r      sm          $ u\:::G::::: $  L
 
 
 
 
 
r   r   N)
__future__r   typingr   r   langchain_core.toolsr   langchain_core.tools.baser   pydanticr   r	   8langchain_community.tools.office365.create_draft_messager
   1langchain_community.tools.office365.events_searchr   3langchain_community.tools.office365.messages_searchr   .langchain_community.tools.office365.send_eventr   0langchain_community.tools.office365.send_messager   )langchain_community.tools.office365.utilsr   O365r   r   r#   r   r   <module>r0      s4   " " " " " " & & & & & & & & ) ) ) ) ) ) 1 1 1 1 1 1 & & & & & & & &      O N N N N N P P P P P P H H H H H H L L L L L L B B B B B B !
 !
 !
 !
 !
+ !
 !
 !
 !
 !
r   