@wshcmx/types
Version:
<h1 align="center">WT Types</h1> <div align="center"> Typescript типы для WebSoft HCM.
73 lines (70 loc) • 2.43 kB
TypeScript
interface CallDocumentParticipant {
person_id: XmlElem<number | null, CollaboratorCatalogDocumentTopElem>;
/**
* Статус
* @default active
*/
state_id: XmlElem<string | null, typeof common.conversation_participant_states>;
/** @default false */
has_entered: XmlElem<boolean | null>;
/** @default true */
read: XmlElem<boolean | null>;
type: XmlElem<string | null>;
}
type CallDocumentTopElem = XmlTopElem &
PersonFillingBase & {
Doc: CallDocument;
id: XmlElem<number | null>;
/** Код */
code: XmlElem<string | null>;
/** Название */
name: XmlElem<string | null>;
/** Разговор */
conversation_id: XmlElem<number | null, ConversationCatalogDocumentTopElem>;
/** Создатель звонка */
person_id: XmlElem<number | null, CollaboratorCatalogDocumentTopElem>;
/** Дата начала */
start_date: XmlElem<Date | null>;
/** Дата завершения */
end_date: XmlElem<Date | null>;
/** Планируемая дата начала */
plan_start_date: XmlElem<Date | null>;
/** Планируемая дата завершения */
plan_end_date: XmlElem<Date | null>;
/** Продолжительность */
duration: XmlElem<number | null>;
/**
* Статус
* @default active
*/
state_id: XmlElem<string | null, typeof common.event_status_types>;
/** Файл с расшифровкой разговора */
recognition_file_id: XmlElem<number | null, ResourceCatalogDocumentTopElem>;
/** Участники звонка */
participants: XmlMultiElem<CallDocumentParticipant | null>;
/**
* Разрешить записывать
* @default false
*/
allow_write: XmlElem<boolean>;
/**
* Разрешить расшифровывать
* @default false
*/
allow_recognition: XmlElem<boolean>;
/**
* Разрешить автоматическое формирование резюме
* @default false
*/
allow_summary: XmlElem<boolean>;
/** Все входившие участники */
entered_participants_id: XmlMultiElemObject<number | null, CollaboratorCatalogDocumentTopElem>;
/** Комментарий */
comment: XmlElem<string | null>;
/** Информация об объекте */
doc_info: XmlElem<DocInfoBase | null>;
};
type CallDocument = XmlDocument & {
TopElem: CallDocumentTopElem;
call: CallDocumentTopElem;
};