/* tslint:disable */ /* eslint-disable */ /** * tasks * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Represents a human task that can be assigned by one user to another. When a task is created, it\'s status is set to `OPEN`. */ export interface Task { /** * The key of the user this task is assigned to. */ assignedUserKey?: string; /** * The name of the user who created the task. */ createdByFullName?: string; /** * The key of the user that created this task. The value is not editable and it is populated at task creation with the current user key. */ createdByUserKey?: string; /** * The date when the task was created. */ creationDate?: string; /** * The description of the task. */ description?: string; /** * The due date when the task has to be completed. */ dueDate: string; /** * The encoded key of the task, which is auto generated, and must be unique. */ encodedKey?: string; /** * The ID of the task, which is uniquely generated for the task. */ id?: number; /** * The last date when the task was modified. */ lastModifiedDate?: string; /** * The status of this task, a new task always has an `OPEN` status. */ status?: TaskStatusEnum; /** * The individual linked to this task. If null, it means nobody is linked to this task. */ taskLinkKey?: string; /** * The type of the owner represented by the task link key. */ taskLinkType?: TaskTaskLinkTypeEnum; /** * The template key used to create the task. */ templateKey?: string; /** * The title of the task. */ title?: string; } export const TaskStatusEnum = { Open: 'OPEN', Completed: 'COMPLETED', } as const; export type TaskStatusEnum = (typeof TaskStatusEnum)[keyof typeof TaskStatusEnum]; export const TaskTaskLinkTypeEnum = { Client: 'CLIENT', Group: 'GROUP', LoanProduct: 'LOAN_PRODUCT', SavingsProduct: 'SAVINGS_PRODUCT', Centre: 'CENTRE', Branch: 'BRANCH', User: 'USER', LoanAccount: 'LOAN_ACCOUNT', DepositAccount: 'DEPOSIT_ACCOUNT', IdDocument: 'ID_DOCUMENT', LineOfCredit: 'LINE_OF_CREDIT', GlJournalEntry: 'GL_JOURNAL_ENTRY', } as const; export type TaskTaskLinkTypeEnum = (typeof TaskTaskLinkTypeEnum)[keyof typeof TaskTaskLinkTypeEnum];