package Ġcom . da im ler . mb ingress kit . implementation . network . api Ċ Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . Http Header Constants . Companion . HEADER _ AUTHORIZATION Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . Http Header Constants . Companion . HEADER _ COUNTRY _ CODE Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . Http Header Constants . Companion . HEADER _ LOCAL E Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . adapt ion values . Api User Adapt ion Values Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . bio metric . User Bio metric Activation State Request Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . country . Country Response Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . pin . Change Pin Request Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . pin . Login UserRequest Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . pin . Login User Response Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . pin . Set Pin Request Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . profile fields . Profile Fields Data Response Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . unit preferences . User Unit Preferences Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . user . Api Verify UserRequest Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . user . create . Create UserRequest Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . user . create . Create User Response Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . user . fetch . User Token Response Ċ import Ġcom . da im ler . mb ingress kit . implementation . network . model . user . update . Update UserRequest Ċ import Ġokhttp 3 . RequestBody Ċ import Ġokhttp 3 . ResponseBody Ċ import Ġretrofit 2 . Response Ċ import Ġretrofit 2 . http . Body Ċ import Ġretrofit 2 . http . DELETE Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Header Ċ import Ġretrofit 2 . http . POST Ċ import Ġretrofit 2 . http . PUT Ċ import Ġretrofit 2 . http . Query Ċ Ċ internal Ġinterface ĠUser Api Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ VERSION Ġ= Ġ"/ v 1 " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ USERS Ġ= Ġ"/ user " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ LOGIN Ġ= Ġ"/ login " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ PIN Ġ= Ġ"/ pin " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ RESET Ġ= Ġ"/ reset " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ COUN TR IES Ġ= Ġ"/ countries " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ BIO METRIC Ġ= Ġ"/ bio metric " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ PROFILE PI CTURE Ġ= Ġ"/ profile picture " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ UNIT _ PREFER ENCES Ġ= Ġ"/ unit preferences " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ ADAP TION _ VALUES Ġ= Ġ"/ adapt ion Values " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ PROFILE Ġ= Ġ"/ profile " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ FIELDS Ġ= Ġ"/ fields " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ VER IFICATION Ġ= Ġ"/ verification " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠPATH _ SELF Ġ= Ġ" self " ĊĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠHEADER _ IF _ NONE _ MATCH Ġ= Ġ" If - None - Match " ĊĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠQUERY _ LOCAL E Ġ= Ġ" locale " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠQUERY _ COUNTRY _ CODE Ġ= Ġ" country Code " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠQUERY _ CURRENT _ PIN Ġ= Ġ" current Pin " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ POST ("$ PATH _ VERSION $ PATH _ LOGIN ") ĊĠĠĠ Ġsuspend Ġfun Ġsend Tan ( ĊĠĠĠĠĠĠĠ Ġ@ Body Ġbody : ĠLogin UserRequest ĊĠĠĠ Ġ): ĠResponse < Login User Response > ĊĊĠĠĠ Ġ@ POST ("$ PATH _ VERSION $ PATH _ USERS /$ PATH _ SELF $ PATH _ PIN ") ĊĠĠĠ Ġsuspend Ġfun Ġset Pin ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ AUTHORIZATION ) Ġjwt Token : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Body Ġpin Request : ĠSet Pin Request ĊĠĠĠ Ġ): ĠResponse < Unit > ĊĊĠĠĠ Ġ@ PUT ("$ PATH _ VERSION $ PATH _ USERS /$ PATH _ SELF $ PATH _ PIN ") ĊĠĠĠ Ġsuspend Ġfun Ġchange Pin ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ AUTHORIZATION ) Ġjwt Token : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Body Ġpin Request : ĠChange Pin Request ĊĠĠĠ Ġ): ĠResponse < Unit > ĊĊĠĠĠ Ġ@ DELETE ("$ PATH _ VERSION $ PATH _ USERS /$ PATH _ SELF $ PATH _ PIN ") ĊĠĠĠ Ġsuspend Ġfun Ġdelete Pin ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ AUTHORIZATION ) Ġjwt Token : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query ( QUERY _ CURRENT _ PIN ) Ġcurrent Pin : ĠString ĊĠĠĠ Ġ): ĠResponse < Unit > ĊĊĠĠĠ Ġ@ POST ("$ PATH _ VERSION $ PATH _ USERS $ PATH _ PIN $ PATH _ RESET ") ĊĠĠĠ Ġsuspend Ġfun Ġreset Pin ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ AUTHORIZATION ) Ġjwt Token : ĠString , ĊĠĠĠ Ġ): ĠResponse < Unit > ĊĊĠĠĠ Ġ@ GET ("$ PATH _ VERSION $ PATH _ USERS /$ PATH _ SELF ") ĊĠĠĠ Ġsuspend Ġfun Ġfetch UserData ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ AUTHORIZATION ) Ġjwt Token : ĠString , ĊĠĠĠ Ġ): ĠResponse < User Token Response > ĊĊĠĠĠ Ġ@ POST ("$ PATH _ VERSION $ PATH _ USERS ") ĊĠĠĠ Ġsuspend Ġfun Ġcreate User ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ LOCAL E ) Ġlocale : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Body Ġbody : ĠCreate UserRequest ĊĠĠĠ Ġ): ĠResponse < Create User Response > ĊĊĠĠĠ Ġ@ PUT ("$ PATH _ VERSION $ PATH _ USERS /$ PATH _ SELF ") ĊĠĠĠ Ġsuspend Ġfun Ġupdate User ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ AUTHORIZATION ) Ġjwt Token : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ COUNTRY _ CODE ) Ġcountry Code : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Body Ġbody : ĠUpdate UserRequest ĊĠĠĠ Ġ): ĠResponse < User Token Response > ĊĊĠĠĠ Ġ@ DELETE ("$ PATH _ VERSION $ PATH _ USERS /$ PATH _ SELF ") ĊĠĠĠ Ġsuspend Ġfun Ġdelete User ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ AUTHORIZATION ) Ġjwt Token : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ COUNTRY _ CODE ) Ġcountry Code : ĠString ĊĠĠĠ Ġ): ĠResponse < Unit > ĊĊĠĠĠ Ġ@ PUT ("$ PATH _ VERSION $ PATH _ USERS /$ PATH _ SELF $ PATH _ PROFILE PI CTURE ") ĊĠĠĠ Ġsuspend Ġfun Ġupdate Profile Picture ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ AUTHORIZATION ) Ġjwt Token : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Body Ġimage : ĠRequest Body ĊĠĠĠ Ġ): ĠResponse < Unit > ĊĊĠĠĠ Ġ@ GET ("$ PATH _ VERSION $ PATH _ USERS $ PATH _ PROFILE PI CTURE ") ĊĠĠĠ Ġsuspend Ġfun Ġfetch Profile Picture If Modified ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ AUTHORIZATION ) Ġjwt Token : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ IF _ NONE _ MATCH ) Ġe Tag : ĠString ? ĊĠĠĠ Ġ): ĠResponse < ResponseBody > ĊĊĠĠĠ Ġ@ GET ("$ PATH _ VERSION $ PATH _ COUN TR IES ") ĊĠĠĠ Ġsuspend Ġfun Ġfetch Countries ( ĊĠĠĠĠĠĠĠ Ġ@ Query ( QUERY _ LOCAL E ) Ġlocale : ĠString ĊĠĠĠ Ġ): ĠResponse < List < Country Response >> ĊĊĠĠĠ Ġ@ POST ("$ PATH _ VERSION $ PATH _ USERS $ PATH _ BIO METRIC ") ĊĠĠĠ Ġsuspend Ġfun Ġsend Bio metric Activation ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ AUTHORIZATION ) Ġjwt Token : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ COUNTRY _ CODE ) Ġcountry Code : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Body Ġbody : ĠUser Bio metric Activation State Request ĊĠĠĠ Ġ): ĠResponse < Unit > ĊĊĠĠĠ Ġ@ PUT ("$ PATH _ VERSION $ PATH _ USERS $ PATH _ UNIT _ PREFER ENCES ") ĊĠĠĠ Ġsuspend Ġfun Ġupdate Unit Preferences ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ AUTHORIZATION ) Ġjwt Token : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Body Ġbody : ĠUser Unit Preferences ĊĠĠĠ Ġ): ĠResponse < Unit > ĊĊĠĠĠ Ġ@ PUT ("$ PATH _ VERSION $ PATH _ USERS $ PATH _ ADAP TION _ VALUES ") ĊĠĠĠ Ġsuspend Ġfun Ġupdate Adapt ion Values ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ AUTHORIZATION ) Ġjwt Token : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Body Ġbody : ĠApi User Adapt ion Values ĊĠĠĠ Ġ): ĠResponse < Unit > ĊĊĠĠĠ Ġ@ GET ("$ PATH _ VERSION $ PATH _ PROFILE $ PATH _ FIELDS ") ĊĠĠĠ Ġsuspend Ġfun Ġfetch Profile Fields ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ LOCAL E ) Ġheader Locale : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query ( QUERY _ COUNTRY _ CODE ) Ġcountry Code : ĠString ĊĠĠĠ Ġ): ĠResponse < Profile Fields Data Response > ĊĊĠĠĠ Ġ@ POST ("$ PATH _ VERSION $ PATH _ USERS $ PATH _ VER IFICATION ") ĊĠĠĠ Ġsuspend Ġfun Ġverify User ( ĊĠĠĠĠĠĠĠ Ġ@ Header ( HEADER _ AUTHORIZATION ) Ġjwt Token : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Body Ġbody : ĠApi Verify UserRequest ĊĠĠĠ Ġ): ĠResponse < Unit > Ċ } Ċ