Ë
    s0žj5T ã                  óè  — d dl mZ d dlmZ d dlmZ d dlZddlmZ ddl	m
Z
mZmZmZmZmZmZmZ ddlmZmZ dd	lmZ dd
lmZmZ ddlmZmZ ddlmZ ddlm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z* ddl+m,Z, ddl-m.Z. ddl/m0Z0 ddl1m2Z2 ddl3m4Z4 ddl5m6Z6 ddl7m8Z8 ddl9m:Z: ddl;m<Z< ddl=m>Z> ddl?m@Z@ ddgZA G d„ de«      ZB G d„ de«      ZC G d„ d«      ZD G d„ d «      ZE G d!„ d"«      ZF G d#„ d$«      ZGy)%é    )Úannotations)ÚList)ÚLiteralNé   )Ú_legacy_response)ÚBodyÚOmitÚQueryÚHeadersÚNotGivenÚSequenceNotStrÚomitÚ	not_given)Úmaybe_transformÚasync_maybe_transform)Úcached_property)ÚSyncAPIResourceÚAsyncAPIResource)Úto_streamed_response_wrapperÚ"async_to_streamed_response_wrapper)Úmake_request_options)Úusage_costs_paramsÚusage_images_paramsÚusage_embeddings_paramsÚusage_completions_paramsÚusage_moderations_paramsÚusage_vector_stores_paramsÚusage_audio_speeches_paramsÚusage_web_search_calls_paramsÚusage_file_search_calls_paramsÚ!usage_audio_transcriptions_paramsÚ&usage_code_interpreter_sessions_params)ÚUsageCostsResponse)ÚUsageImagesResponse)ÚUsageEmbeddingsResponse)ÚUsageCompletionsResponse)ÚUsageModerationsResponse)ÚUsageVectorStoresResponse)ÚUsageAudioSpeechesResponse)ÚUsageWebSearchCallsResponse)ÚUsageFileSearchCallsResponse)Ú UsageAudioTranscriptionsResponse)Ú$UsageCodeInterpreterSessionsResponseÚUsageÚ
AsyncUsagec                  ó>  — e Zd Zedd„«       Zedd„«       Zeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Z	eeeeeedddedœ
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Z
eeeeeeeeeeddded	œ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd
„Zeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zeeeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d d„Zeeeeeedddedœ
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d!d„Zeeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d"d„Zy)#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
        )ÚUsageWithRawResponse©Úselfs    úa/home/Script/Script_env/lib/python3.12/site-packages/openai/resources/admin/organization/usage.pyÚwith_raw_responsezUsage.with_raw_response.   s   € ô $ DÓ)Ð)ó    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
        )ÚUsageWithStreamingResponser4   s    r6   Úwith_streaming_responsezUsage.with_streaming_response8   s   € ô *¨$Ó/Ð/r8   N©Úapi_key_idsÚbucket_widthÚend_timeÚgroup_byÚlimitÚmodelsÚpageÚproject_idsÚuser_idsÚextra_headersÚextra_queryÚ
extra_bodyÚtimeoutc               óš   — | j                  dt        ||||t        |||||||||	|
dœ
t        j                  «      ddi¬«      t
        ¬«      S )á¤  
        Get audio speeches usage details for the organization.

        Args:
          start_time: Start time (Unix seconds) of the query time range, inclusive.

          api_key_ids: Return only usage for these API keys.

          bucket_width: Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
              supported, default to `1d`.

          end_time: End time (Unix seconds) of the query time range, exclusive.

          group_by: Group the usage data by the specified fields. Support fields include
              `project_id`, `user_id`, `api_key_id`, `model` or any combination of them.

          limit: Specifies the number of buckets to return.

              - `bucket_width=1d`: default: 7, max: 31
              - `bucket_width=1h`: default: 24, max: 168
              - `bucket_width=1m`: default: 60, max: 1440

          models: Return only usage for these models.

          page: A cursor for use in pagination. Corresponding to the `next_page` field from the
              previous response.

          project_ids: Return only usage for these projects.

          user_ids: Return only usage for these users.

          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/usage/audio_speeches©
Ú
start_timer>   r?   r@   rA   rB   rC   rD   rE   rF   Úadmin_api_key_authT©rG   rH   rI   rJ   ÚqueryÚsecurity©ÚoptionsÚcast_to)Ú_getr   r   r   ÚUsageAudioSpeechesParamsr)   ©r5   rO   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   s                  r6   Úaudio_speecheszUsage.audio_speechesA   sw   € ðv �y‰yØ0Ü(Ø+Ø'Ø%ØÜ%à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø$,ñô 0×HÑHóð /°Ð5ô)ô, /ð1 ó 
ð 	
r8   c               óš   — | j                  dt        ||||t        |||||||||	|
dœ
t        j                  «      ddi¬«      t
        ¬«      S )áª  
        Get audio transcriptions usage details for the organization.

        Args:
          start_time: Start time (Unix seconds) of the query time range, inclusive.

          api_key_ids: Return only usage for these API keys.

          bucket_width: Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
              supported, default to `1d`.

          end_time: End time (Unix seconds) of the query time range, exclusive.

          group_by: Group the usage data by the specified fields. Support fields include
              `project_id`, `user_id`, `api_key_id`, `model` or any combination of them.

          limit: Specifies the number of buckets to return.

              - `bucket_width=1d`: default: 7, max: 31
              - `bucket_width=1h`: default: 24, max: 168
              - `bucket_width=1m`: default: 60, max: 1440

          models: Return only usage for these models.

          page: A cursor for use in pagination. Corresponding to the `next_page` field from the
              previous response.

          project_ids: Return only usage for these projects.

          user_ids: Return only usage for these users.

          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/usage/audio_transcriptionsrN   rP   TrQ   rT   )rW   r   r   r!   ÚUsageAudioTranscriptionsParamsr,   rY   s                  r6   Úaudio_transcriptionszUsage.audio_transcriptions—   sw   € ðv �y‰yØ6Ü(Ø+Ø'Ø%ØÜ%à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø$,ñô 6×TÑTóð /°Ð5ô)ô, 5ð1 ó 
ð 	
r8   ©
r?   r@   rA   rB   rD   rE   rG   rH   rI   rJ   c               ó”   — | j                  dt        ||	|
|t        |||||||dœt        j                  «      ddi¬«      t
        ¬«      S )áÅ  
        Get code interpreter sessions usage details for the organization.

        Args:
          start_time: Start time (Unix seconds) of the query time range, inclusive.

          bucket_width: Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
              supported, default to `1d`.

          end_time: End time (Unix seconds) of the query time range, exclusive.

          group_by: Group the usage data by the specified fields. Support fields include
              `project_id`.

          limit: Specifies the number of buckets to return.

              - `bucket_width=1d`: default: 7, max: 31
              - `bucket_width=1h`: default: 24, max: 168
              - `bucket_width=1m`: default: 60, max: 1440

          page: A cursor for use in pagination. Corresponding to the `next_page` field from the
              previous response.

          project_ids: Return only usage for these projects.

          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/usage/code_interpreter_sessions©rO   r?   r@   rA   rB   rD   rE   rP   TrQ   rT   )rW   r   r   r"   Ú"UsageCodeInterpreterSessionsParamsr-   ©r5   rO   r?   r@   rA   rB   rD   rE   rG   rH   rI   rJ   s               r6   Úcode_interpreter_sessionszUsage.code_interpreter_sessionsí   sn   € ðd �y‰yØ;Ü(Ø+Ø'Ø%ØÜ%à&0Ø(4Ø$,Ø$,Ø!&Ø $Ø'2ñô ;×]Ñ]óð /°Ð5ô#ô& 9ð+ ó 
ð 	
r8   ©r>   Úbatchr?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   c               óœ   — | j                  dt        ||||t        |||||||||	|
|dœt        j                  «      ddi¬«      t
        ¬«      S )áL  
        Get completions usage details for the organization.

        Args:
          start_time: Start time (Unix seconds) of the query time range, inclusive.

          api_key_ids: Return only usage for these API keys.

          batch: If `true`, return batch jobs only. If `false`, return non-batch jobs only. By
              default, return both.

          bucket_width: Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
              supported, default to `1d`.

          end_time: End time (Unix seconds) of the query time range, exclusive.

          group_by: Group the usage data by the specified fields. Support fields include
              `project_id`, `user_id`, `api_key_id`, `model`, `batch`, `service_tier` or any
              combination of them.

          limit: Specifies the number of buckets to return.

              - `bucket_width=1d`: default: 7, max: 31
              - `bucket_width=1h`: default: 24, max: 168
              - `bucket_width=1m`: default: 60, max: 1440

          models: Return only usage for these models.

          page: A cursor for use in pagination. Corresponding to the `next_page` field from the
              previous response.

          project_ids: Return only usage for these projects.

          user_ids: Return only usage for these users.

          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/usage/completions©rO   r>   ri   r?   r@   rA   rB   rC   rD   rE   rF   rP   TrQ   rT   )rW   r   r   r   ÚUsageCompletionsParamsr&   ©r5   rO   r>   ri   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   s                   r6   ÚcompletionszUsage.completions7  sz   € ð@ �y‰yØ-Ü(Ø+Ø'Ø%ØÜ%à&0Ø'2Ø!&Ø(4Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø$,ñô -×CÑCóð  /°Ð5ô+ô. -ð3 ó 
ð 	
r8   ©r>   r?   r@   rA   rB   Ú
line_itemsrD   rE   rG   rH   rI   rJ   c               ó˜   — | j                  dt        |
|||t        |||||||||	dœ	t        j                  «      ddi¬«      t
        ¬«      S )ái  
        Get costs details for the organization.

        Args:
          start_time: Start time (Unix seconds) of the query time range, inclusive.

          api_key_ids: Return only costs for these API keys.

          bucket_width: Width of each time bucket in response. Currently only `1d` is supported, default
              to `1d`.

          end_time: End time (Unix seconds) of the query time range, exclusive.

          group_by: Group the costs by the specified fields. Support fields include `project_id`,
              `line_item`, `api_key_id` and any combination of them.

          limit: A limit on the number of buckets to be returned. Limit can range between 1 and
              180, and the default is 7.

          line_items: Return only costs for these exact line item names. Each value must match the
              complete `line_item` value, for example `gpt-6-astra, input_tokens`.

          page: A cursor for use in pagination. Corresponding to the `next_page` field from the
              previous response.

          project_ids: Return only costs for these projects.

          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/costs©	rO   r>   r?   r@   rA   rB   rr   rD   rE   rP   TrQ   rT   )rW   r   r   r   ÚUsageCostsParamsr#   ©r5   rO   r>   r?   r@   rA   rB   rr   rD   rE   rG   rH   rI   rJ   s                 r6   ÚcostszUsage.costs“  st   € ðl �y‰yØ!Ü(Ø+Ø'Ø%ØÜ%à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø&0Ø $Ø'2ñ
ô '×7Ñ7óð /°Ð5ô'ô* 'ð/ ó 
ð 	
r8   c               óš   — | j                  dt        ||||t        |||||||||	|
dœ
t        j                  «      ddi¬«      t
        ¬«      S )á   
        Get embeddings usage details for the organization.

        Args:
          start_time: Start time (Unix seconds) of the query time range, inclusive.

          api_key_ids: Return only usage for these API keys.

          bucket_width: Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
              supported, default to `1d`.

          end_time: End time (Unix seconds) of the query time range, exclusive.

          group_by: Group the usage data by the specified fields. Support fields include
              `project_id`, `user_id`, `api_key_id`, `model` or any combination of them.

          limit: Specifies the number of buckets to return.

              - `bucket_width=1d`: default: 7, max: 31
              - `bucket_width=1h`: default: 24, max: 168
              - `bucket_width=1m`: default: 60, max: 1440

          models: Return only usage for these models.

          page: A cursor for use in pagination. Corresponding to the `next_page` field from the
              previous response.

          project_ids: Return only usage for these projects.

          user_ids: Return only usage for these users.

          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/usage/embeddingsrN   rP   TrQ   rT   )rW   r   r   r   ÚUsageEmbeddingsParamsr%   rY   s                  r6   Ú
embeddingszUsage.embeddingsã  sw   € ðv �y‰yØ,Ü(Ø+Ø'Ø%ØÜ%à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø$,ñô ,×AÑAóð /°Ð5ô)ô, ,ð1 ó 
ð 	
r8   ©r>   r?   r@   rA   rB   rD   rE   rF   Úvector_store_idsrG   rH   rI   rJ   c               óš   — | j                  dt        ||||t        |||||||||	|
dœ
t        j                  «      ddi¬«      t
        ¬«      S )áÐ  
        Get file search calls usage details for the organization.

        Args:
          start_time: Start time (Unix seconds) of the query time range, inclusive.

          api_key_ids: Return only usage for these API keys.

          bucket_width: Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
              supported, default to `1d`.

          end_time: End time (Unix seconds) of the query time range, exclusive.

          group_by: Group the usage data by the specified fields. Support fields include
              `project_id`, `user_id`, `api_key_id`, `vector_store_id` or any combination of
              them.

          limit: Specifies the number of buckets to return.

              - `bucket_width=1d`: default: 7, max: 31
              - `bucket_width=1h`: default: 24, max: 168
              - `bucket_width=1m`: default: 60, max: 1440

          page: A cursor for use in pagination. Corresponding to the `next_page` field from the
              previous response.

          project_ids: Return only usage for these projects.

          user_ids: Return only usage for these users.

          vector_store_ids: Return only usage for these vector stores.

          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/usage/file_search_calls©
rO   r>   r?   r@   rA   rB   rD   rE   rF   r€   rP   TrQ   rT   )rW   r   r   r    ÚUsageFileSearchCallsParamsr+   ©r5   rO   r>   r?   r@   rA   rB   rD   rE   rF   r€   rG   rH   rI   rJ   s                  r6   Úfile_search_callszUsage.file_search_calls9  sw   € ðx �y‰yØ3Ü(Ø+Ø'Ø%ØÜ%à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø $Ø'2Ø$,Ø,<ñô 3×MÑMóð /°Ð5ô)ô, 1ð1 ó 
ð 	
r8   ©r>   r?   r@   rA   rB   rC   rD   rE   ÚsizesÚsourcesrF   rG   rH   rI   rJ   c               óž   — | j                  dt        ||||t        |||||||||	|
||dœt        j                  «      ddi¬«      t
        ¬«      S )á  
        Get images usage details for the organization.

        Args:
          start_time: Start time (Unix seconds) of the query time range, inclusive.

          api_key_ids: Return only usage for these API keys.

          bucket_width: Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
              supported, default to `1d`.

          end_time: End time (Unix seconds) of the query time range, exclusive.

          group_by: Group the usage data by the specified fields. Support fields include
              `project_id`, `user_id`, `api_key_id`, `model`, `size`, `source` or any
              combination of them.

          limit: Specifies the number of buckets to return.

              - `bucket_width=1d`: default: 7, max: 31
              - `bucket_width=1h`: default: 24, max: 168
              - `bucket_width=1m`: default: 60, max: 1440

          models: Return only usage for these models.

          page: A cursor for use in pagination. Corresponding to the `next_page` field from the
              previous response.

          project_ids: Return only usage for these projects.

          sizes: Return only usages for these image sizes. Possible values are `256x256`,
              `512x512`, `1024x1024`, `1792x1792`, `1024x1792` or any combination of them.

          sources: Return only usages for these sources. Possible values are `image.generation`,
              `image.edit`, `image.variation` or any combination of them.

          user_ids: Return only usage for these users.

          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/usage/images©rO   r>   r?   r@   rA   rB   rC   rD   rE   r‰   rŠ   rF   rP   TrQ   rT   )rW   r   r   r   ÚUsageImagesParamsr$   ©r5   rO   r>   r?   r@   rA   rB   rC   rD   rE   r‰   rŠ   rF   rG   rH   rI   rJ   s                    r6   ÚimageszUsage.images�  s}   € ðH �y‰yØ(Ü(Ø+Ø'Ø%ØÜ%à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø!&Ø#*Ø$,ñô (×9Ñ9óð" /°Ð5ô-ô0 (ð5 ó 
ð 	
r8   c               óš   — | j                  dt        ||||t        |||||||||	|
dœ
t        j                  «      ddi¬«      t
        ¬«      S )á¡  
        Get moderations usage details for the organization.

        Args:
          start_time: Start time (Unix seconds) of the query time range, inclusive.

          api_key_ids: Return only usage for these API keys.

          bucket_width: Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
              supported, default to `1d`.

          end_time: End time (Unix seconds) of the query time range, exclusive.

          group_by: Group the usage data by the specified fields. Support fields include
              `project_id`, `user_id`, `api_key_id`, `model` or any combination of them.

          limit: Specifies the number of buckets to return.

              - `bucket_width=1d`: default: 7, max: 31
              - `bucket_width=1h`: default: 24, max: 168
              - `bucket_width=1m`: default: 60, max: 1440

          models: Return only usage for these models.

          page: A cursor for use in pagination. Corresponding to the `next_page` field from the
              previous response.

          project_ids: Return only usage for these projects.

          user_ids: Return only usage for these users.

          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/usage/moderationsrN   rP   TrQ   rT   )rW   r   r   r   ÚUsageModerationsParamsr'   rY   s                  r6   ÚmoderationszUsage.moderationsñ  sw   € ðv �y‰yØ-Ü(Ø+Ø'Ø%ØÜ%à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø$,ñô -×CÑCóð /°Ð5ô)ô, -ð1 ó 
ð 	
r8   c               ó”   — | j                  dt        ||	|
|t        |||||||dœt        j                  «      ddi¬«      t
        ¬«      S )á¹  
        Get vector stores usage details for the organization.

        Args:
          start_time: Start time (Unix seconds) of the query time range, inclusive.

          bucket_width: Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
              supported, default to `1d`.

          end_time: End time (Unix seconds) of the query time range, exclusive.

          group_by: Group the usage data by the specified fields. Support fields include
              `project_id`.

          limit: Specifies the number of buckets to return.

              - `bucket_width=1d`: default: 7, max: 31
              - `bucket_width=1h`: default: 24, max: 168
              - `bucket_width=1m`: default: 60, max: 1440

          page: A cursor for use in pagination. Corresponding to the `next_page` field from the
              previous response.

          project_ids: Return only usage for these projects.

          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/usage/vector_storesrd   rP   TrQ   rT   )rW   r   r   r   ÚUsageVectorStoresParamsr(   rf   s               r6   Úvector_storeszUsage.vector_storesG  sn   € ðd �y‰yØ/Ü(Ø+Ø'Ø%ØÜ%à&0Ø(4Ø$,Ø$,Ø!&Ø $Ø'2ñô /×FÑFóð /°Ð5ô#ô& .ð+ ó 
ð 	
r8   ©r>   r?   Úcontext_levelsr@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   c               óœ   — | j                  dt        ||||t        |||||||||	|
|dœt        j                  «      ddi¬«      t
        ¬«      S )á  
        Get web search calls usage details for the organization.

        Args:
          start_time: Start time (Unix seconds) of the query time range, inclusive.

          api_key_ids: Return only usage for these API keys.

          bucket_width: Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
              supported, default to `1d`.

          context_levels: Return only web search usage for these context levels.

          end_time: End time (Unix seconds) of the query time range, exclusive.

          group_by: Group the usage data by the specified fields. Support fields include
              `project_id`, `user_id`, `api_key_id`, `model`, `context_level` or any
              combination of them.

          limit: Specifies the number of buckets to return.

              - `bucket_width=1d`: default: 7, max: 31
              - `bucket_width=1h`: default: 24, max: 168
              - `bucket_width=1m`: default: 60, max: 1440

          models: Return only usage for these models.

          page: A cursor for use in pagination. Corresponding to the `next_page` field from the
              previous response.

          project_ids: Return only usage for these projects.

          user_ids: Return only usage for these users.

          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/usage/web_search_calls©rO   r>   r?   r�   r@   rA   rB   rC   rD   rE   rF   rP   TrQ   rT   )rW   r   r   r   ÚUsageWebSearchCallsParamsr*   ©r5   rO   r>   r?   r�   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   s                   r6   Úweb_search_callszUsage.web_search_calls‘  sz   € ð~ �y‰yØ2Ü(Ø+Ø'Ø%ØÜ%à&0Ø'2Ø(4Ø*8Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø$,ñô 2×KÑKóð  /°Ð5ô+ô. 0ð3 ó 
ð 	
r8   )Úreturnr3   )r¥   r;   ©rO   Úintr>   úSequenceNotStr[str] | Omitr?   ú Literal['1m', '1h', '1d'] | Omitr@   ú
int | OmitrA   úDList[Literal['project_id', 'user_id', 'api_key_id', 'model']] | OmitrB   rª   rC   r¨   rD   ú
str | OmitrE   r¨   rF   r¨   rG   úHeaders | NonerH   úQuery | NonerI   úBody | NonerJ   ú(float | httpx2.Timeout | None | NotGivenr¥   r)   ©rO   r§   r>   r¨   r?   r©   r@   rª   rA   r«   rB   rª   rC   r¨   rD   r¬   rE   r¨   rF   r¨   rG   r­   rH   r®   rI   r¯   rJ   r°   r¥   r,   ©rO   r§   r?   r©   r@   rª   rA   ú"List[Literal['project_id']] | OmitrB   rª   rD   r¬   rE   r¨   rG   r­   rH   r®   rI   r¯   rJ   r°   r¥   r-   © rO   r§   r>   r¨   ri   zbool | Omitr?   r©   r@   rª   rA   z]List[Literal['project_id', 'user_id', 'api_key_id', 'model', 'batch', 'service_tier']] | OmitrB   rª   rC   r¨   rD   r¬   rE   r¨   rF   r¨   rG   r­   rH   r®   rI   r¯   rJ   r°   r¥   r&   ©rO   r§   r>   r¨   r?   zLiteral['1d'] | Omitr@   rª   rA   z=List[Literal['project_id', 'line_item', 'api_key_id']] | OmitrB   rª   rr   r¨   rD   r¬   rE   r¨   rG   r­   rH   r®   rI   r¯   rJ   r°   r¥   r#   ©rO   r§   r>   r¨   r?   r©   r@   rª   rA   r«   rB   rª   rC   r¨   rD   r¬   rE   r¨   rF   r¨   rG   r­   rH   r®   rI   r¯   rJ   r°   r¥   r%   ©rO   r§   r>   r¨   r?   r©   r@   rª   rA   zNList[Literal['project_id', 'user_id', 'api_key_id', 'vector_store_id']] | OmitrB   rª   rD   r¬   rE   r¨   rF   r¨   r€   r¨   rG   r­   rH   r®   rI   r¯   rJ   r°   r¥   r+   ©"rO   r§   r>   r¨   r?   r©   r@   rª   rA   zVList[Literal['project_id', 'user_id', 'api_key_id', 'model', 'size', 'source']] | OmitrB   rª   rC   r¨   rD   r¬   rE   r¨   r‰   zQList[Literal['256x256', '512x512', '1024x1024', '1792x1792', '1024x1792']] | OmitrŠ   zIList[Literal['image.generation', 'image.edit', 'image.variation']] | OmitrF   r¨   rG   r­   rH   r®   rI   r¯   rJ   r°   r¥   r$   ©rO   r§   r>   r¨   r?   r©   r@   rª   rA   r«   rB   rª   rC   r¨   rD   r¬   rE   r¨   rF   r¨   rG   r­   rH   r®   rI   r¯   rJ   r°   r¥   r'   ©rO   r§   r?   r©   r@   rª   rA   r³   rB   rª   rD   r¬   rE   r¨   rG   r­   rH   r®   rI   r¯   rJ   r°   r¥   r(   © rO   r§   r>   r¨   r?   r©   r�   z-List[Literal['low', 'medium', 'high']] | Omitr@   rª   rA   zUList[Literal['project_id', 'user_id', 'api_key_id', 'model', 'context_level']] | OmitrB   rª   rC   r¨   rD   r¬   rE   r¨   rF   r¨   rG   r­   rH   r®   rI   r¯   rJ   r°   r¥   r*   ©Ú__name__Ú
__module__Ú__qualname__r   r7   r<   r   r   rZ   r_   rg   rp   ry   r~   r‡   r‘   r–   r›   r¤   © r8   r6   r.   r.   -   sF	  „ Øò*ó ð*ð ò0ó ð0ð 37Ø9=Ø#ØY]Ø Ø-1ØØ26Ø/3ð )-Ø$(Ø"&Ø<Eñ%T
ð ðT
ð 0ð	T
ð
 7ðT
ð ðT
ð WðT
ð ðT
ð +ðT
ð ðT
ð 0ðT
ð -ðT
ð &ðT
ð  "ð!T
ð"  ð#T
ð$ :ð%T
ð& 
$ó'T
ðt 37Ø9=Ø#ØY]Ø Ø-1ØØ26Ø/3ð )-Ø$(Ø"&Ø<Eñ%T
ð ðT
ð 0ð	T
ð
 7ðT
ð ðT
ð WðT
ð ðT
ð +ðT
ð ðT
ð 0ðT
ð -ðT
ð &ðT
ð  "ð!T
ð"  ð#T
ð$ :ð%T
ð& 
*ó'T
ðt :>Ø#Ø7;Ø ØØ26ð )-Ø$(Ø"&Ø<EñH
ð ðH
ð 7ð	H
ð
 ðH
ð 5ðH
ð ðH
ð ðH
ð 0ðH
ð &ðH
ð "ðH
ð  ðH
ð :ðH
ð  
.ó!H
ð\ 37Ø!Ø9=Ø#ØrvØ Ø-1ØØ26Ø/3ð )-Ø$(Ø"&Ø<Eñ'Z
ð ðZ
ð 0ð	Z
ð
 ðZ
ð 7ðZ
ð ðZ
ð pðZ
ð ðZ
ð +ðZ
ð ðZ
ð 0ðZ
ð -ðZ
ð  &ð!Z
ð" "ð#Z
ð$  ð%Z
ð& :ð'Z
ð( 
"ó)Z
ð@ 37Ø-1Ø#ØRVØ Ø15ØØ26ð )-Ø$(Ø"&Ø<Eñ#N
ð ðN
ð 0ð	N
ð
 +ðN
ð ðN
ð PðN
ð ðN
ð /ðN
ð ðN
ð 0ðN
ð &ðN
ð "ðN
ð   ð!N
ð" :ð#N
ð$ 
ó%N
ðh 37Ø9=Ø#ØY]Ø Ø-1ØØ26Ø/3ð )-Ø$(Ø"&Ø<Eñ%T
ð ðT
ð 0ð	T
ð
 7ðT
ð ðT
ð WðT
ð ðT
ð +ðT
ð ðT
ð 0ðT
ð -ðT
ð &ðT
ð  "ð!T
ð"  ð#T
ð$ :ð%T
ð& 
!ó'T
ðt 37Ø9=Ø#ØcgØ ØØ26Ø/3Ø7;ð )-Ø$(Ø"&Ø<Eñ%U
ð ðU
ð 0ð	U
ð
 7ðU
ð ðU
ð aðU
ð ðU
ð ðU
ð 0ðU
ð -ðU
ð 5ðU
ð &ðU
ð  "ð!U
ð"  ð#U
ð$ :ð%U
ð& 
&ó'U
ðv 37Ø9=Ø#ØkoØ Ø-1ØØ26ØcgØ]aØ/3ð )-Ø$(Ø"&Ø<Eñ)_
ð ð_
ð 0ð	_
ð
 7ð_
ð ð_
ð ið_
ð ð_
ð +ð_
ð ð_
ð 0ð_
ð að_
ð [ð_
ð -ð_
ð" &ð#_
ð$ "ð%_
ð&  ð'_
ð( :ð)_
ð* 
ó+_
ðJ 37Ø9=Ø#ØY]Ø Ø-1ØØ26Ø/3ð )-Ø$(Ø"&Ø<Eñ%T
ð ðT
ð 0ð	T
ð
 7ðT
ð ðT
ð WðT
ð ðT
ð +ðT
ð ðT
ð 0ðT
ð -ðT
ð &ðT
ð  "ð!T
ð"  ð#T
ð$ :ð%T
ð& 
"ó'T
ðt :>Ø#Ø7;Ø ØØ26ð )-Ø$(Ø"&Ø<EñH
ð ðH
ð 7ð	H
ð
 ðH
ð 5ðH
ð ðH
ð ðH
ð 0ðH
ð &ðH
ð "ðH
ð  ðH
ð :ðH
ð  
#ó!H
ð\ 37Ø9=ØHLØ#ØjnØ Ø-1ØØ26Ø/3ð )-Ø$(Ø"&Ø<Eñ'Y
ð ðY
ð 0ð	Y
ð
 7ðY
ð FðY
ð ðY
ð hðY
ð ðY
ð +ðY
ð ðY
ð 0ðY
ð -ðY
ð  &ð!Y
ð" "ð#Y
ð$  ð%Y
ð& :ð'Y
ð( 
%ô)Y
r8   c                  ó>  — e Zd Zedd„«       Zedd„«       Zeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Z	eeeeeedddedœ
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Z
eeeeeeeeeeddded	œ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd
„Zeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zeeeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d d„Zeeeeeedddedœ
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d!d„Zeeeeeeeeeedddedœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d"d„Zy)#r/   c                ó   — t        | «      S r2   )ÚAsyncUsageWithRawResponser4   s    r6   r7   zAsyncUsage.with_raw_responseî  s   € ô )¨Ó.Ð.r8   c                ó   — t        | «      S r:   )ÚAsyncUsageWithStreamingResponser4   s    r6   r<   z"AsyncUsage.with_streaming_responseø  s   € ô /¨tÓ4Ð4r8   Nr=   c             ƒ  óÊ   K  — | j                  dt        ||||t        |||||||||	|
dœ
t        j                  «      ƒ d{  –—† ddi¬«      t
        ¬«      ƒ d{  –—† S 7 Œ7 Œ­w)rL   rM   rN   NrP   TrQ   rT   )rW   r   r   r   rX   r)   rY   s                  r6   rZ   zAsyncUsage.audio_speeches  s�   è ø€ ðv —Y‘YØ0Ü(Ø+Ø'Ø%ØÜ1à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø$,ñô 0×HÑHó÷ ð /°Ð5ô)ô, /ð1 ó 
÷ 
ð 	
ðøð
úó#   ‚>A#Á AÁA#ÁA!ÁA#Á!A#c             ƒ  óÊ   K  — | j                  dt        ||||t        |||||||||	|
dœ
t        j                  «      ƒ d{  –—† ddi¬«      t
        ¬«      ƒ d{  –—† S 7 Œ7 Œ­w)r\   r]   rN   NrP   TrQ   rT   )rW   r   r   r!   r^   r,   rY   s                  r6   r_   zAsyncUsage.audio_transcriptionsW  s�   è ø€ ðv —Y‘YØ6Ü(Ø+Ø'Ø%ØÜ1à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø$,ñô 6×TÑTó÷ ð /°Ð5ô)ô, 5ð1 ó 
÷ 
ð 	
ðøð
úrÇ   r`   c             ƒ  óÄ   K  — | j                  dt        ||	|
|t        |||||||dœt        j                  «      ƒ d{  –—† ddi¬«      t
        ¬«      ƒ d{  –—† S 7 Œ7 Œ­w)rb   rc   rd   NrP   TrQ   rT   )rW   r   r   r"   re   r-   rf   s               r6   rg   z$AsyncUsage.code_interpreter_sessions­  s‡   è ø€ ðd —Y‘YØ;Ü(Ø+Ø'Ø%ØÜ1à&0Ø(4Ø$,Ø$,Ø!&Ø $Ø'2ñô ;×]Ñ]ó÷ ð /°Ð5ô#ô& 9ð+ ó 
÷ 
ð 	
ðøð
úó!   ‚;A ½A¾A ÁAÁA ÁA rh   c             ƒ  óÌ   K  — | j                  dt        ||||t        |||||||||	|
|dœt        j                  «      ƒ d{  –—† ddi¬«      t
        ¬«      ƒ d{  –—† S 7 Œ7 Œ­w)rk   rl   rm   NrP   TrQ   rT   )rW   r   r   r   rn   r&   ro   s                   r6   rp   zAsyncUsage.completions÷  s“   è ø€ ð@ —Y‘YØ-Ü(Ø+Ø'Ø%ØÜ1à&0Ø'2Ø!&Ø(4Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø$,ñô -×CÑCó÷ ð  /°Ð5ô+ô. -ð3 ó 
÷ 
ð 	
ðøð
úó#   ‚?A$ÁA ÁA$ÁA"ÁA$Á"A$rq   c             ƒ  óÈ   K  — | j                  dt        |
|||t        |||||||||	dœ	t        j                  «      ƒ d{  –—† ddi¬«      t
        ¬«      ƒ d{  –—† S 7 Œ7 Œ­w)rt   ru   rv   NrP   TrQ   rT   )rW   r   r   r   rw   r#   rx   s                 r6   ry   zAsyncUsage.costsS  s�   è ø€ ðl —Y‘YØ!Ü(Ø+Ø'Ø%ØÜ1à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø&0Ø $Ø'2ñ
ô '×7Ñ7ó÷ ð /°Ð5ô'ô* 'ð/ ó 
÷ 
ð 	
ðøð
ús"   ‚=A"¿AÁ A"ÁA ÁA"Á A"c             ƒ  óÊ   K  — | j                  dt        ||||t        |||||||||	|
dœ
t        j                  «      ƒ d{  –—† ddi¬«      t
        ¬«      ƒ d{  –—† S 7 Œ7 Œ­w)r{   r|   rN   NrP   TrQ   rT   )rW   r   r   r   r}   r%   rY   s                  r6   r~   zAsyncUsage.embeddings£  s�   è ø€ ðv —Y‘YØ,Ü(Ø+Ø'Ø%ØÜ1à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø$,ñô ,×AÑAó÷ ð /°Ð5ô)ô, ,ð1 ó 
÷ 
ð 	
ðøð
úrÇ   r   c             ƒ  óÊ   K  — | j                  dt        ||||t        |||||||||	|
dœ
t        j                  «      ƒ d{  –—† ddi¬«      t
        ¬«      ƒ d{  –—† S 7 Œ7 Œ­w)r‚   rƒ   r„   NrP   TrQ   rT   )rW   r   r   r    r…   r+   r†   s                  r6   r‡   zAsyncUsage.file_search_callsù  s�   è ø€ ðx —Y‘YØ3Ü(Ø+Ø'Ø%ØÜ1à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø $Ø'2Ø$,Ø,<ñô 3×MÑMó÷ ð /°Ð5ô)ô, 1ð1 ó 
÷ 
ð 	
ðøð
úrÇ   rˆ   c             ƒ  óÎ   K  — | j                  dt        ||||t        |||||||||	|
||dœt        j                  «      ƒ d{  –—† ddi¬«      t
        ¬«      ƒ d{  –—† S 7 Œ7 Œ­w)rŒ   r�   rŽ   NrP   TrQ   rT   )rW   r   r   r   r�   r$   r�   s                    r6   r‘   zAsyncUsage.imagesP  s–   è ø€ ðH —Y‘YØ(Ü(Ø+Ø'Ø%ØÜ1à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø!&Ø#*Ø$,ñô (×9Ñ9ó÷ ð" /°Ð5ô-ô0 (ð5 ó 
÷ 
ð 	
ðøð
ús$   ‚A A%ÁA!ÁA%ÁA#ÁA%Á#A%c             ƒ  óÊ   K  — | j                  dt        ||||t        |||||||||	|
dœ
t        j                  «      ƒ d{  –—† ddi¬«      t
        ¬«      ƒ d{  –—† S 7 Œ7 Œ­w)r“   r”   rN   NrP   TrQ   rT   )rW   r   r   r   r•   r'   rY   s                  r6   r–   zAsyncUsage.moderations±  s�   è ø€ ðv —Y‘YØ-Ü(Ø+Ø'Ø%ØÜ1à&0Ø'2Ø(4Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø$,ñô -×CÑCó÷ ð /°Ð5ô)ô, -ð1 ó 
÷ 
ð 	
ðøð
úrÇ   c             ƒ  óÄ   K  — | j                  dt        ||	|
|t        |||||||dœt        j                  «      ƒ d{  –—† ddi¬«      t
        ¬«      ƒ d{  –—† S 7 Œ7 Œ­w)r˜   r™   rd   NrP   TrQ   rT   )rW   r   r   r   rš   r(   rf   s               r6   r›   zAsyncUsage.vector_stores  s‡   è ø€ ðd —Y‘YØ/Ü(Ø+Ø'Ø%ØÜ1à&0Ø(4Ø$,Ø$,Ø!&Ø $Ø'2ñô /×FÑFó÷ ð /°Ð5ô#ô& .ð+ ó 
÷ 
ð 	
ðøð
úrÊ   rœ   c             ƒ  óÌ   K  — | j                  dt        ||||t        |||||||||	|
|dœt        j                  «      ƒ d{  –—† ddi¬«      t
        ¬«      ƒ d{  –—† S 7 Œ7 Œ­w)rŸ   r    r¡   NrP   TrQ   rT   )rW   r   r   r   r¢   r*   r£   s                   r6   r¤   zAsyncUsage.web_search_callsQ  s“   è ø€ ð~ —Y‘YØ2Ü(Ø+Ø'Ø%ØÜ1à&0Ø'2Ø(4Ø*8Ø$,Ø$,Ø!&Ø"(Ø $Ø'2Ø$,ñô 2×KÑKó÷ ð  /°Ð5ô+ô. 0ð3 ó 
÷ 
ð 	
ðøð
úrÌ   )r¥   rÃ   )r¥   rÅ   r¦   r±   r²   r´   rµ   r¶   r·   r¸   r¹   rº   r»   r¼   rÀ   r8   r6   r/   r/   í  sF	  „ Øò/ó ð/ð ò5ó ð5ð 37Ø9=Ø#ØY]Ø Ø-1ØØ26Ø/3ð )-Ø$(Ø"&Ø<Eñ%T
ð ðT
ð 0ð	T
ð
 7ðT
ð ðT
ð WðT
ð ðT
ð +ðT
ð ðT
ð 0ðT
ð -ðT
ð &ðT
ð  "ð!T
ð"  ð#T
ð$ :ð%T
ð& 
$ó'T
ðt 37Ø9=Ø#ØY]Ø Ø-1ØØ26Ø/3ð )-Ø$(Ø"&Ø<Eñ%T
ð ðT
ð 0ð	T
ð
 7ðT
ð ðT
ð WðT
ð ðT
ð +ðT
ð ðT
ð 0ðT
ð -ðT
ð &ðT
ð  "ð!T
ð"  ð#T
ð$ :ð%T
ð& 
*ó'T
ðt :>Ø#Ø7;Ø ØØ26ð )-Ø$(Ø"&Ø<EñH
ð ðH
ð 7ð	H
ð
 ðH
ð 5ðH
ð ðH
ð ðH
ð 0ðH
ð &ðH
ð "ðH
ð  ðH
ð :ðH
ð  
.ó!H
ð\ 37Ø!Ø9=Ø#ØrvØ Ø-1ØØ26Ø/3ð )-Ø$(Ø"&Ø<Eñ'Z
ð ðZ
ð 0ð	Z
ð
 ðZ
ð 7ðZ
ð ðZ
ð pðZ
ð ðZ
ð +ðZ
ð ðZ
ð 0ðZ
ð -ðZ
ð  &ð!Z
ð" "ð#Z
ð$  ð%Z
ð& :ð'Z
ð( 
"ó)Z
ð@ 37Ø-1Ø#ØRVØ Ø15ØØ26ð )-Ø$(Ø"&Ø<Eñ#N
ð ðN
ð 0ð	N
ð
 +ðN
ð ðN
ð PðN
ð ðN
ð /ðN
ð ðN
ð 0ðN
ð &ðN
ð "ðN
ð   ð!N
ð" :ð#N
ð$ 
ó%N
ðh 37Ø9=Ø#ØY]Ø Ø-1ØØ26Ø/3ð )-Ø$(Ø"&Ø<Eñ%T
ð ðT
ð 0ð	T
ð
 7ðT
ð ðT
ð WðT
ð ðT
ð +ðT
ð ðT
ð 0ðT
ð -ðT
ð &ðT
ð  "ð!T
ð"  ð#T
ð$ :ð%T
ð& 
!ó'T
ðt 37Ø9=Ø#ØcgØ ØØ26Ø/3Ø7;ð )-Ø$(Ø"&Ø<Eñ%U
ð ðU
ð 0ð	U
ð
 7ðU
ð ðU
ð aðU
ð ðU
ð ðU
ð 0ðU
ð -ðU
ð 5ðU
ð &ðU
ð  "ð!U
ð"  ð#U
ð$ :ð%U
ð& 
&ó'U
ðv 37Ø9=Ø#ØkoØ Ø-1ØØ26ØcgØ]aØ/3ð )-Ø$(Ø"&Ø<Eñ)_
ð ð_
ð 0ð	_
ð
 7ð_
ð ð_
ð ið_
ð ð_
ð +ð_
ð ð_
ð 0ð_
ð að_
ð [ð_
ð -ð_
ð" &ð#_
ð$ "ð%_
ð&  ð'_
ð( :ð)_
ð* 
ó+_
ðJ 37Ø9=Ø#ØY]Ø Ø-1ØØ26Ø/3ð )-Ø$(Ø"&Ø<Eñ%T
ð ðT
ð 0ð	T
ð
 7ðT
ð ðT
ð WðT
ð ðT
ð +ðT
ð ðT
ð 0ðT
ð -ðT
ð &ðT
ð  "ð!T
ð"  ð#T
ð$ :ð%T
ð& 
"ó'T
ðt :>Ø#Ø7;Ø ØØ26ð )-Ø$(Ø"&Ø<EñH
ð ðH
ð 7ð	H
ð
 ðH
ð 5ðH
ð ðH
ð ðH
ð 0ðH
ð &ðH
ð "ðH
ð  ðH
ð :ðH
ð  
#ó!H
ð\ 37Ø9=ØHLØ#ØjnØ Ø-1ØØ26Ø/3ð )-Ø$(Ø"&Ø<Eñ'Y
ð ðY
ð 0ð	Y
ð
 7ðY
ð FðY
ð ðY
ð hðY
ð ðY
ð +ðY
ð ðY
ð 0ðY
ð -ðY
ð  &ð!Y
ð" "ð#Y
ð$  ð%Y
ð& :ð'Y
ð( 
%ô)Y
r8   c                  ó   — e Zd Zdd„Zy)r3   c                ó*  — || _         t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j
                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _	        t        j                  |j                  «      | _
        t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _        y ©N)Ú_usager   Úto_raw_response_wrapperrZ   r_   rg   rp   ry   r~   r‡   r‘   r–   r›   r¤   ©r5   Úusages     r6   Ú__init__zUsageWithRawResponse.__init__®  sJ  € ØˆŒä.×FÑFØ× Ñ ó
ˆÔô %5×$LÑ$LØ×&Ñ&ó%
ˆÔ!ô *:×)QÑ)QØ×+Ñ+ó*
ˆÔ&ô ,×CÑCØ×Ñó
ˆÔô &×=Ñ=Ø�K‰Kó
ˆŒ
ô +×BÑBØ×Ñó
ˆŒô "2×!IÑ!IØ×#Ñ#ó"
ˆÔô '×>Ñ>Ø�L‰Ló
ˆŒô ,×CÑCØ×Ñó
ˆÔô .×EÑEØ×Ñó
ˆÔô !1× HÑ HØ×"Ñ"ó!
ˆÕr8   N©rÚ   r.   r¥   ÚNone©r½   r¾   r¿   rÛ   rÀ   r8   r6   r3   r3   ­  ó   „ ô#
r8   r3   c                  ó   — e Zd Zdd„Zy)rÃ   c                ó*  — || _         t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j
                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _	        t        j                  |j                  «      | _
        t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _        y rÖ   )r×   r   Úasync_to_raw_response_wrapperrZ   r_   rg   rp   ry   r~   r‡   r‘   r–   r›   r¤   rÙ   s     r6   rÛ   z"AsyncUsageWithRawResponse.__init__Õ  sJ  € ØˆŒä.×LÑLØ× Ñ ó
ˆÔô %5×$RÑ$RØ×&Ñ&ó%
ˆÔ!ô *:×)WÑ)WØ×+Ñ+ó*
ˆÔ&ô ,×IÑIØ×Ñó
ˆÔô &×CÑCØ�K‰Kó
ˆŒ
ô +×HÑHØ×Ñó
ˆŒô "2×!OÑ!OØ×#Ñ#ó"
ˆÔô '×DÑDØ�L‰Ló
ˆŒô ,×IÑIØ×Ñó
ˆÔô .×KÑKØ×Ñó
ˆÔô !1× NÑ NØ×"Ñ"ó!
ˆÕr8   N©rÚ   r/   r¥   rÝ   rÞ   rÀ   r8   r6   rÃ   rÃ   Ô  rß   r8   rÃ   c                  ó   — e Zd Zdd„Zy)r;   c                óN  — || _         t        |j                  «      | _        t        |j                  «      | _        t        |j                  «      | _        t        |j
                  «      | _        t        |j                  «      | _        t        |j                  «      | _        t        |j                  «      | _        t        |j                  «      | _	        t        |j                  «      | _
        t        |j                  «      | _        t        |j                  «      | _        y rÖ   )r×   r   rZ   r_   rg   rp   ry   r~   r‡   r‘   r–   r›   r¤   rÙ   s     r6   rÛ   z#UsageWithStreamingResponse.__init__ü  s
  € ØˆŒä:Ø× Ñ ó
ˆÔô %AØ×&Ñ&ó%
ˆÔ!ô *FØ×+Ñ+ó*
ˆÔ&ô 8Ø×Ñó
ˆÔô 2Ø�K‰Kó
ˆŒ
ô 7Ø×Ñó
ˆŒô ">Ø×#Ñ#ó"
ˆÔô 3Ø�L‰Ló
ˆŒô 8Ø×Ñó
ˆÔô :Ø×Ñó
ˆÔô !=Ø×"Ñ"ó!
ˆÕr8   NrÜ   rÞ   rÀ   r8   r6   r;   r;   û  rß   r8   r;   c                  ó   — e Zd Zdd„Zy)rÅ   c                óN  — || _         t        |j                  «      | _        t        |j                  «      | _        t        |j                  «      | _        t        |j
                  «      | _        t        |j                  «      | _        t        |j                  «      | _        t        |j                  «      | _        t        |j                  «      | _	        t        |j                  «      | _
        t        |j                  «      | _        t        |j                  «      | _        y rÖ   )r×   r   rZ   r_   rg   rp   ry   r~   r‡   r‘   r–   r›   r¤   rÙ   s     r6   rÛ   z(AsyncUsageWithStreamingResponse.__init__#  s  € ØˆŒä@Ø× Ñ ó
ˆÔô %GØ×&Ñ&ó%
ˆÔ!ô *LØ×+Ñ+ó*
ˆÔ&ô >Ø×Ñó
ˆÔô 8Ø�K‰Kó
ˆŒ
ô =Ø×Ñó
ˆŒô "DØ×#Ñ#ó"
ˆÔô 9Ø�L‰Ló
ˆŒô >Ø×Ñó
ˆÔô @Ø×Ñó
ˆÔô !CØ×"Ñ"ó!
ˆÕr8   Nrã   rÞ   rÀ   r8   r6   rÅ   rÅ   "  rß   r8   rÅ   )HÚ
__future__r   Útypingr   Útyping_extensionsr   Úhttpx2Ú r   Ú_typesr   r	   r
   r   r   r   r   r   Ú_utilsr   r   Ú_compatr   Ú	_resourcer   r   Ú	_responser   r   Ú_base_clientr   Útypes.admin.organizationr   r   r   r   r   r   r   r   r    r!   r"   Ú-types.admin.organization.usage_costs_responser#   Ú.types.admin.organization.usage_images_responser$   Ú2types.admin.organization.usage_embeddings_responser%   Ú3types.admin.organization.usage_completions_responser&   Ú3types.admin.organization.usage_moderations_responser'   Ú5types.admin.organization.usage_vector_stores_responser(   Ú6types.admin.organization.usage_audio_speeches_responser)   Ú8types.admin.organization.usage_web_search_calls_responser*   Ú9types.admin.organization.usage_file_search_calls_responser+   Ú<types.admin.organization.usage_audio_transcriptions_responser,   ÚAtypes.admin.organization.usage_code_interpreter_sessions_responser-   Ú__all__r.   r/   r3   rÃ   r;   rÅ   rÀ   r8   r6   ú<module>r      sº   ðõ #å Ý %ã å !ß \× \Ó \ß =Ý 'ß ;ß ZÝ 1÷÷ ÷ ñ õ QÝ RÝ ZÝ \Ý \Ý _Ý aÝ dÝ fÝ mÝ và�LÐ
!€ô}
ˆOô }
ô@}
Ð!ô }
÷@$
ñ $
÷N$
ñ $
÷N$
ñ $
÷N$
ò $
r8   