
    _j3/                       S SK Jr  SSKJrJrJrJrJrJr  SSK	J
r
JrJrJrJrJr  SSKJrJrJrJrJrJr  SSKJr  SSKJrJrJrJrJrJr  SS	K J!r!J"r"J#r#J$r$J%r%J&r&  SS
K'J(r(J)r)  SSK*J+r+J,r,J-r-J.r.J/r/J0r0  SSK1J2r2J3r3J4r4J5r5J6r6J7r7  SSK8J9r9J:r:J;r;J<r<J=r=J>r>  SSK?J@r@JArAJBrBJCrCJDrDJErE  SS/rF " S S\(5      rG " S S\)5      rH " S S5      rI " S S5      rJ " S S5      rK " S S5      rLg)    )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)Users
AsyncUsersUsersWithRawResponseAsyncUsersWithRawResponseUsersWithStreamingResponseAsyncUsersWithStreamingResponse)SyncAPIResourceAsyncAPIResource)CertificatesAsyncCertificatesCertificatesWithRawResponse AsyncCertificatesWithRawResponse!CertificatesWithStreamingResponse&AsyncCertificatesWithStreamingResponse)GroupsAsyncGroupsGroupsWithRawResponseAsyncGroupsWithRawResponseGroupsWithStreamingResponse AsyncGroupsWithStreamingResponse)AdminAPIKeysAsyncAdminAPIKeysAdminAPIKeysWithRawResponse AsyncAdminAPIKeysWithRawResponse!AdminAPIKeysWithStreamingResponse&AsyncAdminAPIKeysWithStreamingResponse)ProjectsAsyncProjectsProjectsWithRawResponseAsyncProjectsWithRawResponseProjectsWithStreamingResponse"AsyncProjectsWithStreamingResponseOrganizationAsyncOrganizationc                      \ rS rSr\SS j5       r\SS j5       r\SS j5       r\SS j5       r\SS j5       r	\SS j5       r
\SS j5       r\SS	 j5       r\SS
 j5       r\SS j5       r\SS j5       rSrg)r?   S   c                ,    [        U R                  5      $ zEList user actions and configuration changes within this organization.)r   _clientselfs    e/home/rurouni/.local/lib/python3.13/site-packages/openai/resources/admin/organization/organization.py
audit_logsOrganization.audit_logsT   s     &&    c                ,    [        U R                  5      $ N)r3   rE   rF   s    rH   admin_api_keysOrganization.admin_api_keysY       DLL))rK   c                ,    [        U R                  5      $ rM   )r   rE   rF   s    rH   usageOrganization.usage]       T\\""rK   c                ,    [        U R                  5      $ rM   )r   rE   rF   s    rH   invitesOrganization.invitesa   s    t||$$rK   c                ,    [        U R                  5      $ rM   )r   rE   rF   s    rH   usersOrganization.userse   rT   rK   c                ,    [        U R                  5      $ rM   )r-   rE   rF   s    rH   groupsOrganization.groupsi   s    dll##rK   c                ,    [        U R                  5      $ rM   )r   rE   rF   s    rH   rolesOrganization.rolesm   rT   rK   c                ,    [        U R                  5      $ rM   )r'   rE   rF   s    rH   certificatesOrganization.certificatesq   rP   rK   c                ,    [        U R                  5      $ rM   )r9   rE   rF   s    rH   projectsOrganization.projectsu   s    %%rK   c                    [        U 5      $ z
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
)OrganizationWithRawResponserF   s    rH   with_raw_responseOrganization.with_raw_responsey   s     +400rK   c                    [        U 5      $ 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
)!OrganizationWithStreamingResponserF   s    rH   with_streaming_response$Organization.with_streaming_response   s     166rK    N)returnr   )rr   r3   )rr   r   )rr   r   )rr   r   )rr   r-   )rr   r   )rr   r'   )rr   r9   )rr   ri   )rr   rn   __name__
__module____qualname____firstlineno__r   rI   rN   rR   rV   rY   r\   r_   rb   re   rj   ro   __static_attributes__rq   rK   rH   r?   r?   S   s    ' ' * * # # % % # # $ $ # # * * & & 1 1 7 7rK   c                      \ rS rSr\SS j5       r\SS j5       r\SS j5       r\SS j5       r\SS j5       r	\SS j5       r
\SS j5       r\SS	 j5       r\SS
 j5       r\SS j5       r\SS j5       rSrg)r@      c                ,    [        U R                  5      $ rD   )r   rE   rF   s    rH   rI   AsyncOrganization.audit_logs   s     dll++rK   c                ,    [        U R                  5      $ rM   )r4   rE   rF   s    rH   rN    AsyncOrganization.admin_api_keys        ..rK   c                ,    [        U R                  5      $ rM   )r   rE   rF   s    rH   rR   AsyncOrganization.usage       $,,''rK   c                ,    [        U R                  5      $ rM   )r   rE   rF   s    rH   rV   AsyncOrganization.invites   rP   rK   c                ,    [        U R                  5      $ rM   )r    rE   rF   s    rH   rY   AsyncOrganization.users   r   rK   c                ,    [        U R                  5      $ rM   )r.   rE   rF   s    rH   r\   AsyncOrganization.groups   s    4<<((rK   c                ,    [        U R                  5      $ rM   )r   rE   rF   s    rH   r_   AsyncOrganization.roles   r   rK   c                ,    [        U R                  5      $ rM   )r(   rE   rF   s    rH   rb   AsyncOrganization.certificates   r   rK   c                ,    [        U R                  5      $ rM   )r:   rE   rF   s    rH   re   AsyncOrganization.projects   s    T\\**rK   c                    [        U 5      $ rh   ) AsyncOrganizationWithRawResponserF   s    rH   rj   #AsyncOrganization.with_raw_response   s     055rK   c                    [        U 5      $ rm   )&AsyncOrganizationWithStreamingResponserF   s    rH   ro   )AsyncOrganization.with_streaming_response   s     6d;;rK   rq   N)rr   r   )rr   r4   )rr   r   )rr   r   )rr   r    )rr   r.   )rr   r   )rr   r(   )rr   r:   )rr   r   )rr   r   rs   rq   rK   rH   r@   r@      s    , , / / ( ( * * ( ( ) ) ( ( / / + + 6 6 < <rK   c                      \ rS rSrSS jr\SS j5       r\SS j5       r\SS j5       r\SS j5       r	\SS j5       r
\SS j5       r\SS	 j5       r\SS
 j5       r\SS j5       rSrg)ri      c                    Xl         g rM   _organizationrG   organizations     rH   __init__$OrganizationWithRawResponse.__init__       )rK   c                @    [        U R                  R                  5      $ rD   )r   r   rI   rF   s    rH   rI   &OrganizationWithRawResponse.audit_logs   s     ((:(:(E(EFFrK   c                @    [        U R                  R                  5      $ rM   )r5   r   rN   rF   s    rH   rN   *OrganizationWithRawResponse.admin_api_keys   s    *4+=+=+L+LMMrK   c                @    [        U R                  R                  5      $ rM   )r   r   rR   rF   s    rH   rR   !OrganizationWithRawResponse.usage       #D$6$6$<$<==rK   c                @    [        U R                  R                  5      $ rM   )r   r   rV   rF   s    rH   rV   #OrganizationWithRawResponse.invites   s    %d&8&8&@&@AArK   c                @    [        U R                  R                  5      $ rM   )r!   r   rY   rF   s    rH   rY   !OrganizationWithRawResponse.users   r   rK   c                @    [        U R                  R                  5      $ rM   )r/   r   r\   rF   s    rH   r\   "OrganizationWithRawResponse.groups   s    $T%7%7%>%>??rK   c                @    [        U R                  R                  5      $ rM   )r   r   r_   rF   s    rH   r_   !OrganizationWithRawResponse.roles   r   rK   c                @    [        U R                  R                  5      $ rM   )r)   r   rb   rF   s    rH   rb   (OrganizationWithRawResponse.certificates   s    *4+=+=+J+JKKrK   c                @    [        U R                  R                  5      $ rM   )r;   r   re   rF   s    rH   re   $OrganizationWithRawResponse.projects   s    &t'9'9'B'BCCrK   r   Nr   r?   rr   None)rr   r   )rr   r5   )rr   r   )rr   r   )rr   r!   )rr   r/   )rr   r   )rr   r)   )rr   r;   rt   ru   rv   rw   r   r   rI   rN   rR   rV   rY   r\   r_   rb   re   rx   rq   rK   rH   ri   ri      s    * G G N N > > B B > > @ @ > > L L D DrK   ri   c                      \ rS rSrSS jr\SS j5       r\SS j5       r\SS j5       r\SS j5       r	\SS j5       r
\SS j5       r\SS	 j5       r\SS
 j5       r\SS j5       rSrg)r      c                    Xl         g rM   r   r   s     rH   r   )AsyncOrganizationWithRawResponse.__init__   r   rK   c                @    [        U R                  R                  5      $ rD   )r   r   rI   rF   s    rH   rI   +AsyncOrganizationWithRawResponse.audit_logs   s     -T-?-?-J-JKKrK   c                @    [        U R                  R                  5      $ rM   )r6   r   rN   rF   s    rH   rN   /AsyncOrganizationWithRawResponse.admin_api_keys   s    /0B0B0Q0QRRrK   c                @    [        U R                  R                  5      $ rM   )r   r   rR   rF   s    rH   rR   &AsyncOrganizationWithRawResponse.usage       (););)A)ABBrK   c                @    [        U R                  R                  5      $ rM   )r   r   rV   rF   s    rH   rV   (AsyncOrganizationWithRawResponse.invites  s    *4+=+=+E+EFFrK   c                @    [        U R                  R                  5      $ rM   )r"   r   rY   rF   s    rH   rY   &AsyncOrganizationWithRawResponse.users  r   rK   c                @    [        U R                  R                  5      $ rM   )r0   r   r\   rF   s    rH   r\   'AsyncOrganizationWithRawResponse.groups
  s    )$*<*<*C*CDDrK   c                @    [        U R                  R                  5      $ rM   )r   r   r_   rF   s    rH   r_   &AsyncOrganizationWithRawResponse.roles  r   rK   c                @    [        U R                  R                  5      $ rM   )r*   r   rb   rF   s    rH   rb   -AsyncOrganizationWithRawResponse.certificates  s    /0B0B0O0OPPrK   c                @    [        U R                  R                  5      $ rM   )r<   r   re   rF   s    rH   re   )AsyncOrganizationWithRawResponse.projects  s    +D,>,>,G,GHHrK   r   Nr   r@   rr   r   )rr   r   )rr   r6   )rr   r   )rr   r   )rr   r"   )rr   r0   )rr   r   )rr   r*   )rr   r<   r   rq   rK   rH   r   r      s    * L L S S C C G G C C E E C C Q Q I IrK   r   c                      \ rS rSrSS jr\SS j5       r\SS j5       r\SS j5       r\SS j5       r	\SS j5       r
\SS j5       r\SS	 j5       r\SS
 j5       r\SS j5       rSrg)rn   i  c                    Xl         g rM   r   r   s     rH   r   *OrganizationWithStreamingResponse.__init__  r   rK   c                @    [        U R                  R                  5      $ rD   )r   r   rI   rF   s    rH   rI   ,OrganizationWithStreamingResponse.audit_logs  s     .d.@.@.K.KLLrK   c                @    [        U R                  R                  5      $ rM   )r7   r   rN   rF   s    rH   rN   0OrganizationWithStreamingResponse.admin_api_keys$  s    01C1C1R1RSSrK   c                @    [        U R                  R                  5      $ rM   )r   r   rR   rF   s    rH   rR   'OrganizationWithStreamingResponse.usage(      )$*<*<*B*BCCrK   c                @    [        U R                  R                  5      $ rM   )r   r   rV   rF   s    rH   rV   )OrganizationWithStreamingResponse.invites,  s    +D,>,>,F,FGGrK   c                @    [        U R                  R                  5      $ rM   )r#   r   rY   rF   s    rH   rY   'OrganizationWithStreamingResponse.users0  r   rK   c                @    [        U R                  R                  5      $ rM   )r1   r   r\   rF   s    rH   r\   (OrganizationWithStreamingResponse.groups4  s    *4+=+=+D+DEErK   c                @    [        U R                  R                  5      $ rM   )r	   r   r_   rF   s    rH   r_   'OrganizationWithStreamingResponse.roles8  r   rK   c                @    [        U R                  R                  5      $ rM   )r+   r   rb   rF   s    rH   rb   .OrganizationWithStreamingResponse.certificates<  s    01C1C1P1PQQrK   c                @    [        U R                  R                  5      $ rM   )r=   r   re   rF   s    rH   re   *OrganizationWithStreamingResponse.projects@  s    ,T-?-?-H-HIIrK   r   Nr   )rr   r   )rr   r7   )rr   r   )rr   r   )rr   r#   )rr   r1   )rr   r	   )rr   r+   )rr   r=   r   rq   rK   rH   rn   rn     s    * M M T T D D H H D D F F D D R R J JrK   rn   c                      \ rS rSrSS jr\SS j5       r\SS j5       r\SS j5       r\SS j5       r	\SS j5       r
\SS j5       r\SS	 j5       r\SS
 j5       r\SS j5       rSrg)r   iE  c                    Xl         g rM   r   r   s     rH   r   /AsyncOrganizationWithStreamingResponse.__init__F  r   rK   c                @    [        U R                  R                  5      $ rD   )r   r   rI   rF   s    rH   rI   1AsyncOrganizationWithStreamingResponse.audit_logsI  s     343E3E3P3PQQrK   c                @    [        U R                  R                  5      $ rM   )r8   r   rN   rF   s    rH   rN   5AsyncOrganizationWithStreamingResponse.admin_api_keysN  s    5d6H6H6W6WXXrK   c                @    [        U R                  R                  5      $ rM   )r   r   rR   rF   s    rH   rR   ,AsyncOrganizationWithStreamingResponse.usageR      .t/A/A/G/GHHrK   c                @    [        U R                  R                  5      $ rM   )r   r   rV   rF   s    rH   rV   .AsyncOrganizationWithStreamingResponse.invitesV  s    01C1C1K1KLLrK   c                @    [        U R                  R                  5      $ rM   )r$   r   rY   rF   s    rH   rY   ,AsyncOrganizationWithStreamingResponse.usersZ  r   rK   c                @    [        U R                  R                  5      $ rM   )r2   r   r\   rF   s    rH   r\   -AsyncOrganizationWithStreamingResponse.groups^  s    /0B0B0I0IJJrK   c                @    [        U R                  R                  5      $ rM   )r
   r   r_   rF   s    rH   r_   ,AsyncOrganizationWithStreamingResponse.rolesb  r   rK   c                @    [        U R                  R                  5      $ rM   )r,   r   rb   rF   s    rH   rb   3AsyncOrganizationWithStreamingResponse.certificatesf  s    5d6H6H6U6UVVrK   c                @    [        U R                  R                  5      $ rM   )r>   r   re   rF   s    rH   re   /AsyncOrganizationWithStreamingResponse.projectsj  s    1$2D2D2M2MNNrK   r   Nr   )rr   r   )rr   r8   )rr   r   )rr   r   )rr   r$   )rr   r2   )rr   r
   )rr   r,   )rr   r>   r   rq   rK   rH   r   r   E  s    * R R Y Y I I M M I I K K I I W W O OrK   r   N)M
__future__r   r_   r   r   r   r   r	   r
   rR   r   r   r   r   r   r   rV   r   r   r   r   r   r   _compatr   rI   r   r   r   r   r   r   users.usersr   r    r!   r"   r#   r$   	_resourcer%   r&   rb   r'   r(   r)   r*   r+   r,   groups.groupsr-   r.   r/   r0   r1   r2   rN   r3   r4   r5   r6   r7   r8   projects.projectsr9   r:   r;   r<   r=   r>   __all__r?   r@   ri   r   rn   r   rq   rK   rH   <module>r      s    #    (   <     .
/77? 77t7<( 7<t'D 'DT'I 'IT'J 'JT'O 'OrK   