import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ContentGetContentById200Response } from '../model/contentGetContentById200Response'; import { ContentGetContentType200Response } from '../model/contentGetContentType200Response'; import { ContentRssNewsArticles200Response } from '../model/contentRssNewsArticles200Response'; import { ContentSearchContentWithText200Response } from '../model/contentSearchContentWithText200Response'; import { ContentSearchHelpArticles200Response } from '../model/contentSearchHelpArticles200Response'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class ContentService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * Returns a content item referenced by id * @param id * @param locale * @param head false * @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. */ contentGetContentById(id: number, locale: string, head?: boolean, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; contentGetContentById(id: number, locale: string, head?: boolean, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; contentGetContentById(id: number, locale: string, head?: boolean, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns the newest item that matches a given tag and Content Type. * @param locale * @param tag * @param type * @param head Not used. * @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. */ contentGetContentByTagAndType(locale: string, tag: string, type: string, head?: boolean, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; contentGetContentByTagAndType(locale: string, tag: string, type: string, head?: boolean, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; contentGetContentByTagAndType(locale: string, tag: string, type: string, head?: boolean, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets an object describing a particular variant of content. * @param type * @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. */ contentGetContentType(type: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; contentGetContentType(type: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; contentGetContentType(type: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns a JSON string response that is the RSS feed for news articles. * @param pageToken Zero-based pagination token for paging through result sets. * @param categoryfilter Optionally filter response to only include news items in a certain category. * @param includebody Optionally include full content body for each news item. * @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. */ contentRssNewsArticles(pageToken: string, categoryfilter?: string, includebody?: boolean, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; contentRssNewsArticles(pageToken: string, categoryfilter?: string, includebody?: boolean, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; contentRssNewsArticles(pageToken: string, categoryfilter?: string, includebody?: boolean, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Searches for Content Items that match the given Tag and Content Type. * @param locale * @param tag * @param type * @param currentpage Page number for the search results starting with page 1. * @param head Not used. * @param itemsperpage Not used. * @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. */ contentSearchContentByTagAndType(locale: string, tag: string, type: string, currentpage?: number, head?: boolean, itemsperpage?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; contentSearchContentByTagAndType(locale: string, tag: string, type: string, currentpage?: number, head?: boolean, itemsperpage?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; contentSearchContentByTagAndType(locale: string, tag: string, type: string, currentpage?: number, head?: boolean, itemsperpage?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets content based on querystring information passed in. Provides basic search and text search capabilities. * @param locale * @param ctype Content type tag: Help, News, etc. Supply multiple ctypes separated by space. * @param currentpage Page number for the search results, starting with page 1. * @param head Not used. * @param searchtext Word or phrase for the search. * @param source For analytics, hint at the part of the app that triggered the search. Optional. * @param tag Tag used on the content to be searched. * @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. */ contentSearchContentWithText(locale: string, ctype?: string, currentpage?: number, head?: boolean, searchtext?: string, source?: string, tag?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; contentSearchContentWithText(locale: string, ctype?: string, currentpage?: number, head?: boolean, searchtext?: string, source?: string, tag?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; contentSearchContentWithText(locale: string, ctype?: string, currentpage?: number, head?: boolean, searchtext?: string, source?: string, tag?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Search for Help Articles. * @param searchtext * @param size * @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. */ contentSearchHelpArticles(searchtext: string, size: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; contentSearchHelpArticles(searchtext: string, size: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; contentSearchHelpArticles(searchtext: string, size: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }