
    YjB<                    0   d dl mZ ddlmZmZmZmZmZmZ ddl	m
Z
mZmZmZmZmZ ddlmZmZmZmZmZmZ ddlmZ ddlmZmZmZmZmZmZ dd	l m!Z!m"Z"m#Z#m$Z$m%Z%m&Z& dd
l'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z- ddl.m/Z/m0Z0 ddl1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7 ddl8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z> ddl?m@Z@mAZAmBZBmCZCmDZDmEZE ddlFmGZGmHZHmIZImJZJmKZKmLZL ddlMmNZNmOZOmPZPmQZQmRZRmSZS ddlTmUZUmVZVmWZWmXZXmYZYmZZZ ddgZ[ G d de/      Z\ G d de0      Z] G d d      Z^ G d d      Z_ G d d      Z` G d d      Zay)    )annotations   )Roles
AsyncRolesRolesWithRawResponseAsyncRolesWithRawResponseRolesWithStreamingResponseAsyncRolesWithStreamingResponse)Usage
AsyncUsageUsageWithRawResponseAsyncUsageWithRawResponseUsageWithStreamingResponseAsyncUsageWithStreamingResponse)InvitesAsyncInvitesInvitesWithRawResponseAsyncInvitesWithRawResponseInvitesWithStreamingResponse!AsyncInvitesWithStreamingResponse   )cached_property)	AuditLogsAsyncAuditLogsAuditLogsWithRawResponseAsyncAuditLogsWithRawResponseAuditLogsWithStreamingResponse#AsyncAuditLogsWithStreamingResponse)
SpendLimitAsyncSpendLimitSpendLimitWithRawResponseAsyncSpendLimitWithRawResponseSpendLimitWithStreamingResponse$AsyncSpendLimitWithStreamingResponse)Users
AsyncUsersUsersWithRawResponseAsyncUsersWithRawResponseUsersWithStreamingResponseAsyncUsersWithStreamingResponse)SyncAPIResourceAsyncAPIResource)CertificatesAsyncCertificatesCertificatesWithRawResponse AsyncCertificatesWithRawResponse!CertificatesWithStreamingResponse&AsyncCertificatesWithStreamingResponse)SpendAlertsAsyncSpendAlertsSpendAlertsWithRawResponseAsyncSpendAlertsWithRawResponse SpendAlertsWithStreamingResponse%AsyncSpendAlertsWithStreamingResponse)GroupsAsyncGroupsGroupsWithRawResponseAsyncGroupsWithRawResponseGroupsWithStreamingResponse AsyncGroupsWithStreamingResponse)AdminAPIKeysAsyncAdminAPIKeysAdminAPIKeysWithRawResponse AsyncAdminAPIKeysWithRawResponse!AdminAPIKeysWithStreamingResponse&AsyncAdminAPIKeysWithStreamingResponse)DataRetentionAsyncDataRetentionDataRetentionWithRawResponse!AsyncDataRetentionWithRawResponse"DataRetentionWithStreamingResponse'AsyncDataRetentionWithStreamingResponse)ProjectsAsyncProjectsProjectsWithRawResponseAsyncProjectsWithRawResponseProjectsWithStreamingResponse"AsyncProjectsWithStreamingResponseOrganizationAsyncOrganizationc                     e Zd Zedd       Zedd       Zedd       Zedd       Zedd       Zedd       Z	edd       Z
edd       Zedd	       Zedd
       Zedd       Zedd       Zedd       Zedd       Zy)rQ   c                ,    t        | j                        S zEList user actions and configuration changes within this organization.)r   _clientselfs    o/var/www/html/vmm-quimica/venv/lib/python3.12/site-packages/openai/resources/admin/organization/organization.py
audit_logszOrganization.audit_logsl   s     &&    c                ,    t        | j                        S N)r?   rV   rW   s    rY   admin_api_keyszOrganization.admin_api_keysq       DLL))r[   c                ,    t        | j                        S r]   )r   rV   rW   s    rY   usagezOrganization.usageu       T\\""r[   c                ,    t        | j                        S r]   )r   rV   rW   s    rY   inviteszOrganization.invitesy   s    t||$$r[   c                ,    t        | j                        S r]   )r%   rV   rW   s    rY   userszOrganization.users}   rb   r[   c                ,    t        | j                        S r]   )r9   rV   rW   s    rY   groupszOrganization.groups   s    dll##r[   c                ,    t        | j                        S r]   )r   rV   rW   s    rY   roleszOrganization.roles   rb   r[   c                ,    t        | j                        S r]   )rE   rV   rW   s    rY   data_retentionzOrganization.data_retention       T\\**r[   c                ,    t        | j                        S r]   )r   rV   rW   s    rY   spend_limitzOrganization.spend_limit       $,,''r[   c                ,    t        | j                        S r]   )r3   rV   rW   s    rY   spend_alertszOrganization.spend_alerts       4<<((r[   c                ,    t        | j                        S r]   )r-   rV   rW   s    rY   certificateszOrganization.certificates   r_   r[   c                ,    t        | j                        S r]   )rK   rV   rW   s    rY   projectszOrganization.projects   s    %%r[   c                    t        |       S a  
        This property can be used as a prefix for any HTTP method call to return
        the raw response object instead of the parsed content.

        For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
        )OrganizationWithRawResponserW   s    rY   with_raw_responsezOrganization.with_raw_response   s     +400r[   c                    t        |       S z
        An alternative to `.with_raw_response` that doesn't eagerly read the response body.

        For more information, see https://www.github.com/openai/openai-python#with_streaming_response
        )!OrganizationWithStreamingResponserW   s    rY   with_streaming_responsez$Organization.with_streaming_response   s     166r[   N)returnr   )r   r?   )r   r   )r   r   )r   r%   )r   r9   )r   r   )r   rE   )r   r   )r   r3   )r   r-   )r   rK   )r   rz   )r   r~   __name__
__module____qualname__r   rZ   r^   ra   rd   rf   rh   rj   rl   ro   rr   ru   rw   r{   r    r[   rY   rQ   rQ   k   s   ' ' * * # # % % # # $ $ # # + + ( ( ) ) * * & & 1 1 7 7r[   c                     e Zd Zedd       Zedd       Zedd       Zedd       Zedd       Zedd       Z	edd       Z
edd       Zedd	       Zedd
       Zedd       Zedd       Zedd       Zedd       Zy)rR   c                ,    t        | j                        S rU   )r   rV   rW   s    rY   rZ   zAsyncOrganization.audit_logs   s     dll++r[   c                ,    t        | j                        S r]   )r@   rV   rW   s    rY   r^   z AsyncOrganization.admin_api_keys        ..r[   c                ,    t        | j                        S r]   )r   rV   rW   s    rY   ra   zAsyncOrganization.usage   rp   r[   c                ,    t        | j                        S r]   )r   rV   rW   s    rY   rd   zAsyncOrganization.invites   r_   r[   c                ,    t        | j                        S r]   )r&   rV   rW   s    rY   rf   zAsyncOrganization.users   rp   r[   c                ,    t        | j                        S r]   )r:   rV   rW   s    rY   rh   zAsyncOrganization.groups   rs   r[   c                ,    t        | j                        S r]   )r   rV   rW   s    rY   rj   zAsyncOrganization.roles   rp   r[   c                ,    t        | j                        S r]   )rF   rV   rW   s    rY   rl   z AsyncOrganization.data_retention   s    !$,,//r[   c                ,    t        | j                        S r]   )r    rV   rW   s    rY   ro   zAsyncOrganization.spend_limit   s    t||,,r[   c                ,    t        | j                        S r]   )r4   rV   rW   s    rY   rr   zAsyncOrganization.spend_alerts   s    --r[   c                ,    t        | j                        S r]   )r.   rV   rW   s    rY   ru   zAsyncOrganization.certificates   r   r[   c                ,    t        | j                        S r]   )rL   rV   rW   s    rY   rw   zAsyncOrganization.projects   rm   r[   c                    t        |       S ry   ) AsyncOrganizationWithRawResponserW   s    rY   r{   z#AsyncOrganization.with_raw_response   s     055r[   c                    t        |       S r}   )&AsyncOrganizationWithStreamingResponserW   s    rY   r   z)AsyncOrganization.with_streaming_response   s     6d;;r[   N)r   r   )r   r@   )r   r   )r   r   )r   r&   )r   r:   )r   r   )r   rF   )r   r    )r   r4   )r   r.   )r   rL   )r   r   )r   r   r   r   r[   rY   rR   rR      s   , , / / ( ( * * ( ( ) ) ( ( 0 0 - - . . / / + + 6 6 < <r[   c                      e Zd ZddZedd       Zedd       Zedd       Zedd       Zedd       Z	edd       Z
edd       Zedd	       Zedd
       Zedd       Zedd       Zedd       Zy)rz   c                    || _         y r]   _organizationrX   organizations     rY   __init__z$OrganizationWithRawResponse.__init__   
    )r[   c                @    t        | j                  j                        S rU   )r   r   rZ   rW   s    rY   rZ   z&OrganizationWithRawResponse.audit_logs   s     ((:(:(E(EFFr[   c                @    t        | j                  j                        S r]   )rA   r   r^   rW   s    rY   r^   z*OrganizationWithRawResponse.admin_api_keys   s    *4+=+=+L+LMMr[   c                @    t        | j                  j                        S r]   )r   r   ra   rW   s    rY   ra   z!OrganizationWithRawResponse.usage      #D$6$6$<$<==r[   c                @    t        | j                  j                        S r]   )r   r   rd   rW   s    rY   rd   z#OrganizationWithRawResponse.invites  s    %d&8&8&@&@AAr[   c                @    t        | j                  j                        S r]   )r'   r   rf   rW   s    rY   rf   z!OrganizationWithRawResponse.users  r   r[   c                @    t        | j                  j                        S r]   )r;   r   rh   rW   s    rY   rh   z"OrganizationWithRawResponse.groups  s    $T%7%7%>%>??r[   c                @    t        | j                  j                        S r]   )r   r   rj   rW   s    rY   rj   z!OrganizationWithRawResponse.roles  r   r[   c                @    t        | j                  j                        S r]   )rG   r   rl   rW   s    rY   rl   z*OrganizationWithRawResponse.data_retention  s    +D,>,>,M,MNNr[   c                @    t        | j                  j                        S r]   )r!   r   ro   rW   s    rY   ro   z'OrganizationWithRawResponse.spend_limit  s    (););)G)GHHr[   c                @    t        | j                  j                        S r]   )r5   r   rr   rW   s    rY   rr   z(OrganizationWithRawResponse.spend_alerts   s    )$*<*<*I*IJJr[   c                @    t        | j                  j                        S r]   )r/   r   ru   rW   s    rY   ru   z(OrganizationWithRawResponse.certificates$  s    *4+=+=+J+JKKr[   c                @    t        | j                  j                        S r]   )rM   r   rw   rW   s    rY   rw   z$OrganizationWithRawResponse.projects(  s    &t'9'9'B'BCCr[   Nr   rQ   r   None)r   r   )r   rA   )r   r   )r   r   )r   r'   )r   r;   )r   r   )r   rG   )r   r!   )r   r5   )r   r/   )r   rM   r   r   r   r   r   rZ   r^   ra   rd   rf   rh   rj   rl   ro   rr   ru   rw   r   r[   rY   rz   rz      s	   * G G N N > > B B > > @ @ > > O O I I K K L L D Dr[   rz   c                      e Zd ZddZedd       Zedd       Zedd       Zedd       Zedd       Z	edd       Z
edd       Zedd	       Zedd
       Zedd       Zedd       Zedd       Zy)r   c                    || _         y r]   r   r   s     rY   r   z)AsyncOrganizationWithRawResponse.__init__.  r   r[   c                @    t        | j                  j                        S rU   )r   r   rZ   rW   s    rY   rZ   z+AsyncOrganizationWithRawResponse.audit_logs1  s     -T-?-?-J-JKKr[   c                @    t        | j                  j                        S r]   )rB   r   r^   rW   s    rY   r^   z/AsyncOrganizationWithRawResponse.admin_api_keys6  s    /0B0B0Q0QRRr[   c                @    t        | j                  j                        S r]   )r   r   ra   rW   s    rY   ra   z&AsyncOrganizationWithRawResponse.usage:      (););)A)ABBr[   c                @    t        | j                  j                        S r]   )r   r   rd   rW   s    rY   rd   z(AsyncOrganizationWithRawResponse.invites>  s    *4+=+=+E+EFFr[   c                @    t        | j                  j                        S r]   )r(   r   rf   rW   s    rY   rf   z&AsyncOrganizationWithRawResponse.usersB  r   r[   c                @    t        | j                  j                        S r]   )r<   r   rh   rW   s    rY   rh   z'AsyncOrganizationWithRawResponse.groupsF  s    )$*<*<*C*CDDr[   c                @    t        | j                  j                        S r]   )r   r   rj   rW   s    rY   rj   z&AsyncOrganizationWithRawResponse.rolesJ  r   r[   c                @    t        | j                  j                        S r]   )rH   r   rl   rW   s    rY   rl   z/AsyncOrganizationWithRawResponse.data_retentionN      01C1C1R1RSSr[   c                @    t        | j                  j                        S r]   )r"   r   ro   rW   s    rY   ro   z,AsyncOrganizationWithRawResponse.spend_limitR  s    -d.@.@.L.LMMr[   c                @    t        | j                  j                        S r]   )r6   r   rr   rW   s    rY   rr   z-AsyncOrganizationWithRawResponse.spend_alertsV  s    .t/A/A/N/NOOr[   c                @    t        | j                  j                        S r]   )r0   r   ru   rW   s    rY   ru   z-AsyncOrganizationWithRawResponse.certificatesZ      /0B0B0O0OPPr[   c                @    t        | j                  j                        S r]   )rN   r   rw   rW   s    rY   rw   z)AsyncOrganizationWithRawResponse.projects^  s    +D,>,>,G,GHHr[   Nr   rR   r   r   )r   r   )r   rB   )r   r   )r   r   )r   r(   )r   r<   )r   r   )r   rH   )r   r"   )r   r6   )r   r0   )r   rN   r   r   r[   rY   r   r   -  s   * L L S S C C G G C C E E C C T T N N P P Q Q I Ir[   r   c                      e Zd ZddZedd       Zedd       Zedd       Zedd       Zedd       Z	edd       Z
edd       Zedd	       Zedd
       Zedd       Zedd       Zedd       Zy)r~   c                    || _         y r]   r   r   s     rY   r   z*OrganizationWithStreamingResponse.__init__d  r   r[   c                @    t        | j                  j                        S rU   )r   r   rZ   rW   s    rY   rZ   z,OrganizationWithStreamingResponse.audit_logsg  s     .d.@.@.K.KLLr[   c                @    t        | j                  j                        S r]   )rC   r   r^   rW   s    rY   r^   z0OrganizationWithStreamingResponse.admin_api_keysl  r   r[   c                @    t        | j                  j                        S r]   )r   r   ra   rW   s    rY   ra   z'OrganizationWithStreamingResponse.usagep      )$*<*<*B*BCCr[   c                @    t        | j                  j                        S r]   )r   r   rd   rW   s    rY   rd   z)OrganizationWithStreamingResponse.invitest  s    +D,>,>,F,FGGr[   c                @    t        | j                  j                        S r]   )r)   r   rf   rW   s    rY   rf   z'OrganizationWithStreamingResponse.usersx  r   r[   c                @    t        | j                  j                        S r]   )r=   r   rh   rW   s    rY   rh   z(OrganizationWithStreamingResponse.groups|  s    *4+=+=+D+DEEr[   c                @    t        | j                  j                        S r]   )r	   r   rj   rW   s    rY   rj   z'OrganizationWithStreamingResponse.roles  r   r[   c                @    t        | j                  j                        S r]   )rI   r   rl   rW   s    rY   rl   z0OrganizationWithStreamingResponse.data_retention  s    1$2D2D2S2STTr[   c                @    t        | j                  j                        S r]   )r#   r   ro   rW   s    rY   ro   z-OrganizationWithStreamingResponse.spend_limit  s    .t/A/A/M/MNNr[   c                @    t        | j                  j                        S r]   )r7   r   rr   rW   s    rY   rr   z.OrganizationWithStreamingResponse.spend_alerts  r   r[   c                @    t        | j                  j                        S r]   )r1   r   ru   rW   s    rY   ru   z.OrganizationWithStreamingResponse.certificates  s    01C1C1P1PQQr[   c                @    t        | j                  j                        S r]   )rO   r   rw   rW   s    rY   rw   z*OrganizationWithStreamingResponse.projects  s    ,T-?-?-H-HIIr[   Nr   )r   r   )r   rC   )r   r   )r   r   )r   r)   )r   r=   )r   r	   )r   rI   )r   r#   )r   r7   )r   r1   )r   rO   r   r   r[   rY   r~   r~   c  s   * M M T T D D H H D D F F D D U U O O Q Q R R J Jr[   r~   c                      e Zd ZddZedd       Zedd       Zedd       Zedd       Zedd       Z	edd       Z
edd       Zedd	       Zedd
       Zedd       Zedd       Zedd       Zy)r   c                    || _         y r]   r   r   s     rY   r   z/AsyncOrganizationWithStreamingResponse.__init__  r   r[   c                @    t        | j                  j                        S rU   )r   r   rZ   rW   s    rY   rZ   z1AsyncOrganizationWithStreamingResponse.audit_logs  s     343E3E3P3PQQr[   c                @    t        | j                  j                        S r]   )rD   r   r^   rW   s    rY   r^   z5AsyncOrganizationWithStreamingResponse.admin_api_keys  s    5d6H6H6W6WXXr[   c                @    t        | j                  j                        S r]   )r   r   ra   rW   s    rY   ra   z,AsyncOrganizationWithStreamingResponse.usage      .t/A/A/G/GHHr[   c                @    t        | j                  j                        S r]   )r   r   rd   rW   s    rY   rd   z.AsyncOrganizationWithStreamingResponse.invites  s    01C1C1K1KLLr[   c                @    t        | j                  j                        S r]   )r*   r   rf   rW   s    rY   rf   z,AsyncOrganizationWithStreamingResponse.users  r   r[   c                @    t        | j                  j                        S r]   )r>   r   rh   rW   s    rY   rh   z-AsyncOrganizationWithStreamingResponse.groups  s    /0B0B0I0IJJr[   c                @    t        | j                  j                        S r]   )r
   r   rj   rW   s    rY   rj   z,AsyncOrganizationWithStreamingResponse.roles  r   r[   c                @    t        | j                  j                        S r]   )rJ   r   rl   rW   s    rY   rl   z5AsyncOrganizationWithStreamingResponse.data_retention  s    6t7I7I7X7XYYr[   c                @    t        | j                  j                        S r]   )r$   r   ro   rW   s    rY   ro   z2AsyncOrganizationWithStreamingResponse.spend_limit  s    3D4F4F4R4RSSr[   c                @    t        | j                  j                        S r]   )r8   r   rr   rW   s    rY   rr   z3AsyncOrganizationWithStreamingResponse.spend_alerts  s    4T5G5G5T5TUUr[   c                @    t        | j                  j                        S r]   )r2   r   ru   rW   s    rY   ru   z3AsyncOrganizationWithStreamingResponse.certificates  s    5d6H6H6U6UVVr[   c                @    t        | j                  j                        S r]   )rP   r   rw   rW   s    rY   rw   z/AsyncOrganizationWithStreamingResponse.projects  s    1$2D2D2M2MNNr[   Nr   )r   r   )r   rD   )r   r   )r   r   )r   r*   )r   r>   )r   r
   )r   rJ   )r   r$   )r   r8   )r   r2   )r   rP   r   r   r[   rY   r   r     s   * R R Y Y I I M M I I K K I I Z Z T T V V W W O Or[   r   N)b
__future__r   rj   r   r   r   r   r	   r
   ra   r   r   r   r   r   r   rd   r   r   r   r   r   r   _compatr   rZ   r   r   r   r   r   r   ro   r   r    r!   r"   r#   r$   users.usersr%   r&   r'   r(   r)   r*   	_resourcer+   r,   ru   r-   r.   r/   r0   r1   r2   rr   r3   r4   r5   r6   r7   r8   groups.groupsr9   r:   r;   r<   r=   r>   r^   r?   r@   rA   rB   rC   rD   rl   rE   rF   rG   rH   rI   rJ   projects.projectsrK   rL   rM   rN   rO   rP   __all__rQ   rR   rz   r   r~   r   r   r[   rY   <module>r      s    #    (    <       .
/C7? C7LC<( C<L3D 3Dl3I 3Il3J 3Jl3O 3Or[   