import { AxiosInstance } from "axios"; import { Sandbox, UpdateSandboxParams } from "../../../types/api/sandboxes"; export default class SandboxesApi { private client; private accountId; private sandboxesURL; constructor(client: AxiosInstance, accountId: number); /** * Creates a sandbox in a project. */ create(projectId: number, sandboxName: string): Promise; /** * Gets sandbox attributes by sandbox id. */ getSandboxAttributes(sandboxId: number): Promise; /** * Deletes a sandbox with all its emails. */ delete(sandboxId: number): Promise; /** * Updates sandbox name, sandbox email username. */ updateSandbox(sandboxId: number, params: UpdateSandboxParams): Promise; /** * Deletes all messages (emails) from sandbox. */ cleanSandbox(sandboxId: number): Promise; /** * Marks all messages in the sandbox as read. */ markAsRead(sandboxId: number): Promise; /** * Resets SMTP credentials of the sandbox. */ resetCredentials(sandboxId: number): Promise; /** * Turns the email address of the sandbox on/off. */ enableEmailAddress(sandboxId: number): Promise; /** * Resets username of email address per sandbox. */ resetEmailAddress(sandboxId: number): Promise; /** * Gets a list of sandboxes. */ getList(): Promise; } //# sourceMappingURL=Sandboxes.d.ts.map