@revxui/api-clients-ts
Version:
swagger client for @revxui/api-clients-ts
70 lines (69 loc) • 4.93 kB
TypeScript
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { ApiResponseObjectListUserPreferenceDTO } from '../model/apiResponseObjectListUserPreferenceDTO';
import { ApiResponseObjectMaplongResponseMessage } from '../model/apiResponseObjectMaplongResponseMessage';
import { ApiResponseObjectVoid } from '../model/apiResponseObjectVoid';
import { ApiResponseObjectstring } from '../model/apiResponseObjectstring';
import { UserPreferenceDTO } from '../model/userPreferenceDTO';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export declare class UserPreferenceControllerService {
protected httpClient: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* Api to create User Preference
*
* @param userPreferenceDto userPreferenceDto
* @param reqId request id
* @param token Auth Token
* @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.
*/
createUserPreferenceDataUsingPOST(userPreferenceDto: UserPreferenceDTO, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectVoid>;
createUserPreferenceDataUsingPOST(userPreferenceDto: UserPreferenceDTO, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectVoid>>;
createUserPreferenceDataUsingPOST(userPreferenceDto: UserPreferenceDTO, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectVoid>>;
/**
* API to delete User Preference
*
* @param id id
* @param reqId request id
* @param token Auth Token
* @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.
*/
deleteUserPreferenceDataUsingPOST(id: Array<number>, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectMaplongResponseMessage>;
deleteUserPreferenceDataUsingPOST(id: Array<number>, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectMaplongResponseMessage>>;
deleteUserPreferenceDataUsingPOST(id: Array<number>, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectMaplongResponseMessage>>;
/**
* API to fetch User Preference
*
* @param reqId request id
* @param token Auth Token
* @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.
*/
getUserPreferenceDataUsingGET(reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectListUserPreferenceDTO>;
getUserPreferenceDataUsingGET(reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectListUserPreferenceDTO>>;
getUserPreferenceDataUsingGET(reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectListUserPreferenceDTO>>;
/**
* API to fetch dashboard metrics or number of columns required for grid
*
* @param reqId request id
* @param token Auth Token
* @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.
*/
getUserPreferenceEntityUsingGET(reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectstring>;
getUserPreferenceEntityUsingGET(reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectstring>>;
getUserPreferenceEntityUsingGET(reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectstring>>;
static ɵfac: i0.ɵɵFactoryDeclaration<UserPreferenceControllerService, [null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<UserPreferenceControllerService>;
}