/** * Pipedrive API v2 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2.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. */ /** * * @export * @interface UpdateTaskRequest */ export interface UpdateTaskRequest { /** * The title of the task * @type {string} */ 'title'?: string; /** * The ID of the project this task is associated with * @type {number} */ 'project_id'?: number; /** * The ID of the parent task. Cannot be the ID of a task that is already a subtask. * @type {number} */ 'parent_task_id'?: number | null; /** * The description of the task * @type {string} */ 'description'?: string | null; /** * Whether the task is done or not. `0` = Not done, `1` = Done. * @type {number} */ 'done'?: UpdateTaskRequestDoneConst; /** * Whether the task is a milestone or not. `0` = Not a milestone, `1` = Milestone. * @type {number} */ 'milestone'?: UpdateTaskRequestMilestoneConst; /** * The due date of the task. Format: YYYY-MM-DD. * @type {string} */ 'due_date'?: string | null; /** * The start date of the task. Format: YYYY-MM-DD. * @type {string} */ 'start_date'?: string | null; /** * The ID of the user assigned to the task. When set, the `assignee_ids` field will be overwritten with this value. * @type {number} */ 'assignee_id'?: number | null; /** * The IDs of users assigned to the task. When set, the `assignee_id` field will be set to the first value in this array, or `null` if empty. * @type {Array} */ 'assignee_ids'?: Array; /** * The priority of the task * @type {number} */ 'priority'?: number | null; } export declare const UpdateTaskRequestDoneConst: { readonly NUMBER_0: 0; readonly NUMBER_1: 1; }; export type UpdateTaskRequestDoneConst = typeof UpdateTaskRequestDoneConst[keyof typeof UpdateTaskRequestDoneConst]; export declare const UpdateTaskRequestMilestoneConst: { readonly NUMBER_0: 0; readonly NUMBER_1: 1; }; export type UpdateTaskRequestMilestoneConst = typeof UpdateTaskRequestMilestoneConst[keyof typeof UpdateTaskRequestMilestoneConst];