/** * Kogui * Kogui App * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Favorite } from '../model/favorite'; import { FavoriteType } from '../model/favoriteType'; import { Configuration } from '../configuration'; export declare class KoguiFavoriteService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * Elimna nueva entrada en la lista de favoritos. * Elimina Favorito * @param usuario El usuario de kogui. * @param type El tipo del favorito * @param id El id del favorito * @param xFcmtoken * @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. */ deleteKoguiByUsuarioFavoritosByTypeById(usuario: string, type: FavoriteType, id: string, xFcmtoken?: string, observe?: 'body', reportProgress?: boolean): Observable; deleteKoguiByUsuarioFavoritosByTypeById(usuario: string, type: FavoriteType, id: string, xFcmtoken?: string, observe?: 'response', reportProgress?: boolean): Observable>; deleteKoguiByUsuarioFavoritosByTypeById(usuario: string, type: FavoriteType, id: string, xFcmtoken?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Obtiene una lista de favoritos por tipo. * Get Favoritos por tipo. * @param usuario El usuario de kogui. * @param xFcmtoken * @param target Especifica que se desea obtener el target del favorito. * @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. */ getKoguiByUsuarioFavoritosAll(usuario: string, xFcmtoken?: string, target?: boolean, observe?: 'body', reportProgress?: boolean): Observable>; getKoguiByUsuarioFavoritosAll(usuario: string, xFcmtoken?: string, target?: boolean, observe?: 'response', reportProgress?: boolean): Observable>>; getKoguiByUsuarioFavoritosAll(usuario: string, xFcmtoken?: string, target?: boolean, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Obtiene una lista de favoritos por tipo. * Get Favoritos por tipo. * @param usuario El usuario de kogui. * @param type El tipo del favorito * @param xFcmtoken * @param target Especifica que se desea obtener el target del favorito. * @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. */ getKoguiByUsuarioFavoritosByType(usuario: string, type: FavoriteType, xFcmtoken?: string, target?: boolean, observe?: 'body', reportProgress?: boolean): Observable>; getKoguiByUsuarioFavoritosByType(usuario: string, type: FavoriteType, xFcmtoken?: string, target?: boolean, observe?: 'response', reportProgress?: boolean): Observable>>; getKoguiByUsuarioFavoritosByType(usuario: string, type: FavoriteType, xFcmtoken?: string, target?: boolean, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Obtiene informacion sobre un favorito. * Obtien informacion sobre un favorito. * @param usuario El usuario de kogui. * @param type El tipo del favorito * @param id El id del favorito * @param xFcmtoken * @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. */ getKoguiByUsuarioFavoritosByTypeById(usuario: string, type: FavoriteType, id: string, xFcmtoken?: string, observe?: 'body', reportProgress?: boolean): Observable; getKoguiByUsuarioFavoritosByTypeById(usuario: string, type: FavoriteType, id: string, xFcmtoken?: string, observe?: 'response', reportProgress?: boolean): Observable>; getKoguiByUsuarioFavoritosByTypeById(usuario: string, type: FavoriteType, id: string, xFcmtoken?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Crea una nueva entrada en la lista de favoritos. * Create Favorito * @param usuario El usuario de kogui. * @param type El tipo del favorito * @param id El id del favorito * @param xFcmtoken * @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. */ postKoguiByUsuarioFavoritosByTypeById(usuario: string, type: FavoriteType, id: string, xFcmtoken?: string, observe?: 'body', reportProgress?: boolean): Observable; postKoguiByUsuarioFavoritosByTypeById(usuario: string, type: FavoriteType, id: string, xFcmtoken?: string, observe?: 'response', reportProgress?: boolean): Observable>; postKoguiByUsuarioFavoritosByTypeById(usuario: string, type: FavoriteType, id: string, xFcmtoken?: string, observe?: 'events', reportProgress?: boolean): Observable>; }