/** * Gravitee.io Portal Rest API * API dedicated to the devportal part of Gravitee * * The version of the OpenAPI document: 3.0.0 * Contact: contact@graviteesource.com * * 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 { ConfigurationIdentitiesResponse } from '../model/configurationIdentitiesResponse'; import { ConfigurationResponse } from '../model/configurationResponse'; import { Info } from '../model/info'; import { TicketInput } from '../model/ticketInput'; import { View } from '../model/view'; import { ViewsResponse } from '../model/viewsResponse'; import { Configuration } from '../configuration'; export interface CreateTicketRequestParams { TicketInput?: TicketInput; } export interface GetPictureByViewIdRequestParams { viewId: string; } export interface GetViewByViewIdRequestParams { viewId: string; } export interface GetViewsRequestParams { page?: number; size?: number; } export declare class PortalService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * Create a ticket. * Create a ticket. This ticket can aim : * a specific application * a specific API * the gravitee portal User must be authenticated to use this service. * @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. */ createTicket(requestParameters: CreateTicketRequestParams, observe?: 'body', reportProgress?: boolean): Observable; createTicket(requestParameters: CreateTicketRequestParams, observe?: 'response', reportProgress?: boolean): Observable>; createTicket(requestParameters: CreateTicketRequestParams, observe?: 'events', reportProgress?: boolean): Observable>; /** * Get picture of a View * Get the picture of a view. * @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. */ getPictureByViewId(requestParameters: GetPictureByViewIdRequestParams, observe?: 'body', reportProgress?: boolean): Observable; getPictureByViewId(requestParameters: GetPictureByViewIdRequestParams, observe?: 'response', reportProgress?: boolean): Observable>; getPictureByViewId(requestParameters: GetPictureByViewIdRequestParams, observe?: 'events', reportProgress?: boolean): Observable>; /** * Get portal configuration. * Get all the portal configuration from the platform settings. * @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. */ getPortalConfiguration(observe?: 'body', reportProgress?: boolean): Observable; getPortalConfiguration(observe?: 'response', reportProgress?: boolean): Observable>; getPortalConfiguration(observe?: 'events', reportProgress?: boolean): Observable>; /** * Get the identity provider list. * Get all the identity providers that can used in the portal. * @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. */ getPortalIdentityProviders(observe?: 'body', reportProgress?: boolean): Observable; getPortalIdentityProviders(observe?: 'response', reportProgress?: boolean): Observable>; getPortalIdentityProviders(observe?: 'events', reportProgress?: boolean): Observable>; /** * Get portal information. * Get some information about the portal (version, ...). * @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. */ getPortalInformation(observe?: 'body', reportProgress?: boolean): Observable; getPortalInformation(observe?: 'response', reportProgress?: boolean): Observable>; getPortalInformation(observe?: 'events', reportProgress?: boolean): Observable>; /** * Get a View * Get a specific view. * @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. */ getViewByViewId(requestParameters: GetViewByViewIdRequestParams, observe?: 'body', reportProgress?: boolean): Observable; getViewByViewId(requestParameters: GetViewByViewIdRequestParams, observe?: 'response', reportProgress?: boolean): Observable>; getViewByViewId(requestParameters: GetViewByViewIdRequestParams, observe?: 'events', reportProgress?: boolean): Observable>; /** * Get a View list * Get all views of the platform. * @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. */ getViews(requestParameters: GetViewsRequestParams, observe?: 'body', reportProgress?: boolean): Observable; getViews(requestParameters: GetViewsRequestParams, observe?: 'response', reportProgress?: boolean): Observable>; getViews(requestParameters: GetViewsRequestParams, observe?: 'events', reportProgress?: boolean): Observable>; }