/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { ActivityTypeEnum } from './ActivityTypeEnum'; export type Activity = { /** * Server-assigned id. */ readonly id: number; /** * Platform this Activity belongs to. Set automatically from your credentials; you cannot pass another Platform's id. */ readonly platform: number; /** * Short summary (e.g. 'Discovery call', 'Stage changed'). */ title: string; /** * Interaction kind. One of `call`, `meeting`, `email`, `note`, `task`, `lunch`, `deadline`. * * * `call` - Call * * `meeting` - Meeting * * `email` - Email * * `note` - Note * * `task` - Task * * `lunch` - Lunch * * `deadline` - Deadline */ type: ActivityTypeEnum; /** * Meeting location / call dial-in / venue. */ location?: string; /** * Free-text notes. */ comment?: string; /** * Scheduled start. Leave null for instant log entries. */ schedule_from?: string | null; /** * Scheduled end. */ schedule_to?: string | null; /** * Mark the Activity complete. Use `POST /activities/{id}/done/` to flip this and automatically stamp `done_at`. */ is_done?: boolean; /** * Read-only. Set automatically the first time `is_done` flips True. */ readonly done_at: string | null; /** * Id of the Deal this Activity is logged against. Either `deal` or `person` is required. */ deal?: number | null; /** * UUID of the Person this Activity is logged against. Either `deal` or `person` is required. */ person?: string | null; /** * Id of the user who scheduled / logged this Activity. Defaults to the calling user on create. */ owner?: number | null; /** * When to remind the owner. */ reminder_at?: string | null; /** * Marks that a reminder has been sent for this Activity; prevents the same reminder from firing twice. */ readonly reminder_sent: boolean; /** * Free-form JSON for Platform-defined attributes. */ metadata?: any; /** * Creation timestamp. */ readonly created_at: string; /** * Last-modified timestamp. */ readonly updated_at: string; };