/** * 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 { NoteDeal } from './note-deal'; import { NoteOrganization } from './note-organization'; import { NotePerson } from './note-person'; import { NoteProject } from './note-project'; import { NoteTask } from './note-task'; import { NoteUser } from './note-user'; /** * * @export * @interface Note */ export interface Note { /** * The ID of the note * @type {number} */ 'id'?: number; /** * Whether the note is active or deleted * @type {boolean} */ 'active_flag'?: boolean; /** * The creation date and time of the note * @type {string} */ 'add_time'?: string; /** * The content of the note in HTML format. Subject to sanitization on the back-end. * @type {string} */ 'content'?: string; /** * * @type {NoteDeal} */ 'deal'?: NoteDeal; /** * The ID of the lead the note is attached to * @type {string} */ 'lead_id'?: string; /** * The ID of the deal the note is attached to * @type {number} */ 'deal_id'?: number; /** * The ID of the user who last updated the note * @type {number} */ 'last_update_user_id'?: number; /** * The ID of the organization the note is attached to * @type {number} */ 'org_id'?: number; /** * * @type {NoteOrganization} */ 'organization'?: NoteOrganization; /** * * @type {NotePerson} */ 'person'?: NotePerson; /** * The ID of the person the note is attached to * @type {number} */ 'person_id'?: number; /** * The ID of the project the note is attached to * @type {number} */ 'project_id'?: number; /** * * @type {NoteProject} */ 'project'?: NoteProject; /** * The ID of the task the note is attached to * @type {number} */ 'task_id'?: number; /** * * @type {NoteTask} */ 'task'?: NoteTask; /** * If true, the results are filtered by note to deal pinning state * @type {boolean} */ 'pinned_to_deal_flag'?: boolean; /** * If true, the results are filtered by note to organization pinning state * @type {boolean} */ 'pinned_to_organization_flag'?: boolean; /** * If true, the results are filtered by note to person pinning state * @type {boolean} */ 'pinned_to_person_flag'?: boolean; /** * If true, the results are filtered by note to project pinning state * @type {boolean} */ 'pinned_to_project_flag'?: boolean; /** * If true, the results are filtered by note to task pinning state * @type {boolean} */ 'pinned_to_task_flag'?: boolean; /** * The last updated date and time of the note * @type {string} */ 'update_time'?: string; /** * * @type {NoteUser} */ 'user'?: NoteUser; /** * The ID of the note creator * @type {number} */ 'user_id'?: number; }