/* Ċ Ġ* ĠCopyright Ġ( C ) Ġ 2 0 1 7 / 2 0 1 9 Ġe - voy age urs Ġtechnologies Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ Ċ package Ġai . to ck . nlp . api . client Ċ Ċ import Ġai . to ck . nlp . api . client . model . N lp Query Ċ import Ġai . to ck . nlp . api . client . model . N lp Result Ċ import Ġai . to ck . nlp . api . client . model . dump . Application Definition Ċ import Ġai . to ck . nlp . api . client . model . dump . Application Dump Ċ import Ġai . to ck . nlp . api . client . model . dump . Create Application Query Ċ import Ġai . to ck . nlp . api . client . model . dump . Intent Definition Ċ import Ġai . to ck . nlp . api . client . model . dump . Sent ences Dump Ċ import Ġai . to ck . nlp . api . client . model . evaluation . Entity Evaluation Query Ċ import Ġai . to ck . nlp . api . client . model . evaluation . Entity Evaluation Result Ċ import Ġai . to ck . nlp . api . client . model . merge . Values Merge Query Ċ import Ġai . to ck . nlp . api . client . model . merge . Values Merge Result Ċ import Ġai . to ck . nlp . api . client . model . monitoring . Mark As Unknown Query Ċ import Ġokhttp 3 . Multipart Body Ċ import Ġokhttp 3 . ResponseBody Ċ import Ġretrofit 2 . Call Ċ import Ġretrofit 2 . http . Body Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Multipart Ċ import Ġretrofit 2 . http . POST Ċ import Ġretrofit 2 . http . Part Ċ import Ġretrofit 2 . http . Query Ċ Ċ internal Ġdata Ġclass ĠBoolean Response ( val Ġsuccess : ĠBoolean Ġ= Ġtrue ) Ċ Ċ /** Ċ Ġ* Ċ Ġ*/ Ċ internal Ġinterface ĠN lp Service Ġ{ ĊĊĠĠĠ Ġ@ POST (" parse ") ĊĠĠĠ Ġfun Ġparse (@ Body Ġquery : ĠN lp Query ): ĠCall < N lp Result > ĊĊĠĠĠ Ġ@ POST (" evaluate ") ĊĠĠĠ Ġfun Ġevaluate Entities (@ Body Ġquery : ĠEntity Evaluation Query ): ĠCall < Entity Evaluation Result > ĊĊĠĠĠ Ġ@ POST (" merge ") ĊĠĠĠ Ġfun Ġmerge Values (@ Body Ġquery : ĠValues Merge Query ): ĠCall < Values Merge Result > ĊĊĠĠĠ Ġ@ POST (" unknown ") ĊĠĠĠ Ġfun Ġmark As Unknown (@ Body Ġquery : ĠMark As Unknown Query ): ĠCall < ResponseBody > ĊĊĠĠĠ Ġ@ GET (" int ents ") ĊĠĠĠ Ġfun Ġget Intent sBy Namespace And Name (@ Query (" namespace ") Ġnamespace : ĠString , Ġ@ Query (" name ") Ġname : ĠString ): ĠCall < List < Intent Definition >> ĊĊĠĠĠ Ġ@ GET (" application ") ĊĠĠĠ Ġfun Ġget Application By Namespace And Name (@ Query (" namespace ") Ġnamespace : ĠString , Ġ@ Query (" name ") Ġname : ĠString ): ĠCall < Application Definition > ĊĊĠĠĠ Ġ@ POST (" application / create ") ĊĠĠĠ Ġfun Ġcreate Application (@ Body Ġquery : ĠCreate Application Query ): ĠCall < Application Definition ?> ĊĊĠĠĠ Ġ@ Multipart ĊĠĠĠ Ġ@ POST (" dump / import ") ĊĠĠĠ Ġfun Ġimport N lp Dump (@ Part Ġdump : ĠMultip art Body . Part ): ĠCall < Boolean Response > ĊĊĠĠĠ Ġ@ POST (" dump / import / plain ") ĊĠĠĠ Ġfun Ġimport N lp Plain Dump (@ Body Ġdump : ĠApplication Dump ): ĠCall < Boolean Response > ĊĊĠĠĠ Ġ@ Multipart ĊĠĠĠ Ġ@ POST (" dump / import / sentences ") ĊĠĠĠ Ġfun Ġimport N lp Sent ences Dump (@ Part Ġdump : ĠMultip art Body . Part ): ĠCall < Boolean Response > ĊĊĠĠĠ Ġ@ POST (" dump / import / sentences / plain ") ĊĠĠĠ Ġfun Ġimport N lp Plain Sent ences Dump (@ Body Ġdump : ĠSent ences Dump ): ĠCall < Boolean Response > ĊĊĠĠĠ Ġ@ GET (" health check ") ĊĠĠĠ Ġfun Ġhealth check (): ĠCall < ResponseBody > Ċ Ċ }