o
    Q?h                     @   s   d dl mZmZ d dlmZ d dlmZmZmZm	Z	 ede
Zejddgddd	 Zejd
dgddd Zejddgddd Zejddgddd Zeddd Zeddd ZdS )    )	Blueprintrequest)sendResponse)BlankProducts	InventoryPricingPurchaseOrders	suppliersz	/productsGET)methodsc                   C      t tjtddS NF)authRequired)r   r   updateBlankProductsr    r   r   E/var/www/html/riverr-enterprise-integrations-main/routes/suppliers.pyblankProducts      r   z/products/inventoryc                   C   r   r   )r   r   updateBlankInventoryr   r   r   r   r   	inventory   r   r   z/products/pricingc                   C   r   r   )r   r   updateBlankPricingr   r   r   r   r   pricing   r   r   z"/products/update-pricing-inventoryc                   C   r   r   )r   r   updateBlankInventoryPricingsr   r   r   r   r   r      r   r   z/purchase-ordersc                   C   s   t tjtS )N)r   r   sendPOr   r   r   r   r   r       s   r   z/blank-productsc                   C   r   r   )r   r   updateNextBlankr   r   r   r   r   updateNextBlankProducts$   r   r   N)flaskr   r   functions.Responser   functions.Suppliersr   r   r   r   __name__suppliersBlueprintrouter   r   r   r   postr   getr   r   r   r   r   <module>   s    





