opcjs-base 0.1.20-alpha → 0.1.26-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1392,6 +1392,9 @@ function StatusCodeGetFlagBits(statusCode) {
1392
1392
  LimitConstant: limitBits === 3
1393
1393
  };
1394
1394
  }
1395
+ function StatusCodeIs(statusCode, expected) {
1396
+ return (statusCode & 4294901760) === expected;
1397
+ }
1395
1398
 
1396
1399
  // src/types/dataValue.ts
1397
1400
  var DataValue = class _DataValue {
@@ -1622,6 +1625,249 @@ function encodeDataValue(writer, value, encoder) {
1622
1625
  }
1623
1626
  }
1624
1627
 
1628
+ // src/types/xmlElement.ts
1629
+ var XmlElement = class _XmlElement {
1630
+ /**
1631
+ * The XML string content
1632
+ */
1633
+ content;
1634
+ /**
1635
+ * Create a new XmlElement
1636
+ *
1637
+ * @param content - The XML string content
1638
+ */
1639
+ constructor(content = "") {
1640
+ this.content = content;
1641
+ }
1642
+ /**
1643
+ * Get the XML string content
1644
+ *
1645
+ * @returns The XML string
1646
+ */
1647
+ toString() {
1648
+ return this.content;
1649
+ }
1650
+ /**
1651
+ * Get the length of the XML string
1652
+ *
1653
+ * @returns The number of characters
1654
+ */
1655
+ get length() {
1656
+ return this.content.length;
1657
+ }
1658
+ /**
1659
+ * Escape special XML characters in text content
1660
+ *
1661
+ * @param text - Text to escape
1662
+ * @returns Escaped text safe for use in XML
1663
+ *
1664
+ * @example
1665
+ * ```typescript
1666
+ * XmlElement.escape("Hello & <World>"); // "Hello &amp; &lt;World&gt;"
1667
+ * ```
1668
+ */
1669
+ static escape(text) {
1670
+ return text.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
1671
+ }
1672
+ /**
1673
+ * Unescape XML entities to plain text
1674
+ *
1675
+ * @param xml - XML text with entities
1676
+ * @returns Unescaped text
1677
+ *
1678
+ * @example
1679
+ * ```typescript
1680
+ * XmlElement.unescape("Hello &amp; &lt;World&gt;"); // "Hello & <World>"
1681
+ * ```
1682
+ */
1683
+ static unescape(xml) {
1684
+ return xml.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, '"').replace(/&apos;/g, "'").replace(/&amp;/g, "&");
1685
+ }
1686
+ /**
1687
+ * Create a simple XML element
1688
+ *
1689
+ * @param tagName - The XML tag name
1690
+ * @param content - The text content (will be escaped)
1691
+ * @param attributes - Optional attributes object
1692
+ * @returns XmlElement
1693
+ *
1694
+ * @example
1695
+ * ```typescript
1696
+ * const xml = XmlElement.create("Temperature", "25.5", { unit: "C" });
1697
+ * // "<Temperature unit=\"C\">25.5</Temperature>"
1698
+ * ```
1699
+ */
1700
+ static create(tagName, content = "", attributes) {
1701
+ let attrStr = "";
1702
+ if (attributes) {
1703
+ attrStr = Object.entries(attributes).map(([key, value]) => ` ${key}="${_XmlElement.escape(value)}"`).join("");
1704
+ }
1705
+ const escapedContent = _XmlElement.escape(content);
1706
+ const xmlString = `<${tagName}${attrStr}>${escapedContent}</${tagName}>`;
1707
+ return new _XmlElement(xmlString);
1708
+ }
1709
+ /**
1710
+ * Create an empty XmlElement
1711
+ *
1712
+ * @returns Empty XmlElement
1713
+ */
1714
+ static empty() {
1715
+ return new _XmlElement("");
1716
+ }
1717
+ /**
1718
+ * Check equality with another XmlElement
1719
+ *
1720
+ * @param other - The other XmlElement
1721
+ * @returns true if both contain the same XML string
1722
+ */
1723
+ equals(other) {
1724
+ return this.content === other.content;
1725
+ }
1726
+ };
1727
+
1728
+ // src/types/diagnosticInfo.ts
1729
+ var DiagnosticInfo = class _DiagnosticInfo {
1730
+ /**
1731
+ * Index into a string table for the symbolic identifier.
1732
+ * The symbolic id is used to identify an error condition in a vendor-specific way.
1733
+ */
1734
+ symbolicId;
1735
+ /**
1736
+ * Index into a string table for the namespace URI.
1737
+ * Identifies the namespace that defines the symbolicId.
1738
+ */
1739
+ namespaceUri;
1740
+ /**
1741
+ * Index into a string table for the localized text.
1742
+ * Contains a human-readable description of the error.
1743
+ */
1744
+ localizedText;
1745
+ /**
1746
+ * Index into a string table for the locale.
1747
+ * Identifies the locale used for the localizedText.
1748
+ */
1749
+ locale;
1750
+ /**
1751
+ * Additional debugging/diagnostic information.
1752
+ * Not intended for display to end users.
1753
+ */
1754
+ additionalInfo;
1755
+ /**
1756
+ * StatusCode from a nested operation.
1757
+ * Used when the diagnostic info relates to a nested operation result.
1758
+ */
1759
+ innerStatusCode;
1760
+ /**
1761
+ * Nested DiagnosticInfo.
1762
+ * Allows for recursive diagnostic information structures.
1763
+ */
1764
+ innerDiagnosticInfo;
1765
+ /**
1766
+ * Creates a new DiagnosticInfo.
1767
+ *
1768
+ * @param options - Optional diagnostic information fields
1769
+ */
1770
+ constructor(options = {}) {
1771
+ this.symbolicId = options.symbolicId;
1772
+ this.namespaceUri = options.namespaceUri;
1773
+ this.localizedText = options.localizedText;
1774
+ this.locale = options.locale;
1775
+ this.additionalInfo = options.additionalInfo;
1776
+ this.innerStatusCode = options.innerStatusCode;
1777
+ this.innerDiagnosticInfo = options.innerDiagnosticInfo;
1778
+ }
1779
+ /**
1780
+ * Creates an empty DiagnosticInfo with no fields set.
1781
+ *
1782
+ * @returns A new DiagnosticInfo with all fields undefined
1783
+ */
1784
+ static createEmpty() {
1785
+ return new _DiagnosticInfo({});
1786
+ }
1787
+ /**
1788
+ * Creates a DiagnosticInfo with just additional info text.
1789
+ *
1790
+ * @param additionalInfo - The diagnostic information text
1791
+ * @returns A new DiagnosticInfo with only additionalInfo set
1792
+ */
1793
+ static fromText(additionalInfo) {
1794
+ return new _DiagnosticInfo({ additionalInfo });
1795
+ }
1796
+ /**
1797
+ * Checks if this DiagnosticInfo is empty (all fields undefined).
1798
+ *
1799
+ * @returns True if all fields are undefined
1800
+ */
1801
+ isEmpty() {
1802
+ return this.symbolicId === void 0 && this.namespaceUri === void 0 && this.localizedText === void 0 && this.locale === void 0 && this.additionalInfo === void 0 && this.innerStatusCode === void 0 && this.innerDiagnosticInfo === void 0;
1803
+ }
1804
+ /**
1805
+ * Checks if this DiagnosticInfo has nested diagnostic information.
1806
+ *
1807
+ * @returns True if innerDiagnosticInfo is not undefined
1808
+ */
1809
+ hasInnerDiagnostics() {
1810
+ return this.innerDiagnosticInfo !== void 0;
1811
+ }
1812
+ /**
1813
+ * Gets the depth of nested diagnostic information.
1814
+ *
1815
+ * @returns The nesting depth (0 if no inner diagnostics)
1816
+ */
1817
+ getDepth() {
1818
+ if (this.innerDiagnosticInfo === void 0) {
1819
+ return 0;
1820
+ }
1821
+ return 1 + this.innerDiagnosticInfo.getDepth();
1822
+ }
1823
+ /**
1824
+ * Flattens the nested diagnostic information into an array.
1825
+ *
1826
+ * @returns An array of all DiagnosticInfo objects in the chain
1827
+ */
1828
+ flatten() {
1829
+ const result = [this];
1830
+ if (this.innerDiagnosticInfo !== void 0) {
1831
+ result.push(...this.innerDiagnosticInfo.flatten());
1832
+ }
1833
+ return result;
1834
+ }
1835
+ /**
1836
+ * Converts the DiagnosticInfo to a string representation.
1837
+ *
1838
+ * @param includeInner - Whether to include inner diagnostic info (default: true)
1839
+ * @returns A string representation
1840
+ */
1841
+ toString(includeInner = true) {
1842
+ if (this.isEmpty()) {
1843
+ return "DiagnosticInfo(empty)";
1844
+ }
1845
+ const parts = [];
1846
+ if (this.symbolicId !== void 0) {
1847
+ parts.push(`symbolicId: ${this.symbolicId}`);
1848
+ }
1849
+ if (this.namespaceUri !== void 0) {
1850
+ parts.push(`namespaceUri: ${this.namespaceUri}`);
1851
+ }
1852
+ if (this.localizedText !== void 0) {
1853
+ parts.push(`localizedText: ${this.localizedText}`);
1854
+ }
1855
+ if (this.locale !== void 0) {
1856
+ parts.push(`locale: ${this.locale}`);
1857
+ }
1858
+ if (this.additionalInfo !== void 0) {
1859
+ parts.push(`additionalInfo: "${this.additionalInfo}"`);
1860
+ }
1861
+ if (this.innerStatusCode !== void 0) {
1862
+ parts.push(`innerStatusCode: ${this.innerStatusCode.toString()}`);
1863
+ }
1864
+ if (includeInner && this.innerDiagnosticInfo !== void 0) {
1865
+ parts.push(`innerDiagnosticInfo: ${this.innerDiagnosticInfo.toString(true)}`);
1866
+ }
1867
+ return `DiagnosticInfo(${parts.join(", ")})`;
1868
+ }
1869
+ };
1870
+
1625
1871
  // src/types/variant.ts
1626
1872
  var Variant = class _Variant {
1627
1873
  /**
@@ -1715,13 +1961,12 @@ var Variant = class _Variant {
1715
1961
  return `Variant(${typeName}: ${String(this.value)})`;
1716
1962
  }
1717
1963
  /**
1718
- * Creates a Variant from a typed OPC UA primitive value.
1964
+ * Union of all OPC UA built-in types accepted by {@link Variant.newFrom}.
1719
1965
  *
1720
- * Uses the `.type` discriminant on tagged primitives to determine the
1721
- * VariantType exactly no heuristic inference based on value ranges.
1722
- *
1723
- * @param value - A typed OPC UA primitive value.
1724
- * @returns A new Variant wrapping the inner value with the correct VariantType.
1966
+ * Includes both the tagged numeric primitives from `UaPrimitive` (which carry
1967
+ * a `BuiltInType` discriminant so the exact numeric encoding is known) and the
1968
+ * class-based built-in types that are identified unambiguously at runtime via
1969
+ * `instanceof`.
1725
1970
  */
1726
1971
  static newFrom(value) {
1727
1972
  if (value === null || value === void 0) {
@@ -1739,12 +1984,39 @@ var Variant = class _Variant {
1739
1984
  if (value instanceof Date) {
1740
1985
  return new _Variant(13 /* DateTime */, value);
1741
1986
  }
1987
+ if (value instanceof ExpandedNodeId) {
1988
+ return new _Variant(18 /* ExpandedNodeId */, value);
1989
+ }
1990
+ if (value instanceof NodeId) {
1991
+ return new _Variant(17 /* NodeId */, value);
1992
+ }
1993
+ if (value instanceof QualifiedName) {
1994
+ return new _Variant(20 /* QualifiedName */, value);
1995
+ }
1996
+ if (value instanceof LocalizedText) {
1997
+ return new _Variant(21 /* LocalizedText */, value);
1998
+ }
1999
+ if (value instanceof XmlElement) {
2000
+ return new _Variant(16 /* XmlElement */, value);
2001
+ }
2002
+ if (value instanceof ExtensionObject) {
2003
+ return new _Variant(22 /* ExtensionObject */, value);
2004
+ }
2005
+ if (value instanceof DataValue) {
2006
+ return new _Variant(23 /* DataValue */, value);
2007
+ }
2008
+ if (value instanceof DiagnosticInfo) {
2009
+ return new _Variant(25 /* DiagnosticInfo */, value);
2010
+ }
2011
+ if (value instanceof _Variant) {
2012
+ return new _Variant(24 /* Variant */, value);
2013
+ }
1742
2014
  if (typeof value === "object" && "type" in value) {
1743
2015
  const tagged = value;
1744
2016
  return new _Variant(tagged.type, tagged.value);
1745
2017
  }
1746
2018
  throw new Error(
1747
- `newFrom: unhandled UaPrimitive value: ${JSON.stringify(value)}`
2019
+ `newFrom: unhandled value: ${JSON.stringify(value)}`
1748
2020
  );
1749
2021
  }
1750
2022
  /**
@@ -1983,149 +2255,6 @@ function encodeVariant(writer, value, encoder) {
1983
2255
  }
1984
2256
  }
1985
2257
 
1986
- // src/types/diagnosticInfo.ts
1987
- var DiagnosticInfo = class _DiagnosticInfo {
1988
- /**
1989
- * Index into a string table for the symbolic identifier.
1990
- * The symbolic id is used to identify an error condition in a vendor-specific way.
1991
- */
1992
- symbolicId;
1993
- /**
1994
- * Index into a string table for the namespace URI.
1995
- * Identifies the namespace that defines the symbolicId.
1996
- */
1997
- namespaceUri;
1998
- /**
1999
- * Index into a string table for the localized text.
2000
- * Contains a human-readable description of the error.
2001
- */
2002
- localizedText;
2003
- /**
2004
- * Index into a string table for the locale.
2005
- * Identifies the locale used for the localizedText.
2006
- */
2007
- locale;
2008
- /**
2009
- * Additional debugging/diagnostic information.
2010
- * Not intended for display to end users.
2011
- */
2012
- additionalInfo;
2013
- /**
2014
- * StatusCode from a nested operation.
2015
- * Used when the diagnostic info relates to a nested operation result.
2016
- */
2017
- innerStatusCode;
2018
- /**
2019
- * Nested DiagnosticInfo.
2020
- * Allows for recursive diagnostic information structures.
2021
- */
2022
- innerDiagnosticInfo;
2023
- /**
2024
- * Creates a new DiagnosticInfo.
2025
- *
2026
- * @param options - Optional diagnostic information fields
2027
- */
2028
- constructor(options = {}) {
2029
- this.symbolicId = options.symbolicId;
2030
- this.namespaceUri = options.namespaceUri;
2031
- this.localizedText = options.localizedText;
2032
- this.locale = options.locale;
2033
- this.additionalInfo = options.additionalInfo;
2034
- this.innerStatusCode = options.innerStatusCode;
2035
- this.innerDiagnosticInfo = options.innerDiagnosticInfo;
2036
- }
2037
- /**
2038
- * Creates an empty DiagnosticInfo with no fields set.
2039
- *
2040
- * @returns A new DiagnosticInfo with all fields undefined
2041
- */
2042
- static createEmpty() {
2043
- return new _DiagnosticInfo({});
2044
- }
2045
- /**
2046
- * Creates a DiagnosticInfo with just additional info text.
2047
- *
2048
- * @param additionalInfo - The diagnostic information text
2049
- * @returns A new DiagnosticInfo with only additionalInfo set
2050
- */
2051
- static fromText(additionalInfo) {
2052
- return new _DiagnosticInfo({ additionalInfo });
2053
- }
2054
- /**
2055
- * Checks if this DiagnosticInfo is empty (all fields undefined).
2056
- *
2057
- * @returns True if all fields are undefined
2058
- */
2059
- isEmpty() {
2060
- return this.symbolicId === void 0 && this.namespaceUri === void 0 && this.localizedText === void 0 && this.locale === void 0 && this.additionalInfo === void 0 && this.innerStatusCode === void 0 && this.innerDiagnosticInfo === void 0;
2061
- }
2062
- /**
2063
- * Checks if this DiagnosticInfo has nested diagnostic information.
2064
- *
2065
- * @returns True if innerDiagnosticInfo is not undefined
2066
- */
2067
- hasInnerDiagnostics() {
2068
- return this.innerDiagnosticInfo !== void 0;
2069
- }
2070
- /**
2071
- * Gets the depth of nested diagnostic information.
2072
- *
2073
- * @returns The nesting depth (0 if no inner diagnostics)
2074
- */
2075
- getDepth() {
2076
- if (this.innerDiagnosticInfo === void 0) {
2077
- return 0;
2078
- }
2079
- return 1 + this.innerDiagnosticInfo.getDepth();
2080
- }
2081
- /**
2082
- * Flattens the nested diagnostic information into an array.
2083
- *
2084
- * @returns An array of all DiagnosticInfo objects in the chain
2085
- */
2086
- flatten() {
2087
- const result = [this];
2088
- if (this.innerDiagnosticInfo !== void 0) {
2089
- result.push(...this.innerDiagnosticInfo.flatten());
2090
- }
2091
- return result;
2092
- }
2093
- /**
2094
- * Converts the DiagnosticInfo to a string representation.
2095
- *
2096
- * @param includeInner - Whether to include inner diagnostic info (default: true)
2097
- * @returns A string representation
2098
- */
2099
- toString(includeInner = true) {
2100
- if (this.isEmpty()) {
2101
- return "DiagnosticInfo(empty)";
2102
- }
2103
- const parts = [];
2104
- if (this.symbolicId !== void 0) {
2105
- parts.push(`symbolicId: ${this.symbolicId}`);
2106
- }
2107
- if (this.namespaceUri !== void 0) {
2108
- parts.push(`namespaceUri: ${this.namespaceUri}`);
2109
- }
2110
- if (this.localizedText !== void 0) {
2111
- parts.push(`localizedText: ${this.localizedText}`);
2112
- }
2113
- if (this.locale !== void 0) {
2114
- parts.push(`locale: ${this.locale}`);
2115
- }
2116
- if (this.additionalInfo !== void 0) {
2117
- parts.push(`additionalInfo: "${this.additionalInfo}"`);
2118
- }
2119
- if (this.innerStatusCode !== void 0) {
2120
- parts.push(`innerStatusCode: ${this.innerStatusCode.toString()}`);
2121
- }
2122
- if (includeInner && this.innerDiagnosticInfo !== void 0) {
2123
- parts.push(`innerDiagnosticInfo: ${this.innerDiagnosticInfo.toString(true)}`);
2124
- }
2125
- return `DiagnosticInfo(${parts.join(", ")})`;
2126
- }
2127
- };
2128
-
2129
2258
  // src/codecs/binary/typesComplex/diagnosticInfo.ts
2130
2259
  var DiagnosticInfoMaskBits = {
2131
2260
  SymbolicId: 1,
@@ -2820,106 +2949,6 @@ var SecureChannelTypeDecoder = class extends TransformStream {
2820
2949
  }
2821
2950
  };
2822
2951
 
2823
- // src/types/xmlElement.ts
2824
- var XmlElement = class _XmlElement {
2825
- /**
2826
- * The XML string content
2827
- */
2828
- content;
2829
- /**
2830
- * Create a new XmlElement
2831
- *
2832
- * @param content - The XML string content
2833
- */
2834
- constructor(content = "") {
2835
- this.content = content;
2836
- }
2837
- /**
2838
- * Get the XML string content
2839
- *
2840
- * @returns The XML string
2841
- */
2842
- toString() {
2843
- return this.content;
2844
- }
2845
- /**
2846
- * Get the length of the XML string
2847
- *
2848
- * @returns The number of characters
2849
- */
2850
- get length() {
2851
- return this.content.length;
2852
- }
2853
- /**
2854
- * Escape special XML characters in text content
2855
- *
2856
- * @param text - Text to escape
2857
- * @returns Escaped text safe for use in XML
2858
- *
2859
- * @example
2860
- * ```typescript
2861
- * XmlElement.escape("Hello & <World>"); // "Hello &amp; &lt;World&gt;"
2862
- * ```
2863
- */
2864
- static escape(text) {
2865
- return text.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
2866
- }
2867
- /**
2868
- * Unescape XML entities to plain text
2869
- *
2870
- * @param xml - XML text with entities
2871
- * @returns Unescaped text
2872
- *
2873
- * @example
2874
- * ```typescript
2875
- * XmlElement.unescape("Hello &amp; &lt;World&gt;"); // "Hello & <World>"
2876
- * ```
2877
- */
2878
- static unescape(xml) {
2879
- return xml.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, '"').replace(/&apos;/g, "'").replace(/&amp;/g, "&");
2880
- }
2881
- /**
2882
- * Create a simple XML element
2883
- *
2884
- * @param tagName - The XML tag name
2885
- * @param content - The text content (will be escaped)
2886
- * @param attributes - Optional attributes object
2887
- * @returns XmlElement
2888
- *
2889
- * @example
2890
- * ```typescript
2891
- * const xml = XmlElement.create("Temperature", "25.5", { unit: "C" });
2892
- * // "<Temperature unit=\"C\">25.5</Temperature>"
2893
- * ```
2894
- */
2895
- static create(tagName, content = "", attributes) {
2896
- let attrStr = "";
2897
- if (attributes) {
2898
- attrStr = Object.entries(attributes).map(([key, value]) => ` ${key}="${_XmlElement.escape(value)}"`).join("");
2899
- }
2900
- const escapedContent = _XmlElement.escape(content);
2901
- const xmlString = `<${tagName}${attrStr}>${escapedContent}</${tagName}>`;
2902
- return new _XmlElement(xmlString);
2903
- }
2904
- /**
2905
- * Create an empty XmlElement
2906
- *
2907
- * @returns Empty XmlElement
2908
- */
2909
- static empty() {
2910
- return new _XmlElement("");
2911
- }
2912
- /**
2913
- * Check equality with another XmlElement
2914
- *
2915
- * @param other - The other XmlElement
2916
- * @returns true if both contain the same XML string
2917
- */
2918
- equals(other) {
2919
- return this.content === other.content;
2920
- }
2921
- };
2922
-
2923
2952
  // src/types/primitives.ts
2924
2953
  var uaSbyte = (value) => ({ value, type: 2 /* SByte */ });
2925
2954
  var uaByte = (value) => ({ value, type: 3 /* Byte */ });
@@ -17834,6 +17863,6 @@ var SecureChannelChunkWriter = class extends TransformStream {
17834
17863
  }
17835
17864
  };
17836
17865
 
17837
- export { ActionMethodDataType, ActionStateEnum, ActionTargetDataType, ActivateSessionRequest, ActivateSessionResponse, AddNodesItem, AddNodesRequest, AddNodesResponse, AddNodesResult, AddReferencesItem, AddReferencesRequest, AddReferencesResponse, AdditionalParametersType, AggregateConfiguration, AggregateFilter, AggregateFilterResult, AliasNameDataType, Annotation, AnnotationDataType, AnonymousIdentityToken, ApplicationConfigurationDataType, ApplicationDescription, ApplicationIdentityDataType, ApplicationTypeEnum, Argument, AttributeOperand, AuthorizationServiceConfigurationDataType, AxisInformation, AxisScaleEnumerationEnum, BaseConfigurationDataType, BaseConfigurationRecordDataType, SecureChannelTypeDecoder as BinaryDecoderTransform, SecureChannelTypeEncoder as BinaryEncoderTransform, BinaryReader, BinaryWriter, BitFieldDefinition, BrokerConnectionTransportDataType, BrokerDataSetReaderTransportDataType, BrokerDataSetWriterTransportDataType, BrokerTransportQualityOfServiceEnum, BrokerWriterGroupTransportDataType, BrowseDescription, BrowseDirectionEnum, BrowseNextRequest, BrowseNextResponse, BrowsePath, BrowsePathResult, BrowsePathTarget, BrowseRequest, BrowseResponse, BrowseResult, BrowseResultMaskEnum, BuildInfo, CallMethodRequest, CallMethodResult, CallRequest, CallResponse, CancelRequest, CancelResponse, CartesianCoordinates, CertificateGroupDataType, ChannelSecurityToken, ChassisIdSubtypeEnum, CloseSecureChannelRequest, CloseSecureChannelResponse, CloseSessionRequest, CloseSessionResponse, ComplexNumberType, Configuration, ConfigurationUpdateTargetType, ConfigurationUpdateTypeEnum, ConfigurationVersionDataType, ConnectionTransportDataType, ConsoleSink, ContentFilter, ContentFilterElement, ContentFilterElementResult, ContentFilterResult, ConversionLimitEnumEnum, CreateMonitoredItemsRequest, CreateMonitoredItemsResponse, CreateSessionRequest, CreateSessionResponse, CreateSubscriptionRequest, CreateSubscriptionResponse, CurrencyUnitType, DataChangeFilter, DataChangeNotification, DataChangeTriggerEnum, DataSetMetaDataType, DataSetOrderingTypeEnum, DataSetReaderDataType, DataSetReaderMessageDataType, DataSetReaderTransportDataType, DataSetWriterDataType, DataSetWriterMessageDataType, DataSetWriterTransportDataType, DataTypeAttributes, DataTypeDefinition, DataTypeDescription, DataTypeNode, DataTypeSchemaHeader, DataValue, DatagramConnectionTransport2DataType, DatagramConnectionTransportDataType, DatagramDataSetReaderTransportDataType, DatagramWriterGroupTransport2DataType, DatagramWriterGroupTransportDataType, DeadbandTypeEnum, DecimalDataType, Decoder, DeleteAtTimeDetails, DeleteEventDetails, DeleteMonitoredItemsRequest, DeleteMonitoredItemsResponse, DeleteNodesItem, DeleteNodesRequest, DeleteNodesResponse, DeleteRawModifiedDetails, DeleteReferencesItem, DeleteReferencesRequest, DeleteReferencesResponse, DeleteSubscriptionsRequest, DeleteSubscriptionsResponse, DiagnosticInfo, DiagnosticsLevelEnum, DiscoveryConfiguration, DoubleComplexNumberType, DtlsPubSubConnectionDataType, DuplexEnum, EUInformation, ElementOperand, Encoder, EndpointConfiguration, EndpointDataType, EndpointDescription, EndpointType, EndpointUrlListDataType, EnumDefinition, EnumDescription, EnumField, EnumValueType, EphemeralKeyType, EventFieldList, EventFilter, EventFilterResult, EventNotificationList, ExceptionDeviationFormatEnum, ExpandedNodeId, ExtensionObject, FieldMetaData, FieldTargetDataType, FilterOperand, FilterOperatorEnum, FindServersOnNetworkRequest, FindServersOnNetworkResponse, FindServersRequest, FindServersResponse, Frame, GenericAttributeValue, GenericAttributes, GetEndpointsRequest, GetEndpointsResponse, HistoryData, HistoryEvent, HistoryEventFieldList, HistoryModifiedData, HistoryModifiedEvent, HistoryReadDetails, HistoryReadRequest, HistoryReadResponse, HistoryReadResult, HistoryReadValueId, HistoryUpdateDetails, HistoryUpdateRequest, HistoryUpdateResponse, HistoryUpdateResult, HistoryUpdateTypeEnum, IdTypeEnum, IdentityCriteriaTypeEnum, IdentityMappingRuleType, InstanceNode, InterfaceAdminStatusEnum, InterfaceOperStatusEnum, IssuedIdentityToken, JsonActionMetaDataMessage, JsonActionNetworkMessage, JsonActionRequestMessage, JsonActionResponderMessage, JsonActionResponseMessage, JsonApplicationDescriptionMessage, JsonDataSetMessage, JsonDataSetMetaDataMessage, JsonDataSetReaderMessageDataType, JsonDataSetWriterMessageDataType, JsonNetworkMessage, JsonPubSubConnectionMessage, JsonServerEndpointsMessage, JsonStatusMessage, JsonWriterGroupMessageDataType, KeyValuePair, LinearConversionDataType, LiteralOperand, LldpManagementAddressTxPortType, LldpManagementAddressType, LldpTlvType, LocalizedText, LogRecordsDataType, LoggerFactory, ManAddrIfSubtypeEnum, MdnsDiscoveryConfiguration, MessageSecurityModeEnum, MethodAttributes, MethodNode, ModelChangeStructureDataType, ModelChangeStructureVerbMaskEnum, ModificationInfo, ModifyMonitoredItemsRequest, ModifyMonitoredItemsResponse, ModifySubscriptionRequest, ModifySubscriptionResponse, MonitoredItemCreateRequest, MonitoredItemCreateResult, MonitoredItemModifyRequest, MonitoredItemModifyResult, MonitoredItemNotification, MonitoringFilter, MonitoringFilterResult, MonitoringModeEnum, MonitoringParameters, NameValuePair, NamingRuleTypeEnum, NegotiationStatusEnum, NetworkAddressDataType, NetworkAddressUrlDataType, NetworkGroupDataType, Node, NodeAttributes, NodeAttributesMaskEnum, NodeClassEnum, NodeId, NodeIdType, NodeReference, NodeTypeDescription, NotificationData, NotificationMessage, ObjectAttributes, ObjectNode, ObjectTypeAttributes, ObjectTypeNode, OpenFileModeEnum, OpenSecureChannelRequest, OpenSecureChannelResponse, OptionSet, Orientation, OverrideValueHandlingEnum, ParsingResult, PerformUpdateTypeEnum, PortIdSubtypeEnum, PortableNodeId, PortableQualifiedName, PriorityMappingEntryType, ProgramDiagnostic2DataType, ProgramDiagnosticDataType, PubSubConfiguration2DataType, PubSubConfigurationDataType, PubSubConfigurationRefDataType, PubSubConfigurationValueDataType, PubSubConnectionDataType, PubSubDiagnosticsCounterClassificationEnum, PubSubGroupDataType, PubSubKeyPushTargetDataType, PubSubStateEnum, PublishRequest, PublishResponse, PublishedActionDataType, PublishedActionMethodDataType, PublishedDataItemsDataType, PublishedDataSetCustomSourceDataType, PublishedDataSetDataType, PublishedDataSetSourceDataType, PublishedEventsDataType, PublishedVariableDataType, QosDataType, QualifiedName, QuantityDimension, QueryDataDescription, QueryDataSet, QueryFirstRequest, QueryFirstResponse, QueryNextRequest, QueryNextResponse, Range, RationalNumber, ReadAnnotationDataDetails, ReadAtTimeDetails, ReadEventDetails, ReadEventDetails2, ReadEventDetailsSorted, ReadProcessedDetails, ReadRawModifiedDetails, ReadRequest, ReadResponse, ReadValueId, ReaderGroupDataType, ReaderGroupMessageDataType, ReaderGroupTransportDataType, ReceiveQosDataType, ReceiveQosPriorityDataType, RedundancySupportEnum, RedundantServerDataType, RedundantServerModeEnum, ReferenceDescription, ReferenceDescriptionDataType, ReferenceListEntryDataType, ReferenceNode, ReferenceTypeAttributes, ReferenceTypeNode, RegisterNodesRequest, RegisterNodesResponse, RegisterServer2Request, RegisterServer2Response, RegisterServerRequest, RegisterServerResponse, RegisteredServer, RelativePath, RelativePathElement, RepublishRequest, RepublishResponse, RequestHeader, ResponseHeader, RolePermissionType, SamplingIntervalDiagnosticsDataType, SecureChannelChunkReader, SecureChannelChunkWriter, SecureChannelContext, SecureChannelFacade, SecureChannelMessageDecoder, SecureChannelMesssageEncoder, SecureChannelTypeDecoder, SecureChannelTypeEncoder, SecurityGroupDataType, SecuritySettingsDataType, SecurityTokenRequestTypeEnum, SemanticChangeStructureDataType, ServerDiagnosticsSummaryDataType, ServerEndpointDataType, ServerOnNetwork, ServerStateEnum, ServerStatusDataType, ServiceCertificateDataType, ServiceCounterDataType, ServiceFault, SessionDiagnosticsDataType, SessionSecurityDiagnosticsDataType, SessionlessInvokeRequestType, SessionlessInvokeResponseType, SetMonitoringModeRequest, SetMonitoringModeResponse, SetPublishingModeRequest, SetPublishingModeResponse, SetTriggeringRequest, SetTriggeringResponse, SignatureData, SignedSoftwareCertificate, SimpleAttributeOperand, SimpleTypeDescription, SortOrderTypeEnum, SortRuleElement, SpanContextDataType, StandaloneSubscribedDataSetDataType, StandaloneSubscribedDataSetRefDataType, StatusChangeNotification, StatusCode, StatusCodeGetFlagBits, StatusCodeToString, StatusCodeToStringNumber, StatusResult, Structure, StructureDefinition, StructureDescription, StructureField, StructureTypeEnum, SubscribedDataSetDataType, SubscribedDataSetMirrorDataType, SubscriptionAcknowledgement, SubscriptionDiagnosticsDataType, TargetVariablesDataType, TcpConnectionHandler, TcpMessageDecoupler, TcpMessageInjector, TimeZoneDataType, TimestampsToReturnEnum, TraceContextDataType, TransactionErrorType, TransferResult, TransferSubscriptionsRequest, TransferSubscriptionsResponse, TranslateBrowsePathsToNodeIdsRequest, TranslateBrowsePathsToNodeIdsResponse, TransmitQosDataType, TransmitQosPriorityDataType, TrustListDataType, TrustListMasksEnum, TsnFailureCodeEnum, TsnListenerStatusEnum, TsnStreamStateEnum, TsnTalkerStatusEnum, TypeNode, UABinaryFileDataType, UadpDataSetReaderMessageDataType, UadpDataSetWriterMessageDataType, UadpWriterGroupMessageDataType, Union, UnregisterNodesRequest, UnregisterNodesResponse, UnsignedRationalNumber, UpdateDataDetails, UpdateEventDetails, UpdateStructureDataDetails, UserIdentityToken, UserManagementDataType, UserNameIdentityToken, UserTokenPolicy, UserTokenSettingsDataType, UserTokenTypeEnum, VariableAttributes, VariableNode, VariableTypeAttributes, VariableTypeNode, Variant, Vector, ViewAttributes, ViewDescription, ViewNode, WebSocketFascade, WebSocketReadableStream, WebSocketWritableStream, WriteRequest, WriteResponse, WriteValue, WriterGroupDataType, WriterGroupMessageDataType, WriterGroupTransportDataType, X509IdentityToken, XVType, XmlElement, _3DCartesianCoordinates, _3DFrame, _3DOrientation, _3DVector, getLogger, initLoggerProvider, registerBinaryDecoders, registerEncoders, registerJsonDecoders, registerTypeDecoders, registerXmlDecoders, uaByte, uaDouble, uaFloat, uaGuid, uaInt16, uaInt32, uaInt64, uaSbyte, uaUint16, uaUint32, uaUint64 };
17866
+ export { ActionMethodDataType, ActionStateEnum, ActionTargetDataType, ActivateSessionRequest, ActivateSessionResponse, AddNodesItem, AddNodesRequest, AddNodesResponse, AddNodesResult, AddReferencesItem, AddReferencesRequest, AddReferencesResponse, AdditionalParametersType, AggregateConfiguration, AggregateFilter, AggregateFilterResult, AliasNameDataType, Annotation, AnnotationDataType, AnonymousIdentityToken, ApplicationConfigurationDataType, ApplicationDescription, ApplicationIdentityDataType, ApplicationTypeEnum, Argument, AttributeOperand, AuthorizationServiceConfigurationDataType, AxisInformation, AxisScaleEnumerationEnum, BaseConfigurationDataType, BaseConfigurationRecordDataType, SecureChannelTypeDecoder as BinaryDecoderTransform, SecureChannelTypeEncoder as BinaryEncoderTransform, BinaryReader, BinaryWriter, BitFieldDefinition, BrokerConnectionTransportDataType, BrokerDataSetReaderTransportDataType, BrokerDataSetWriterTransportDataType, BrokerTransportQualityOfServiceEnum, BrokerWriterGroupTransportDataType, BrowseDescription, BrowseDirectionEnum, BrowseNextRequest, BrowseNextResponse, BrowsePath, BrowsePathResult, BrowsePathTarget, BrowseRequest, BrowseResponse, BrowseResult, BrowseResultMaskEnum, BuildInfo, CallMethodRequest, CallMethodResult, CallRequest, CallResponse, CancelRequest, CancelResponse, CartesianCoordinates, CertificateGroupDataType, ChannelSecurityToken, ChassisIdSubtypeEnum, CloseSecureChannelRequest, CloseSecureChannelResponse, CloseSessionRequest, CloseSessionResponse, ComplexNumberType, Configuration, ConfigurationUpdateTargetType, ConfigurationUpdateTypeEnum, ConfigurationVersionDataType, ConnectionTransportDataType, ConsoleSink, ContentFilter, ContentFilterElement, ContentFilterElementResult, ContentFilterResult, ConversionLimitEnumEnum, CreateMonitoredItemsRequest, CreateMonitoredItemsResponse, CreateSessionRequest, CreateSessionResponse, CreateSubscriptionRequest, CreateSubscriptionResponse, CurrencyUnitType, DataChangeFilter, DataChangeNotification, DataChangeTriggerEnum, DataSetMetaDataType, DataSetOrderingTypeEnum, DataSetReaderDataType, DataSetReaderMessageDataType, DataSetReaderTransportDataType, DataSetWriterDataType, DataSetWriterMessageDataType, DataSetWriterTransportDataType, DataTypeAttributes, DataTypeDefinition, DataTypeDescription, DataTypeNode, DataTypeSchemaHeader, DataValue, DatagramConnectionTransport2DataType, DatagramConnectionTransportDataType, DatagramDataSetReaderTransportDataType, DatagramWriterGroupTransport2DataType, DatagramWriterGroupTransportDataType, DeadbandTypeEnum, DecimalDataType, Decoder, DeleteAtTimeDetails, DeleteEventDetails, DeleteMonitoredItemsRequest, DeleteMonitoredItemsResponse, DeleteNodesItem, DeleteNodesRequest, DeleteNodesResponse, DeleteRawModifiedDetails, DeleteReferencesItem, DeleteReferencesRequest, DeleteReferencesResponse, DeleteSubscriptionsRequest, DeleteSubscriptionsResponse, DiagnosticInfo, DiagnosticsLevelEnum, DiscoveryConfiguration, DoubleComplexNumberType, DtlsPubSubConnectionDataType, DuplexEnum, EUInformation, ElementOperand, Encoder, EndpointConfiguration, EndpointDataType, EndpointDescription, EndpointType, EndpointUrlListDataType, EnumDefinition, EnumDescription, EnumField, EnumValueType, EphemeralKeyType, EventFieldList, EventFilter, EventFilterResult, EventNotificationList, ExceptionDeviationFormatEnum, ExpandedNodeId, ExtensionObject, FieldMetaData, FieldTargetDataType, FilterOperand, FilterOperatorEnum, FindServersOnNetworkRequest, FindServersOnNetworkResponse, FindServersRequest, FindServersResponse, Frame, GenericAttributeValue, GenericAttributes, GetEndpointsRequest, GetEndpointsResponse, HistoryData, HistoryEvent, HistoryEventFieldList, HistoryModifiedData, HistoryModifiedEvent, HistoryReadDetails, HistoryReadRequest, HistoryReadResponse, HistoryReadResult, HistoryReadValueId, HistoryUpdateDetails, HistoryUpdateRequest, HistoryUpdateResponse, HistoryUpdateResult, HistoryUpdateTypeEnum, IdTypeEnum, IdentityCriteriaTypeEnum, IdentityMappingRuleType, InstanceNode, InterfaceAdminStatusEnum, InterfaceOperStatusEnum, IssuedIdentityToken, JsonActionMetaDataMessage, JsonActionNetworkMessage, JsonActionRequestMessage, JsonActionResponderMessage, JsonActionResponseMessage, JsonApplicationDescriptionMessage, JsonDataSetMessage, JsonDataSetMetaDataMessage, JsonDataSetReaderMessageDataType, JsonDataSetWriterMessageDataType, JsonNetworkMessage, JsonPubSubConnectionMessage, JsonServerEndpointsMessage, JsonStatusMessage, JsonWriterGroupMessageDataType, KeyValuePair, LinearConversionDataType, LiteralOperand, LldpManagementAddressTxPortType, LldpManagementAddressType, LldpTlvType, LocalizedText, LogRecordsDataType, LoggerFactory, ManAddrIfSubtypeEnum, MdnsDiscoveryConfiguration, MessageSecurityModeEnum, MethodAttributes, MethodNode, ModelChangeStructureDataType, ModelChangeStructureVerbMaskEnum, ModificationInfo, ModifyMonitoredItemsRequest, ModifyMonitoredItemsResponse, ModifySubscriptionRequest, ModifySubscriptionResponse, MonitoredItemCreateRequest, MonitoredItemCreateResult, MonitoredItemModifyRequest, MonitoredItemModifyResult, MonitoredItemNotification, MonitoringFilter, MonitoringFilterResult, MonitoringModeEnum, MonitoringParameters, NameValuePair, NamingRuleTypeEnum, NegotiationStatusEnum, NetworkAddressDataType, NetworkAddressUrlDataType, NetworkGroupDataType, Node, NodeAttributes, NodeAttributesMaskEnum, NodeClassEnum, NodeId, NodeIdType, NodeReference, NodeTypeDescription, NotificationData, NotificationMessage, ObjectAttributes, ObjectNode, ObjectTypeAttributes, ObjectTypeNode, OpenFileModeEnum, OpenSecureChannelRequest, OpenSecureChannelResponse, OptionSet, Orientation, OverrideValueHandlingEnum, ParsingResult, PerformUpdateTypeEnum, PortIdSubtypeEnum, PortableNodeId, PortableQualifiedName, PriorityMappingEntryType, ProgramDiagnostic2DataType, ProgramDiagnosticDataType, PubSubConfiguration2DataType, PubSubConfigurationDataType, PubSubConfigurationRefDataType, PubSubConfigurationValueDataType, PubSubConnectionDataType, PubSubDiagnosticsCounterClassificationEnum, PubSubGroupDataType, PubSubKeyPushTargetDataType, PubSubStateEnum, PublishRequest, PublishResponse, PublishedActionDataType, PublishedActionMethodDataType, PublishedDataItemsDataType, PublishedDataSetCustomSourceDataType, PublishedDataSetDataType, PublishedDataSetSourceDataType, PublishedEventsDataType, PublishedVariableDataType, QosDataType, QualifiedName, QuantityDimension, QueryDataDescription, QueryDataSet, QueryFirstRequest, QueryFirstResponse, QueryNextRequest, QueryNextResponse, Range, RationalNumber, ReadAnnotationDataDetails, ReadAtTimeDetails, ReadEventDetails, ReadEventDetails2, ReadEventDetailsSorted, ReadProcessedDetails, ReadRawModifiedDetails, ReadRequest, ReadResponse, ReadValueId, ReaderGroupDataType, ReaderGroupMessageDataType, ReaderGroupTransportDataType, ReceiveQosDataType, ReceiveQosPriorityDataType, RedundancySupportEnum, RedundantServerDataType, RedundantServerModeEnum, ReferenceDescription, ReferenceDescriptionDataType, ReferenceListEntryDataType, ReferenceNode, ReferenceTypeAttributes, ReferenceTypeNode, RegisterNodesRequest, RegisterNodesResponse, RegisterServer2Request, RegisterServer2Response, RegisterServerRequest, RegisterServerResponse, RegisteredServer, RelativePath, RelativePathElement, RepublishRequest, RepublishResponse, RequestHeader, ResponseHeader, RolePermissionType, SamplingIntervalDiagnosticsDataType, SecureChannelChunkReader, SecureChannelChunkWriter, SecureChannelContext, SecureChannelFacade, SecureChannelMessageDecoder, SecureChannelMesssageEncoder, SecureChannelTypeDecoder, SecureChannelTypeEncoder, SecurityGroupDataType, SecuritySettingsDataType, SecurityTokenRequestTypeEnum, SemanticChangeStructureDataType, ServerDiagnosticsSummaryDataType, ServerEndpointDataType, ServerOnNetwork, ServerStateEnum, ServerStatusDataType, ServiceCertificateDataType, ServiceCounterDataType, ServiceFault, SessionDiagnosticsDataType, SessionSecurityDiagnosticsDataType, SessionlessInvokeRequestType, SessionlessInvokeResponseType, SetMonitoringModeRequest, SetMonitoringModeResponse, SetPublishingModeRequest, SetPublishingModeResponse, SetTriggeringRequest, SetTriggeringResponse, SignatureData, SignedSoftwareCertificate, SimpleAttributeOperand, SimpleTypeDescription, SortOrderTypeEnum, SortRuleElement, SpanContextDataType, StandaloneSubscribedDataSetDataType, StandaloneSubscribedDataSetRefDataType, StatusChangeNotification, StatusCode, StatusCodeGetFlagBits, StatusCodeIs, StatusCodeToString, StatusCodeToStringNumber, StatusResult, Structure, StructureDefinition, StructureDescription, StructureField, StructureTypeEnum, SubscribedDataSetDataType, SubscribedDataSetMirrorDataType, SubscriptionAcknowledgement, SubscriptionDiagnosticsDataType, TargetVariablesDataType, TcpConnectionHandler, TcpMessageDecoupler, TcpMessageInjector, TimeZoneDataType, TimestampsToReturnEnum, TraceContextDataType, TransactionErrorType, TransferResult, TransferSubscriptionsRequest, TransferSubscriptionsResponse, TranslateBrowsePathsToNodeIdsRequest, TranslateBrowsePathsToNodeIdsResponse, TransmitQosDataType, TransmitQosPriorityDataType, TrustListDataType, TrustListMasksEnum, TsnFailureCodeEnum, TsnListenerStatusEnum, TsnStreamStateEnum, TsnTalkerStatusEnum, TypeNode, UABinaryFileDataType, UadpDataSetReaderMessageDataType, UadpDataSetWriterMessageDataType, UadpWriterGroupMessageDataType, Union, UnregisterNodesRequest, UnregisterNodesResponse, UnsignedRationalNumber, UpdateDataDetails, UpdateEventDetails, UpdateStructureDataDetails, UserIdentityToken, UserManagementDataType, UserNameIdentityToken, UserTokenPolicy, UserTokenSettingsDataType, UserTokenTypeEnum, VariableAttributes, VariableNode, VariableTypeAttributes, VariableTypeNode, Variant, Vector, ViewAttributes, ViewDescription, ViewNode, WebSocketFascade, WebSocketReadableStream, WebSocketWritableStream, WriteRequest, WriteResponse, WriteValue, WriterGroupDataType, WriterGroupMessageDataType, WriterGroupTransportDataType, X509IdentityToken, XVType, XmlElement, _3DCartesianCoordinates, _3DFrame, _3DOrientation, _3DVector, getLogger, initLoggerProvider, registerBinaryDecoders, registerEncoders, registerJsonDecoders, registerTypeDecoders, registerXmlDecoders, uaByte, uaDouble, uaFloat, uaGuid, uaInt16, uaInt32, uaInt64, uaSbyte, uaUint16, uaUint32, uaUint64 };
17838
17867
  //# sourceMappingURL=index.js.map
17839
17868
  //# sourceMappingURL=index.js.map