UNPKG

@revxui/api-clients-ts

Version:

swagger client for @revxui/api-clients-ts

112 lines (111 loc) 7.74 kB
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ApiResponseObjectApiListResponsePixel } from '../model/apiResponseObjectApiListResponsePixel'; import { ApiResponseObjectMaplongResponseMessage } from '../model/apiResponseObjectMaplongResponseMessage'; import { ApiResponseObjectPixel } from '../model/apiResponseObjectPixel'; import { ApiResponseObjectTag } from '../model/apiResponseObjectTag'; import { Pixel } from '../model/pixel'; import { SearchRequest } from '../model/searchRequest'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class PixelControllerService { 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; /** * activate Lists of pixel id * * @param commaSepratedIds commaSepratedIds * @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. */ activateUsingPOST(commaSepratedIds: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectMaplongResponseMessage>; activateUsingPOST(commaSepratedIds: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectMaplongResponseMessage>>; activateUsingPOST(commaSepratedIds: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectMaplongResponseMessage>>; /** * create pixel * * @param pixel pixel * @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. */ createUsingPOST1(pixel: Pixel, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectPixel>; createUsingPOST1(pixel: Pixel, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectPixel>>; createUsingPOST1(pixel: Pixel, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectPixel>>; /** * deactivate Lists of Pixel id * * @param commaSepratedIds commaSepratedIds * @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. */ deactivateUsingPOST(commaSepratedIds: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectMaplongResponseMessage>; deactivateUsingPOST(commaSepratedIds: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectMaplongResponseMessage>>; deactivateUsingPOST(commaSepratedIds: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectMaplongResponseMessage>>; /** * get pixel by 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. */ getByIdUsingGET5(id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectPixel>; getByIdUsingGET5(id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectPixel>>; getByIdUsingGET5(id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectPixel>>; /** * get tracking code * * @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. */ getTrackingCodeUsingGET(id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectTag>; getTrackingCodeUsingGET(id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectTag>>; getTrackingCodeUsingGET(id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectTag>>; /** * get/search pixels * * @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. */ searchPixelsUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectApiListResponsePixel>; searchPixelsUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectApiListResponsePixel>>; searchPixelsUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectApiListResponsePixel>>; /** * update Pixel * * @param id id * @param pixel pixel * @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. */ updateUsingPOST1(id: number, pixel: Pixel, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectPixel>; updateUsingPOST1(id: number, pixel: Pixel, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectPixel>>; updateUsingPOST1(id: number, pixel: Pixel, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectPixel>>; static ɵfac: i0.ɵɵFactoryDeclaration<PixelControllerService, [null, { optional: true; }, { optional: true; }]>; static ɵprov: i0.ɵɵInjectableDeclaration<PixelControllerService>; }