@wshcmx/types
Version:
<h1 align="center">WT Types</h1> <div align="center"> Typescript типы для WebSoft HCM.
45 lines (43 loc) • 1.7 kB
TypeScript
type FactPaymentDocumentTopElem = XmlTopElem &
FileListBase &
CustomElemsBase & {
Doc: FactPaymentDocument;
/** Название */
name: XmlElem<string | null>;
/** Организация */
org_id: XmlElem<number | null, OrgCatalogDocumentTopElem>;
/** Клиент */
client_org_id: XmlElem<number | null, OrgCatalogDocumentTopElem>;
/** Организация-партнер */
agent_org_id: XmlElem<number | null, OrgCatalogDocumentTopElem>;
/** Юридическое лицо (клиент) */
client_legal: XmlElem<string | null>;
/** Юридическое лицо (поставщик) */
provider_legal: XmlElem<string | null>;
/** Юридическое лицо (партнер) */
agent_legal: XmlElem<string | null>;
/** Юридическое лицо (клиент) */
client_legal_name: XmlElem<string | null>;
/** Юридическое лицо (поставщик) */
provider_legal_name: XmlElem<string | null>;
/** Юридическое лицо (партнер) */
agent_legal_name: XmlElem<string | null>;
/** Валюта */
cost_currency_type_id: XmlElem<string | null, typeof lists.currency_types>;
/** Сумма */
cost_value: XmlElem<number | null>;
/** Дата */
date: XmlElem<Date | null>;
/** Счет */
expense_id: XmlElem<number | null, ExpenseCatalogDocumentTopElem>;
/** Комментарий */
comment: XmlElem<string | null>;
/** Информация об объекте */
doc_info: XmlElem<DocInfoBase | null>;
};
type FactPaymentDocument = XmlDocument & {
TopElem: FactPaymentDocumentTopElem;
fact_payment: FactPaymentDocumentTopElem;
OnInit(): void;
DocDesc(): string;
};