@revxui/api-clients-ts
Version:
swagger client for @revxui/api-clients-ts
87 lines (86 loc) • 6.49 kB
TypeScript
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { ApiResponseObjectApiListResponseClickDestination } from '../model/apiResponseObjectApiListResponseClickDestination';
import { ApiResponseObjectClickDestination } from '../model/apiResponseObjectClickDestination';
import { ApiResponseObjectClickDestinationAutomationUrls } from '../model/apiResponseObjectClickDestinationAutomationUrls';
import { ClickDestination } from '../model/clickDestination';
import { SearchRequest } from '../model/searchRequest';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export declare class ClickDestinationControllerService {
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 click Destination
*
* @param clickDestination clickDestination
* @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.
*/
createClickDestinationUsingPOST(clickDestination: ClickDestination, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectClickDestination>;
createClickDestinationUsingPOST(clickDestination: ClickDestination, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectClickDestination>>;
createClickDestinationUsingPOST(clickDestination: ClickDestination, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectClickDestination>>;
/**
* Api to get all click destination
*
* @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.
*/
getAllClickDestinationUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectApiListResponseClickDestination>;
getAllClickDestinationUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectApiListResponseClickDestination>>;
getAllClickDestinationUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectApiListResponseClickDestination>>;
/**
* Api to get click destination 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.
*/
getClickDestinationByIdUsingGET(id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectClickDestination>;
getClickDestinationByIdUsingGET(id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectClickDestination>>;
getClickDestinationByIdUsingGET(id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectClickDestination>>;
/**
* getMmpParameters
*
* @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.
*/
getMmpParametersUsingGET(id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectClickDestinationAutomationUrls>;
getMmpParametersUsingGET(id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectClickDestinationAutomationUrls>>;
getMmpParametersUsingGET(id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectClickDestinationAutomationUrls>>;
/**
* Api to update Click Destination
*
* @param clickDestination clickDestination
* @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.
*/
updateClickDestinationUsingPOST(clickDestination: ClickDestination, id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectClickDestination>;
updateClickDestinationUsingPOST(clickDestination: ClickDestination, id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectClickDestination>>;
updateClickDestinationUsingPOST(clickDestination: ClickDestination, id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectClickDestination>>;
static ɵfac: i0.ɵɵFactoryDeclaration<ClickDestinationControllerService, [null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<ClickDestinationControllerService>;
}