package Ġcom . ws in z . network . items Ċ Ċ import Ġcom . ws in z . network . base . Base Response Ċ import Ġcom . ws in z . network . items . model . AddItem Body Ċ import Ġcom . ws in z . network . items . model . Delete Item Body Ċ import Ġcom . ws in z . network . items . model response . User Items Response Ċ import Ġio . reactivex . Single Ċ import Ġretrofit 2 . http . Body Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Header Ċ import Ġretrofit 2 . http . POST Ċ Ċ interface ĠItems Ret rofit Api Ġ{ ĊĊĠĠĠ Ġ@ GET (" getUser Items ") ĊĠĠĠ Ġfun ĠgetUser Items (@ Header (" AUTH _ TOKEN ") Ġauth Token : ĠString ): ĠSingle < User Items Response > ĊĊĠĠĠ Ġ@ POST (" delete Item ") ĊĠĠĠ Ġfun Ġdelete Item (@ Header (" AUTH _ TOKEN ") Ġauth Token : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Body Ġdelete Item Body : ĠDelete Item Body ): ĠSingle < Base Response > ĊĊĠĠĠ Ġ@ POST (" addItem ") ĊĠĠĠ Ġfun Ġadd Item (@ Header (" AUTH _ TOKEN ") Ġauth Token : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Body Ġbody : ĠAdd Item Body ): ĠSingle < Base Response > Ċ }