package Ġcom . sensor berg . notifications . sdk . internal . backend . backends dk v 2 Ċ Ċ import Ġcom . sensor berg . notifications . sdk . internal . backend . backends dk v 2 . model . History Body Ċ import Ġcom . sensor berg . notifications . sdk . internal . backend . backends dk v 2 . model . Resolve Response Ċ import Ġretrofit 2 . Call Ċ import Ġretrofit 2 . http .* Ċ Ċ internal Ġinterface ĠBackend Api Ġ{ Ċ /* ĉ @ GET ("/ api / v 2 / sdk / gate ways /{ apiKey }/ inter actions . json ") Ċ ĉ @ Headers (" Cache - Control : Ġmax - age = 0 ") Ċ ĉ fun Ġupdate Beacon Layout (@ Path (" apiKey ") ĠapiKey : ĠString , Ġ@ Query Map Ġattributes : ĠSorted Map < String , ĠString >): ĠCall < Resolve Response > */ ĊĊ ĉ @ GET ("/ api / v 2 / sdk / gate ways /{ apiKey }/ inter actions . json ") Ċ ĉ @ Headers (" Cache - Control : Ġmax - age = 0 ") Ċ ĉ fun Ġget Triggers (@ Path (" apiKey ") ĠapiKey : ĠString , Ġ@ Query Map Ġattributes : ĠMap < String , ĠString >): ĠCall < Resolve Response > ĊĊ ĉ @ POST ("/ api / v 2 / sdk / gate ways /{ apiKey }/ analytics . json ") Ċ ĉ fun Ġpublish History (@ Path (" apiKey ") ĠapiKey : ĠString , Ġ@ Body Ġbody : ĠHistory Body ): ĠCall < Void > Ċ }