import 'package:dio/dio.dart' hide Headers;
import 'package:dio/dio.dart';
import 'package:location/data/api/request/query_track_request.dart';
import 'package:retrofit/retrofit.dart';

part 'atmob_stream_api.c.dart';

abstract class AtmobStreamApi {
  factory AtmobStreamApi(Dio dio,
      {String baseUrl, ParseErrorLogger? errorLogger}) = _AtmobStreamApi;

  @POST("/s/v1/chat/daily/summary")
  @DioResponseType(ResponseType.stream)
  Future<ResponseBody> dailySummary(@Body() QueryTrackRequest request);

  @POST("/s/v1/chat/daily/exception/analyse")
  @DioResponseType(ResponseType.stream)
  Future<ResponseBody> dailyExceptionAnalyse(@Body() QueryTrackRequest request);
}
