o
    i"                     @  s   d dl mZ d dlZddlmZmZ ddlmZmZ ej	r=ddl
mZmZ ddlmZmZ dd	lmZmZ dd
lmZmZ G dd dZG dd dZdS )    )annotationsN   )AsyncClientWrapperSyncClientWrapper   )AsyncRawBillingClientRawBillingClient)AsyncBalancesClientBalancesClient)AsyncBreakdownClientBreakdownClient)AsyncFieldsClientFieldsClient)AsyncPurchasesClientPurchasesClientc                   @  T   e Zd ZdddZedddZed	d
 Zedd Zedd Zedd Z	dS )BillingClientclient_wrapperr   c                C  .   t |d| _|| _d | _d | _d | _d | _d S Nr   )r   _raw_client_client_wrapper	_balances
_breakdown_fields
_purchasesselfr    r   ^/home/ubuntu/.local/lib/python3.10/site-packages/deepgram/manage/v1/projects/billing/client.py__init__      
zBillingClient.__init__returnr   c                 C     | j S )z
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        RawBillingClient
        r   r   r   r   r    with_raw_response      	zBillingClient.with_raw_responsec                 C  *   | j d u rddlm} || jd| _ | j S )Nr   )r
   r   )r   balances.clientr
   r   )r   r
   r   r   r    balances%      
zBillingClient.balancesc                 C  r)   )Nr   )r   r   )r   breakdown.clientr   r   )r   r   r   r   r    	breakdown-   r,   zBillingClient.breakdownc                 C  r)   )Nr   )r   r   )r   fields.clientr   r   )r   r   r   r   r    fields5   r,   zBillingClient.fieldsc                 C  r)   )Nr   )r   r   )r   purchases.clientr   r   )r   r   r   r   r    	purchases=   r,   zBillingClient.purchasesN)r   r   )r#   r   
__name__
__module____qualname__r!   propertyr'   r+   r.   r0   r2   r   r   r   r    r          




r   c                   @  r   )AsyncBillingClientr   r   c                C  r   r   )r   r   r   r   r   r   r   r   r   r   r    r!   G   r"   zAsyncBillingClient.__init__r#   r   c                 C  r$   )z
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        AsyncRawBillingClient
        r%   r&   r   r   r    r'   O   r(   z$AsyncBillingClient.with_raw_responsec                 C  r)   )Nr   )r	   r   )r   r*   r	   r   )r   r	   r   r   r    r+   Z   r,   zAsyncBillingClient.balancesc                 C  r)   )Nr   )r   r   )r   r-   r   r   )r   r   r   r   r    r.   b   r,   zAsyncBillingClient.breakdownc                 C  r)   )Nr   )r   r   )r   r/   r   r   )r   r   r   r   r    r0   j   r,   zAsyncBillingClient.fieldsc                 C  r)   )Nr   )r   r   )r   r1   r   r   )r   r   r   r   r    r2   r   r,   zAsyncBillingClient.purchasesN)r   r   )r#   r   r3   r   r   r   r    r9   F   r8   r9   )
__future__r   typingcore.client_wrapperr   r   
raw_clientr   r   TYPE_CHECKINGr*   r	   r
   r-   r   r   r/   r   r   r1   r   r   r   r9   r   r   r   r    <module>   s   5