/** * Whispir Platform API * Whispir Platform API for cross channel and multi channel communications. Documentation on each endpoint is available at https://developers.whispir.com. * * The version of the OpenAPI document: 1.0.0 * Contact: support@whispir.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from './models'; import { LinkInner } from './linkInner'; /** * Activities are all the individual changes, tasks, calls, messages and so on performed in a given company workspace. */ export class Activity { /** * The username of the person who performed this activity. This will usually be the API user invoking the creation. */ 'user'?: string; /** * The date and time of the activity in the format:dd/mm/yy hh:mm. This will be defaulted to the time at which this activity is created. */ 'time'?: string; /** * Specifies the action performed during this activity. */ 'action'?: Activity.ActionEnum; /** * The description of the activity. This is a free text that details about the activity. */ 'description'?: string; /** * Specifies the status of the activity. */ 'status'?: string; /** * Specifies the module to which this activity belongs to. */ 'module'?: Activity.ModuleEnum; /** * The workspace in which this activity is performed. This will usually be the API user’s default workspace */ 'workspaceName'?: string; /** * Fullname of the user */ 'fullname'?: string; /** * A [HATEOAS](https://en.wikipedia.org/wiki/HATEOAS) link object, describing all discoverable resources in relation to the original request. */ 'link'?: Array; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "user", "baseName": "user", "type": "string" }, { "name": "time", "baseName": "time", "type": "string" }, { "name": "action", "baseName": "action", "type": "Activity.ActionEnum" }, { "name": "description", "baseName": "description", "type": "string" }, { "name": "status", "baseName": "status", "type": "string" }, { "name": "module", "baseName": "module", "type": "Activity.ModuleEnum" }, { "name": "workspaceName", "baseName": "workspaceName", "type": "string" }, { "name": "fullname", "baseName": "fullname", "type": "string" }, { "name": "link", "baseName": "link", "type": "Array" } ]; static getAttributeTypeMap() { return Activity.attributeTypeMap; } } export namespace Activity { export enum ActionEnum { Create = 'Create', Update = 'Update', Move = 'Move', Copy = 'Copy', Draft = 'Draft', Send = 'Send', Modified = 'Modified', Delete = 'Delete', ContactImportFile = 'Contact Import File', Login = 'Login', Approve = 'Approve', Reject = 'Reject', Dispatch = 'Dispatch', Register = 'Register', Accept = 'Accept', Closed = 'Closed', Map = 'Map', UnMap = 'Un-map', Logout = 'Logout' } export enum ModuleEnum { System = 'System', Message = 'Message', ScheduledMessage = 'Scheduled Message', User = 'User', Contact = 'Contact', DistributionList = 'Distribution List', Template = 'Template', Workspace = 'Workspace', Event = 'Event', WebService = 'WebService', Settings = 'Settings', Conversation = 'Conversation', Gateway = 'Gateway', WorkspaceMapping = 'Workspace Mapping', Folders = 'Folders', Team = 'Team', Rss = 'RSS', ApiMapping = 'API Mapping', Asset = 'Asset', Instruction = 'Instruction' } }