o
    µQ?h°  ã                   @   s¢   d dl mZmZ d dlmZ d dlmZ edeƒZe 	d¡dd„ ƒZ
e d¡d	d
„ ƒZe d¡dd„ ƒZe d¡dd„ ƒZe d¡dd„ ƒZe d¡dd„ ƒZdS )é    )Ú	BlueprintÚrequest)ÚWallet)ÚsendResponseÚ
invoicesV2z/walletc                   C   ó   t tjtƒS ©N)r   r   Ú	getWalletr   © r
   r
   úG/var/www/html/riverr-enterprise-integrations-main/V2/routes/invoices.pyr	      ó   r	   z/wallet/order-invoicec                   C   r   r   )r   r   ÚcreateOrderInvoiceFromWalletr   r
   r
   r
   r   r      r   r   z/wallet/batch-invoicec                   C   r   r   )r   r   ÚcreateBatchInvoiceFromWalletr   r
   r
   r
   r   r      r   r   z/wallet/add-balancec                   C   r   r   )r   r   Ú
addBalancer   r
   r
   r
   r   r      r   r   z/wallet/update-thresholdc                   C   r   r   )r   r   ÚupdateThresholdr   r
   r
   r
   r   r      r   r   z/wallet/update-recharge-amountc                   C   r   r   )r   r   ÚupdateRechargeAmountr   r
   r
   r
   r   r      r   r   N)Úflaskr   r   ÚV2.functions.Invoicesr   ÚV2.middlewares.authr   Ú__name__r   Úgetr	   Úpostr   r   r   r   r   r
   r
   r
   r   Ú<module>   s     





