import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { CompressionFormat } from '../model/compressionFormat'; import { EventType } from '../model/eventType'; import { EventsOrderBy } from '../model/eventsOrderBy'; import { ExportFileFormats } from '../model/exportFileFormats'; import { ExportLink } from '../model/exportLink'; import { ExportStatus } from '../model/exportStatus'; import { RecipientEvent } from '../model/recipientEvent'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class EventsService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * Load Email Events * Returns a log of delivery events for the specific transaction ID. Required Access Level: ViewReports * @param transactionid ID number of transaction * @param from Starting date for search in YYYY-MM-DDThh:mm:ss format. * @param to Ending date for search in YYYY-MM-DDThh:mm:ss format. * @param orderBy * @param limit Maximum number of returned items. * @param offset How many items should be returned ahead. * @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. */ eventsByTransactionidGet(transactionid: string, from?: string, to?: string, orderBy?: EventsOrderBy, limit?: number, offset?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; eventsByTransactionidGet(transactionid: string, from?: string, to?: string, orderBy?: EventsOrderBy, limit?: number, offset?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>>; eventsByTransactionidGet(transactionid: string, from?: string, to?: string, orderBy?: EventsOrderBy, limit?: number, offset?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>>; /** * Export Channel Events * Export delivery events log information to the specified file format. Required Access Level: Export * @param name Name of selected channel. * @param eventTypes Types of Events to return * @param from Starting date for search in YYYY-MM-DDThh:mm:ss format. * @param to Ending date for search in YYYY-MM-DDThh:mm:ss format. * @param fileFormat Format of the exported file * @param compressionFormat FileResponse compression format. None or Zip. * @param fileName Name of your file including extension. * @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. */ eventsChannelsByNameExportPost(name: string, eventTypes?: Array, from?: string, to?: string, fileFormat?: ExportFileFormats, compressionFormat?: CompressionFormat, fileName?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; eventsChannelsByNameExportPost(name: string, eventTypes?: Array, from?: string, to?: string, fileFormat?: ExportFileFormats, compressionFormat?: CompressionFormat, fileName?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; eventsChannelsByNameExportPost(name: string, eventTypes?: Array, from?: string, to?: string, fileFormat?: ExportFileFormats, compressionFormat?: CompressionFormat, fileName?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * Load Channel Events * Returns a log of delivery events filtered by specified parameters. Required Access Level: ViewReports * @param name Name of selected channel. * @param eventTypes Types of Events to return * @param from Starting date for search in YYYY-MM-DDThh:mm:ss format. * @param to Ending date for search in YYYY-MM-DDThh:mm:ss format. * @param orderBy * @param limit How many items to load. Maximum for this request is 1000 items * @param offset How many items should be returned ahead. * @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. */ eventsChannelsByNameGet(name: string, eventTypes?: Array, from?: string, to?: string, orderBy?: EventsOrderBy, limit?: number, offset?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; eventsChannelsByNameGet(name: string, eventTypes?: Array, from?: string, to?: string, orderBy?: EventsOrderBy, limit?: number, offset?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>>; eventsChannelsByNameGet(name: string, eventTypes?: Array, from?: string, to?: string, orderBy?: EventsOrderBy, limit?: number, offset?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>>; /** * Check Channel Export Status * Check the current status of the channel export. Required Access Level: Export * @param id ID of the exported file * @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. */ eventsChannelsExportByIdStatusGet(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; eventsChannelsExportByIdStatusGet(id: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; eventsChannelsExportByIdStatusGet(id: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * Check Export Status * Check the current status of the export. Required Access Level: Export * @param id ID of the exported file * @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. */ eventsExportByIdStatusGet(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; eventsExportByIdStatusGet(id: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; eventsExportByIdStatusGet(id: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * Export Events * Export delivery events log information to the specified file format. Required Access Level: Export * @param eventTypes Types of Events to return * @param from Starting date for search in YYYY-MM-DDThh:mm:ss format. * @param to Ending date for search in YYYY-MM-DDThh:mm:ss format. * @param fileFormat Format of the exported file * @param compressionFormat FileResponse compression format. None or Zip. * @param fileName Name of your file including extension. * @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. */ eventsExportPost(eventTypes?: Array, from?: string, to?: string, fileFormat?: ExportFileFormats, compressionFormat?: CompressionFormat, fileName?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; eventsExportPost(eventTypes?: Array, from?: string, to?: string, fileFormat?: ExportFileFormats, compressionFormat?: CompressionFormat, fileName?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; eventsExportPost(eventTypes?: Array, from?: string, to?: string, fileFormat?: ExportFileFormats, compressionFormat?: CompressionFormat, fileName?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * Load Events * Returns a log of delivery events filtered by specified parameters. Required Access Level: ViewReports * @param eventTypes Types of Events to return * @param from Starting date for search in YYYY-MM-DDThh:mm:ss format. * @param to Ending date for search in YYYY-MM-DDThh:mm:ss format. * @param orderBy * @param limit How many items to load. Maximum for this request is 1000 items * @param offset How many items should be returned ahead. * @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. */ eventsGet(eventTypes?: Array, from?: string, to?: string, orderBy?: EventsOrderBy, limit?: number, offset?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; eventsGet(eventTypes?: Array, from?: string, to?: string, orderBy?: EventsOrderBy, limit?: number, offset?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>>; eventsGet(eventTypes?: Array, from?: string, to?: string, orderBy?: EventsOrderBy, limit?: number, offset?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }