/** * MailSlurp API * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It\'s designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository * * The version of the OpenAPI document: 6.5.2 * Contact: contact@mailslurp.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import { CreateTrackingPixelOptions, PageTrackingPixelProjection, TrackingPixelDto } from '../models'; export interface CreateTrackingPixelRequest { createTrackingPixelOptions: CreateTrackingPixelOptions; } export interface GetAllTrackingPixelsRequest { page?: number; size?: number; sort?: GetAllTrackingPixelsSortEnum; searchFilter?: string; since?: Date; before?: Date; } export interface GetTrackingPixelRequest { id: string; } /** * TrackingControllerApi - interface * * @export * @interface TrackingControllerApiInterface */ export interface TrackingControllerApiInterface { /** * Create a tracking pixel. A tracking pixel is an image that can be embedded in an email. When the email is viewed and the image is seen MailSlurp will mark the pixel as seen. Use tracking pixels to monitor email open events. You can receive open notifications via webhook or by fetching the pixel. * @summary Create tracking pixel * @param {CreateTrackingPixelOptions} createTrackingPixelOptions * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TrackingControllerApiInterface */ createTrackingPixelRaw(requestParameters: CreateTrackingPixelRequest): Promise>; /** * Create a tracking pixel. A tracking pixel is an image that can be embedded in an email. When the email is viewed and the image is seen MailSlurp will mark the pixel as seen. Use tracking pixels to monitor email open events. You can receive open notifications via webhook or by fetching the pixel. * Create tracking pixel */ createTrackingPixel(requestParameters: CreateTrackingPixelRequest): Promise; /** * List tracking pixels in paginated form * @summary Get tracking pixels * @param {number} [page] Optional page index in list pagination * @param {number} [size] Optional page size in list pagination * @param {'ASC' | 'DESC'} [sort] Optional createdAt sort direction ASC or DESC * @param {string} [searchFilter] Optional search filter * @param {Date} [since] Filter by created at after the given timestamp * @param {Date} [before] Filter by created at before the given timestamp * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TrackingControllerApiInterface */ getAllTrackingPixelsRaw(requestParameters: GetAllTrackingPixelsRequest): Promise>; /** * List tracking pixels in paginated form * Get tracking pixels */ getAllTrackingPixels(requestParameters: GetAllTrackingPixelsRequest): Promise; /** * * @summary Get pixel * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TrackingControllerApiInterface */ getTrackingPixelRaw(requestParameters: GetTrackingPixelRequest): Promise>; /** * Get pixel */ getTrackingPixel(requestParameters: GetTrackingPixelRequest): Promise; } /** * */ export declare class TrackingControllerApi extends runtime.BaseAPI implements TrackingControllerApiInterface { /** * Create a tracking pixel. A tracking pixel is an image that can be embedded in an email. When the email is viewed and the image is seen MailSlurp will mark the pixel as seen. Use tracking pixels to monitor email open events. You can receive open notifications via webhook or by fetching the pixel. * Create tracking pixel */ createTrackingPixelRaw(requestParameters: CreateTrackingPixelRequest): Promise>; /** * Create a tracking pixel. A tracking pixel is an image that can be embedded in an email. When the email is viewed and the image is seen MailSlurp will mark the pixel as seen. Use tracking pixels to monitor email open events. You can receive open notifications via webhook or by fetching the pixel. * Create tracking pixel */ createTrackingPixel(requestParameters: CreateTrackingPixelRequest): Promise; /** * List tracking pixels in paginated form * Get tracking pixels */ getAllTrackingPixelsRaw(requestParameters: GetAllTrackingPixelsRequest): Promise>; /** * List tracking pixels in paginated form * Get tracking pixels */ getAllTrackingPixels(requestParameters: GetAllTrackingPixelsRequest): Promise; /** * Get pixel */ getTrackingPixelRaw(requestParameters: GetTrackingPixelRequest): Promise>; /** * Get pixel */ getTrackingPixel(requestParameters: GetTrackingPixelRequest): Promise; } /** * @export * @enum {string} */ export declare enum GetAllTrackingPixelsSortEnum { ASC = "ASC", DESC = "DESC" }