
    Hjh                         d dl mZmZ d dlmZ d dlmZ d dlmZ d dl	m
Z
 d dlmZ  e       Zej                  dee
   dg	       ee      fd
efd       Zy)    )	APIRouterDepends)select)SessionLocal)x2_aramax_track_ids)AramaxTrackItem)verify_jwt_tokenz/aramax-orderszAramax Orders)response_modeltagsuserc                     t               }	 t        t              }|j                  |      j	                         j                         }||j                          S # |j                          w xY w)zN
    Protected: Returns Aramax tracking data. Requires a valid JWT token.
    )r   r   r   executemappingsallclose)r   dbstmtresults       :C:\Python312\panapi\aramax_api\app\routes\aramax_routes.pyget_aramax_ordersr   
   sQ    
 
B)*D!**,002


s   =A A,N)fastapir   r   
sqlalchemyr   app.database.connectionr   app.models.aramaxr   app.schemas.aramax_schemar   app.services.token_helperr	   routergetliststrr        r   <module>r#      sY    &  0 1 5 6	T/-B/IZ[")*:"; 
C 
 \
r"   