import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ScoreByTypeEnumApi } from '../model/scoreByTypeEnum'; import { ScoreFillValuesEnumApi } from '../model/scoreFillValuesEnum'; import { ScoreTimeframeEnumApi } from '../model/scoreTimeframeEnum'; import { ScoreTypeEnumApi } from '../model/scoreTypeEnum'; import { ScoresResponseDtoResponseApi } from '../model/scoresResponseDtoResponse'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export interface GetScoresRequestParams { /** The type of score to filter on. */ type: ScoreTypeEnumApi; /** The timeframe to group scores by. */ timeframe: ScoreTimeframeEnumApi; /** The date to filter scores from guesses created after the date. The format of the datetime should be ISO 8601 with timezone: YYYY-MM-DDTHH:mm:ss.sssZ. Example: 2023-02-27T21:42:00.000Z. */ dateAfter: Date; /** The date to filter scores from guesses created before the date. The format of the datetime should be ISO 8601 with timezone: YYYY-MM-DDTHH:mm:ss.sssZ. Example: 2023-02-27T21:42:00.000Z. */ dateBefore: Date; /** An optional array of IDs to filter on. */ ids?: string; /** The type of score to filter by. */ scoredBy?: ScoreByTypeEnumApi; sortBy?: string; /** params to choose or not to fill the gaps in scores with a value. The value can be 0 or null or false. if not provided the dates with no scores will be filled with 0. if set to false the dates with no scores will not be included. */ fillValues?: ScoreFillValuesEnumApi; /** Unique identifier of the company. */ companyId?: string; /** The ID of the entity to filter by. */ scoredById?: string; /** The minimum total count of scores to filter by. Example 10 */ countGreaterThan?: number; } export declare class ScoresApiService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * Get scores by types * Gets the scores for the specified query and company ID. For the scores on programs, all the program-run will be aggregated into one score. this means that if a program has 3 runs, the score will be the average of the 3 runs. the totalcount will be the sum of the 3 runs and the validcount will be the number of valid guesses within the 3 runs. * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getScores(requestParameters: GetScoresRequestParams, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; getScores(requestParameters: GetScoresRequestParams, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; getScores(requestParameters: GetScoresRequestParams, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }