import { APIResource } from "../../core/resource.js"; import * as AccountsAPI from "../accounts/accounts.js"; import { APIPromise } from "../../core/api-promise.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class Messages extends APIResource { /** * Redact a message */ redact(messageID: string, params: MessageRedactParams, options?: RequestOptions): APIPromise; } export interface MessageRedactResponse { data?: MessageRedactResponse.Data; request_id?: string; } export declare namespace MessageRedactResponse { interface Data { id?: string; author?: Data.Author; email_info?: Data.EmailInfo; file_urls?: Array; is_private?: boolean; message_html?: string; source?: string; thread_id?: string; timestamp?: string; } namespace Data { interface Author { avatar_url?: string; contact?: Author.Contact; name?: string; user?: AccountsAPI.UserReference; } namespace Author { interface Contact { id?: string; email?: string; } } interface EmailInfo { bcc_emails?: Array; cc_emails?: Array; from_email?: string; to_emails?: Array; } } } export interface MessageRedactParams { /** * The ID of the issue that the message belongs to */ id: string; } export declare namespace Messages { export { type MessageRedactResponse as MessageRedactResponse, type MessageRedactParams as MessageRedactParams, }; } //# sourceMappingURL=messages.d.ts.map