UNPKG

@revxui/api-clients-ts

Version:

swagger client for @revxui/api-clients-ts

91 lines (90 loc) 6.65 kB
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ApiListResponseMacro } from '../model/apiListResponseMacro'; import { ApiResponseObjectApiListResponseCatalogFeed } from '../model/apiResponseObjectApiListResponseCatalogFeed'; import { ApiResponseObjectApiListResponseVariablesMappingDTO } from '../model/apiResponseObjectApiListResponseVariablesMappingDTO'; import { ApiResponseObjectCatalogFeed } from '../model/apiResponseObjectCatalogFeed'; import { ApiResponseObjectstring } from '../model/apiResponseObjectstring'; import { SearchRequest } from '../model/searchRequest'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class CatalogControllerService { 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; /** * get feed by feed Id * * @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. */ getByIdUsingGET2(id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectCatalogFeed>; getByIdUsingGET2(id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectCatalogFeed>>; getByIdUsingGET2(id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectCatalogFeed>>; /** * get List of catalog Feeds for given advertiserId * * @param advertiser_id advertiser_id * @param refresh refresh * @param reqId request id * @param search search * @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. */ getCatalogFeedsUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectApiListResponseCatalogFeed>; getCatalogFeedsUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectApiListResponseCatalogFeed>>; getCatalogFeedsUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectApiListResponseCatalogFeed>>; /** * get feed by advertiser Id * * @param advertiserId advertiserId * @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. */ getFeedsByAdvertiserIdUsingGET(advertiserId: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectstring>; getFeedsByAdvertiserIdUsingGET(advertiserId: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectstring>>; getFeedsByAdvertiserIdUsingGET(advertiserId: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectstring>>; /** * get List of catalog macros for given advertiserId * * @param advertiser_id advertiser_id * @param refresh refresh * @param reqId request id * @param search search * @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. */ getMacrosUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiListResponseMacro>; getMacrosUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiListResponseMacro>>; getMacrosUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiListResponseMacro>>; /** * get List of catalog Variable Mappings for given feedId * * @param feedId feedId * @param refresh refresh * @param reqId request id * @param search search * @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. */ getVariableMappingsUsingPOST(feedId: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectApiListResponseVariablesMappingDTO>; getVariableMappingsUsingPOST(feedId: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectApiListResponseVariablesMappingDTO>>; getVariableMappingsUsingPOST(feedId: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectApiListResponseVariablesMappingDTO>>; static ɵfac: i0.ɵɵFactoryDeclaration<CatalogControllerService, [null, { optional: true; }, { optional: true; }]>; static ɵprov: i0.ɵɵInjectableDeclaration<CatalogControllerService>; }