/** * Pipedrive API v1 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { MailThreadAllOf1Parties } from './mail-thread-all-of1-parties'; /** * * @export * @interface MailThreadAllOf1 */ export interface MailThreadAllOf1 { /** * * @type {MailThreadAllOf1Parties} */ 'parties'?: MailThreadAllOf1Parties; /** * Parties of the drafted mail thread * @type {Array} */ 'drafts_parties'?: Array; /** * Folders in which messages from thread are being stored * @type {Array} */ 'folders'?: Array; /** * Version * @type {number} */ 'version'?: number; /** * A snippet from a draft * @type {string} */ 'snippet_draft'?: string | null; /** * A snippet from a message sent * @type {string} */ 'snippet_sent'?: string; /** * An amount of messages * @type {number} */ 'message_count'?: number; /** * * @type {number} */ 'has_draft_flag'?: MailThreadAllOf1HasDraftFlagConst; /** * * @type {number} */ 'has_sent_flag'?: MailThreadAllOf1HasSentFlagConst; /** * * @type {number} */ 'archived_flag'?: MailThreadAllOf1ArchivedFlagConst; /** * * @type {number} */ 'shared_flag'?: MailThreadAllOf1SharedFlagConst; /** * * @type {number} */ 'external_deleted_flag'?: MailThreadAllOf1ExternalDeletedFlagConst; /** * * @type {number} */ 'first_message_to_me_flag'?: MailThreadAllOf1FirstMessageToMeFlagConst; /** * Last message timestamp * @type {string} */ 'last_message_timestamp'?: string; /** * The time when the mail thread has had the first message received or created * @type {string} */ 'first_message_timestamp'?: string; /** * The last time when the mail thread has had a message sent * @type {string} */ 'last_message_sent_timestamp'?: string | null; /** * The last time when the mail thread has had a message received * @type {string} */ 'last_message_received_timestamp'?: string; /** * The time when the mail thread was inserted to database * @type {string} */ 'add_time'?: string; /** * The time when the mail thread was updated in database received * @type {string} */ 'update_time'?: string; /** * The ID of the deal * @type {number} */ 'deal_id'?: number | null; /** * Status of the deal * @type {string} */ 'deal_status'?: string | null; /** * The ID of the lead * @type {string} */ 'lead_id'?: string | null; /** * * @type {number} */ 'all_messages_sent_flag'?: MailThreadAllOf1AllMessagesSentFlagConst; } export declare const MailThreadAllOf1HasDraftFlagConst: { readonly NUMBER_0: 0; readonly NUMBER_1: 1; }; export type MailThreadAllOf1HasDraftFlagConst = typeof MailThreadAllOf1HasDraftFlagConst[keyof typeof MailThreadAllOf1HasDraftFlagConst]; export declare const MailThreadAllOf1HasSentFlagConst: { readonly NUMBER_0: 0; readonly NUMBER_1: 1; }; export type MailThreadAllOf1HasSentFlagConst = typeof MailThreadAllOf1HasSentFlagConst[keyof typeof MailThreadAllOf1HasSentFlagConst]; export declare const MailThreadAllOf1ArchivedFlagConst: { readonly NUMBER_0: 0; readonly NUMBER_1: 1; }; export type MailThreadAllOf1ArchivedFlagConst = typeof MailThreadAllOf1ArchivedFlagConst[keyof typeof MailThreadAllOf1ArchivedFlagConst]; export declare const MailThreadAllOf1SharedFlagConst: { readonly NUMBER_0: 0; readonly NUMBER_1: 1; }; export type MailThreadAllOf1SharedFlagConst = typeof MailThreadAllOf1SharedFlagConst[keyof typeof MailThreadAllOf1SharedFlagConst]; export declare const MailThreadAllOf1ExternalDeletedFlagConst: { readonly NUMBER_0: 0; readonly NUMBER_1: 1; }; export type MailThreadAllOf1ExternalDeletedFlagConst = typeof MailThreadAllOf1ExternalDeletedFlagConst[keyof typeof MailThreadAllOf1ExternalDeletedFlagConst]; export declare const MailThreadAllOf1FirstMessageToMeFlagConst: { readonly NUMBER_0: 0; readonly NUMBER_1: 1; }; export type MailThreadAllOf1FirstMessageToMeFlagConst = typeof MailThreadAllOf1FirstMessageToMeFlagConst[keyof typeof MailThreadAllOf1FirstMessageToMeFlagConst]; export declare const MailThreadAllOf1AllMessagesSentFlagConst: { readonly NUMBER_0: 0; readonly NUMBER_1: 1; }; export type MailThreadAllOf1AllMessagesSentFlagConst = typeof MailThreadAllOf1AllMessagesSentFlagConst[keyof typeof MailThreadAllOf1AllMessagesSentFlagConst];