import { AxiosInstance } from "axios"; import { Inbox, UpdateInboxParams } from "../../../types/api/inboxes"; export default class InboxesApi { private client; private accountId; private inboxesURL; constructor(client: AxiosInstance, accountId: number); /** * Creates an inbox in a project. */ create(projectId: number, inboxName: string): Promise; /** * Gets inbox attributes by inbox id. */ getInboxAttributes(inboxId: number): Promise; /** * Deletes an inbox with all its emails. */ delete(inboxId: number): Promise; /** * Updates inbox name, inbox email username. */ updateInbox(inboxId: number, params: UpdateInboxParams): Promise; /** * Deletes all messages (emails) from inbox. */ cleanInbox(inboxId: number): Promise; /** * Marks all messages in the inbox as read. */ markAsRead(inboxId: number): Promise; /** * Resets SMTP credentials of the inbox. */ resetCredentials(inboxId: number): Promise; /** * Turns the email address of the inbox on/off. */ enableEmailAddress(inboxId: number): Promise; /** * Resets username of email address per inbox. */ resetEmailAddress(inboxId: number): Promise; /** * Gets a list of inboxes. */ getList(): Promise; } //# sourceMappingURL=Inboxes.d.ts.map