+
    ~jOW                    v   ^ RI Ht ^ RIHt ^ RIHt ^ RIt^RIHt ^RI	H
t
HtHtHtHtHtHtHt ^RIHtHtHt ^RIHt ^R	IHtHt ^R
IHtHt ^RIHtH t  ^RI!H"t"H#t# ^RI$H%t%H&t&H't' ^RI(H)t) ^RI*H+t+ RR.t, ! R R]4      t- ! R R]4      t. ! R R4      t/ ! R R4      t0 ! R R4      t1 ! R R4      t2R# )    )annotations)Optional)LiteralN)_legacy_response)BodyOmitQueryHeadersNotGivenSequenceNotStromit	not_given)path_templatemaybe_transformasync_maybe_transform)cached_property)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)SyncNextCursorPageAsyncNextCursorPage)AsyncPaginatormake_request_options)role_list_paramsrole_create_paramsrole_update_params)Role)RoleDeleteResponseRoles
AsyncRolesc                      ] tR t^t]R R l4       t]R R l4       tR]RRRRR	RR
]/R R llt	RRRRR	RR
]/R R llt
R]R]R]RRRRR	RR
]/R R lltR]R]R]RRRRR	RR
]/R R lltRRRRR	RR
]/R R lltRtR# )r    c                   V ^8  d   QhRR/# )   returnRolesWithRawResponse )formats   "~/Users/mitch_tango/dev/rabbit-r1-livekit/agent/.venv/lib/python3.14/site-packages/openai/resources/admin/organization/roles.py__annotate__Roles.__annotate__   s     * *#7 *    c                    \        V 4      # 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
)r&   selfs   &r)   with_raw_responseRoles.with_raw_response   s     $D))r,   c                   V ^8  d   QhRR/# )r$   r%   RolesWithStreamingResponser'   )r(   s   "r)   r*   r+   %   s     0 0)C 0r,   c                    \        V 4      # 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
)r4   r/   s   &r)   with_streaming_responseRoles.with_streaming_response$   s     *$//r,   descriptionextra_headersNextra_query
extra_bodytimeoutc               8    V ^8  d   QhRRRRRRRRR	R
RRRRRR/# r$   permissionszSequenceNotStr[str]	role_namestrr9   Optional[str] | Omitr:   Headers | Noner;   Query | Noner<   Body | Noner=   'float | httpx.Timeout | None | NotGivenr%   r   r'   )r(   s   "r)   r*   r+   -   \     1
 1
 )1
 	1

 *1
 &1
 "1
  1
 91
 
1
r,   c                   V P                  R\        RVRVRV/\        P                  4      \	        VVVVRR/R7      \
        R7      # )	  
Creates a custom role for the organization.

Args:
  permissions: Permissions to grant to the role.

  role_name: Unique name for the role.

  description: Optional description of the role.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
/organization/rolesr@   rA   r9   admin_api_key_authTr:   r;   r<   r=   securitybodyoptionscast_to)_postr   r   RoleCreateParamsr   r   r0   r@   rA   r9   r:   r;   r<   r=   s   &$$$$$$$r)   createRoles.create-   sg    > zz! !;!;
 #33 )+'%.5 #  
 	
r,   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# r$   role_idrB   r:   rD   r;   rE   r<   rF   r=   rG   r%   r   r'   )r(   s   "r)   r*   r+   `   F     #
 #
#
 &#
 "#
  #
 9#
 
#
r,   c                   V'       g   \        RV: 24      hV P                  \        RVR7      \        VVVVRR/R7      \        R7      # )  
Retrieves an organization role.

Args:
  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
6Expected a non-empty value for `role_id` but received /organization/roles/{role_id}rZ   rL   TrM   rQ   rR   
ValueError_getr   r   r   r0   rZ   r:   r;   r<   r=   s   &&$$$$r)   retrieveRoles.retrieve`   s^    . UV]U`abbyy97K(+'%.5   

 
	
r,   r@   rA   c               <    V ^8  d   QhRRRRRRRRRR	R
RRRRRRR/	# r$   rZ   rB   r9   rC   r@   z$Optional[SequenceNotStr[str]] | OmitrA   r:   rD   r;   rE   r<   rF   r=   rG   r%   r   r'   )r(   s   "r)   r*   r+      d     4
 4
4
 *	4

 :4
 (4
 &4
 "4
  4
 94
 
4
r,   c                   V'       g   \        RV: 24      hV P                  \        RVR7      \        RVRVRV/\        P
                  4      \        VVVVRR/R	7      \        R
7      # )  
Updates an existing organization role.

Args:
  description: New description for the role.

  permissions: Updated set of permissions for the role.

  role_name: New name for the role.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
r^   r_   r`   r9   r@   rA   rL   TrM   rO   )rc   rS   r   r   r   RoleUpdateParamsr   r   	r0   rZ   r9   r@   rA   r:   r;   r<   r=   s	   &&$$$$$$$r)   updateRoles.update   s    @ UV]U`abbzz97K !;!;
 #33 )+'%.5 #  
 	
r,   afterlimitorderc               8    V ^8  d   QhRRRRRRRRR	R
RRRRRR/# )r$   rq   
str | Omitrr   
int | Omitrs   Literal['asc', 'desc'] | Omitr:   rD   r;   rE   r<   rF   r=   rG   r%   zSyncNextCursorPage[Role]r'   )r(   s   "r)   r*   r+      s\     3
 3
 3
 	3

 -3
 &3
 "3
  3
 93
 
"3
r,   c                   V P                  R\        \        ,          \        VVVV\	        RVRVRV/\
        P                  4      RR/R7      \        R7      # 	a  
Lists the roles configured for the organization.

Args:
  after: Cursor for pagination. Provide the value from the previous response's `next`
      field to continue listing roles.

  limit: A limit on the number of roles to return. Defaults to 1000.

  order: Sort order for the returned roles.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
rK   rq   rr   rs   rL   T)r:   r;   r<   r=   queryrN   )pagerQ   model)_get_api_listr   r   r   r   r   RoleListParamsr0   rq   rr   rs   r:   r;   r<   r=   s   &$$$$$$$r)   list
Roles.list   sr    @ !!!#D)(+'%%
 %33 /5 % " 
 	
r,   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# r$   rZ   rB   r:   rD   r;   rE   r<   rF   r=   rG   r%   r   r'   )r(   s   "r)   r*   r+      F     #
 #
#
 &#
 "#
  #
 9#
 
#
r,   c                   V'       g   \        RV: 24      hV P                  \        RVR7      \        VVVVRR/R7      \        R7      # )(  
Deletes a custom role from the organization.

Args:
  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
r^   r_   r`   rL   TrM   ra   rc   _deleter   r   r   re   s   &&$$$$r)   deleteRoles.delete   s^    . UV]U`abb||97K(+'%.5 '  

 
	
r,   r'   __name__
__module____qualname____firstlineno__r   r1   r7   r   r   rV   rf   ro   r   r   __static_attributes__r'   r,   r)   r    r       s^   * * 0 01

 -11
 )-1
 %)1
 #'1
 <E1
f#
 )-#
 %)#
 #'#
 <E#
J4
 -1	4

 =A4
 +/4
 )-4
 %)4
 #'4
 <E4
l3
 !3
 !	3

 043
 )-3
 %)3
 #'3
 <E3
j#
 )-#
 %)#
 #'#
 <E#
 #
r,   c                      ] tR tRt]R R l4       t]R R l4       tR]RRR	RR
RR]/R R llt	RRR	RR
RR]/R R llt
R]R]R]RRR	RR
RR]/R R lltR]R]R]RRR	RR
RR]/R R lltRRR	RR
RR]/R R lltRtR# )r!   i  c                   V ^8  d   QhRR/# )r$   r%   AsyncRolesWithRawResponser'   )r(   s   "r)   r*   AsyncRoles.__annotate__  s     / /#< /r,   c                    \        V 4      # r.   )r   r/   s   &r)   r1   AsyncRoles.with_raw_response  s     )..r,   c                   V ^8  d   QhRR/# )r$   r%   AsyncRolesWithStreamingResponser'   )r(   s   "r)   r*   r   "  s     5 5)H 5r,   c                    \        V 4      # r6   )r   r/   s   &r)   r7   "AsyncRoles.with_streaming_response!  s     /t44r,   r9   r:   Nr;   r<   r=   c               8    V ^8  d   QhRRRRRRRRR	R
RRRRRR/# r?   r'   )r(   s   "r)   r*   r   *  rH   r,   c                  "   T P                  R\        RVRVRV/\        P                  4      G Rj  xL
 \	        VVVVRR/R7      \
        R	7      G Rj  xL
 #  L' L5i)
rJ   rK   r@   rA   r9   NrL   TrM   rO   )rS   r   r   rT   r   r   rU   s   &$$$$$$$r)   rV   AsyncRoles.create*  s~     > ZZ!,!;!;
 #33  )+'%.5 #   
 
 	

s!   0AA
"AAAAc               0    V ^8  d   QhRRRRRRRRR	R
RR/# rY   r'   )r(   s   "r)   r*   r   ]  r[   r,   c                  "   V'       g   \        RV: 24      hV P                  \        RVR7      \        VVVVRR/R7      \        R7      G Rj  xL
 #  L5i)	r]   r^   r_   r`   rL   TrM   ra   Nrb   re   s   &&$$$$r)   rf   AsyncRoles.retrieve]  sk     . UV]U`abbYY97K(+'%.5   

 

 
	
 

   AAAAr@   rA   c               <    V ^8  d   QhRRRRRRRRRR	R
RRRRRRR/	# ri   r'   )r(   s   "r)   r*   r     rj   r,   c                 "   V'       g   \        RV: 24      hT P                  \        RVR7      \        RVRVRV/\        P
                  4      G Rj  xL
 \        VVVVRR	/R
7      \        R7      G Rj  xL
 #  L' L5i)rl   r^   r_   r`   r9   r@   rA   NrL   TrM   rO   )rc   rS   r   r   r   rm   r   r   rn   s	   &&$$$$$$$r)   ro   AsyncRoles.update  s     @ UV]U`abbZZ97K,!;!;
 #33  )+'%.5 #   
 
 	

s$   AB A<
"B 7A>8B >B rq   rr   rs   c               8    V ^8  d   QhRRRRRRRRR	R
RRRRRR/# )r$   rq   ru   rr   rv   rs   rw   r:   rD   r;   rE   r<   rF   r=   rG   r%   z/AsyncPaginator[Role, AsyncNextCursorPage[Role]]r'   )r(   s   "r)   r*   r     s\     3
 3
 3
 	3

 -3
 &3
 "3
  3
 93
 
93
r,   c                   V P                  R\        \        ,          \        VVVV\	        RVRVRV/\
        P                  4      RR/R7      \        R7      # ry   )r}   r   r   r   r   r   r~   r   s   &$$$$$$$r)   r   AsyncRoles.list  sr    @ !!!$T*(+'%%
 %33 /5 % " 
 	
r,   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# r   r'   )r(   s   "r)   r*   r     r   r,   c                  "   V'       g   \        RV: 24      hV P                  \        RVR7      \        VVVVRR/R7      \        R7      G Rj  xL
 #  L5i)	r   r^   r_   r`   rL   TrM   ra   Nr   re   s   &&$$$$r)   r   AsyncRoles.delete  sk     . UV]U`abb\\97K(+'%.5 ' " 

 

 
	
 

r   r'   r   r'   r,   r)   r!   r!     s^   / / 5 51

 -11
 )-1
 %)1
 #'1
 <E1
f#
 )-#
 %)#
 #'#
 <E#
J4
 -1	4

 =A4
 +/4
 )-4
 %)4
 #'4
 <E4
l3
 !3
 !	3

 043
 )-3
 %)3
 #'3
 <E3
j#
 )-#
 %)#
 #'#
 <E#
 #
r,   c                  "    ] tR tRtR R ltRtR# )r&   i  c                    V ^8  d   QhRRRR/# r$   rolesr    r%   Noner'   )r(   s   "r)   r*   !RolesWithRawResponse.__annotate__       
 
e 
 
r,   c                	   Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP
                  4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        R # N)_rolesr   to_raw_response_wrapperrV   rf   ro   r   r   r0   r   s   &&r)   __init__RolesWithRawResponse.__init__  s    &>>LL
 )@@NN
 '>>LL
 %<<JJ
	 '>>LL
r,   r   rV   r   r   rf   ro   Nr   r   r   r   r   r   r'   r,   r)   r&   r&         
 
r,   r&   c                  "    ] tR tRtR R ltRtR# )r   i(  c                    V ^8  d   QhRRRR/# r$   r   r!   r%   r   r'   )r(   s   "r)   r*   &AsyncRolesWithRawResponse.__annotate__)       
 
j 
T 
r,   c                	   Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP
                  4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        R # r   )r   r   async_to_raw_response_wrapperrV   rf   ro   r   r   r   s   &&r)   r   "AsyncRolesWithRawResponse.__init__)  s    &DDLL
 )FFNN
 'DDLL
 %BBJJ
	 'DDLL
r,   r   Nr   r'   r,   r)   r   r   (  r   r,   r   c                  "    ] tR tRtR R ltRtR# )r4   i=  c                    V ^8  d   QhRRRR/# r   r'   )r(   s   "r)   r*   'RolesWithStreamingResponse.__annotate__>  r   r,   c                	   Wn         \        VP                  4      V n        \        VP                  4      V n        \        VP                  4      V n        \        VP
                  4      V n        \        VP                  4      V n        R # r   )r   r   rV   rf   ro   r   r   r   s   &&r)   r   #RolesWithStreamingResponse.__init__>  sn    2LL
 5NN
 3LL
 1JJ
	 3LL
r,   r   Nr   r'   r,   r)   r4   r4   =  r   r,   r4   c                  "    ] tR tRtR R ltRtR# )r   iR  c                    V ^8  d   QhRRRR/# r   r'   )r(   s   "r)   r*   ,AsyncRolesWithStreamingResponse.__annotate__S  r   r,   c                	   Wn         \        VP                  4      V n        \        VP                  4      V n        \        VP                  4      V n        \        VP
                  4      V n        \        VP                  4      V n        R # r   )r   r   rV   rf   ro   r   r   r   s   &&r)   r   (AsyncRolesWithStreamingResponse.__init__S  sn    8LL
 ;NN
 9LL
 7JJ
	 9LL
r,   r   Nr   r'   r,   r)   r   r   R  r   r,   r   )3
__future__r   typingr   typing_extensionsr   httpx r   _typesr   r   r	   r
   r   r   r   r   _utilsr   r   r   _compatr   	_resourcer   r   	_responser   r   
paginationr   r   _base_clientr   r   types.admin.organizationr   r   r   types.admin.organization.roler   -types.admin.organization.role_delete_responser   __all__r    r!   r&   r   r4   r   r'   r,   r)   <module>r      s    #  %  ! \ \ \ L L ' ; Z B A a a 2 PL
!z
O z
zz
! z
z
 
*
 
*
 
*
 
r,   