UNPKG

@mos-connection/helper

Version:

Helper functions for the MOS-connection library

22 lines 1.24 kB
import * as XMLBuilder from 'xmlbuilder'; import { IMOSObject, IMOSAck, IMOSObjectPath, IMOSExternalMetaData, AnyXMLValue } from '@mos-connection/model'; export declare namespace XMLMosAck { function fromXML(path: string, xml: AnyXMLValue, strict: boolean): IMOSAck; } export declare namespace XMLMosObjects { function fromXML(path: string, xml: AnyXMLValue, strict: boolean): IMOSObject[]; function toXML(xml: XMLBuilder.XMLElement, objs: IMOSObject[], strict: boolean): void; } export declare namespace XMLMosObject { function fromXML(path: string, xml: AnyXMLValue, strict: boolean): IMOSObject; function toXML(xml: XMLBuilder.XMLElement, obj: IMOSObject, strict: boolean): void; } export declare namespace XMLObjectPaths { function fromXML(path: string, xmlObjPaths: AnyXMLValue, strict: boolean): IMOSObjectPath[]; function toXML(xmlItem: XMLBuilder.XMLElement, paths: IMOSObjectPath[] | undefined, strict: boolean): void; } export declare namespace XMLMosExternalMetaData { function fromXML(path: string, xml: AnyXMLValue, strict: boolean): IMOSExternalMetaData[]; function toXML(xml: XMLBuilder.XMLElement, metadatas: IMOSExternalMetaData[]): void; } //# sourceMappingURL=xmlConversion.d.ts.map