ó
    ±"³jR+  ã                  ó  • S SK Jr  S SK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  SSKJrJrJrJr  SSKJr  SS	KJr  SS
KJr  SS	KJr  SS/r " S S\5      r " S S\5      r " S S5      r " S S5      r " S S5      r " S S5      r g)é    )ÚannotationsNé   )ÚBodyÚQueryÚHeadersÚNotGivenÚ	not_given)Úcached_property)ÚSyncAPIResourceÚAsyncAPIResource)Úto_raw_response_wrapperÚto_streamed_response_wrapperÚasync_to_raw_response_wrapperÚ"async_to_streamed_response_wrapper)Úmake_request_options)Ú BetaComplianceSettingsStateParam)ÚBetaComplianceSettingsÚComplianceSettingsÚAsyncComplianceSettingsc                  ó”   • \ rS rS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r
g)r   é   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
)Ú!ComplianceSettingsWithRawResponse©Úselfs    Úv/home/mande/repo/quber/.venv/lib/python3.13/site-packages/anthropic/resources/beta/organization/compliance_settings.pyÚwith_raw_responseÚ$ComplianceSettings.with_raw_response   s   € ô 1°Ó6Ð6ó    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
)Ú'ComplianceSettingsWithStreamingResponser   s    r   Úwith_streaming_responseÚ*ComplianceSettings.with_streaming_response!   s   € ô 7°tÓ<Ð<r    N©Úextra_headersÚextra_queryÚ
extra_bodyÚtimeoutc          
     ó<   • U R                  S[        XX4S9[        S9$ )áQ  
Retrieve your organization's Compliance Settings.

Compliance Settings is a singleton resource: there is exactly one per
organization, addressed without an identifier. The `state` field reflects
whether the Compliance API is enabled. An organization with a parent
organization reads the state inherited from the parent's configuration.
ú//v1/organizations/compliance_settings?beta=truer&   ©ÚoptionsÚcast_to©Ú_getr   r   ©r   r'   r(   r)   r*   s        r   ÚretrieveÚComplianceSettings.retrieve*   s0   € ð$ �y‰yØ=Ü(Ø+ÐQ[ñô +ð ð 
ð 	
r    c               óB   • U R                  SSU0[        X#XES9[        S9$ )á˜  
Update your organization's Compliance Settings.

Setting `state` to `enabled` turns on the Compliance API and begins capturing
organization activity events. Setting it to `disabled` turns both off. `state`
reflects whether the Compliance API is enabled.

A request that sets `state` to its current value succeeds and leaves the
resource unchanged. A `disabled` request stays in effect until a later `enabled`
request or the organization's next provisioning action that enables Access
Transparency: enabling Access Transparency also enables the Compliance API,
which serves its activity events, so such provisioning (including re-runs)
re-enables the Compliance API even after a `disabled` request. Automated
provisioning never disables compliance settings.

Args:
  state: Desired state. Accepts the string shorthand "enabled" or "disabled" in place of
      the object form; the response always returns the canonical object form.

  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-   Ústater&   ©Úbodyr/   r0   ©Ú_postr   r   ©r   r8   r'   r(   r)   r*   s         r   ÚupdateÚComplianceSettings.updateD   s9   € ðL �z‰zØ=Ø˜5Ð!Ü(Ø+ÐQ[ñô +ð ð 
ð 	
r    © )Úreturnr   )rA   r#   ©
r'   úHeaders | Noner(   úQuery | Noner)   úBody | Noner*   ú(float | httpx2.Timeout | None | NotGivenrA   r   ©r8   r   r'   rC   r(   rD   r)   rE   r*   rF   rA   r   ©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r
   r   r$   r	   r4   r>   Ú__static_attributes__r@   r    r   r   r      sÂ   † Øó7ó ð7ð ó=ó ð=ð )-Ø$(Ø"&Ø<Eñ
ð
 &ð
ð "ð
ð  ð
ð :ð
ð 
 õ
ð@ )-Ø$(Ø"&Ø<Eñ-
ð 0ð-
ð &ð-
ð "ð-
ð  ð-
ð :ð-
ð 
 ÷-
ð -
r    c                  ó”   • \ rS rS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r
g)r   ét   c                ó   • [        U 5      $ r   )Ú&AsyncComplianceSettingsWithRawResponser   s    r   r   Ú)AsyncComplianceSettings.with_raw_responseu   s   € ô 6°dÓ;Ð;r    c                ó   • [        U 5      $ r"   )Ú,AsyncComplianceSettingsWithStreamingResponser   s    r   r$   Ú/AsyncComplianceSettings.with_streaming_response   s   € ô <¸DÓAÐAr    Nr&   c          
   ƒ  óX   #   • U R                  S[        XX4S9[        S9I Sh  v•N $  N7f)r,   r-   r&   r.   Nr1   r3   s        r   r4   Ú AsyncComplianceSettings.retrieveˆ   s=   é € ð$ —Y‘YØ=Ü(Ø+ÐQ[ñô +ð ð 
÷ 
ð 	
ñ 
ùs   ‚!*£(¤*c             ƒ  ó^   #   • U R                  SSU0[        X#XES9[        S9I Sh  v•N $  N7f)r7   r-   r8   r&   r9   Nr;   r=   s         r   r>   ÚAsyncComplianceSettings.update¢   sF   é € ðL —Z‘ZØ=Ø˜5Ð!Ü(Ø+ÐQ[ñô +ð  ð 
÷ 
ð 	
ñ 
ùs   ‚$-¦+§-r@   )rA   rQ   )rA   rT   rB   rG   rH   r@   r    r   r   r   t   sÄ   † Øó<ó ð<ð óBó ðBð )-Ø$(Ø"&Ø<Eñ
ð
 &ð
ð "ð
ð  ð
ð :ð
ð 
 õ
ð@ )-Ø$(Ø"&Ø<Eñ-
ð 0ð-
ð &ð-
ð "ð-
ð  ð-
ð :ð-
ð 
 ÷-
ð -
r    c                  ó   • \ rS rSrSS jrSrg)r   éÒ   c                óx   • Xl         [        UR                  5      U l        [        UR                  5      U l        g ©N)Ú_compliance_settingsr   r4   r>   ©r   Úcompliance_settingss     r   Ú__init__Ú*ComplianceSettingsWithRawResponse.__init__Ó   s4   € Ø$7Ô!ä/Ø×(Ñ(ó
ˆŒô .Ø×&Ñ&ó
ˆ�r    ©r^   r4   r>   N©r`   r   rA   ÚNone©rI   rJ   rK   rL   ra   rM   r@   r    r   r   r   Ò   ó   † ÷
r    r   c                  ó   • \ rS rSrSS jrSrg)rQ   éÞ   c                óx   • Xl         [        UR                  5      U l        [        UR                  5      U l        g r]   )r^   r   r4   r>   r_   s     r   ra   Ú/AsyncComplianceSettingsWithRawResponse.__init__ß   s4   € Ø$7Ô!ä5Ø×(Ñ(ó
ˆŒô 4Ø×&Ñ&ó
ˆ�r    rc   N©r`   r   rA   re   rf   r@   r    r   rQ   rQ   Þ   rg   r    rQ   c                  ó   • \ rS rSrSS jrSrg)r#   éê   c                óx   • Xl         [        UR                  5      U l        [        UR                  5      U l        g r]   )r^   r   r4   r>   r_   s     r   ra   Ú0ComplianceSettingsWithStreamingResponse.__init__ë   s4   € Ø$7Ô!ä4Ø×(Ñ(ó
ˆŒô 3Ø×&Ñ&ó
ˆ�r    rc   Nrd   rf   r@   r    r   r#   r#   ê   rg   r    r#   c                  ó   • \ rS rSrSS jrSrg)rT   éö   c                óx   • Xl         [        UR                  5      U l        [        UR                  5      U l        g r]   )r^   r   r4   r>   r_   s     r   ra   Ú5AsyncComplianceSettingsWithStreamingResponse.__init__÷   s4   € Ø$7Ô!ä:Ø×(Ñ(ó
ˆŒô 9Ø×&Ñ&ó
ˆ�r    rc   Nrl   rf   r@   r    r   rT   rT   ö   rg   r    rT   )!Ú
__future__r   Úhttpx2Ú_typesr   r   r   r   r	   Ú_compatr
   Ú	_resourcer   r   Ú	_responser   r   r   r   Ú_base_clientr   Útypes.beta.organizationr   Ú0types.beta.organization.beta_compliance_settingsr   Ú<types.beta.organization.beta_compliance_settings_state_paramÚ__all__r   r   r   rQ   r#   rT   r@   r    r   Ú<module>r€      s�   ðÝ "ã ç @Õ @Ý 'ß ;÷ó õ 2Ý HÝ WÝ màÐ!:Ð
;€ô[
˜ô [
ô|[
Ð.ô [
÷|	
ñ 	
÷	
ñ 	
÷	
ñ 	
÷	
ò 	
r    