package com.enterprise.mdm.data.api import retrofit2.Response import retrofit2.http.Body import retrofit2.http.POST import retrofit2.http.GET interface ApiService { @POST("login.php") suspend fun login(@Body body: LoginRequest): Response @POST("register_device.php") suspend fun registerDevice(@Body body: RegisterDeviceRequest): Response @POST("heartbeat.php") suspend fun heartbeat(): Response @POST("sync_device.php") suspend fun sync(@Body body: SyncRequest): Response @POST("location_update.php") suspend fun updateLocation(@Body body: LocationRequest): Response @GET("command_fetch.php") suspend fun fetchCommands(): Response @POST("command_response.php") suspend fun respondCommand(@Body body: CommandResponseRequest): Response }