package Ġhu . sz to mek . wh eres my buddy . data . api . http Ċ Ċ import Ġhu . sz to mek . wh eres my buddy . data . api . http . request .* Ċ import Ġhu . sz to mek . wh eres my buddy . data . api . http . response . Handle Connection Request Response Ċ import Ġhu . sz to mek . wh eres my buddy . data . api . http . response . Send Request Response Ċ import Ġio . reactivex . Comp letable Ċ import Ġio . reactivex . Single Ċ import Ġretrofit 2 . http . Body Ċ import Ġretrofit 2 . http . POST Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠI Remote Api Ġ{ ĊĊĠĠĠ Ġ@ POST (" create Connection Request ") ĊĠĠĠ Ġfun Ġsend Request (@ Body Ġrequest : ĠConnection Request ): ĠSingle < Send Request Response > ĊĠĠĠ Ġ@ POST (" cancel Connection Request ") ĊĠĠĠ Ġfun Ġcancel Request (@ Query (" requestId ") ĠrequestId : ĠString ): ĠComp letable ĊĠĠĠ Ġ@ POST (" accept Connection Request ") ĊĠĠĠ Ġfun Ġaccept Request (@ Query (" requestId ") ĠrequestId : ĠString ): ĠSingle < Handle Connection Request Response > ĊĠĠĠ Ġ@ POST (" decl ine Connection Request ") ĊĠĠĠ Ġfun Ġdecl ine Request (@ Query (" requestId ") ĠrequestId : ĠString ): ĠComp letable ĊĠĠĠ Ġ@ POST (" update Profile ") ĊĠĠĠ Ġfun Ġupdate Profile (@ Body Ġrequest : ĠUpdate Profile Request , Ġ@ Query (" profile Id ") Ġprofile Id : ĠString ): ĠComp letable ĊĠĠĠ Ġ@ POST (" request Location ") ĊĠĠĠ Ġfun Ġrequest Location (@ Body Ġrequest : ĠRequest Location Request ): ĠComp letable ĊĠĠĠ Ġ@ POST (" add Token ") ĊĠĠĠ Ġfun Ġupdate G cm Token (@ Body Ġrequest : ĠUpdate G cm Token Request ): ĠComp letable ĊĠĠĠ Ġ@ POST (" upload Location ") ĊĠĠĠ Ġfun Ġsend Location (@ Body Ġrequest : ĠUpload Location Request ): ĠComp letable ĊĠĠĠ Ġ@ POST (" disconnect ") ĊĠĠĠ Ġfun Ġun Friend (@ Body Ġrequest : ĠUn Friend Request ): ĠComp letable ĊĠĠĠ Ġ@ POST (" update Connection ") ĊĠĠĠ Ġfun Ġupdate Connection (@ Body Ġrequest : ĠUpdate Connection Request ): ĠComp letable Ċ Ċ }