
    +j[                        d dl mZmZmZmZmZmZmZ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 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! ddl"m#Z# ddl$m%Z%  G d dee                   Z& G d dee                   Z' G d dee                   Z( G d dee                   Z) G d dee                   Z* G d dee                   Z+ G d dee                   Z, G d d ee                   Z- G d! d"ee                   Z. G d# d$ee                   Z/ G d% d&ee!                   Z0 G d' d(ee#                   Z1 G d) d*ee%                   Z2d+S ),    )	AnyOptionalUnionDictListSetIOCallableType)IEventProcessor   !P2ContactCustomAttrEventUpdatedV3P2ContactDepartmentCreatedV3P2ContactDepartmentDeletedV3P2ContactDepartmentUpdatedV3"P2ContactEmployeeTypeEnumActivedV3"P2ContactEmployeeTypeEnumCreatedV3&P2ContactEmployeeTypeEnumDeactivatedV3"P2ContactEmployeeTypeEnumDeletedV3"P2ContactEmployeeTypeEnumUpdatedV3P2ContactScopeUpdatedV3P2ContactUserCreatedV3P2ContactUserDeletedV3P2ContactUserUpdatedV3c                   T    e Zd Zdeegdf         fdZdee         fdZdeddfdZdS )*P2ContactCustomAttrEventUpdatedV3ProcessorfNc                     || _         d S Nr*   selfr*   s     c/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/lark_oapi/api/contact/v3/processor.py__init__z3P2ContactCustomAttrEventUpdatedV3Processor.__init__           returnc                     t           S r,   r   r/   s    r0   typez/P2ContactCustomAttrEventUpdatedV3Processor.type   s    00r3   datac                 0    |                      |           d S r,   r-   r/   r8   s     r0   doz-P2ContactCustomAttrEventUpdatedV3Processor.do       tr3   )	__name__
__module____qualname__r
   r   r1   r   r7   r;    r3   r0   r)   r)      s        ($E#F#LM    1d<= 1 1 1 18 T      r3   r)   c                   T    e Zd Zdeegdf         fdZdee         fdZdeddfdZdS )%P2ContactDepartmentCreatedV3Processorr*   Nc                     || _         d S r,   r-   r.   s     r0   r1   z.P2ContactDepartmentCreatedV3Processor.__init__!   r2   r3   r4   c                     t           S r,   r   r6   s    r0   r7   z*P2ContactDepartmentCreatedV3Processor.type$       ++r3   r8   c                 0    |                      |           d S r,   r-   r:   s     r0   r;   z(P2ContactDepartmentCreatedV3Processor.do'   r<   r3   )	r=   r>   r?   r
   r   r1   r   r7   r;   r@   r3   r0   rB   rB               ($@#A4#GH    ,d78 , , , ,3       r3   rB   c                   T    e Zd Zdeegdf         fdZdee         fdZdeddfdZdS )%P2ContactDepartmentDeletedV3Processorr*   Nc                     || _         d S r,   r-   r.   s     r0   r1   z.P2ContactDepartmentDeletedV3Processor.__init__,   r2   r3   r4   c                     t           S r,   r   r6   s    r0   r7   z*P2ContactDepartmentDeletedV3Processor.type/   rE   r3   r8   c                 0    |                      |           d S r,   r-   r:   s     r0   r;   z(P2ContactDepartmentDeletedV3Processor.do2   r<   r3   )	r=   r>   r?   r
   r   r1   r   r7   r;   r@   r3   r0   rI   rI   +   rG   r3   rI   c                   T    e Zd Zdeegdf         fdZdee         fdZdeddfdZdS )%P2ContactDepartmentUpdatedV3Processorr*   Nc                     || _         d S r,   r-   r.   s     r0   r1   z.P2ContactDepartmentUpdatedV3Processor.__init__7   r2   r3   r4   c                     t           S r,   r   r6   s    r0   r7   z*P2ContactDepartmentUpdatedV3Processor.type:   rE   r3   r8   c                 0    |                      |           d S r,   r-   r:   s     r0   r;   z(P2ContactDepartmentUpdatedV3Processor.do=   r<   r3   )	r=   r>   r?   r
   r   r1   r   r7   r;   r@   r3   r0   rN   rN   6   rG   r3   rN   c                   T    e Zd Zdeegdf         fdZdee         fdZdeddfdZdS )+P2ContactEmployeeTypeEnumActivedV3Processorr*   Nc                     || _         d S r,   r-   r.   s     r0   r1   z4P2ContactEmployeeTypeEnumActivedV3Processor.__init__B   r2   r3   r4   c                     t           S r,   r   r6   s    r0   r7   z0P2ContactEmployeeTypeEnumActivedV3Processor.typeE       11r3   r8   c                 0    |                      |           d S r,   r-   r:   s     r0   r;   z.P2ContactEmployeeTypeEnumActivedV3Processor.doH   r<   r3   )	r=   r>   r?   r
   r   r1   r   r7   r;   r@   r3   r0   rS   rS   A           ($F#G#MN    2d=> 2 2 2 29 d      r3   rS   c                   T    e Zd Zdeegdf         fdZdee         fdZdeddfdZdS )+P2ContactEmployeeTypeEnumCreatedV3Processorr*   Nc                     || _         d S r,   r-   r.   s     r0   r1   z4P2ContactEmployeeTypeEnumCreatedV3Processor.__init__M   r2   r3   r4   c                     t           S r,   r   r6   s    r0   r7   z0P2ContactEmployeeTypeEnumCreatedV3Processor.typeP   rV   r3   r8   c                 0    |                      |           d S r,   r-   r:   s     r0   r;   z.P2ContactEmployeeTypeEnumCreatedV3Processor.doS   r<   r3   )	r=   r>   r?   r
   r   r1   r   r7   r;   r@   r3   r0   rZ   rZ   L   rX   r3   rZ   c                   T    e Zd Zdeegdf         fdZdee         fdZdeddfdZdS )/P2ContactEmployeeTypeEnumDeactivatedV3Processorr*   Nc                     || _         d S r,   r-   r.   s     r0   r1   z8P2ContactEmployeeTypeEnumDeactivatedV3Processor.__init__X   r2   r3   r4   c                     t           S r,   r   r6   s    r0   r7   z4P2ContactEmployeeTypeEnumDeactivatedV3Processor.type[   s    55r3   r8   c                 0    |                      |           d S r,   r-   r:   s     r0   r;   z2P2ContactEmployeeTypeEnumDeactivatedV3Processor.do^   r<   r3   )	r=   r>   r?   r
   r   r1   r   r7   r;   r@   r3   r0   r_   r_   W   s        ($J#KT#QR    6dAB 6 6 6 6= $      r3   r_   c                   T    e Zd Zdeegdf         fdZdee         fdZdeddfdZdS )+P2ContactEmployeeTypeEnumDeletedV3Processorr*   Nc                     || _         d S r,   r-   r.   s     r0   r1   z4P2ContactEmployeeTypeEnumDeletedV3Processor.__init__c   r2   r3   r4   c                     t           S r,   r   r6   s    r0   r7   z0P2ContactEmployeeTypeEnumDeletedV3Processor.typef   rV   r3   r8   c                 0    |                      |           d S r,   r-   r:   s     r0   r;   z.P2ContactEmployeeTypeEnumDeletedV3Processor.doi   r<   r3   )	r=   r>   r?   r
   r   r1   r   r7   r;   r@   r3   r0   rd   rd   b   rX   r3   rd   c                   T    e Zd Zdeegdf         fdZdee         fdZdeddfdZdS )+P2ContactEmployeeTypeEnumUpdatedV3Processorr*   Nc                     || _         d S r,   r-   r.   s     r0   r1   z4P2ContactEmployeeTypeEnumUpdatedV3Processor.__init__n   r2   r3   r4   c                     t           S r,   r   r6   s    r0   r7   z0P2ContactEmployeeTypeEnumUpdatedV3Processor.typeq   rV   r3   r8   c                 0    |                      |           d S r,   r-   r:   s     r0   r;   z.P2ContactEmployeeTypeEnumUpdatedV3Processor.dot   r<   r3   )	r=   r>   r?   r
   r   r1   r   r7   r;   r@   r3   r0   ri   ri   m   rX   r3   ri   c                   T    e Zd Zdeegdf         fdZdee         fdZdeddfdZdS ) P2ContactScopeUpdatedV3Processorr*   Nc                     || _         d S r,   r-   r.   s     r0   r1   z)P2ContactScopeUpdatedV3Processor.__init__y   r2   r3   r4   c                     t           S r,   r    r6   s    r0   r7   z%P2ContactScopeUpdatedV3Processor.type|   s    &&r3   r8   c                 0    |                      |           d S r,   r-   r:   s     r0   r;   z#P2ContactScopeUpdatedV3Processor.do   r<   r3   )	r=   r>   r?   r
   r!   r1   r   r7   r;   r@   r3   r0   rn   rn   x   s        ($;#<d#BC    'd23 ' ' ' '. 4      r3   rn   c                   T    e Zd Zdeegdf         fdZdee         fdZdeddfdZdS )P2ContactUserCreatedV3Processorr*   Nc                     || _         d S r,   r-   r.   s     r0   r1   z(P2ContactUserCreatedV3Processor.__init__   r2   r3   r4   c                     t           S r,   r"   r6   s    r0   r7   z$P2ContactUserCreatedV3Processor.type       %%r3   r8   c                 0    |                      |           d S r,   r-   r:   s     r0   r;   z"P2ContactUserCreatedV3Processor.do   r<   r3   )	r=   r>   r?   r
   r#   r1   r   r7   r;   r@   r3   r0   rs   rs              ($:#;T#AB    &d12 & & & &- $      r3   rs   c                   T    e Zd Zdeegdf         fdZdee         fdZdeddfdZdS )P2ContactUserDeletedV3Processorr*   Nc                     || _         d S r,   r-   r.   s     r0   r1   z(P2ContactUserDeletedV3Processor.__init__   r2   r3   r4   c                     t           S r,   r$   r6   s    r0   r7   z$P2ContactUserDeletedV3Processor.type   rv   r3   r8   c                 0    |                      |           d S r,   r-   r:   s     r0   r;   z"P2ContactUserDeletedV3Processor.do   r<   r3   )	r=   r>   r?   r
   r%   r1   r   r7   r;   r@   r3   r0   rz   rz      rx   r3   rz   c                   T    e Zd Zdeegdf         fdZdee         fdZdeddfdZdS )P2ContactUserUpdatedV3Processorr*   Nc                     || _         d S r,   r-   r.   s     r0   r1   z(P2ContactUserUpdatedV3Processor.__init__   r2   r3   r4   c                     t           S r,   r&   r6   s    r0   r7   z$P2ContactUserUpdatedV3Processor.type   rv   r3   r8   c                 0    |                      |           d S r,   r-   r:   s     r0   r;   z"P2ContactUserUpdatedV3Processor.do   r<   r3   )	r=   r>   r?   r
   r'   r1   r   r7   r;   r@   r3   r0   r   r      rx   r3   r   N)3typingr   r   r   r   r   r   r	   r
   r   lark_oapi.event.processorr   -model.p2_contact_custom_attr_event_updated_v3r   &model.p2_contact_department_created_v3r   &model.p2_contact_department_deleted_v3r   &model.p2_contact_department_updated_v3r   .model.p2_contact_employee_type_enum_actived_v3r   .model.p2_contact_employee_type_enum_created_v3r   2model.p2_contact_employee_type_enum_deactivated_v3r   .model.p2_contact_employee_type_enum_deleted_v3r   .model.p2_contact_employee_type_enum_updated_v3r   !model.p2_contact_scope_updated_v3r!    model.p2_contact_user_created_v3r#    model.p2_contact_user_deleted_v3r%    model.p2_contact_user_updated_v3r'   r)   rB   rI   rN   rS   rZ   r_   rd   ri   rn   rs   rz   r   r@   r3   r0   <module>r      s   M L L L L L L L L L L L L L L L L L L L L L 5 5 5 5 5 5 \ \ \ \ \ \ P P P P P P P P P P P P P P P P P P ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ f f f f f f ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ F F F F F F D D D D D D D D D D D D D D D D D D    Ab1c       O<X,Y       O<X,Y       O<X,Y       /Bd2e       /Bd2e       oFl6m       /Bd2e       /Bd2e       7N'O       o6L&M       o6L&M       o6L&M     r3   