package Ġcom . example . food delivery app . model . remote Ċ Ċ import Ġcom . example . food delivery app . model . entity . User Ċ import Ġcom . example . food delivery app . model . entity . meal add . Me al Add Request Ċ import Ġcom . example . food delivery app . model . entity . meal add . Me al Add Response Ċ import Ġcom . example . food delivery app . model . entity . order . Order Add Request Ċ import Ġcom . example . food delivery app . model . entity . order . Order Add Response Ċ import Ġcom . example . food delivery app . model . entity . order . Order Response Ċ import Ġcom . example . food delivery app . model . entity . profile . UserRequest Ċ import Ġcom . example . food delivery app . model . entity . profile . User Response Ċ import Ġcom . example . food delivery app . model . entity . restaurant add . Restaurant Add Request Ċ import Ġcom . example . food delivery app . model . entity . restaurant add . Restaurant Add Response Ċ import Ġretrofit 2 . Response Ċ import Ġretrofit 2 . http .* Ċ Ċ interface ĠAuth API Service Ġ{ ĊĊĠĠĠ Ġ@ POST (" a / restaurant ") ĊĠĠĠ Ġsuspend Ġfun Ġpost Restaurant (@ Body Ġrequest : ĠRest aurant Add Request ): ĠResponse < Restaurant Add Response > ĊĊĠĠĠ Ġ@ POST (" a / restaurant /{ restaurant Id }/ meal ") ĊĠĠĠ Ġsuspend Ġfun Ġpost Me al ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" restaurant Id ") Ġrestaurant Id : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Body Ġrequest : ĠMe al Add Request ĊĠĠĠ Ġ): ĠResponse < Me al Add Response > ĊĊĠĠĠ Ġ@ POST (" a / order ") ĊĠĠĠ Ġsuspend Ġfun Ġpost Order (@ Body Ġrequest : ĠOrder Add Request ): ĠResponse < Order Add Response > ĊĊĠĠĠ Ġ@ GET (" a / order ") ĊĠĠĠ Ġsuspend Ġfun Ġget Orders (): ĠResponse < Order Response > ĊĊĠĠĠ Ġ@ PUT (" auth / update Details ") ĊĠĠĠ Ġsuspend Ġfun Ġupdate User (@ Body Ġrequest Ġ: ĠUser Request ) Ġ: ĠResponse < User > ĊĊĠĠĠ Ġ@ GET (" auth / profile ") ĊĠĠĠ Ġsuspend Ġfun ĠgetUser () Ġ: ĠResponse < User Response > Ċ Ċ }