o
    Q?h                     @   s   d dl mZmZ d dlmZ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dS )    )	Blueprintrequest)AuthOrders)sendResponse	orderdeskz/authc                   C      t tjtS N)r   r   
saveApiKeyr    r   r   H/var/www/html/riverr-enterprise-integrations-main/V2/routes/orderdesk.pyauth      r   z/update-ordersc                   C   s   t tjtddS )NF)authRequired)r   r   updateAllOrdersr   r   r   r   r   r      s   r   z/ordersc                   C   r   r	   )r   r   sendBatchToOrderdeskr   r   r   r   r   orders   r   r   z/ship-notification/<id>c                 C   s   t tjt| ddS )NF)idr   )r   r   shipNotificationr   )r   r   r   r   r      s   r   N)flaskr   r   V2.functions.Orderdeskr   r   V2.middlewares.authr   __name__orderdeskV2postr   getr   r   r   r   r   r   r   <module>   s    



