ch-admin-api-client-typescript
Version:
Openapi generated typescript-axios client for CloudHospital admin
114 lines • 2.22 kB
TypeScript
/**
* CloudHospital Admin Api
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
*
* The version of the OpenAPI document: 1
* Contact: developer@icloudhospital.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 { MentionType } from './mention-type';
import { MessageType } from './message-type';
import { User } from './user';
/**
*
* @export
* @interface TextMessage
*/
export interface TextMessage {
/**
*
* @type {number}
* @memberof TextMessage
*/
'messageId'?: number;
/**
*
* @type {MessageType}
* @memberof TextMessage
*/
'type'?: MessageType;
/**
*
* @type {string}
* @memberof TextMessage
*/
'customType'?: string | null;
/**
*
* @type {string}
* @memberof TextMessage
*/
'channelUrl'?: string | null;
/**
*
* @type {MentionType}
* @memberof TextMessage
*/
'mentionType'?: MentionType;
/**
*
* @type {Array<User>}
* @memberof TextMessage
*/
'mentionedUsers'?: Array<User> | null;
/**
*
* @type {boolean}
* @memberof TextMessage
*/
'isRemoved'?: boolean;
/**
*
* @type {string}
* @memberof TextMessage
*/
'message'?: string | null;
/**
*
* @type {string}
* @memberof TextMessage
*/
'data'?: string | null;
/**
*
* @type {Date}
* @memberof TextMessage
*/
'createdAt'?: Date;
/**
*
* @type {Date}
* @memberof TextMessage
*/
'updatedAt'?: Date | null;
/**
*
* @type {User}
* @memberof TextMessage
*/
'user'?: User;
/**
*
* @type {{ [key: string]: string; }}
* @memberof TextMessage
*/
'translations'?: {
[key: string]: string;
} | null;
/**
*
* @type {any}
* @memberof TextMessage
*/
'file'?: any;
/**
*
* @type {boolean}
* @memberof TextMessage
*/
'requireAuth'?: boolean;
}
//# sourceMappingURL=text-message.d.ts.map