
    K:gW	                         U d dl m Z  d dlmZmZmZmZ d dlZd dlmZ d dl	m
Z
mZ  G d de
      Z G d d	e
      Z G d
 de
      Zeeef   Zeed<    e e              y)    )datetime)AnyDictListOptionalN)	TypeAlias)AirtableModelrebuild_modelsc                   L    e Zd ZU dZed   ed<   dZed   ed<    G d de      Z	y)	AuditLogResponsez
    Represents a page of audit log events.

    See `Audit log events <https://airtable.com/developers/web/api/audit-log-events>`__
    for more information on how to interpret this data structure.
    AuditLogEventeventsNAuditLogResponse.Pagination
paginationc                   6    e Zd ZU dZee   ed<   dZee   ed<   y)r   Nnextprevious)__name__
__module____qualname__r   r   str__annotations__r        T/var/www/html/lionshead/venv/lib/python3.12/site-packages/pyairtable/models/audit.py
PaginationzAuditLogResponse.Pagination   s    "hsm""&(3-&r   r   )
r   r   r   __doc__r   r   r   r   r	   r   r   r   r   r   r   
   s0     !!:>J67>'] 'r   r   c                       e Zd ZU dZeed<   eed<   eed<   ded<    ej                  d      Z	eed	<    ej                  d
      Z
eed<   ded<   eed<   ded<   ded<    G d de      Z G d de      Zy)r   a  
    Represents a single audit log event.

    See `Audit log events <https://airtable.com/developers/web/api/audit-log-events>`__
    for more information on how to interpret this data structure.

    To avoid namespace conflicts with the Pydantic library, the
    ``modelId`` and ``modelType`` fields from the Airtable API are
    represented as fields named ``object_id`` and ``object_type``.
    id	timestampactionAuditLogActoractormodelId)alias	object_id	modelTypeobject_typeAuditLogPayloadpayloadpayload_versionAuditLogEvent.ContextcontextAuditLogEvent.Originoriginc                   r    e Zd ZU dZee   ed<   eed<   eed<   dZee   ed<   dZee   ed<   dZ	ee   ed<   y)r,   Nbase_id	action_identerprise_account_id descendant_enterprise_account_idinterface_idworkspace_id)
r   r   r   r1   r   r   r   r4   r5   r6   r   r   r   ContextzAuditLogEvent.Context1   sF    !%#%"":>((3->&*hsm*&*hsm*r   r7   c                   ^    e Zd ZU eed<   eed<   dZee   ed<   dZee   ed<   dZee   ed<   y)r.   
ip_address
user_agentNoauth_access_token_idpersonal_access_token_id
session_id)	r   r   r   r   r   r;   r   r<   r=   r   r   r   OriginzAuditLogEvent.Origin9   s8    /3x}326 (3-6$(
HSM(r   r>   N)r   r   r   r   r   r   r   pydanticFieldr&   r(   r	   r7   r>   r   r   r   r   r      sy    	 	GK#X^^)4Is4%x~~K8K8$$""+- +) )r   r   c                   j    e Zd ZU eed<   dZed   ed<   dZee   ed<   dZee   ed<    G d de	      Z
y)	r"   typeNAuditLogActor.UserInfouserview_idautomation_idc                   6    e Zd ZU eed<   eed<   dZee   ed<   y)rC   r   emailNname)r   r   r   r   r   rI   r   r   r   r   UserInfozAuditLogActor.UserInfoG   s    
"hsm"r   rJ   )r   r   r   r   r   rD   r   rE   rF   r	   rJ   r   r   r   r"   r"   A   s?    
I/3D(+
,3!GXc]!#'M8C='#= #r   r"   r)   )r   typingr   r   r   r   r?   typing_extensionsr   pyairtable.models._baser	   r
   r   r   r"   r   r)   r   varsr   r   r   <module>rO      s\     , ,  ' A'} ' $)M $)N	#M 	# "#s(^ + tv r   