
    _jz                       S SK Jr  S SKJrJrJr  S SKJr  S SKrSSK	J
r
  SSKJr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  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$  SSK%J&r&J'r'  SSK(J)r)J*r*  SSK+J,r,J-r-J.r.  SSK/J0r0J1r1  SSK2J3r3  SSK4J5r5  SSK6J7r7  SS/r8 " S S\#5      r9 " S S\$5      r: " S S5      r; " S S5      r< " S S5      r= " S S5      r>g)     )annotations)DictListOptional)chainN   )_legacy_response)BodyOmitQueryHeadersNotGivenomit	not_given)is_givenpath_templatemaybe_transformstrip_not_givenasync_maybe_transform)cached_property   )CredentialsAsyncCredentialsCredentialsWithRawResponseAsyncCredentialsWithRawResponse CredentialsWithStreamingResponse%AsyncCredentialsWithStreamingResponse)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)SyncPageCursorAsyncPageCursor)vault_list_paramsvault_create_paramsvault_update_params)AsyncPaginatormake_request_options)AnthropicBetaParam)BetaManagedAgentsVault)BetaManagedAgentsDeletedVaultVaultsAsyncVaultsc            	         \ rS rSr\SS j5       r\SS j5       r\SS j5       r\\SSS\	S.               SS jjr
\SSS\	S.             SS	 jjr\\\SSS\	S
.                 SS jjr\\\\SSS\	S.                 SS jjr\SSS\	S.             SS jjr\SSS\	S.             SS jjrSrg)r,   "   c                ,    [        U R                  5      $ N)r   _clientselfs    [/home/rurouni/.local/lib/python3.13/site-packages/anthropic/resources/beta/vaults/vaults.pycredentialsVaults.credentials#   s    4<<((    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/anthropics/anthropic-sdk-python#accessing-raw-response-data-eg-headers
)VaultsWithRawResponser3   s    r5   with_raw_responseVaults.with_raw_response'   s     %T**r8   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/anthropics/anthropic-sdk-python#with_streaming_response
)VaultsWithStreamingResponser3   s    r5   with_streaming_responseVaults.with_streaming_response1   s     +400r8   Nmetadatabetasextra_headersextra_query
extra_bodytimeoutc               4   0 [        S[        U5      (       a#  SR                  [        S U 5       S/5      5      O[        05      EU=(       d    0 EnSS0U=(       d    0 EnU R                  S[        UUS.[        R                  5      [        XEXgS9[        S9$ )	  Create Vault

Args:
  display_name: Human-readable name for the vault.

1-255 characters.

  metadata: Arbitrary key-value metadata to attach to the vault. Maximum 16 pairs, keys up
      to 64 chars, values up to 512 chars.

  betas: Optional header to specify the beta version(s) you want to use.

  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
anthropic-beta,c              3  8   #    U  H  n[        U5      v   M     g 7fr1   str.0es     r5   	<genexpr> Vaults.create.<locals>.<genexpr>^        5Lec!ffe   managed-agents-2026-04-01/v1/vaults?beta=truedisplay_namerD   rF   rG   rH   rI   bodyoptionscast_to)r   r   joinr   r   _postr   r%   VaultCreateParamsr(   r*   r4   r[   rD   rE   rF   rG   rH   rI   s           r5   createVaults.create:   s    B	
$ '*hhu5Le5LOjNk/l&m"	
 "	
 *+F`=K^\^`zz" $0 ( $55 )+Q[ +  
 	
r8   rE   rF   rG   rH   rI   c          
     8   U(       d  [        SU< 35      e0 [        S[        U5      (       a#  SR                  [	        S U 5       S/5      5      O[
        05      EU=(       d    0 EnSS0U=(       d    0 EnU R                  [        SUS9[        X4XVS9[        S	9$ )
O  
Get Vault

Args:
  betas: Optional header to specify the beta version(s) you want to use.

  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
7Expected a non-empty value for `vault_id` but received rL   rM   c              3  8   #    U  H  n[        U5      v   M     g 7fr1   rO   rQ   s     r5   rT   "Vaults.retrieve.<locals>.<genexpr>   rV   rW   rX   /v1/vaults/{vault_id}?beta=truevault_idr\   r_   r`   

ValueErrorr   r   ra   r   r   _getr   r(   r*   r4   ro   rE   rF   rG   rH   rI   s          r5   retrieveVaults.retrieveu   s    4 VW_Vbcdd	
$ '*hhu5Le5LOjNk/l&m"	
 "	
 *+F`=K^\^`yy;hO(+Q[ +  
 	
r8   r[   rD   rE   rF   rG   rH   rI   c               p   U(       d  [        SU< 35      e0 [        S[        U5      (       a#  SR                  [	        S U 5       S/5      5      O[
        05      EU=(       d    0 EnSS0U=(       d    0 EnU R                  [        SUS9[        UUS.[        R                  5      [        XVXxS	9[        S
9$ )  Update Vault

Args:
  display_name: Updated human-readable name for the vault.

1-255 characters.

  metadata: Metadata patch. Set a key to a string to upsert it, or to null to delete it.
      Omitted keys are preserved.

  betas: Optional header to specify the beta version(s) you want to use.

  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
rj   rL   rM   c              3  8   #    U  H  n[        U5      v   M     g 7fr1   rO   rQ   s     r5   rT    Vaults.update.<locals>.<genexpr>   rV   rW   rX   rm   rn   rZ   r\   r]   )rr   r   r   ra   r   r   rb   r   r   r&   VaultUpdateParamsr(   r*   	r4   ro   r[   rD   rE   rF   rG   rH   rI   s	            r5   updateVaults.update   s    D VW_Vbcdd	
$ '*hhu5Le5LOjNk/l&m"	
 "	
 *+F`=K^\^`zz;hO $0 ( $55 )+Q[ +  
 	
r8   include_archivedlimitpagerE   rF   rG   rH   rI   c               R   0 [        S[        U5      (       a#  SR                  [        S U 5       S/5      5      O[        05      EU=(       d    0 EnSS0U=(       d    0 EnU R                  S[        [           [        UUUU[        UUUS.[        R                  5      S9[        S9$ )	6  
List Vaults

Args:
  include_archived: Whether to include archived vaults in the results.

  limit: Maximum number of vaults to return per page. Defaults to 20, maximum 100.

  page: Opaque pagination token from a previous `list_vaults` response.

  betas: Optional header to specify the beta version(s) you want to use.

  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
rL   rM   c              3  8   #    U  H  n[        U5      v   M     g 7fr1   rO   rQ   s     r5   rT   Vaults.list.<locals>.<genexpr>  rV   rW   rX   rY   r   r   r   rF   rG   rH   rI   queryr   r_   model)r   r   ra   r   r   _get_api_listr"   r*   r(   r   r$   VaultListParams	r4   r   r   r   rE   rF   rG   rH   rI   s	            r5   listVaults.list   s    D	
$ '*hhu5Le5LOjNk/l&m"	
 "	
 *+F`=K^\^`!!" 67(+'%%,<!& $
 &55 )# " 
 	
r8   c          
     8   U(       d  [        SU< 35      e0 [        S[        U5      (       a#  SR                  [	        S U 5       S/5      5      O[
        05      EU=(       d    0 EnSS0U=(       d    0 EnU R                  [        SUS9[        X4XVS9[        S	9$ )
R  
Delete Vault

Args:
  betas: Optional header to specify the beta version(s) you want to use.

  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
rj   rL   rM   c              3  8   #    U  H  n[        U5      v   M     g 7fr1   rO   rQ   s     r5   rT    Vaults.delete.<locals>.<genexpr>B  rV   rW   rX   rm   rn   r\   rp   
rr   r   r   ra   r   r   _deleter   r(   r+   rt   s          r5   deleteVaults.delete#  s    4 VW_Vbcdd	
$ '*hhu5Le5LOjNk/l&m"	
 "	
 *+F`=K^\^`||;hO(+Q[ 2  
 	
r8   c          
     8   U(       d  [        SU< 35      e0 [        S[        U5      (       a#  SR                  [	        S U 5       S/5      5      O[
        05      EU=(       d    0 EnSS0U=(       d    0 EnU R                  [        SUS9[        X4XVS9[        S	9$ )
S  
Archive Vault

Args:
  betas: Optional header to specify the beta version(s) you want to use.

  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
rj   rL   rM   c              3  8   #    U  H  n[        U5      v   M     g 7fr1   rO   rQ   s     r5   rT   !Vaults.archive.<locals>.<genexpr>q  rV   rW   rX   '/v1/vaults/{vault_id}/archive?beta=truern   r\   rp   
rr   r   r   ra   r   r   rb   r   r(   r*   rt   s          r5   archiveVaults.archiveR  s    4 VW_Vbcdd	
$ '*hhu5Le5LOjNk/l&m"	
 "	
 *+F`=K^\^`zzChW(+Q[ +  
 	
r8    )returnr   )r   r;   )r   r@   r[   rP   rD   zDict[str, str] | OmitrE   List[AnthropicBetaParam] | OmitrF   Headers | NonerG   Query | NonerH   Body | NonerI   'float | httpx.Timeout | None | NotGivenr   r*   ro   rP   rE   r   rF   r   rG   r   rH   r   rI   r   r   r*   ro   rP   r[   zOptional[str] | OmitrD   z)Optional[Dict[str, Optional[str]]] | OmitrE   r   rF   r   rG   r   rH   r   rI   r   r   r*   )r   bool | Omitr   
int | Omitr   
str | OmitrE   r   rF   r   rG   r   rH   r   rI   r   r   z&SyncPageCursor[BetaManagedAgentsVault]ro   rP   rE   r   rF   r   rG   r   rH   r   rI   r   r   r+   __name__
__module____qualname____firstlineno__r   r6   r<   rA   r   r   re   ru   r~   r   r   r   __static_attributes__r   r8   r5   r,   r,   "   s   ) ) + + 1 1 +/15 )-$("&;D9
 9
 (	9

 /9
 &9
 "9
  9
 99
 
 9
~ 26 )-$("&;D-
-
 /	-
 &-
 "-
  -
 9-
 
 -
f .2>B15 )-$("&;D<
<
 +	<

 <<
 /<
 &<
 "<
  <
 9<
 
 <
B )- 15 )-$("&;D?
 &?
 	?

 ?
 /?
 &?
 "?
  ?
 9?
 
0?
J 26 )-$("&;D-
-
 /	-
 &-
 "-
  -
 9-
 
'-
f 26 )-$("&;D-
-
 /	-
 &-
 "-
  -
 9-
 
 -
 -
r8   c            	         \ rS rSr\SS j5       r\SS j5       r\SS j5       r\\SSS\	S.               SS jjr
\SSS\	S.             SS	 jjr\\\SSS\	S
.                 SS jjr\\\\SSS\	S.                 SS jjr\SSS\	S.             SS jjr\SSS\	S.             SS jjrSrg)r-   i  c                ,    [        U R                  5      $ r1   )r   r2   r3   s    r5   r6   AsyncVaults.credentials  s    --r8   c                    [        U 5      $ r:   )AsyncVaultsWithRawResponser3   s    r5   r<   AsyncVaults.with_raw_response  s     *$//r8   c                    [        U 5      $ r?   ) AsyncVaultsWithStreamingResponser3   s    r5   rA   #AsyncVaults.with_streaming_response  s     055r8   NrC   c               d  #    0 [        S[        U5      (       a#  SR                  [        S U 5       S/5      5      O[        05      EU=(       d    0 EnSS0U=(       d    0 EnU R                  S[        UUS.[        R                  5      I Sh  vN [        XEXgS9[        S	9I Sh  vN $  N N7f)
rK   rL   rM   c              3  8   #    U  H  n[        U5      v   M     g 7fr1   rO   rQ   s     r5   rT   %AsyncVaults.create.<locals>.<genexpr>  rV   rW   rX   rY   rZ   Nr\   r]   )r   r   ra   r   r   rb   r   r%   rc   r(   r*   rd   s           r5   re   AsyncVaults.create  s     B	
$ '*hhu5Le5LOjNk/l&m"	
 "	
 *+F`=K^\^`ZZ",$0 ( $55  )+Q[ +   
 
 	

s$   BB0B,
B0'B.(B0.B0rg   c          
     T  #    U(       d  [        SU< 35      e0 [        S[        U5      (       a#  SR                  [	        S U 5       S/5      5      O[
        05      EU=(       d    0 EnSS0U=(       d    0 EnU R                  [        SUS9[        X4XVS9[        S	9I S
h  vN $  N7f)ri   rj   rL   rM   c              3  8   #    U  H  n[        U5      v   M     g 7fr1   rO   rQ   s     r5   rT   'AsyncVaults.retrieve.<locals>.<genexpr>  rV   rW   rX   rm   rn   r\   rp   Nrq   rt   s          r5   ru   AsyncVaults.retrieve  s     4 VW_Vbcdd	
$ '*hhu5Le5LOjNk/l&m"	
 "	
 *+F`=K^\^`YY;hO(+Q[ +  
 
 	
 
   BB(!B&"B(rw   c                 #    U(       d  [        SU< 35      e0 [        S[        U5      (       a#  SR                  [	        S U 5       S/5      5      O[
        05      EU=(       d    0 EnSS0U=(       d    0 EnU R                  [        SUS9[        UUS.[        R                  5      I S	h  vN [        XVXxS
9[        S9I S	h  vN $  N N7f)ry   rj   rL   rM   c              3  8   #    U  H  n[        U5      v   M     g 7fr1   rO   rQ   s     r5   rT   %AsyncVaults.update.<locals>.<genexpr>+  rV   rW   rX   rm   rn   rZ   Nr\   r]   )rr   r   r   ra   r   r   rb   r   r   r&   r|   r(   r*   r}   s	            r5   r~   AsyncVaults.update  s     D VW_Vbcdd	
$ '*hhu5Le5LOjNk/l&m"	
 "	
 *+F`=K^\^`ZZ;hO,$0 ( $55  )+Q[ +   
 
 	

s$   B+C-C

.CCCCr   c               R   0 [        S[        U5      (       a#  SR                  [        S U 5       S/5      5      O[        05      EU=(       d    0 EnSS0U=(       d    0 EnU R                  S[        [           [        UUUU[        UUUS.[        R                  5      S9[        S9$ )	r   rL   rM   c              3  8   #    U  H  n[        U5      v   M     g 7fr1   rO   rQ   s     r5   rT   #AsyncVaults.list.<locals>.<genexpr>g  rV   rW   rX   rY   r   r   r   )r   r   ra   r   r   r   r#   r*   r(   r   r$   r   r   s	            r5   r   AsyncVaults.listB  s    D	
$ '*hhu5Le5LOjNk/l&m"	
 "	
 *+F`=K^\^`!!" !78(+'%%,<!& $
 &55 )# " 
 	
r8   c          
     T  #    U(       d  [        SU< 35      e0 [        S[        U5      (       a#  SR                  [	        S U 5       S/5      5      O[
        05      EU=(       d    0 EnSS0U=(       d    0 EnU R                  [        SUS9[        X4XVS9[        S	9I S
h  vN $  N7f)r   rj   rL   rM   c              3  8   #    U  H  n[        U5      v   M     g 7fr1   rO   rQ   s     r5   rT   %AsyncVaults.delete.<locals>.<genexpr>  rV   rW   rX   rm   rn   r\   rp   Nr   rt   s          r5   r   AsyncVaults.delete  s     4 VW_Vbcdd	
$ '*hhu5Le5LOjNk/l&m"	
 "	
 *+F`=K^\^`\\;hO(+Q[ 2 " 
 
 	
 
r   c          
     T  #    U(       d  [        SU< 35      e0 [        S[        U5      (       a#  SR                  [	        S U 5       S/5      5      O[
        05      EU=(       d    0 EnSS0U=(       d    0 EnU R                  [        SUS9[        X4XVS9[        S	9I S
h  vN $  N7f)r   rj   rL   rM   c              3  8   #    U  H  n[        U5      v   M     g 7fr1   rO   rQ   s     r5   rT   &AsyncVaults.archive.<locals>.<genexpr>  rV   rW   rX   r   rn   r\   rp   Nr   rt   s          r5   r   AsyncVaults.archive  s     4 VW_Vbcdd	
$ '*hhu5Le5LOjNk/l&m"	
 "	
 *+F`=K^\^`ZZChW(+Q[ +   
 
 	
 
r   r   )r   r   )r   r   )r   r   r   r   r   )r   r   r   r   r   r   rE   r   rF   r   rG   r   rH   r   rI   r   r   zOAsyncPaginator[BetaManagedAgentsVault, AsyncPageCursor[BetaManagedAgentsVault]]r   r   r   r8   r5   r-   r-     s   . . 0 0 6 6 +/15 )-$("&;D9
 9
 (	9

 /9
 &9
 "9
  9
 99
 
 9
~ 26 )-$("&;D-
-
 /	-
 &-
 "-
  -
 9-
 
 -
f .2>B15 )-$("&;D<
<
 +	<

 <<
 /<
 &<
 "<
  <
 9<
 
 <
B )- 15 )-$("&;D?
 &?
 	?

 ?
 /?
 &?
 "?
  ?
 9?
 
Y?
J 26 )-$("&;D-
-
 /	-
 &-
 "-
  -
 9-
 
'-
f 26 )-$("&;D-
-
 /	-
 &-
 "-
  -
 9-
 
 -
 -
r8   c                  2    \ rS rSrSS jr\SS j5       rSrg)r;   i  c                   Xl         [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR
                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        g r1   )	_vaultsr	   to_raw_response_wrapperre   ru   r~   r   r   r   r4   vaultss     r5   __init__VaultsWithRawResponse.__init__  s    &>>MM
 )@@OO
 '>>MM
 %<<KK
	 '>>MM
 (??NN
r8   c                @    [        U R                  R                  5      $ r1   )r   r   r6   r3   s    r5   r6   !VaultsWithRawResponse.credentials  s    )$,,*B*BCCr8   r   r   re   r   r   ru   r~   Nr   r,   r   None)r   r   r   r   r   r   r   r   r6   r   r   r8   r5   r;   r;     s    
, D Dr8   r;   c                  2    \ rS rSrSS jr\SS j5       rSrg)r   i  c                   Xl         [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR
                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        g r1   )	r   r	   async_to_raw_response_wrapperre   ru   r~   r   r   r   r   s     r5   r   #AsyncVaultsWithRawResponse.__init__  s    &DDMM
 )FFOO
 'DDMM
 %BBKK
	 'DDMM
 (EENN
r8   c                @    [        U R                  R                  5      $ r1   )r   r   r6   r3   s    r5   r6   &AsyncVaultsWithRawResponse.credentials  s    .t||/G/GHHr8   r   Nr   r-   r   r   )r   r   r   r   r8   r5   r   r     s    
, I Ir8   r   c                  2    \ rS rSrSS jr\SS j5       rSrg)r@   i  c                H   Xl         [        UR                  5      U l        [        UR                  5      U l        [        UR                  5      U l        [        UR
                  5      U l        [        UR                  5      U l        [        UR                  5      U l        g r1   )r   r    re   ru   r~   r   r   r   r   s     r5   r   $VaultsWithStreamingResponse.__init__  s    2MM
 5OO
 3MM
 1KK
	 3MM
 4NN
r8   c                @    [        U R                  R                  5      $ r1   )r   r   r6   r3   s    r5   r6   'VaultsWithStreamingResponse.credentials1  s    /0H0HIIr8   r   Nr   )r   r   r   r   r8   r5   r@   r@     s    
, J Jr8   r@   c                  2    \ rS rSrSS jr\SS j5       rSrg)r   i6  c                H   Xl         [        UR                  5      U l        [        UR                  5      U l        [        UR                  5      U l        [        UR
                  5      U l        [        UR                  5      U l        [        UR                  5      U l        g r1   )r   r!   re   ru   r~   r   r   r   r   s     r5   r   )AsyncVaultsWithStreamingResponse.__init__7  s    8MM
 ;OO
 9MM
 7KK
	 9MM
 :NN
r8   c                @    [        U R                  R                  5      $ r1   )r   r   r6   r3   s    r5   r6   ,AsyncVaultsWithStreamingResponse.credentialsM  s    4T\\5M5MNNr8   r   Nr   )r   r   r   r   r8   r5   r   r   6  s    
, O Or8   r   )?
__future__r   typingr   r   r   	itertoolsr   httpx r	   _typesr
   r   r   r   r   r   r   _utilsr   r   r   r   r   _compatr   r6   r   r   r   r   r   r   	_resourcer   r   	_responser    r!   
paginationr"   r#   
types.betar$   r%   r&   _base_clientr'   r(   types.anthropic_beta_paramr)   $types.beta.beta_managed_agents_vaultr*   ,types.beta.beta_managed_agents_deleted_vaultr+   __all__r,   r-   r;   r   r@   r   r   r8   r5   <module>r     s    # ' '   ! L L L g g '  < Z : V V A = K Z]
#]
_ ]
@]
" ]
@D D8I I8J J8O Or8   