@wshcmx/types
Version:
<h1 align="center">WT Types</h1> <div align="center"> Typescript типы для WebSoft HCM.
53 lines (51 loc) • 1.83 kB
TypeScript
type StatisticDataDocumentTopElem = XmlTopElem & {
Doc: StatisticDataDocument;
id: XmlElem<number | null>;
code: XmlElem<string | null>;
name(): string;
/** Показатель */
statistic_rec_id: XmlElem<number | null, StatisticRecCatalogDocumentTopElem>;
/** Бюджетный период */
budget_period_id: XmlElem<number | null, BudgetPeriodCatalogDocumentTopElem>;
/** Тип объекта */
object_type: XmlElem<string | null, typeof common.exchange_object_types>;
/** Объект */
object_id: XmlElem<number | null>;
/** Название объекта */
object_name: XmlElem<string | null>;
/** Значение */
value: XmlElem<number | null>;
/** Строковое значение */
value_str: XmlElem<string | null>;
/** Значение в виде даты */
value_date: XmlElem<Date | null>;
/** Описание */
value_desc: XmlElem<string | null>;
/** Дата */
statistic_date: XmlElem<Date | null>;
/** Дополнительная информация */
additinal_info: XmlElem<string | null>;
/** Тип периода */
period_type: XmlElem<string | null, typeof common.perioditys>;
/** Минуты */
period_minute: XmlElem<number | null>;
/** Часы */
period_hour: XmlElem<number | null>;
/** День */
period_day: XmlElem<number | null>;
/** Месяц */
period_month: XmlElem<number | null>;
/** Квартал */
period_quarter: XmlElem<number | null>;
/** Год */
period_year: XmlElem<number | null>;
/** System flag */
flag: XmlElem<number | null>;
comment: XmlElem<string | null>;
doc_info: XmlElem<DocInfoBase | null>;
};
type StatisticDataDocument = XmlDocument & {
TopElem: StatisticDataDocumentTopElem;
statistic_data: StatisticDataDocumentTopElem;
DocDesc(): string;
};