package Ġbr . com . z up academy . gio v anna . extern os . bcb Ċ Ċ import Ġio . mic ronaut . http . HttpResponse Ċ import Ġio . mic ronaut . http . MediaType Ċ import Ġio . mic ronaut . http . annotation .* Ċ import Ġio . mic ronaut . http . client . annotation . Client Ċ Ċ @ Client ("\ ${ bcb . pix . url }") Ċ interface ĠB cb Client Ġ{ ĊĊĠĠĠ Ġ@ Post ("/ api / v 1 / pix / keys ") ĊĠĠĠ Ġ@ Produces ( MediaType . APPLICATION _ XML ) ĊĠĠĠ Ġ@ Cons umes ( MediaType . APPLICATION _ XML ) ĊĠĠĠ Ġfun Ġinsert (@ Body Ġrequest : ĠCreate Pix Key Request ) Ġ: ĠHttpResponse < Create Pix Key Response > ĊĊĠĠĠ Ġ@ Delete ("/ api / v 1 / pix / keys /{ key }") ĊĠĠĠ Ġ@ Produces ( MediaType . APPLICATION _ XML ) ĊĠĠĠ Ġ@ Cons umes ( MediaType . APPLICATION _ XML ) ĊĠĠĠ Ġfun Ġdelete (@ PathVariable Ġkey : ĠString , Ġ@ Body Ġrequest : ĠDelete Pix Key Request ) Ġ: ĠHttpResponse < Delete Pix Key Response > ĊĊĠĠĠ Ġ@ Get ("/ api / v 1 / pix / keys /{ key }") ĊĠĠĠ Ġ@ Cons umes ( MediaType . APPLICATION _ XML ) ĊĠĠĠ Ġfun ĠfindBy KeyValue (@ PathVariable Ġkey : ĠString ) Ġ: ĠHttpResponse < Pix Key Details Response > Ċ Ċ } Ċ