node-opcua-types 2.72.1 → 2.73.1

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.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // --------- This code has been automatically generated !!! 2022-07-12T11:52:31.681Z
2
+ // --------- This code has been automatically generated !!! 2022-08-11T06:02:54.173Z
3
3
  /**
4
4
  * @module node-opcua-types
5
5
  */
@@ -36,7 +36,7 @@ const schemaEUInformation = (0, node_opcua_factory_1.buildStructuredType)({
36
36
  fields: [
37
37
  {
38
38
  name: "namespaceUri",
39
- fieldType: "UAString",
39
+ fieldType: "String",
40
40
  },
41
41
  {
42
42
  name: "unitId",
@@ -76,7 +76,7 @@ class EUInformation extends node_opcua_extension_object_1.ExtensionObject {
76
76
  static get schema() { return schemaEUInformation; }
77
77
  encode(stream) {
78
78
  /* NEEDED */ super.encode(stream);
79
- (0, node_opcua_basic_types_1.encodeUAString)(this.namespaceUri, stream);
79
+ (0, node_opcua_basic_types_1.encodeString)(this.namespaceUri, stream);
80
80
  (0, node_opcua_basic_types_1.encodeInt32)(this.unitId, stream);
81
81
  (0, node_opcua_data_model_1.encodeLocalizedText)(this.displayName, stream);
82
82
  (0, node_opcua_data_model_1.encodeLocalizedText)(this.description, stream);
@@ -84,7 +84,7 @@ class EUInformation extends node_opcua_extension_object_1.ExtensionObject {
84
84
  decode(stream) {
85
85
  // call base class implementation first
86
86
  /* NEEDED !!! */ super.decode(stream);
87
- this.namespaceUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.namespaceUri);
87
+ this.namespaceUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.namespaceUri);
88
88
  this.unitId = (0, node_opcua_basic_types_1.decodeInt32)(stream, this.unitId);
89
89
  this.displayName = (0, node_opcua_data_model_1.decodeLocalizedText)(stream, this.displayName);
90
90
  this.description = (0, node_opcua_data_model_1.decodeLocalizedText)(stream, this.description);
@@ -432,7 +432,7 @@ const schemaRequestHeader = (0, node_opcua_factory_1.buildStructuredType)({
432
432
  },
433
433
  {
434
434
  name: "auditEntryId",
435
- fieldType: "UAString",
435
+ fieldType: "String",
436
436
  },
437
437
  {
438
438
  name: "timeoutHint",
@@ -478,7 +478,7 @@ class RequestHeader extends node_opcua_extension_object_1.ExtensionObject {
478
478
  (0, node_opcua_basic_types_1.encodeDateTime)(this.timestamp, stream);
479
479
  (0, node_opcua_basic_types_1.encodeUInt32)(this.requestHandle, stream);
480
480
  (0, node_opcua_basic_types_1.encodeUInt32)(this.returnDiagnostics, stream);
481
- (0, node_opcua_basic_types_1.encodeUAString)(this.auditEntryId, stream);
481
+ (0, node_opcua_basic_types_1.encodeString)(this.auditEntryId, stream);
482
482
  (0, node_opcua_basic_types_1.encodeUInt32)(this.timeoutHint, stream);
483
483
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.additionalHeader, stream);
484
484
  }
@@ -489,7 +489,7 @@ class RequestHeader extends node_opcua_extension_object_1.ExtensionObject {
489
489
  this.timestamp = (0, node_opcua_basic_types_1.decodeDateTime)(stream, this.timestamp);
490
490
  this.requestHandle = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.requestHandle);
491
491
  this.returnDiagnostics = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.returnDiagnostics);
492
- this.auditEntryId = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.auditEntryId);
492
+ this.auditEntryId = (0, node_opcua_basic_types_1.decodeString)(stream, this.auditEntryId);
493
493
  this.timeoutHint = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.timeoutHint);
494
494
  this.additionalHeader = (0, node_opcua_extension_object_1.decodeExtensionObject)(stream, this.additionalHeader);
495
495
  }
@@ -521,7 +521,7 @@ const schemaSignatureData = (0, node_opcua_factory_1.buildStructuredType)({
521
521
  fields: [
522
522
  {
523
523
  name: "algorithm",
524
- fieldType: "UAString",
524
+ fieldType: "String",
525
525
  },
526
526
  {
527
527
  name: "signature",
@@ -549,13 +549,13 @@ class SignatureData extends node_opcua_extension_object_1.ExtensionObject {
549
549
  static get schema() { return schemaSignatureData; }
550
550
  encode(stream) {
551
551
  /* NEEDED */ super.encode(stream);
552
- (0, node_opcua_basic_types_1.encodeUAString)(this.algorithm, stream);
552
+ (0, node_opcua_basic_types_1.encodeString)(this.algorithm, stream);
553
553
  (0, node_opcua_basic_types_1.encodeByteString)(this.signature, stream);
554
554
  }
555
555
  decode(stream) {
556
556
  // call base class implementation first
557
557
  /* NEEDED !!! */ super.decode(stream);
558
- this.algorithm = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.algorithm);
558
+ this.algorithm = (0, node_opcua_basic_types_1.decodeString)(stream, this.algorithm);
559
559
  this.signature = (0, node_opcua_basic_types_1.decodeByteString)(stream, this.signature);
560
560
  }
561
561
  get schema() { return schemaSignatureData; }
@@ -654,7 +654,7 @@ const schemaActivateSessionRequest = (0, node_opcua_factory_1.buildStructuredTyp
654
654
  },
655
655
  {
656
656
  name: "localeIds",
657
- fieldType: "UAString",
657
+ fieldType: "String",
658
658
  isArray: true
659
659
  },
660
660
  {
@@ -702,7 +702,7 @@ class ActivateSessionRequest extends node_opcua_extension_object_1.ExtensionObje
702
702
  this.requestHeader.encode(stream);
703
703
  this.clientSignature.encode(stream);
704
704
  (0, node_opcua_basic_types_1.encodeArray)(this.clientSoftwareCertificates, stream, (obj, stream1) => { obj.encode(stream1); });
705
- (0, node_opcua_basic_types_1.encodeArray)(this.localeIds, stream, node_opcua_basic_types_1.encodeUAString);
705
+ (0, node_opcua_basic_types_1.encodeArray)(this.localeIds, stream, node_opcua_basic_types_1.encodeString);
706
706
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.userIdentityToken, stream);
707
707
  this.userTokenSignature.encode(stream);
708
708
  }
@@ -716,7 +716,7 @@ class ActivateSessionRequest extends node_opcua_extension_object_1.ExtensionObje
716
716
  obj.decode(stream1);
717
717
  return obj;
718
718
  });
719
- this.localeIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
719
+ this.localeIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
720
720
  this.userIdentityToken = (0, node_opcua_extension_object_1.decodeExtensionObject)(stream, this.userIdentityToken);
721
721
  this.userTokenSignature.decode(stream);
722
722
  }
@@ -763,7 +763,7 @@ const schemaResponseHeader = (0, node_opcua_factory_1.buildStructuredType)({
763
763
  },
764
764
  {
765
765
  name: "stringTable",
766
- fieldType: "UAString",
766
+ fieldType: "String",
767
767
  isArray: true
768
768
  },
769
769
  {
@@ -804,7 +804,7 @@ class ResponseHeader extends node_opcua_extension_object_1.ExtensionObject {
804
804
  (0, node_opcua_basic_types_1.encodeUInt32)(this.requestHandle, stream);
805
805
  (0, node_opcua_status_code_1.encodeStatusCode)(this.serviceResult, stream);
806
806
  (0, node_opcua_data_model_1.encodeDiagnosticInfo)(this.serviceDiagnostics, stream);
807
- (0, node_opcua_basic_types_1.encodeArray)(this.stringTable, stream, node_opcua_basic_types_1.encodeUAString);
807
+ (0, node_opcua_basic_types_1.encodeArray)(this.stringTable, stream, node_opcua_basic_types_1.encodeString);
808
808
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.additionalHeader, stream);
809
809
  }
810
810
  decode(stream) {
@@ -814,7 +814,7 @@ class ResponseHeader extends node_opcua_extension_object_1.ExtensionObject {
814
814
  this.requestHandle = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.requestHandle);
815
815
  this.serviceResult = (0, node_opcua_status_code_1.decodeStatusCode)(stream, this.serviceResult);
816
816
  this.serviceDiagnostics = (0, node_opcua_data_model_1.decodeDiagnosticInfo)(stream, this.serviceDiagnostics);
817
- this.stringTable = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
817
+ this.stringTable = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
818
818
  this.additionalHeader = (0, node_opcua_extension_object_1.decodeExtensionObject)(stream, this.additionalHeader);
819
819
  }
820
820
  get schema() { return schemaResponseHeader; }
@@ -1281,11 +1281,11 @@ const schemaAddReferencesItem = (0, node_opcua_factory_1.buildStructuredType)({
1281
1281
  },
1282
1282
  {
1283
1283
  name: "isForward",
1284
- fieldType: "UABoolean",
1284
+ fieldType: "Boolean",
1285
1285
  },
1286
1286
  {
1287
1287
  name: "targetServerUri",
1288
- fieldType: "UAString",
1288
+ fieldType: "String",
1289
1289
  },
1290
1290
  {
1291
1291
  name: "targetNodeId",
@@ -1327,8 +1327,8 @@ class AddReferencesItem extends node_opcua_extension_object_1.ExtensionObject {
1327
1327
  /* NEEDED */ super.encode(stream);
1328
1328
  (0, node_opcua_basic_types_1.encodeNodeId)(this.sourceNodeId, stream);
1329
1329
  (0, node_opcua_basic_types_1.encodeNodeId)(this.referenceTypeId, stream);
1330
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isForward, stream);
1331
- (0, node_opcua_basic_types_1.encodeUAString)(this.targetServerUri, stream);
1330
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isForward, stream);
1331
+ (0, node_opcua_basic_types_1.encodeString)(this.targetServerUri, stream);
1332
1332
  (0, node_opcua_basic_types_1.encodeExpandedNodeId)(this.targetNodeId, stream);
1333
1333
  encodeNodeClass(this.targetNodeClass, stream);
1334
1334
  }
@@ -1337,8 +1337,8 @@ class AddReferencesItem extends node_opcua_extension_object_1.ExtensionObject {
1337
1337
  /* NEEDED !!! */ super.decode(stream);
1338
1338
  this.sourceNodeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.sourceNodeId);
1339
1339
  this.referenceTypeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.referenceTypeId);
1340
- this.isForward = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isForward);
1341
- this.targetServerUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.targetServerUri);
1340
+ this.isForward = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isForward);
1341
+ this.targetServerUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.targetServerUri);
1342
1342
  this.targetNodeId = (0, node_opcua_basic_types_1.decodeExpandedNodeId)(stream, this.targetNodeId);
1343
1343
  this.targetNodeClass = decodeNodeClass(stream, this.targetNodeClass);
1344
1344
  }
@@ -1639,11 +1639,11 @@ const schemaAggregateConfiguration = (0, node_opcua_factory_1.buildStructuredTyp
1639
1639
  fields: [
1640
1640
  {
1641
1641
  name: "useServerCapabilitiesDefaults",
1642
- fieldType: "UABoolean",
1642
+ fieldType: "Boolean",
1643
1643
  },
1644
1644
  {
1645
1645
  name: "treatUncertainAsBad",
1646
- fieldType: "UABoolean",
1646
+ fieldType: "Boolean",
1647
1647
  },
1648
1648
  {
1649
1649
  name: "percentDataBad",
@@ -1655,7 +1655,7 @@ const schemaAggregateConfiguration = (0, node_opcua_factory_1.buildStructuredTyp
1655
1655
  },
1656
1656
  {
1657
1657
  name: "useSlopedExtrapolation",
1658
- fieldType: "UABoolean",
1658
+ fieldType: "Boolean",
1659
1659
  },
1660
1660
  ]
1661
1661
  });
@@ -1685,20 +1685,20 @@ class AggregateConfiguration extends node_opcua_extension_object_1.ExtensionObje
1685
1685
  static get schema() { return schemaAggregateConfiguration; }
1686
1686
  encode(stream) {
1687
1687
  /* NEEDED */ super.encode(stream);
1688
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.useServerCapabilitiesDefaults, stream);
1689
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.treatUncertainAsBad, stream);
1688
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.useServerCapabilitiesDefaults, stream);
1689
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.treatUncertainAsBad, stream);
1690
1690
  (0, node_opcua_basic_types_1.encodeByte)(this.percentDataBad, stream);
1691
1691
  (0, node_opcua_basic_types_1.encodeByte)(this.percentDataGood, stream);
1692
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.useSlopedExtrapolation, stream);
1692
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.useSlopedExtrapolation, stream);
1693
1693
  }
1694
1694
  decode(stream) {
1695
1695
  // call base class implementation first
1696
1696
  /* NEEDED !!! */ super.decode(stream);
1697
- this.useServerCapabilitiesDefaults = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.useServerCapabilitiesDefaults);
1698
- this.treatUncertainAsBad = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.treatUncertainAsBad);
1697
+ this.useServerCapabilitiesDefaults = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.useServerCapabilitiesDefaults);
1698
+ this.treatUncertainAsBad = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.treatUncertainAsBad);
1699
1699
  this.percentDataBad = (0, node_opcua_basic_types_1.decodeByte)(stream, this.percentDataBad);
1700
1700
  this.percentDataGood = (0, node_opcua_basic_types_1.decodeByte)(stream, this.percentDataGood);
1701
- this.useSlopedExtrapolation = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.useSlopedExtrapolation);
1701
+ this.useSlopedExtrapolation = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.useSlopedExtrapolation);
1702
1702
  }
1703
1703
  get schema() { return schemaAggregateConfiguration; }
1704
1704
  }
@@ -2014,11 +2014,11 @@ const schemaAnnotation = (0, node_opcua_factory_1.buildStructuredType)({
2014
2014
  fields: [
2015
2015
  {
2016
2016
  name: "message",
2017
- fieldType: "UAString",
2017
+ fieldType: "String",
2018
2018
  },
2019
2019
  {
2020
2020
  name: "userName",
2021
- fieldType: "UAString",
2021
+ fieldType: "String",
2022
2022
  },
2023
2023
  {
2024
2024
  name: "annotationTime",
@@ -2048,15 +2048,15 @@ class Annotation extends node_opcua_extension_object_1.ExtensionObject {
2048
2048
  static get schema() { return schemaAnnotation; }
2049
2049
  encode(stream) {
2050
2050
  /* NEEDED */ super.encode(stream);
2051
- (0, node_opcua_basic_types_1.encodeUAString)(this.message, stream);
2052
- (0, node_opcua_basic_types_1.encodeUAString)(this.userName, stream);
2051
+ (0, node_opcua_basic_types_1.encodeString)(this.message, stream);
2052
+ (0, node_opcua_basic_types_1.encodeString)(this.userName, stream);
2053
2053
  (0, node_opcua_basic_types_1.encodeDateTime)(this.annotationTime, stream);
2054
2054
  }
2055
2055
  decode(stream) {
2056
2056
  // call base class implementation first
2057
2057
  /* NEEDED !!! */ super.decode(stream);
2058
- this.message = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.message);
2059
- this.userName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.userName);
2058
+ this.message = (0, node_opcua_basic_types_1.decodeString)(stream, this.message);
2059
+ this.userName = (0, node_opcua_basic_types_1.decodeString)(stream, this.userName);
2060
2060
  this.annotationTime = (0, node_opcua_basic_types_1.decodeDateTime)(stream, this.annotationTime);
2061
2061
  }
2062
2062
  get schema() { return schemaAnnotation; }
@@ -2083,7 +2083,7 @@ const schemaUserIdentityToken = (0, node_opcua_factory_1.buildStructuredType)({
2083
2083
  fields: [
2084
2084
  {
2085
2085
  name: "policyId",
2086
- fieldType: "UAString",
2086
+ fieldType: "String",
2087
2087
  },
2088
2088
  ]
2089
2089
  });
@@ -2105,12 +2105,12 @@ class UserIdentityToken extends node_opcua_extension_object_1.ExtensionObject {
2105
2105
  static get schema() { return schemaUserIdentityToken; }
2106
2106
  encode(stream) {
2107
2107
  /* NEEDED */ super.encode(stream);
2108
- (0, node_opcua_basic_types_1.encodeUAString)(this.policyId, stream);
2108
+ (0, node_opcua_basic_types_1.encodeString)(this.policyId, stream);
2109
2109
  }
2110
2110
  decode(stream) {
2111
2111
  // call base class implementation first
2112
2112
  /* NEEDED !!! */ super.decode(stream);
2113
- this.policyId = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.policyId);
2113
+ this.policyId = (0, node_opcua_basic_types_1.decodeString)(stream, this.policyId);
2114
2114
  }
2115
2115
  get schema() { return schemaUserIdentityToken; }
2116
2116
  }
@@ -2200,11 +2200,11 @@ const schemaApplicationDescription = (0, node_opcua_factory_1.buildStructuredTyp
2200
2200
  fields: [
2201
2201
  {
2202
2202
  name: "applicationUri",
2203
- fieldType: "UAString",
2203
+ fieldType: "String",
2204
2204
  },
2205
2205
  {
2206
2206
  name: "productUri",
2207
- fieldType: "UAString",
2207
+ fieldType: "String",
2208
2208
  },
2209
2209
  {
2210
2210
  name: "applicationName",
@@ -2216,15 +2216,15 @@ const schemaApplicationDescription = (0, node_opcua_factory_1.buildStructuredTyp
2216
2216
  },
2217
2217
  {
2218
2218
  name: "gatewayServerUri",
2219
- fieldType: "UAString",
2219
+ fieldType: "String",
2220
2220
  },
2221
2221
  {
2222
2222
  name: "discoveryProfileUri",
2223
- fieldType: "UAString",
2223
+ fieldType: "String",
2224
2224
  },
2225
2225
  {
2226
2226
  name: "discoveryUrls",
2227
- fieldType: "UAString",
2227
+ fieldType: "String",
2228
2228
  isArray: true
2229
2229
  },
2230
2230
  ]
@@ -2259,24 +2259,24 @@ class ApplicationDescription extends node_opcua_extension_object_1.ExtensionObje
2259
2259
  static get schema() { return schemaApplicationDescription; }
2260
2260
  encode(stream) {
2261
2261
  /* NEEDED */ super.encode(stream);
2262
- (0, node_opcua_basic_types_1.encodeUAString)(this.applicationUri, stream);
2263
- (0, node_opcua_basic_types_1.encodeUAString)(this.productUri, stream);
2262
+ (0, node_opcua_basic_types_1.encodeString)(this.applicationUri, stream);
2263
+ (0, node_opcua_basic_types_1.encodeString)(this.productUri, stream);
2264
2264
  (0, node_opcua_data_model_1.encodeLocalizedText)(this.applicationName, stream);
2265
2265
  encodeApplicationType(this.applicationType, stream);
2266
- (0, node_opcua_basic_types_1.encodeUAString)(this.gatewayServerUri, stream);
2267
- (0, node_opcua_basic_types_1.encodeUAString)(this.discoveryProfileUri, stream);
2268
- (0, node_opcua_basic_types_1.encodeArray)(this.discoveryUrls, stream, node_opcua_basic_types_1.encodeUAString);
2266
+ (0, node_opcua_basic_types_1.encodeString)(this.gatewayServerUri, stream);
2267
+ (0, node_opcua_basic_types_1.encodeString)(this.discoveryProfileUri, stream);
2268
+ (0, node_opcua_basic_types_1.encodeArray)(this.discoveryUrls, stream, node_opcua_basic_types_1.encodeString);
2269
2269
  }
2270
2270
  decode(stream) {
2271
2271
  // call base class implementation first
2272
2272
  /* NEEDED !!! */ super.decode(stream);
2273
- this.applicationUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.applicationUri);
2274
- this.productUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.productUri);
2273
+ this.applicationUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.applicationUri);
2274
+ this.productUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.productUri);
2275
2275
  this.applicationName = (0, node_opcua_data_model_1.decodeLocalizedText)(stream, this.applicationName);
2276
2276
  this.applicationType = decodeApplicationType(stream, this.applicationType);
2277
- this.gatewayServerUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.gatewayServerUri);
2278
- this.discoveryProfileUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.discoveryProfileUri);
2279
- this.discoveryUrls = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
2277
+ this.gatewayServerUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.gatewayServerUri);
2278
+ this.discoveryProfileUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.discoveryProfileUri);
2279
+ this.discoveryUrls = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
2280
2280
  }
2281
2281
  // Define Enumeration setters
2282
2282
  setApplicationType(value) {
@@ -2316,7 +2316,7 @@ const schemaArgument = (0, node_opcua_factory_1.buildStructuredType)({
2316
2316
  fields: [
2317
2317
  {
2318
2318
  name: "name",
2319
- fieldType: "UAString",
2319
+ fieldType: "String",
2320
2320
  },
2321
2321
  {
2322
2322
  name: "dataType",
@@ -2363,7 +2363,7 @@ class Argument extends node_opcua_extension_object_1.ExtensionObject {
2363
2363
  static get schema() { return schemaArgument; }
2364
2364
  encode(stream) {
2365
2365
  /* NEEDED */ super.encode(stream);
2366
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
2366
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
2367
2367
  (0, node_opcua_basic_types_1.encodeNodeId)(this.dataType, stream);
2368
2368
  (0, node_opcua_basic_types_1.encodeInt32)(this.valueRank, stream);
2369
2369
  (0, node_opcua_basic_types_1.encodeArray)(this.arrayDimensions, stream, node_opcua_basic_types_1.encodeUInt32);
@@ -2372,7 +2372,7 @@ class Argument extends node_opcua_extension_object_1.ExtensionObject {
2372
2372
  decode(stream) {
2373
2373
  // call base class implementation first
2374
2374
  /* NEEDED !!! */ super.decode(stream);
2375
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
2375
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
2376
2376
  this.dataType = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.dataType);
2377
2377
  this.valueRank = (0, node_opcua_basic_types_1.decodeInt32)(stream, this.valueRank);
2378
2378
  this.arrayDimensions = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUInt32);
@@ -2408,11 +2408,11 @@ const schemaRelativePathElement = (0, node_opcua_factory_1.buildStructuredType)(
2408
2408
  },
2409
2409
  {
2410
2410
  name: "isInverse",
2411
- fieldType: "UABoolean",
2411
+ fieldType: "Boolean",
2412
2412
  },
2413
2413
  {
2414
2414
  name: "includeSubtypes",
2415
- fieldType: "UABoolean",
2415
+ fieldType: "Boolean",
2416
2416
  },
2417
2417
  {
2418
2418
  name: "targetName",
@@ -2445,16 +2445,16 @@ class RelativePathElement extends node_opcua_extension_object_1.ExtensionObject
2445
2445
  encode(stream) {
2446
2446
  /* NEEDED */ super.encode(stream);
2447
2447
  (0, node_opcua_basic_types_1.encodeNodeId)(this.referenceTypeId, stream);
2448
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isInverse, stream);
2449
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.includeSubtypes, stream);
2448
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isInverse, stream);
2449
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.includeSubtypes, stream);
2450
2450
  (0, node_opcua_data_model_1.encodeQualifiedName)(this.targetName, stream);
2451
2451
  }
2452
2452
  decode(stream) {
2453
2453
  // call base class implementation first
2454
2454
  /* NEEDED !!! */ super.decode(stream);
2455
2455
  this.referenceTypeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.referenceTypeId);
2456
- this.isInverse = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isInverse);
2457
- this.includeSubtypes = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.includeSubtypes);
2456
+ this.isInverse = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isInverse);
2457
+ this.includeSubtypes = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.includeSubtypes);
2458
2458
  this.targetName = (0, node_opcua_data_model_1.decodeQualifiedName)(stream, this.targetName);
2459
2459
  }
2460
2460
  get schema() { return schemaRelativePathElement; }
@@ -2546,7 +2546,7 @@ const schemaAttributeOperand = (0, node_opcua_factory_1.buildStructuredType)({
2546
2546
  },
2547
2547
  {
2548
2548
  name: "alias",
2549
- fieldType: "UAString",
2549
+ fieldType: "String",
2550
2550
  },
2551
2551
  {
2552
2552
  name: "browsePath",
@@ -2589,7 +2589,7 @@ class AttributeOperand extends FilterOperand {
2589
2589
  encode(stream) {
2590
2590
  /* NEEDED */ super.encode(stream);
2591
2591
  (0, node_opcua_basic_types_1.encodeNodeId)(this.nodeId, stream);
2592
- (0, node_opcua_basic_types_1.encodeUAString)(this.alias, stream);
2592
+ (0, node_opcua_basic_types_1.encodeString)(this.alias, stream);
2593
2593
  this.browsePath.encode(stream);
2594
2594
  (0, node_opcua_basic_types_1.encodeUInt32)(this.attributeId, stream);
2595
2595
  (0, node_opcua_numeric_range_1.encodeNumericRange)(this.indexRange, stream);
@@ -2598,7 +2598,7 @@ class AttributeOperand extends FilterOperand {
2598
2598
  // call base class implementation first
2599
2599
  /* NEEDED !!! */ super.decode(stream);
2600
2600
  this.nodeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.nodeId);
2601
- this.alias = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.alias);
2601
+ this.alias = (0, node_opcua_basic_types_1.decodeString)(stream, this.alias);
2602
2602
  this.browsePath.decode(stream);
2603
2603
  this.attributeId = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.attributeId);
2604
2604
  this.indexRange = (0, node_opcua_numeric_range_1.decodeNumericRange)(stream, this.indexRange);
@@ -2669,11 +2669,11 @@ const schemaBrokerConnectionTransportDataType = (0, node_opcua_factory_1.buildSt
2669
2669
  fields: [
2670
2670
  {
2671
2671
  name: "resourceUri",
2672
- fieldType: "UAString",
2672
+ fieldType: "String",
2673
2673
  },
2674
2674
  {
2675
2675
  name: "authenticationProfileUri",
2676
- fieldType: "UAString",
2676
+ fieldType: "String",
2677
2677
  },
2678
2678
  ]
2679
2679
  });
@@ -2697,14 +2697,14 @@ class BrokerConnectionTransportDataType extends ConnectionTransportDataType {
2697
2697
  static get schema() { return schemaBrokerConnectionTransportDataType; }
2698
2698
  encode(stream) {
2699
2699
  /* NEEDED */ super.encode(stream);
2700
- (0, node_opcua_basic_types_1.encodeUAString)(this.resourceUri, stream);
2701
- (0, node_opcua_basic_types_1.encodeUAString)(this.authenticationProfileUri, stream);
2700
+ (0, node_opcua_basic_types_1.encodeString)(this.resourceUri, stream);
2701
+ (0, node_opcua_basic_types_1.encodeString)(this.authenticationProfileUri, stream);
2702
2702
  }
2703
2703
  decode(stream) {
2704
2704
  // call base class implementation first
2705
2705
  /* NEEDED !!! */ super.decode(stream);
2706
- this.resourceUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.resourceUri);
2707
- this.authenticationProfileUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.authenticationProfileUri);
2706
+ this.resourceUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.resourceUri);
2707
+ this.authenticationProfileUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.authenticationProfileUri);
2708
2708
  }
2709
2709
  get schema() { return schemaBrokerConnectionTransportDataType; }
2710
2710
  }
@@ -2796,15 +2796,15 @@ const schemaBrokerDataSetReaderTransportDataType = (0, node_opcua_factory_1.buil
2796
2796
  fields: [
2797
2797
  {
2798
2798
  name: "queueName",
2799
- fieldType: "UAString",
2799
+ fieldType: "String",
2800
2800
  },
2801
2801
  {
2802
2802
  name: "resourceUri",
2803
- fieldType: "UAString",
2803
+ fieldType: "String",
2804
2804
  },
2805
2805
  {
2806
2806
  name: "authenticationProfileUri",
2807
- fieldType: "UAString",
2807
+ fieldType: "String",
2808
2808
  },
2809
2809
  {
2810
2810
  name: "requestedDeliveryGuarantee",
@@ -2812,7 +2812,7 @@ const schemaBrokerDataSetReaderTransportDataType = (0, node_opcua_factory_1.buil
2812
2812
  },
2813
2813
  {
2814
2814
  name: "metaDataQueueName",
2815
- fieldType: "UAString",
2815
+ fieldType: "String",
2816
2816
  },
2817
2817
  ]
2818
2818
  });
@@ -2842,20 +2842,20 @@ class BrokerDataSetReaderTransportDataType extends DataSetReaderTransportDataTyp
2842
2842
  static get schema() { return schemaBrokerDataSetReaderTransportDataType; }
2843
2843
  encode(stream) {
2844
2844
  /* NEEDED */ super.encode(stream);
2845
- (0, node_opcua_basic_types_1.encodeUAString)(this.queueName, stream);
2846
- (0, node_opcua_basic_types_1.encodeUAString)(this.resourceUri, stream);
2847
- (0, node_opcua_basic_types_1.encodeUAString)(this.authenticationProfileUri, stream);
2845
+ (0, node_opcua_basic_types_1.encodeString)(this.queueName, stream);
2846
+ (0, node_opcua_basic_types_1.encodeString)(this.resourceUri, stream);
2847
+ (0, node_opcua_basic_types_1.encodeString)(this.authenticationProfileUri, stream);
2848
2848
  encodeBrokerTransportQualityOfService(this.requestedDeliveryGuarantee, stream);
2849
- (0, node_opcua_basic_types_1.encodeUAString)(this.metaDataQueueName, stream);
2849
+ (0, node_opcua_basic_types_1.encodeString)(this.metaDataQueueName, stream);
2850
2850
  }
2851
2851
  decode(stream) {
2852
2852
  // call base class implementation first
2853
2853
  /* NEEDED !!! */ super.decode(stream);
2854
- this.queueName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.queueName);
2855
- this.resourceUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.resourceUri);
2856
- this.authenticationProfileUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.authenticationProfileUri);
2854
+ this.queueName = (0, node_opcua_basic_types_1.decodeString)(stream, this.queueName);
2855
+ this.resourceUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.resourceUri);
2856
+ this.authenticationProfileUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.authenticationProfileUri);
2857
2857
  this.requestedDeliveryGuarantee = decodeBrokerTransportQualityOfService(stream, this.requestedDeliveryGuarantee);
2858
- this.metaDataQueueName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.metaDataQueueName);
2858
+ this.metaDataQueueName = (0, node_opcua_basic_types_1.decodeString)(stream, this.metaDataQueueName);
2859
2859
  }
2860
2860
  // Define Enumeration setters
2861
2861
  setRequestedDeliveryGuarantee(value) {
@@ -2933,15 +2933,15 @@ const schemaBrokerDataSetWriterTransportDataType = (0, node_opcua_factory_1.buil
2933
2933
  fields: [
2934
2934
  {
2935
2935
  name: "queueName",
2936
- fieldType: "UAString",
2936
+ fieldType: "String",
2937
2937
  },
2938
2938
  {
2939
2939
  name: "resourceUri",
2940
- fieldType: "UAString",
2940
+ fieldType: "String",
2941
2941
  },
2942
2942
  {
2943
2943
  name: "authenticationProfileUri",
2944
- fieldType: "UAString",
2944
+ fieldType: "String",
2945
2945
  },
2946
2946
  {
2947
2947
  name: "requestedDeliveryGuarantee",
@@ -2949,7 +2949,7 @@ const schemaBrokerDataSetWriterTransportDataType = (0, node_opcua_factory_1.buil
2949
2949
  },
2950
2950
  {
2951
2951
  name: "metaDataQueueName",
2952
- fieldType: "UAString",
2952
+ fieldType: "String",
2953
2953
  },
2954
2954
  {
2955
2955
  name: "metaDataUpdateTime",
@@ -2985,21 +2985,21 @@ class BrokerDataSetWriterTransportDataType extends DataSetWriterTransportDataTyp
2985
2985
  static get schema() { return schemaBrokerDataSetWriterTransportDataType; }
2986
2986
  encode(stream) {
2987
2987
  /* NEEDED */ super.encode(stream);
2988
- (0, node_opcua_basic_types_1.encodeUAString)(this.queueName, stream);
2989
- (0, node_opcua_basic_types_1.encodeUAString)(this.resourceUri, stream);
2990
- (0, node_opcua_basic_types_1.encodeUAString)(this.authenticationProfileUri, stream);
2988
+ (0, node_opcua_basic_types_1.encodeString)(this.queueName, stream);
2989
+ (0, node_opcua_basic_types_1.encodeString)(this.resourceUri, stream);
2990
+ (0, node_opcua_basic_types_1.encodeString)(this.authenticationProfileUri, stream);
2991
2991
  encodeBrokerTransportQualityOfService(this.requestedDeliveryGuarantee, stream);
2992
- (0, node_opcua_basic_types_1.encodeUAString)(this.metaDataQueueName, stream);
2992
+ (0, node_opcua_basic_types_1.encodeString)(this.metaDataQueueName, stream);
2993
2993
  (0, node_opcua_basic_types_1.encodeDouble)(this.metaDataUpdateTime, stream);
2994
2994
  }
2995
2995
  decode(stream) {
2996
2996
  // call base class implementation first
2997
2997
  /* NEEDED !!! */ super.decode(stream);
2998
- this.queueName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.queueName);
2999
- this.resourceUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.resourceUri);
3000
- this.authenticationProfileUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.authenticationProfileUri);
2998
+ this.queueName = (0, node_opcua_basic_types_1.decodeString)(stream, this.queueName);
2999
+ this.resourceUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.resourceUri);
3000
+ this.authenticationProfileUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.authenticationProfileUri);
3001
3001
  this.requestedDeliveryGuarantee = decodeBrokerTransportQualityOfService(stream, this.requestedDeliveryGuarantee);
3002
- this.metaDataQueueName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.metaDataQueueName);
3002
+ this.metaDataQueueName = (0, node_opcua_basic_types_1.decodeString)(stream, this.metaDataQueueName);
3003
3003
  this.metaDataUpdateTime = (0, node_opcua_basic_types_1.decodeDouble)(stream, this.metaDataUpdateTime);
3004
3004
  }
3005
3005
  // Define Enumeration setters
@@ -3079,15 +3079,15 @@ const schemaBrokerWriterGroupTransportDataType = (0, node_opcua_factory_1.buildS
3079
3079
  fields: [
3080
3080
  {
3081
3081
  name: "queueName",
3082
- fieldType: "UAString",
3082
+ fieldType: "String",
3083
3083
  },
3084
3084
  {
3085
3085
  name: "resourceUri",
3086
- fieldType: "UAString",
3086
+ fieldType: "String",
3087
3087
  },
3088
3088
  {
3089
3089
  name: "authenticationProfileUri",
3090
- fieldType: "UAString",
3090
+ fieldType: "String",
3091
3091
  },
3092
3092
  {
3093
3093
  name: "requestedDeliveryGuarantee",
@@ -3119,17 +3119,17 @@ class BrokerWriterGroupTransportDataType extends WriterGroupTransportDataType {
3119
3119
  static get schema() { return schemaBrokerWriterGroupTransportDataType; }
3120
3120
  encode(stream) {
3121
3121
  /* NEEDED */ super.encode(stream);
3122
- (0, node_opcua_basic_types_1.encodeUAString)(this.queueName, stream);
3123
- (0, node_opcua_basic_types_1.encodeUAString)(this.resourceUri, stream);
3124
- (0, node_opcua_basic_types_1.encodeUAString)(this.authenticationProfileUri, stream);
3122
+ (0, node_opcua_basic_types_1.encodeString)(this.queueName, stream);
3123
+ (0, node_opcua_basic_types_1.encodeString)(this.resourceUri, stream);
3124
+ (0, node_opcua_basic_types_1.encodeString)(this.authenticationProfileUri, stream);
3125
3125
  encodeBrokerTransportQualityOfService(this.requestedDeliveryGuarantee, stream);
3126
3126
  }
3127
3127
  decode(stream) {
3128
3128
  // call base class implementation first
3129
3129
  /* NEEDED !!! */ super.decode(stream);
3130
- this.queueName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.queueName);
3131
- this.resourceUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.resourceUri);
3132
- this.authenticationProfileUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.authenticationProfileUri);
3130
+ this.queueName = (0, node_opcua_basic_types_1.decodeString)(stream, this.queueName);
3131
+ this.resourceUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.resourceUri);
3132
+ this.authenticationProfileUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.authenticationProfileUri);
3133
3133
  this.requestedDeliveryGuarantee = decodeBrokerTransportQualityOfService(stream, this.requestedDeliveryGuarantee);
3134
3134
  }
3135
3135
  // Define Enumeration setters
@@ -3179,7 +3179,7 @@ const schemaBrowseDescription = (0, node_opcua_factory_1.buildStructuredType)({
3179
3179
  },
3180
3180
  {
3181
3181
  name: "includeSubtypes",
3182
- fieldType: "UABoolean",
3182
+ fieldType: "Boolean",
3183
3183
  },
3184
3184
  {
3185
3185
  name: "nodeClassMask",
@@ -3222,7 +3222,7 @@ class BrowseDescription extends node_opcua_extension_object_1.ExtensionObject {
3222
3222
  (0, node_opcua_basic_types_1.encodeNodeId)(this.nodeId, stream);
3223
3223
  (0, node_opcua_data_model_1.encodeBrowseDirection)(this.browseDirection, stream);
3224
3224
  (0, node_opcua_basic_types_1.encodeNodeId)(this.referenceTypeId, stream);
3225
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.includeSubtypes, stream);
3225
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.includeSubtypes, stream);
3226
3226
  (0, node_opcua_basic_types_1.encodeUInt32)(this.nodeClassMask, stream);
3227
3227
  (0, node_opcua_basic_types_1.encodeUInt32)(this.resultMask, stream);
3228
3228
  }
@@ -3232,7 +3232,7 @@ class BrowseDescription extends node_opcua_extension_object_1.ExtensionObject {
3232
3232
  this.nodeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.nodeId);
3233
3233
  this.browseDirection = (0, node_opcua_data_model_1.decodeBrowseDirection)(stream, this.browseDirection);
3234
3234
  this.referenceTypeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.referenceTypeId);
3235
- this.includeSubtypes = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.includeSubtypes);
3235
+ this.includeSubtypes = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.includeSubtypes);
3236
3236
  this.nodeClassMask = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.nodeClassMask);
3237
3237
  this.resultMask = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.resultMask);
3238
3238
  }
@@ -3277,7 +3277,7 @@ const schemaBrowseNextRequest = (0, node_opcua_factory_1.buildStructuredType)({
3277
3277
  },
3278
3278
  {
3279
3279
  name: "releaseContinuationPoints",
3280
- fieldType: "UABoolean",
3280
+ fieldType: "Boolean",
3281
3281
  },
3282
3282
  {
3283
3283
  name: "continuationPoints",
@@ -3309,14 +3309,14 @@ class BrowseNextRequest extends node_opcua_extension_object_1.ExtensionObject {
3309
3309
  encode(stream) {
3310
3310
  /* NEEDED */ super.encode(stream);
3311
3311
  this.requestHeader.encode(stream);
3312
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.releaseContinuationPoints, stream);
3312
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.releaseContinuationPoints, stream);
3313
3313
  (0, node_opcua_basic_types_1.encodeArray)(this.continuationPoints, stream, node_opcua_basic_types_1.encodeByteString);
3314
3314
  }
3315
3315
  decode(stream) {
3316
3316
  // call base class implementation first
3317
3317
  /* NEEDED !!! */ super.decode(stream);
3318
3318
  this.requestHeader.decode(stream);
3319
- this.releaseContinuationPoints = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.releaseContinuationPoints);
3319
+ this.releaseContinuationPoints = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.releaseContinuationPoints);
3320
3320
  this.continuationPoints = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeByteString);
3321
3321
  }
3322
3322
  get schema() { return schemaBrowseNextRequest; }
@@ -3347,7 +3347,7 @@ const schemaReferenceDescription = (0, node_opcua_factory_1.buildStructuredType)
3347
3347
  },
3348
3348
  {
3349
3349
  name: "isForward",
3350
- fieldType: "UABoolean",
3350
+ fieldType: "Boolean",
3351
3351
  },
3352
3352
  {
3353
3353
  name: "nodeId",
@@ -3402,7 +3402,7 @@ class ReferenceDescription extends node_opcua_extension_object_1.ExtensionObject
3402
3402
  encode(stream) {
3403
3403
  /* NEEDED */ super.encode(stream);
3404
3404
  (0, node_opcua_basic_types_1.encodeNodeId)(this.referenceTypeId, stream);
3405
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isForward, stream);
3405
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isForward, stream);
3406
3406
  (0, node_opcua_basic_types_1.encodeExpandedNodeId)(this.nodeId, stream);
3407
3407
  (0, node_opcua_data_model_1.encodeQualifiedName)(this.browseName, stream);
3408
3408
  (0, node_opcua_data_model_1.encodeLocalizedText)(this.displayName, stream);
@@ -3413,7 +3413,7 @@ class ReferenceDescription extends node_opcua_extension_object_1.ExtensionObject
3413
3413
  // call base class implementation first
3414
3414
  /* NEEDED !!! */ super.decode(stream);
3415
3415
  this.referenceTypeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.referenceTypeId);
3416
- this.isForward = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isForward);
3416
+ this.isForward = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isForward);
3417
3417
  this.nodeId = (0, node_opcua_basic_types_1.decodeExpandedNodeId)(stream, this.nodeId);
3418
3418
  this.browseName = (0, node_opcua_data_model_1.decodeQualifiedName)(stream, this.browseName);
3419
3419
  this.displayName = (0, node_opcua_data_model_1.decodeLocalizedText)(stream, this.displayName);
@@ -4039,23 +4039,23 @@ const schemaBuildInfo = (0, node_opcua_factory_1.buildStructuredType)({
4039
4039
  fields: [
4040
4040
  {
4041
4041
  name: "productUri",
4042
- fieldType: "UAString",
4042
+ fieldType: "String",
4043
4043
  },
4044
4044
  {
4045
4045
  name: "manufacturerName",
4046
- fieldType: "UAString",
4046
+ fieldType: "String",
4047
4047
  },
4048
4048
  {
4049
4049
  name: "productName",
4050
- fieldType: "UAString",
4050
+ fieldType: "String",
4051
4051
  },
4052
4052
  {
4053
4053
  name: "softwareVersion",
4054
- fieldType: "UAString",
4054
+ fieldType: "String",
4055
4055
  },
4056
4056
  {
4057
4057
  name: "buildNumber",
4058
- fieldType: "UAString",
4058
+ fieldType: "String",
4059
4059
  },
4060
4060
  {
4061
4061
  name: "buildDate",
@@ -4091,21 +4091,21 @@ class BuildInfo extends node_opcua_extension_object_1.ExtensionObject {
4091
4091
  static get schema() { return schemaBuildInfo; }
4092
4092
  encode(stream) {
4093
4093
  /* NEEDED */ super.encode(stream);
4094
- (0, node_opcua_basic_types_1.encodeUAString)(this.productUri, stream);
4095
- (0, node_opcua_basic_types_1.encodeUAString)(this.manufacturerName, stream);
4096
- (0, node_opcua_basic_types_1.encodeUAString)(this.productName, stream);
4097
- (0, node_opcua_basic_types_1.encodeUAString)(this.softwareVersion, stream);
4098
- (0, node_opcua_basic_types_1.encodeUAString)(this.buildNumber, stream);
4094
+ (0, node_opcua_basic_types_1.encodeString)(this.productUri, stream);
4095
+ (0, node_opcua_basic_types_1.encodeString)(this.manufacturerName, stream);
4096
+ (0, node_opcua_basic_types_1.encodeString)(this.productName, stream);
4097
+ (0, node_opcua_basic_types_1.encodeString)(this.softwareVersion, stream);
4098
+ (0, node_opcua_basic_types_1.encodeString)(this.buildNumber, stream);
4099
4099
  (0, node_opcua_basic_types_1.encodeDateTime)(this.buildDate, stream);
4100
4100
  }
4101
4101
  decode(stream) {
4102
4102
  // call base class implementation first
4103
4103
  /* NEEDED !!! */ super.decode(stream);
4104
- this.productUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.productUri);
4105
- this.manufacturerName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.manufacturerName);
4106
- this.productName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.productName);
4107
- this.softwareVersion = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.softwareVersion);
4108
- this.buildNumber = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.buildNumber);
4104
+ this.productUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.productUri);
4105
+ this.manufacturerName = (0, node_opcua_basic_types_1.decodeString)(stream, this.manufacturerName);
4106
+ this.productName = (0, node_opcua_basic_types_1.decodeString)(stream, this.productName);
4107
+ this.softwareVersion = (0, node_opcua_basic_types_1.decodeString)(stream, this.softwareVersion);
4108
+ this.buildNumber = (0, node_opcua_basic_types_1.decodeString)(stream, this.buildNumber);
4109
4109
  this.buildDate = (0, node_opcua_basic_types_1.decodeDateTime)(stream, this.buildDate);
4110
4110
  }
4111
4111
  get schema() { return schemaBuildInfo; }
@@ -4778,7 +4778,7 @@ const schemaCloseSessionRequest = (0, node_opcua_factory_1.buildStructuredType)(
4778
4778
  },
4779
4779
  {
4780
4780
  name: "deleteSubscriptions",
4781
- fieldType: "UABoolean",
4781
+ fieldType: "Boolean",
4782
4782
  },
4783
4783
  ]
4784
4784
  });
@@ -4803,13 +4803,13 @@ class CloseSessionRequest extends node_opcua_extension_object_1.ExtensionObject
4803
4803
  encode(stream) {
4804
4804
  /* NEEDED */ super.encode(stream);
4805
4805
  this.requestHeader.encode(stream);
4806
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.deleteSubscriptions, stream);
4806
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.deleteSubscriptions, stream);
4807
4807
  }
4808
4808
  decode(stream) {
4809
4809
  // call base class implementation first
4810
4810
  /* NEEDED !!! */ super.decode(stream);
4811
4811
  this.requestHeader.decode(stream);
4812
- this.deleteSubscriptions = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.deleteSubscriptions);
4812
+ this.deleteSubscriptions = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.deleteSubscriptions);
4813
4813
  }
4814
4814
  get schema() { return schemaCloseSessionRequest; }
4815
4815
  }
@@ -5436,7 +5436,7 @@ const schemaMonitoringParameters = (0, node_opcua_factory_1.buildStructuredType)
5436
5436
  },
5437
5437
  {
5438
5438
  name: "discardOldest",
5439
- fieldType: "UABoolean",
5439
+ fieldType: "Boolean",
5440
5440
  },
5441
5441
  ]
5442
5442
  });
@@ -5470,7 +5470,7 @@ class MonitoringParameters extends node_opcua_extension_object_1.ExtensionObject
5470
5470
  (0, node_opcua_basic_types_1.encodeDouble)(this.samplingInterval, stream);
5471
5471
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.filter, stream);
5472
5472
  (0, node_opcua_basic_types_1.encodeUInt32)(this.queueSize, stream);
5473
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.discardOldest, stream);
5473
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.discardOldest, stream);
5474
5474
  }
5475
5475
  decode(stream) {
5476
5476
  // call base class implementation first
@@ -5479,7 +5479,7 @@ class MonitoringParameters extends node_opcua_extension_object_1.ExtensionObject
5479
5479
  this.samplingInterval = (0, node_opcua_basic_types_1.decodeDouble)(stream, this.samplingInterval);
5480
5480
  this.filter = (0, node_opcua_extension_object_1.decodeExtensionObject)(stream, this.filter);
5481
5481
  this.queueSize = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.queueSize);
5482
- this.discardOldest = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.discardOldest);
5482
+ this.discardOldest = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.discardOldest);
5483
5483
  }
5484
5484
  get schema() { return schemaMonitoringParameters; }
5485
5485
  }
@@ -5857,15 +5857,15 @@ const schemaCreateSessionRequest = (0, node_opcua_factory_1.buildStructuredType)
5857
5857
  },
5858
5858
  {
5859
5859
  name: "serverUri",
5860
- fieldType: "UAString",
5860
+ fieldType: "String",
5861
5861
  },
5862
5862
  {
5863
5863
  name: "endpointUrl",
5864
- fieldType: "UAString",
5864
+ fieldType: "String",
5865
5865
  },
5866
5866
  {
5867
5867
  name: "sessionName",
5868
- fieldType: "UAString",
5868
+ fieldType: "String",
5869
5869
  },
5870
5870
  {
5871
5871
  name: "clientNonce",
@@ -5921,9 +5921,9 @@ class CreateSessionRequest extends node_opcua_extension_object_1.ExtensionObject
5921
5921
  /* NEEDED */ super.encode(stream);
5922
5922
  this.requestHeader.encode(stream);
5923
5923
  this.clientDescription.encode(stream);
5924
- (0, node_opcua_basic_types_1.encodeUAString)(this.serverUri, stream);
5925
- (0, node_opcua_basic_types_1.encodeUAString)(this.endpointUrl, stream);
5926
- (0, node_opcua_basic_types_1.encodeUAString)(this.sessionName, stream);
5924
+ (0, node_opcua_basic_types_1.encodeString)(this.serverUri, stream);
5925
+ (0, node_opcua_basic_types_1.encodeString)(this.endpointUrl, stream);
5926
+ (0, node_opcua_basic_types_1.encodeString)(this.sessionName, stream);
5927
5927
  (0, node_opcua_basic_types_1.encodeByteString)(this.clientNonce, stream);
5928
5928
  (0, node_opcua_basic_types_1.encodeByteString)(this.clientCertificate, stream);
5929
5929
  (0, node_opcua_basic_types_1.encodeDouble)(this.requestedSessionTimeout, stream);
@@ -5934,9 +5934,9 @@ class CreateSessionRequest extends node_opcua_extension_object_1.ExtensionObject
5934
5934
  /* NEEDED !!! */ super.decode(stream);
5935
5935
  this.requestHeader.decode(stream);
5936
5936
  this.clientDescription.decode(stream);
5937
- this.serverUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.serverUri);
5938
- this.endpointUrl = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.endpointUrl);
5939
- this.sessionName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.sessionName);
5937
+ this.serverUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.serverUri);
5938
+ this.endpointUrl = (0, node_opcua_basic_types_1.decodeString)(stream, this.endpointUrl);
5939
+ this.sessionName = (0, node_opcua_basic_types_1.decodeString)(stream, this.sessionName);
5940
5940
  this.clientNonce = (0, node_opcua_basic_types_1.decodeByteString)(stream, this.clientNonce);
5941
5941
  this.clientCertificate = (0, node_opcua_basic_types_1.decodeByteString)(stream, this.clientCertificate);
5942
5942
  this.requestedSessionTimeout = (0, node_opcua_basic_types_1.decodeDouble)(stream, this.requestedSessionTimeout);
@@ -6023,7 +6023,7 @@ const schemaUserTokenPolicy = (0, node_opcua_factory_1.buildStructuredType)({
6023
6023
  fields: [
6024
6024
  {
6025
6025
  name: "policyId",
6026
- fieldType: "UAString",
6026
+ fieldType: "String",
6027
6027
  },
6028
6028
  {
6029
6029
  name: "tokenType",
@@ -6031,15 +6031,15 @@ const schemaUserTokenPolicy = (0, node_opcua_factory_1.buildStructuredType)({
6031
6031
  },
6032
6032
  {
6033
6033
  name: "issuedTokenType",
6034
- fieldType: "UAString",
6034
+ fieldType: "String",
6035
6035
  },
6036
6036
  {
6037
6037
  name: "issuerEndpointUrl",
6038
- fieldType: "UAString",
6038
+ fieldType: "String",
6039
6039
  },
6040
6040
  {
6041
6041
  name: "securityPolicyUri",
6042
- fieldType: "UAString",
6042
+ fieldType: "String",
6043
6043
  },
6044
6044
  ]
6045
6045
  });
@@ -6069,20 +6069,20 @@ class UserTokenPolicy extends node_opcua_extension_object_1.ExtensionObject {
6069
6069
  static get schema() { return schemaUserTokenPolicy; }
6070
6070
  encode(stream) {
6071
6071
  /* NEEDED */ super.encode(stream);
6072
- (0, node_opcua_basic_types_1.encodeUAString)(this.policyId, stream);
6072
+ (0, node_opcua_basic_types_1.encodeString)(this.policyId, stream);
6073
6073
  encodeUserTokenType(this.tokenType, stream);
6074
- (0, node_opcua_basic_types_1.encodeUAString)(this.issuedTokenType, stream);
6075
- (0, node_opcua_basic_types_1.encodeUAString)(this.issuerEndpointUrl, stream);
6076
- (0, node_opcua_basic_types_1.encodeUAString)(this.securityPolicyUri, stream);
6074
+ (0, node_opcua_basic_types_1.encodeString)(this.issuedTokenType, stream);
6075
+ (0, node_opcua_basic_types_1.encodeString)(this.issuerEndpointUrl, stream);
6076
+ (0, node_opcua_basic_types_1.encodeString)(this.securityPolicyUri, stream);
6077
6077
  }
6078
6078
  decode(stream) {
6079
6079
  // call base class implementation first
6080
6080
  /* NEEDED !!! */ super.decode(stream);
6081
- this.policyId = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.policyId);
6081
+ this.policyId = (0, node_opcua_basic_types_1.decodeString)(stream, this.policyId);
6082
6082
  this.tokenType = decodeUserTokenType(stream, this.tokenType);
6083
- this.issuedTokenType = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.issuedTokenType);
6084
- this.issuerEndpointUrl = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.issuerEndpointUrl);
6085
- this.securityPolicyUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.securityPolicyUri);
6083
+ this.issuedTokenType = (0, node_opcua_basic_types_1.decodeString)(stream, this.issuedTokenType);
6084
+ this.issuerEndpointUrl = (0, node_opcua_basic_types_1.decodeString)(stream, this.issuerEndpointUrl);
6085
+ this.securityPolicyUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.securityPolicyUri);
6086
6086
  }
6087
6087
  // Define Enumeration setters
6088
6088
  setTokenType(value) {
@@ -6120,7 +6120,7 @@ const schemaEndpointDescription = (0, node_opcua_factory_1.buildStructuredType)(
6120
6120
  fields: [
6121
6121
  {
6122
6122
  name: "endpointUrl",
6123
- fieldType: "UAString",
6123
+ fieldType: "String",
6124
6124
  },
6125
6125
  {
6126
6126
  name: "server",
@@ -6136,7 +6136,7 @@ const schemaEndpointDescription = (0, node_opcua_factory_1.buildStructuredType)(
6136
6136
  },
6137
6137
  {
6138
6138
  name: "securityPolicyUri",
6139
- fieldType: "UAString",
6139
+ fieldType: "String",
6140
6140
  },
6141
6141
  {
6142
6142
  name: "userIdentityTokens",
@@ -6145,7 +6145,7 @@ const schemaEndpointDescription = (0, node_opcua_factory_1.buildStructuredType)(
6145
6145
  },
6146
6146
  {
6147
6147
  name: "transportProfileUri",
6148
- fieldType: "UAString",
6148
+ fieldType: "String",
6149
6149
  },
6150
6150
  {
6151
6151
  name: "securityLevel",
@@ -6189,29 +6189,29 @@ class EndpointDescription extends node_opcua_extension_object_1.ExtensionObject
6189
6189
  static get schema() { return schemaEndpointDescription; }
6190
6190
  encode(stream) {
6191
6191
  /* NEEDED */ super.encode(stream);
6192
- (0, node_opcua_basic_types_1.encodeUAString)(this.endpointUrl, stream);
6192
+ (0, node_opcua_basic_types_1.encodeString)(this.endpointUrl, stream);
6193
6193
  this.server.encode(stream);
6194
6194
  (0, node_opcua_basic_types_1.encodeByteString)(this.serverCertificate, stream);
6195
6195
  encodeMessageSecurityMode(this.securityMode, stream);
6196
- (0, node_opcua_basic_types_1.encodeUAString)(this.securityPolicyUri, stream);
6196
+ (0, node_opcua_basic_types_1.encodeString)(this.securityPolicyUri, stream);
6197
6197
  (0, node_opcua_basic_types_1.encodeArray)(this.userIdentityTokens, stream, (obj, stream1) => { obj.encode(stream1); });
6198
- (0, node_opcua_basic_types_1.encodeUAString)(this.transportProfileUri, stream);
6198
+ (0, node_opcua_basic_types_1.encodeString)(this.transportProfileUri, stream);
6199
6199
  (0, node_opcua_basic_types_1.encodeByte)(this.securityLevel, stream);
6200
6200
  }
6201
6201
  decode(stream) {
6202
6202
  // call base class implementation first
6203
6203
  /* NEEDED !!! */ super.decode(stream);
6204
- this.endpointUrl = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.endpointUrl);
6204
+ this.endpointUrl = (0, node_opcua_basic_types_1.decodeString)(stream, this.endpointUrl);
6205
6205
  this.server.decode(stream);
6206
6206
  this.serverCertificate = (0, node_opcua_basic_types_1.decodeByteString)(stream, this.serverCertificate);
6207
6207
  this.securityMode = decodeMessageSecurityMode(stream, this.securityMode);
6208
- this.securityPolicyUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.securityPolicyUri);
6208
+ this.securityPolicyUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.securityPolicyUri);
6209
6209
  this.userIdentityTokens = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
6210
6210
  const obj = new UserTokenPolicy(null);
6211
6211
  obj.decode(stream1);
6212
6212
  return obj;
6213
6213
  });
6214
- this.transportProfileUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.transportProfileUri);
6214
+ this.transportProfileUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.transportProfileUri);
6215
6215
  this.securityLevel = (0, node_opcua_basic_types_1.decodeByte)(stream, this.securityLevel);
6216
6216
  }
6217
6217
  // Define Enumeration setters
@@ -6423,7 +6423,7 @@ const schemaCreateSubscriptionRequest = (0, node_opcua_factory_1.buildStructured
6423
6423
  },
6424
6424
  {
6425
6425
  name: "publishingEnabled",
6426
- fieldType: "UABoolean",
6426
+ fieldType: "Boolean",
6427
6427
  },
6428
6428
  {
6429
6429
  name: "priority",
@@ -6466,7 +6466,7 @@ class CreateSubscriptionRequest extends node_opcua_extension_object_1.ExtensionO
6466
6466
  (0, node_opcua_basic_types_1.encodeUInt32)(this.requestedLifetimeCount, stream);
6467
6467
  (0, node_opcua_basic_types_1.encodeUInt32)(this.requestedMaxKeepAliveCount, stream);
6468
6468
  (0, node_opcua_basic_types_1.encodeUInt32)(this.maxNotificationsPerPublish, stream);
6469
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.publishingEnabled, stream);
6469
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.publishingEnabled, stream);
6470
6470
  (0, node_opcua_basic_types_1.encodeByte)(this.priority, stream);
6471
6471
  }
6472
6472
  decode(stream) {
@@ -6477,7 +6477,7 @@ class CreateSubscriptionRequest extends node_opcua_extension_object_1.ExtensionO
6477
6477
  this.requestedLifetimeCount = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.requestedLifetimeCount);
6478
6478
  this.requestedMaxKeepAliveCount = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.requestedMaxKeepAliveCount);
6479
6479
  this.maxNotificationsPerPublish = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.maxNotificationsPerPublish);
6480
- this.publishingEnabled = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.publishingEnabled);
6480
+ this.publishingEnabled = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.publishingEnabled);
6481
6481
  this.priority = (0, node_opcua_basic_types_1.decodeByte)(stream, this.priority);
6482
6482
  }
6483
6483
  get schema() { return schemaCreateSubscriptionRequest; }
@@ -6603,7 +6603,7 @@ const schemaCurrencyUnitType = (0, node_opcua_factory_1.buildStructuredType)({
6603
6603
  },
6604
6604
  {
6605
6605
  name: "alphabeticCode",
6606
- fieldType: "UAString",
6606
+ fieldType: "String",
6607
6607
  },
6608
6608
  {
6609
6609
  name: "currency",
@@ -6637,7 +6637,7 @@ class CurrencyUnitType extends node_opcua_extension_object_1.ExtensionObject {
6637
6637
  /* NEEDED */ super.encode(stream);
6638
6638
  (0, node_opcua_basic_types_1.encodeInt16)(this.numericCode, stream);
6639
6639
  (0, node_opcua_basic_types_1.encodeSByte)(this.exponent, stream);
6640
- (0, node_opcua_basic_types_1.encodeUAString)(this.alphabeticCode, stream);
6640
+ (0, node_opcua_basic_types_1.encodeString)(this.alphabeticCode, stream);
6641
6641
  (0, node_opcua_data_model_1.encodeLocalizedText)(this.currency, stream);
6642
6642
  }
6643
6643
  decode(stream) {
@@ -6645,7 +6645,7 @@ class CurrencyUnitType extends node_opcua_extension_object_1.ExtensionObject {
6645
6645
  /* NEEDED !!! */ super.decode(stream);
6646
6646
  this.numericCode = (0, node_opcua_basic_types_1.decodeInt16)(stream, this.numericCode);
6647
6647
  this.exponent = (0, node_opcua_basic_types_1.decodeSByte)(stream, this.exponent);
6648
- this.alphabeticCode = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.alphabeticCode);
6648
+ this.alphabeticCode = (0, node_opcua_basic_types_1.decodeString)(stream, this.alphabeticCode);
6649
6649
  this.currency = (0, node_opcua_data_model_1.decodeLocalizedText)(stream, this.currency);
6650
6650
  }
6651
6651
  get schema() { return schemaCurrencyUnitType; }
@@ -7074,7 +7074,7 @@ const schemaStructureField = (0, node_opcua_factory_1.buildStructuredType)({
7074
7074
  fields: [
7075
7075
  {
7076
7076
  name: "name",
7077
- fieldType: "UAString",
7077
+ fieldType: "String",
7078
7078
  },
7079
7079
  {
7080
7080
  name: "description",
@@ -7099,7 +7099,7 @@ const schemaStructureField = (0, node_opcua_factory_1.buildStructuredType)({
7099
7099
  },
7100
7100
  {
7101
7101
  name: "isOptional",
7102
- fieldType: "UABoolean",
7102
+ fieldType: "Boolean",
7103
7103
  },
7104
7104
  ]
7105
7105
  });
@@ -7133,24 +7133,24 @@ class StructureField extends node_opcua_extension_object_1.ExtensionObject {
7133
7133
  static get schema() { return schemaStructureField; }
7134
7134
  encode(stream) {
7135
7135
  /* NEEDED */ super.encode(stream);
7136
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
7136
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
7137
7137
  (0, node_opcua_data_model_1.encodeLocalizedText)(this.description, stream);
7138
7138
  (0, node_opcua_basic_types_1.encodeNodeId)(this.dataType, stream);
7139
7139
  (0, node_opcua_basic_types_1.encodeInt32)(this.valueRank, stream);
7140
7140
  (0, node_opcua_basic_types_1.encodeArray)(this.arrayDimensions, stream, node_opcua_basic_types_1.encodeUInt32);
7141
7141
  (0, node_opcua_basic_types_1.encodeUInt32)(this.maxStringLength, stream);
7142
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isOptional, stream);
7142
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isOptional, stream);
7143
7143
  }
7144
7144
  decode(stream) {
7145
7145
  // call base class implementation first
7146
7146
  /* NEEDED !!! */ super.decode(stream);
7147
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
7147
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
7148
7148
  this.description = (0, node_opcua_data_model_1.decodeLocalizedText)(stream, this.description);
7149
7149
  this.dataType = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.dataType);
7150
7150
  this.valueRank = (0, node_opcua_basic_types_1.decodeInt32)(stream, this.valueRank);
7151
7151
  this.arrayDimensions = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUInt32);
7152
7152
  this.maxStringLength = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.maxStringLength);
7153
- this.isOptional = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isOptional);
7153
+ this.isOptional = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isOptional);
7154
7154
  }
7155
7155
  get schema() { return schemaStructureField; }
7156
7156
  }
@@ -7397,7 +7397,7 @@ const schemaEnumField = (0, node_opcua_factory_1.buildStructuredType)({
7397
7397
  fields: [
7398
7398
  {
7399
7399
  name: "name",
7400
- fieldType: "UAString",
7400
+ fieldType: "String",
7401
7401
  },
7402
7402
  ]
7403
7403
  });
@@ -7419,12 +7419,12 @@ class EnumField extends EnumValueType {
7419
7419
  static get schema() { return schemaEnumField; }
7420
7420
  encode(stream) {
7421
7421
  /* NEEDED */ super.encode(stream);
7422
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
7422
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
7423
7423
  }
7424
7424
  decode(stream) {
7425
7425
  // call base class implementation first
7426
7426
  /* NEEDED !!! */ super.decode(stream);
7427
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
7427
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
7428
7428
  }
7429
7429
  get schema() { return schemaEnumField; }
7430
7430
  }
@@ -7628,7 +7628,7 @@ const schemaDataTypeSchemaHeader = (0, node_opcua_factory_1.buildStructuredType)
7628
7628
  fields: [
7629
7629
  {
7630
7630
  name: "namespaces",
7631
- fieldType: "UAString",
7631
+ fieldType: "String",
7632
7632
  isArray: true
7633
7633
  },
7634
7634
  {
@@ -7684,7 +7684,7 @@ class DataTypeSchemaHeader extends node_opcua_extension_object_1.ExtensionObject
7684
7684
  static get schema() { return schemaDataTypeSchemaHeader; }
7685
7685
  encode(stream) {
7686
7686
  /* NEEDED */ super.encode(stream);
7687
- (0, node_opcua_basic_types_1.encodeArray)(this.namespaces, stream, node_opcua_basic_types_1.encodeUAString);
7687
+ (0, node_opcua_basic_types_1.encodeArray)(this.namespaces, stream, node_opcua_basic_types_1.encodeString);
7688
7688
  (0, node_opcua_basic_types_1.encodeArray)(this.structureDataTypes, stream, (obj, stream1) => { obj.encode(stream1); });
7689
7689
  (0, node_opcua_basic_types_1.encodeArray)(this.enumDataTypes, stream, (obj, stream1) => { obj.encode(stream1); });
7690
7690
  (0, node_opcua_basic_types_1.encodeArray)(this.simpleDataTypes, stream, (obj, stream1) => { obj.encode(stream1); });
@@ -7692,7 +7692,7 @@ class DataTypeSchemaHeader extends node_opcua_extension_object_1.ExtensionObject
7692
7692
  decode(stream) {
7693
7693
  // call base class implementation first
7694
7694
  /* NEEDED !!! */ super.decode(stream);
7695
- this.namespaces = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
7695
+ this.namespaces = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
7696
7696
  this.structureDataTypes = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
7697
7697
  const obj = new StructureDescription(null);
7698
7698
  obj.decode(stream1);
@@ -7758,7 +7758,7 @@ const schemaFieldMetaData = (0, node_opcua_factory_1.buildStructuredType)({
7758
7758
  fields: [
7759
7759
  {
7760
7760
  name: "name",
7761
- fieldType: "UAString",
7761
+ fieldType: "String",
7762
7762
  },
7763
7763
  {
7764
7764
  name: "description",
@@ -7840,7 +7840,7 @@ class FieldMetaData extends node_opcua_extension_object_1.ExtensionObject {
7840
7840
  static get schema() { return schemaFieldMetaData; }
7841
7841
  encode(stream) {
7842
7842
  /* NEEDED */ super.encode(stream);
7843
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
7843
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
7844
7844
  (0, node_opcua_data_model_1.encodeLocalizedText)(this.description, stream);
7845
7845
  encodeDataSetFieldFlags(this.fieldFlags, stream);
7846
7846
  (0, node_opcua_basic_types_1.encodeByte)(this.builtInType, stream);
@@ -7854,7 +7854,7 @@ class FieldMetaData extends node_opcua_extension_object_1.ExtensionObject {
7854
7854
  decode(stream) {
7855
7855
  // call base class implementation first
7856
7856
  /* NEEDED !!! */ super.decode(stream);
7857
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
7857
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
7858
7858
  this.description = (0, node_opcua_data_model_1.decodeLocalizedText)(stream, this.description);
7859
7859
  this.fieldFlags = decodeDataSetFieldFlags(stream, this.fieldFlags);
7860
7860
  this.builtInType = (0, node_opcua_basic_types_1.decodeByte)(stream, this.builtInType);
@@ -7910,7 +7910,7 @@ const schemaDataSetMetaDataType = (0, node_opcua_factory_1.buildStructuredType)(
7910
7910
  fields: [
7911
7911
  {
7912
7912
  name: "name",
7913
- fieldType: "UAString",
7913
+ fieldType: "String",
7914
7914
  },
7915
7915
  {
7916
7916
  name: "description",
@@ -7961,7 +7961,7 @@ class DataSetMetaDataType extends DataTypeSchemaHeader {
7961
7961
  static get schema() { return schemaDataSetMetaDataType; }
7962
7962
  encode(stream) {
7963
7963
  /* NEEDED */ super.encode(stream);
7964
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
7964
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
7965
7965
  (0, node_opcua_data_model_1.encodeLocalizedText)(this.description, stream);
7966
7966
  (0, node_opcua_basic_types_1.encodeArray)(this.fields, stream, (obj, stream1) => { obj.encode(stream1); });
7967
7967
  (0, node_opcua_basic_types_1.encodeGuid)(this.dataSetClassId, stream);
@@ -7970,7 +7970,7 @@ class DataSetMetaDataType extends DataTypeSchemaHeader {
7970
7970
  decode(stream) {
7971
7971
  // call base class implementation first
7972
7972
  /* NEEDED !!! */ super.decode(stream);
7973
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
7973
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
7974
7974
  this.description = (0, node_opcua_data_model_1.decodeLocalizedText)(stream, this.description);
7975
7975
  this.fields = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
7976
7976
  const obj = new FieldMetaData(null);
@@ -8030,11 +8030,11 @@ const schemaDataSetReaderDataType = (0, node_opcua_factory_1.buildStructuredType
8030
8030
  fields: [
8031
8031
  {
8032
8032
  name: "name",
8033
- fieldType: "UAString",
8033
+ fieldType: "String",
8034
8034
  },
8035
8035
  {
8036
8036
  name: "enabled",
8037
- fieldType: "UABoolean",
8037
+ fieldType: "Boolean",
8038
8038
  },
8039
8039
  {
8040
8040
  name: "publisherId",
@@ -8066,7 +8066,7 @@ const schemaDataSetReaderDataType = (0, node_opcua_factory_1.buildStructuredType
8066
8066
  },
8067
8067
  {
8068
8068
  name: "headerLayoutUri",
8069
- fieldType: "UAString",
8069
+ fieldType: "String",
8070
8070
  },
8071
8071
  {
8072
8072
  name: "securityMode",
@@ -8074,7 +8074,7 @@ const schemaDataSetReaderDataType = (0, node_opcua_factory_1.buildStructuredType
8074
8074
  },
8075
8075
  {
8076
8076
  name: "securityGroupId",
8077
- fieldType: "UAString",
8077
+ fieldType: "String",
8078
8078
  },
8079
8079
  {
8080
8080
  name: "securityKeyServices",
@@ -8158,8 +8158,8 @@ class DataSetReaderDataType extends node_opcua_extension_object_1.ExtensionObjec
8158
8158
  static get schema() { return schemaDataSetReaderDataType; }
8159
8159
  encode(stream) {
8160
8160
  /* NEEDED */ super.encode(stream);
8161
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
8162
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.enabled, stream);
8161
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
8162
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.enabled, stream);
8163
8163
  (0, node_opcua_variant_1.encodeVariant)(this.publisherId, stream);
8164
8164
  (0, node_opcua_basic_types_1.encodeUInt16)(this.writerGroupId, stream);
8165
8165
  (0, node_opcua_basic_types_1.encodeUInt16)(this.dataSetWriterId, stream);
@@ -8167,9 +8167,9 @@ class DataSetReaderDataType extends node_opcua_extension_object_1.ExtensionObjec
8167
8167
  encodeDataSetFieldContentMask(this.dataSetFieldContentMask, stream);
8168
8168
  (0, node_opcua_basic_types_1.encodeDouble)(this.messageReceiveTimeout, stream);
8169
8169
  (0, node_opcua_basic_types_1.encodeUInt32)(this.keyFrameCount, stream);
8170
- (0, node_opcua_basic_types_1.encodeUAString)(this.headerLayoutUri, stream);
8170
+ (0, node_opcua_basic_types_1.encodeString)(this.headerLayoutUri, stream);
8171
8171
  encodeMessageSecurityMode(this.securityMode, stream);
8172
- (0, node_opcua_basic_types_1.encodeUAString)(this.securityGroupId, stream);
8172
+ (0, node_opcua_basic_types_1.encodeString)(this.securityGroupId, stream);
8173
8173
  (0, node_opcua_basic_types_1.encodeArray)(this.securityKeyServices, stream, (obj, stream1) => { obj.encode(stream1); });
8174
8174
  (0, node_opcua_basic_types_1.encodeArray)(this.dataSetReaderProperties, stream, (obj, stream1) => { obj.encode(stream1); });
8175
8175
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.transportSettings, stream);
@@ -8179,8 +8179,8 @@ class DataSetReaderDataType extends node_opcua_extension_object_1.ExtensionObjec
8179
8179
  decode(stream) {
8180
8180
  // call base class implementation first
8181
8181
  /* NEEDED !!! */ super.decode(stream);
8182
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
8183
- this.enabled = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.enabled);
8182
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
8183
+ this.enabled = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.enabled);
8184
8184
  this.publisherId = (0, node_opcua_variant_1.decodeVariant)(stream, this.publisherId);
8185
8185
  this.writerGroupId = (0, node_opcua_basic_types_1.decodeUInt16)(stream, this.writerGroupId);
8186
8186
  this.dataSetWriterId = (0, node_opcua_basic_types_1.decodeUInt16)(stream, this.dataSetWriterId);
@@ -8188,9 +8188,9 @@ class DataSetReaderDataType extends node_opcua_extension_object_1.ExtensionObjec
8188
8188
  this.dataSetFieldContentMask = decodeDataSetFieldContentMask(stream, this.dataSetFieldContentMask);
8189
8189
  this.messageReceiveTimeout = (0, node_opcua_basic_types_1.decodeDouble)(stream, this.messageReceiveTimeout);
8190
8190
  this.keyFrameCount = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.keyFrameCount);
8191
- this.headerLayoutUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.headerLayoutUri);
8191
+ this.headerLayoutUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.headerLayoutUri);
8192
8192
  this.securityMode = decodeMessageSecurityMode(stream, this.securityMode);
8193
- this.securityGroupId = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.securityGroupId);
8193
+ this.securityGroupId = (0, node_opcua_basic_types_1.decodeString)(stream, this.securityGroupId);
8194
8194
  this.securityKeyServices = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
8195
8195
  const obj = new EndpointDescription(null);
8196
8196
  obj.decode(stream1);
@@ -8302,11 +8302,11 @@ const schemaDataSetWriterDataType = (0, node_opcua_factory_1.buildStructuredType
8302
8302
  fields: [
8303
8303
  {
8304
8304
  name: "name",
8305
- fieldType: "UAString",
8305
+ fieldType: "String",
8306
8306
  },
8307
8307
  {
8308
8308
  name: "enabled",
8309
- fieldType: "UABoolean",
8309
+ fieldType: "Boolean",
8310
8310
  },
8311
8311
  {
8312
8312
  name: "dataSetWriterId",
@@ -8322,7 +8322,7 @@ const schemaDataSetWriterDataType = (0, node_opcua_factory_1.buildStructuredType
8322
8322
  },
8323
8323
  {
8324
8324
  name: "dataSetName",
8325
- fieldType: "UAString",
8325
+ fieldType: "String",
8326
8326
  },
8327
8327
  {
8328
8328
  name: "dataSetWriterProperties",
@@ -8377,12 +8377,12 @@ class DataSetWriterDataType extends node_opcua_extension_object_1.ExtensionObjec
8377
8377
  static get schema() { return schemaDataSetWriterDataType; }
8378
8378
  encode(stream) {
8379
8379
  /* NEEDED */ super.encode(stream);
8380
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
8381
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.enabled, stream);
8380
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
8381
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.enabled, stream);
8382
8382
  (0, node_opcua_basic_types_1.encodeUInt16)(this.dataSetWriterId, stream);
8383
8383
  encodeDataSetFieldContentMask(this.dataSetFieldContentMask, stream);
8384
8384
  (0, node_opcua_basic_types_1.encodeUInt32)(this.keyFrameCount, stream);
8385
- (0, node_opcua_basic_types_1.encodeUAString)(this.dataSetName, stream);
8385
+ (0, node_opcua_basic_types_1.encodeString)(this.dataSetName, stream);
8386
8386
  (0, node_opcua_basic_types_1.encodeArray)(this.dataSetWriterProperties, stream, (obj, stream1) => { obj.encode(stream1); });
8387
8387
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.transportSettings, stream);
8388
8388
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.messageSettings, stream);
@@ -8390,12 +8390,12 @@ class DataSetWriterDataType extends node_opcua_extension_object_1.ExtensionObjec
8390
8390
  decode(stream) {
8391
8391
  // call base class implementation first
8392
8392
  /* NEEDED !!! */ super.decode(stream);
8393
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
8394
- this.enabled = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.enabled);
8393
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
8394
+ this.enabled = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.enabled);
8395
8395
  this.dataSetWriterId = (0, node_opcua_basic_types_1.decodeUInt16)(stream, this.dataSetWriterId);
8396
8396
  this.dataSetFieldContentMask = decodeDataSetFieldContentMask(stream, this.dataSetFieldContentMask);
8397
8397
  this.keyFrameCount = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.keyFrameCount);
8398
- this.dataSetName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.dataSetName);
8398
+ this.dataSetName = (0, node_opcua_basic_types_1.decodeString)(stream, this.dataSetName);
8399
8399
  this.dataSetWriterProperties = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
8400
8400
  const obj = new KeyValuePair(null);
8401
8401
  obj.decode(stream1);
@@ -8571,7 +8571,7 @@ const schemaDataTypeAttributes = (0, node_opcua_factory_1.buildStructuredType)({
8571
8571
  fields: [
8572
8572
  {
8573
8573
  name: "isAbstract",
8574
- fieldType: "UABoolean",
8574
+ fieldType: "Boolean",
8575
8575
  },
8576
8576
  ]
8577
8577
  });
@@ -8593,12 +8593,12 @@ class DataTypeAttributes extends NodeAttributes {
8593
8593
  static get schema() { return schemaDataTypeAttributes; }
8594
8594
  encode(stream) {
8595
8595
  /* NEEDED */ super.encode(stream);
8596
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isAbstract, stream);
8596
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isAbstract, stream);
8597
8597
  }
8598
8598
  decode(stream) {
8599
8599
  // call base class implementation first
8600
8600
  /* NEEDED !!! */ super.decode(stream);
8601
- this.isAbstract = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isAbstract);
8601
+ this.isAbstract = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isAbstract);
8602
8602
  }
8603
8603
  get schema() { return schemaDataTypeAttributes; }
8604
8604
  }
@@ -8731,7 +8731,7 @@ const schemaReferenceNode = (0, node_opcua_factory_1.buildStructuredType)({
8731
8731
  },
8732
8732
  {
8733
8733
  name: "isInverse",
8734
- fieldType: "UABoolean",
8734
+ fieldType: "Boolean",
8735
8735
  },
8736
8736
  {
8737
8737
  name: "targetId",
@@ -8762,14 +8762,14 @@ class ReferenceNode extends node_opcua_extension_object_1.ExtensionObject {
8762
8762
  encode(stream) {
8763
8763
  /* NEEDED */ super.encode(stream);
8764
8764
  (0, node_opcua_basic_types_1.encodeNodeId)(this.referenceTypeId, stream);
8765
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isInverse, stream);
8765
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isInverse, stream);
8766
8766
  (0, node_opcua_basic_types_1.encodeExpandedNodeId)(this.targetId, stream);
8767
8767
  }
8768
8768
  decode(stream) {
8769
8769
  // call base class implementation first
8770
8770
  /* NEEDED !!! */ super.decode(stream);
8771
8771
  this.referenceTypeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.referenceTypeId);
8772
- this.isInverse = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isInverse);
8772
+ this.isInverse = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isInverse);
8773
8773
  this.targetId = (0, node_opcua_basic_types_1.decodeExpandedNodeId)(stream, this.targetId);
8774
8774
  }
8775
8775
  get schema() { return schemaReferenceNode; }
@@ -9029,7 +9029,7 @@ const schemaDataTypeNode = (0, node_opcua_factory_1.buildStructuredType)({
9029
9029
  },
9030
9030
  {
9031
9031
  name: "isAbstract",
9032
- fieldType: "UABoolean",
9032
+ fieldType: "Boolean",
9033
9033
  },
9034
9034
  {
9035
9035
  name: "dataTypeDefinition",
@@ -9078,7 +9078,7 @@ class DataTypeNode extends TypeNode {
9078
9078
  (0, node_opcua_basic_types_1.encodeArray)(this.rolePermissions, stream, (obj, stream1) => { obj.encode(stream1); });
9079
9079
  (0, node_opcua_basic_types_1.encodeArray)(this.userRolePermissions, stream, (obj, stream1) => { obj.encode(stream1); });
9080
9080
  (0, node_opcua_basic_types_1.encodeArray)(this.references, stream, (obj, stream1) => { obj.encode(stream1); });
9081
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isAbstract, stream);
9081
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isAbstract, stream);
9082
9082
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.dataTypeDefinition, stream);
9083
9083
  }
9084
9084
  decode(stream) {
@@ -9099,7 +9099,7 @@ class DataTypeNode extends TypeNode {
9099
9099
  obj.decode(stream1);
9100
9100
  return obj;
9101
9101
  });
9102
- this.isAbstract = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isAbstract);
9102
+ this.isAbstract = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isAbstract);
9103
9103
  this.dataTypeDefinition = (0, node_opcua_extension_object_1.decodeExtensionObject)(stream, this.dataTypeDefinition);
9104
9104
  }
9105
9105
  get schema() { return schemaDataTypeNode; }
@@ -9187,7 +9187,7 @@ const schemaDatagramConnectionTransport2DataType = (0, node_opcua_factory_1.buil
9187
9187
  },
9188
9188
  {
9189
9189
  name: "qosCategory",
9190
- fieldType: "UAString",
9190
+ fieldType: "String",
9191
9191
  },
9192
9192
  {
9193
9193
  name: "datagramQos",
@@ -9222,7 +9222,7 @@ class DatagramConnectionTransport2DataType extends DatagramConnectionTransportDa
9222
9222
  /* NEEDED */ super.encode(stream);
9223
9223
  (0, node_opcua_basic_types_1.encodeUInt32)(this.discoveryAnnounceRate, stream);
9224
9224
  (0, node_opcua_basic_types_1.encodeUInt32)(this.discoveryMaxMessageSize, stream);
9225
- (0, node_opcua_basic_types_1.encodeUAString)(this.qosCategory, stream);
9225
+ (0, node_opcua_basic_types_1.encodeString)(this.qosCategory, stream);
9226
9226
  (0, node_opcua_basic_types_1.encodeArray)(this.datagramQos, stream, node_opcua_extension_object_1.encodeExtensionObject);
9227
9227
  }
9228
9228
  decode(stream) {
@@ -9230,7 +9230,7 @@ class DatagramConnectionTransport2DataType extends DatagramConnectionTransportDa
9230
9230
  /* NEEDED !!! */ super.decode(stream);
9231
9231
  this.discoveryAnnounceRate = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.discoveryAnnounceRate);
9232
9232
  this.discoveryMaxMessageSize = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.discoveryMaxMessageSize);
9233
- this.qosCategory = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.qosCategory);
9233
+ this.qosCategory = (0, node_opcua_basic_types_1.decodeString)(stream, this.qosCategory);
9234
9234
  this.datagramQos = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_extension_object_1.decodeExtensionObject);
9235
9235
  }
9236
9236
  get schema() { return schemaDatagramConnectionTransport2DataType; }
@@ -9262,7 +9262,7 @@ const schemaDatagramDataSetReaderTransportDataType = (0, node_opcua_factory_1.bu
9262
9262
  },
9263
9263
  {
9264
9264
  name: "qosCategory",
9265
- fieldType: "UAString",
9265
+ fieldType: "String",
9266
9266
  },
9267
9267
  {
9268
9268
  name: "datagramQos",
@@ -9271,7 +9271,7 @@ const schemaDatagramDataSetReaderTransportDataType = (0, node_opcua_factory_1.bu
9271
9271
  },
9272
9272
  {
9273
9273
  name: "topic",
9274
- fieldType: "UAString",
9274
+ fieldType: "String",
9275
9275
  },
9276
9276
  ]
9277
9277
  });
@@ -9300,17 +9300,17 @@ class DatagramDataSetReaderTransportDataType extends DataSetReaderTransportDataT
9300
9300
  encode(stream) {
9301
9301
  /* NEEDED */ super.encode(stream);
9302
9302
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.address, stream);
9303
- (0, node_opcua_basic_types_1.encodeUAString)(this.qosCategory, stream);
9303
+ (0, node_opcua_basic_types_1.encodeString)(this.qosCategory, stream);
9304
9304
  (0, node_opcua_basic_types_1.encodeArray)(this.datagramQos, stream, node_opcua_extension_object_1.encodeExtensionObject);
9305
- (0, node_opcua_basic_types_1.encodeUAString)(this.topic, stream);
9305
+ (0, node_opcua_basic_types_1.encodeString)(this.topic, stream);
9306
9306
  }
9307
9307
  decode(stream) {
9308
9308
  // call base class implementation first
9309
9309
  /* NEEDED !!! */ super.decode(stream);
9310
9310
  this.address = (0, node_opcua_extension_object_1.decodeExtensionObject)(stream, this.address);
9311
- this.qosCategory = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.qosCategory);
9311
+ this.qosCategory = (0, node_opcua_basic_types_1.decodeString)(stream, this.qosCategory);
9312
9312
  this.datagramQos = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_extension_object_1.decodeExtensionObject);
9313
- this.topic = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.topic);
9313
+ this.topic = (0, node_opcua_basic_types_1.decodeString)(stream, this.topic);
9314
9314
  }
9315
9315
  get schema() { return schemaDatagramDataSetReaderTransportDataType; }
9316
9316
  }
@@ -9401,7 +9401,7 @@ const schemaDatagramWriterGroupTransport2DataType = (0, node_opcua_factory_1.bui
9401
9401
  },
9402
9402
  {
9403
9403
  name: "qosCategory",
9404
- fieldType: "UAString",
9404
+ fieldType: "String",
9405
9405
  },
9406
9406
  {
9407
9407
  name: "datagramQos",
@@ -9414,7 +9414,7 @@ const schemaDatagramWriterGroupTransport2DataType = (0, node_opcua_factory_1.bui
9414
9414
  },
9415
9415
  {
9416
9416
  name: "topic",
9417
- fieldType: "UAString",
9417
+ fieldType: "String",
9418
9418
  },
9419
9419
  ]
9420
9420
  });
@@ -9445,19 +9445,19 @@ class DatagramWriterGroupTransport2DataType extends DatagramWriterGroupTransport
9445
9445
  encode(stream) {
9446
9446
  /* NEEDED */ super.encode(stream);
9447
9447
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.address, stream);
9448
- (0, node_opcua_basic_types_1.encodeUAString)(this.qosCategory, stream);
9448
+ (0, node_opcua_basic_types_1.encodeString)(this.qosCategory, stream);
9449
9449
  (0, node_opcua_basic_types_1.encodeArray)(this.datagramQos, stream, node_opcua_extension_object_1.encodeExtensionObject);
9450
9450
  (0, node_opcua_basic_types_1.encodeUInt32)(this.discoveryAnnounceRate, stream);
9451
- (0, node_opcua_basic_types_1.encodeUAString)(this.topic, stream);
9451
+ (0, node_opcua_basic_types_1.encodeString)(this.topic, stream);
9452
9452
  }
9453
9453
  decode(stream) {
9454
9454
  // call base class implementation first
9455
9455
  /* NEEDED !!! */ super.decode(stream);
9456
9456
  this.address = (0, node_opcua_extension_object_1.decodeExtensionObject)(stream, this.address);
9457
- this.qosCategory = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.qosCategory);
9457
+ this.qosCategory = (0, node_opcua_basic_types_1.decodeString)(stream, this.qosCategory);
9458
9458
  this.datagramQos = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_extension_object_1.decodeExtensionObject);
9459
9459
  this.discoveryAnnounceRate = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.discoveryAnnounceRate);
9460
- this.topic = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.topic);
9460
+ this.topic = (0, node_opcua_basic_types_1.decodeString)(stream, this.topic);
9461
9461
  }
9462
9462
  get schema() { return schemaDatagramWriterGroupTransport2DataType; }
9463
9463
  }
@@ -9845,7 +9845,7 @@ const schemaDeleteNodesItem = (0, node_opcua_factory_1.buildStructuredType)({
9845
9845
  },
9846
9846
  {
9847
9847
  name: "deleteTargetReferences",
9848
- fieldType: "UABoolean",
9848
+ fieldType: "Boolean",
9849
9849
  },
9850
9850
  ]
9851
9851
  });
@@ -9870,13 +9870,13 @@ class DeleteNodesItem extends node_opcua_extension_object_1.ExtensionObject {
9870
9870
  encode(stream) {
9871
9871
  /* NEEDED */ super.encode(stream);
9872
9872
  (0, node_opcua_basic_types_1.encodeNodeId)(this.nodeId, stream);
9873
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.deleteTargetReferences, stream);
9873
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.deleteTargetReferences, stream);
9874
9874
  }
9875
9875
  decode(stream) {
9876
9876
  // call base class implementation first
9877
9877
  /* NEEDED !!! */ super.decode(stream);
9878
9878
  this.nodeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.nodeId);
9879
- this.deleteTargetReferences = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.deleteTargetReferences);
9879
+ this.deleteTargetReferences = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.deleteTargetReferences);
9880
9880
  }
9881
9881
  get schema() { return schemaDeleteNodesItem; }
9882
9882
  }
@@ -10041,7 +10041,7 @@ const schemaDeleteRawModifiedDetails = (0, node_opcua_factory_1.buildStructuredT
10041
10041
  fields: [
10042
10042
  {
10043
10043
  name: "isDeleteModified",
10044
- fieldType: "UABoolean",
10044
+ fieldType: "Boolean",
10045
10045
  },
10046
10046
  {
10047
10047
  name: "startTime",
@@ -10075,14 +10075,14 @@ class DeleteRawModifiedDetails extends HistoryUpdateDetails {
10075
10075
  static get schema() { return schemaDeleteRawModifiedDetails; }
10076
10076
  encode(stream) {
10077
10077
  /* NEEDED */ super.encode(stream);
10078
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isDeleteModified, stream);
10078
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isDeleteModified, stream);
10079
10079
  (0, node_opcua_basic_types_1.encodeDateTime)(this.startTime, stream);
10080
10080
  (0, node_opcua_basic_types_1.encodeDateTime)(this.endTime, stream);
10081
10081
  }
10082
10082
  decode(stream) {
10083
10083
  // call base class implementation first
10084
10084
  /* NEEDED !!! */ super.decode(stream);
10085
- this.isDeleteModified = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isDeleteModified);
10085
+ this.isDeleteModified = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isDeleteModified);
10086
10086
  this.startTime = (0, node_opcua_basic_types_1.decodeDateTime)(stream, this.startTime);
10087
10087
  this.endTime = (0, node_opcua_basic_types_1.decodeDateTime)(stream, this.endTime);
10088
10088
  }
@@ -10118,7 +10118,7 @@ const schemaDeleteReferencesItem = (0, node_opcua_factory_1.buildStructuredType)
10118
10118
  },
10119
10119
  {
10120
10120
  name: "isForward",
10121
- fieldType: "UABoolean",
10121
+ fieldType: "Boolean",
10122
10122
  },
10123
10123
  {
10124
10124
  name: "targetNodeId",
@@ -10126,7 +10126,7 @@ const schemaDeleteReferencesItem = (0, node_opcua_factory_1.buildStructuredType)
10126
10126
  },
10127
10127
  {
10128
10128
  name: "deleteBidirectional",
10129
- fieldType: "UABoolean",
10129
+ fieldType: "Boolean",
10130
10130
  },
10131
10131
  ]
10132
10132
  });
@@ -10158,18 +10158,18 @@ class DeleteReferencesItem extends node_opcua_extension_object_1.ExtensionObject
10158
10158
  /* NEEDED */ super.encode(stream);
10159
10159
  (0, node_opcua_basic_types_1.encodeNodeId)(this.sourceNodeId, stream);
10160
10160
  (0, node_opcua_basic_types_1.encodeNodeId)(this.referenceTypeId, stream);
10161
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isForward, stream);
10161
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isForward, stream);
10162
10162
  (0, node_opcua_basic_types_1.encodeExpandedNodeId)(this.targetNodeId, stream);
10163
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.deleteBidirectional, stream);
10163
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.deleteBidirectional, stream);
10164
10164
  }
10165
10165
  decode(stream) {
10166
10166
  // call base class implementation first
10167
10167
  /* NEEDED !!! */ super.decode(stream);
10168
10168
  this.sourceNodeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.sourceNodeId);
10169
10169
  this.referenceTypeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.referenceTypeId);
10170
- this.isForward = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isForward);
10170
+ this.isForward = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isForward);
10171
10171
  this.targetNodeId = (0, node_opcua_basic_types_1.decodeExpandedNodeId)(stream, this.targetNodeId);
10172
- this.deleteBidirectional = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.deleteBidirectional);
10172
+ this.deleteBidirectional = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.deleteBidirectional);
10173
10173
  }
10174
10174
  get schema() { return schemaDeleteReferencesItem; }
10175
10175
  }
@@ -10624,7 +10624,7 @@ const schemaEndpointConfiguration = (0, node_opcua_factory_1.buildStructuredType
10624
10624
  },
10625
10625
  {
10626
10626
  name: "useBinaryEncoding",
10627
- fieldType: "UABoolean",
10627
+ fieldType: "Boolean",
10628
10628
  },
10629
10629
  {
10630
10630
  name: "maxStringLength",
@@ -10691,7 +10691,7 @@ class EndpointConfiguration extends node_opcua_extension_object_1.ExtensionObjec
10691
10691
  encode(stream) {
10692
10692
  /* NEEDED */ super.encode(stream);
10693
10693
  (0, node_opcua_basic_types_1.encodeInt32)(this.operationTimeout, stream);
10694
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.useBinaryEncoding, stream);
10694
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.useBinaryEncoding, stream);
10695
10695
  (0, node_opcua_basic_types_1.encodeInt32)(this.maxStringLength, stream);
10696
10696
  (0, node_opcua_basic_types_1.encodeInt32)(this.maxByteStringLength, stream);
10697
10697
  (0, node_opcua_basic_types_1.encodeInt32)(this.maxArrayLength, stream);
@@ -10704,7 +10704,7 @@ class EndpointConfiguration extends node_opcua_extension_object_1.ExtensionObjec
10704
10704
  // call base class implementation first
10705
10705
  /* NEEDED !!! */ super.decode(stream);
10706
10706
  this.operationTimeout = (0, node_opcua_basic_types_1.decodeInt32)(stream, this.operationTimeout);
10707
- this.useBinaryEncoding = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.useBinaryEncoding);
10707
+ this.useBinaryEncoding = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.useBinaryEncoding);
10708
10708
  this.maxStringLength = (0, node_opcua_basic_types_1.decodeInt32)(stream, this.maxStringLength);
10709
10709
  this.maxByteStringLength = (0, node_opcua_basic_types_1.decodeInt32)(stream, this.maxByteStringLength);
10710
10710
  this.maxArrayLength = (0, node_opcua_basic_types_1.decodeInt32)(stream, this.maxArrayLength);
@@ -10743,7 +10743,7 @@ const schemaEndpointType = (0, node_opcua_factory_1.buildStructuredType)({
10743
10743
  fields: [
10744
10744
  {
10745
10745
  name: "endpointUrl",
10746
- fieldType: "UAString",
10746
+ fieldType: "String",
10747
10747
  },
10748
10748
  {
10749
10749
  name: "securityMode",
@@ -10751,11 +10751,11 @@ const schemaEndpointType = (0, node_opcua_factory_1.buildStructuredType)({
10751
10751
  },
10752
10752
  {
10753
10753
  name: "securityPolicyUri",
10754
- fieldType: "UAString",
10754
+ fieldType: "String",
10755
10755
  },
10756
10756
  {
10757
10757
  name: "transportProfileUri",
10758
- fieldType: "UAString",
10758
+ fieldType: "String",
10759
10759
  },
10760
10760
  ]
10761
10761
  });
@@ -10783,18 +10783,18 @@ class EndpointType extends node_opcua_extension_object_1.ExtensionObject {
10783
10783
  static get schema() { return schemaEndpointType; }
10784
10784
  encode(stream) {
10785
10785
  /* NEEDED */ super.encode(stream);
10786
- (0, node_opcua_basic_types_1.encodeUAString)(this.endpointUrl, stream);
10786
+ (0, node_opcua_basic_types_1.encodeString)(this.endpointUrl, stream);
10787
10787
  encodeMessageSecurityMode(this.securityMode, stream);
10788
- (0, node_opcua_basic_types_1.encodeUAString)(this.securityPolicyUri, stream);
10789
- (0, node_opcua_basic_types_1.encodeUAString)(this.transportProfileUri, stream);
10788
+ (0, node_opcua_basic_types_1.encodeString)(this.securityPolicyUri, stream);
10789
+ (0, node_opcua_basic_types_1.encodeString)(this.transportProfileUri, stream);
10790
10790
  }
10791
10791
  decode(stream) {
10792
10792
  // call base class implementation first
10793
10793
  /* NEEDED !!! */ super.decode(stream);
10794
- this.endpointUrl = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.endpointUrl);
10794
+ this.endpointUrl = (0, node_opcua_basic_types_1.decodeString)(stream, this.endpointUrl);
10795
10795
  this.securityMode = decodeMessageSecurityMode(stream, this.securityMode);
10796
- this.securityPolicyUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.securityPolicyUri);
10797
- this.transportProfileUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.transportProfileUri);
10796
+ this.securityPolicyUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.securityPolicyUri);
10797
+ this.transportProfileUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.transportProfileUri);
10798
10798
  }
10799
10799
  // Define Enumeration setters
10800
10800
  setSecurityMode(value) {
@@ -10831,7 +10831,7 @@ const schemaEndpointUrlListDataType = (0, node_opcua_factory_1.buildStructuredTy
10831
10831
  fields: [
10832
10832
  {
10833
10833
  name: "endpointUrlList",
10834
- fieldType: "UAString",
10834
+ fieldType: "String",
10835
10835
  isArray: true
10836
10836
  },
10837
10837
  ]
@@ -10854,12 +10854,12 @@ class EndpointUrlListDataType extends node_opcua_extension_object_1.ExtensionObj
10854
10854
  static get schema() { return schemaEndpointUrlListDataType; }
10855
10855
  encode(stream) {
10856
10856
  /* NEEDED */ super.encode(stream);
10857
- (0, node_opcua_basic_types_1.encodeArray)(this.endpointUrlList, stream, node_opcua_basic_types_1.encodeUAString);
10857
+ (0, node_opcua_basic_types_1.encodeArray)(this.endpointUrlList, stream, node_opcua_basic_types_1.encodeString);
10858
10858
  }
10859
10859
  decode(stream) {
10860
10860
  // call base class implementation first
10861
10861
  /* NEEDED !!! */ super.decode(stream);
10862
- this.endpointUrlList = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
10862
+ this.endpointUrlList = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
10863
10863
  }
10864
10864
  get schema() { return schemaEndpointUrlListDataType; }
10865
10865
  }
@@ -11233,7 +11233,7 @@ const schemaFieldTargetDataType = (0, node_opcua_factory_1.buildStructuredType)(
11233
11233
  },
11234
11234
  {
11235
11235
  name: "receiverIndexRange",
11236
- fieldType: "UAString",
11236
+ fieldType: "String",
11237
11237
  },
11238
11238
  {
11239
11239
  name: "targetNodeId",
@@ -11245,7 +11245,7 @@ const schemaFieldTargetDataType = (0, node_opcua_factory_1.buildStructuredType)(
11245
11245
  },
11246
11246
  {
11247
11247
  name: "writeIndexRange",
11248
- fieldType: "UAString",
11248
+ fieldType: "String",
11249
11249
  },
11250
11250
  {
11251
11251
  name: "overrideValueHandling",
@@ -11288,10 +11288,10 @@ class FieldTargetDataType extends node_opcua_extension_object_1.ExtensionObject
11288
11288
  encode(stream) {
11289
11289
  /* NEEDED */ super.encode(stream);
11290
11290
  (0, node_opcua_basic_types_1.encodeGuid)(this.dataSetFieldId, stream);
11291
- (0, node_opcua_basic_types_1.encodeUAString)(this.receiverIndexRange, stream);
11291
+ (0, node_opcua_basic_types_1.encodeString)(this.receiverIndexRange, stream);
11292
11292
  (0, node_opcua_basic_types_1.encodeNodeId)(this.targetNodeId, stream);
11293
11293
  (0, node_opcua_basic_types_1.encodeUInt32)(this.attributeId, stream);
11294
- (0, node_opcua_basic_types_1.encodeUAString)(this.writeIndexRange, stream);
11294
+ (0, node_opcua_basic_types_1.encodeString)(this.writeIndexRange, stream);
11295
11295
  encodeOverrideValueHandling(this.overrideValueHandling, stream);
11296
11296
  (0, node_opcua_variant_1.encodeVariant)(this.overrideValue, stream);
11297
11297
  }
@@ -11299,10 +11299,10 @@ class FieldTargetDataType extends node_opcua_extension_object_1.ExtensionObject
11299
11299
  // call base class implementation first
11300
11300
  /* NEEDED !!! */ super.decode(stream);
11301
11301
  this.dataSetFieldId = (0, node_opcua_basic_types_1.decodeGuid)(stream, this.dataSetFieldId);
11302
- this.receiverIndexRange = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.receiverIndexRange);
11302
+ this.receiverIndexRange = (0, node_opcua_basic_types_1.decodeString)(stream, this.receiverIndexRange);
11303
11303
  this.targetNodeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.targetNodeId);
11304
11304
  this.attributeId = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.attributeId);
11305
- this.writeIndexRange = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.writeIndexRange);
11305
+ this.writeIndexRange = (0, node_opcua_basic_types_1.decodeString)(stream, this.writeIndexRange);
11306
11306
  this.overrideValueHandling = decodeOverrideValueHandling(stream, this.overrideValueHandling);
11307
11307
  this.overrideValue = (0, node_opcua_variant_1.decodeVariant)(stream, this.overrideValue);
11308
11308
  }
@@ -11356,7 +11356,7 @@ const schemaFindServersOnNetworkRequest = (0, node_opcua_factory_1.buildStructur
11356
11356
  },
11357
11357
  {
11358
11358
  name: "serverCapabilityFilter",
11359
- fieldType: "UAString",
11359
+ fieldType: "String",
11360
11360
  isArray: true
11361
11361
  },
11362
11362
  ]
@@ -11388,7 +11388,7 @@ class FindServersOnNetworkRequest extends node_opcua_extension_object_1.Extensio
11388
11388
  this.requestHeader.encode(stream);
11389
11389
  (0, node_opcua_basic_types_1.encodeUInt32)(this.startingRecordId, stream);
11390
11390
  (0, node_opcua_basic_types_1.encodeUInt32)(this.maxRecordsToReturn, stream);
11391
- (0, node_opcua_basic_types_1.encodeArray)(this.serverCapabilityFilter, stream, node_opcua_basic_types_1.encodeUAString);
11391
+ (0, node_opcua_basic_types_1.encodeArray)(this.serverCapabilityFilter, stream, node_opcua_basic_types_1.encodeString);
11392
11392
  }
11393
11393
  decode(stream) {
11394
11394
  // call base class implementation first
@@ -11396,7 +11396,7 @@ class FindServersOnNetworkRequest extends node_opcua_extension_object_1.Extensio
11396
11396
  this.requestHeader.decode(stream);
11397
11397
  this.startingRecordId = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.startingRecordId);
11398
11398
  this.maxRecordsToReturn = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.maxRecordsToReturn);
11399
- this.serverCapabilityFilter = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
11399
+ this.serverCapabilityFilter = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
11400
11400
  }
11401
11401
  get schema() { return schemaFindServersOnNetworkRequest; }
11402
11402
  }
@@ -11427,15 +11427,15 @@ const schemaServerOnNetwork = (0, node_opcua_factory_1.buildStructuredType)({
11427
11427
  },
11428
11428
  {
11429
11429
  name: "serverName",
11430
- fieldType: "UAString",
11430
+ fieldType: "String",
11431
11431
  },
11432
11432
  {
11433
11433
  name: "discoveryUrl",
11434
- fieldType: "UAString",
11434
+ fieldType: "String",
11435
11435
  },
11436
11436
  {
11437
11437
  name: "serverCapabilities",
11438
- fieldType: "UAString",
11438
+ fieldType: "String",
11439
11439
  isArray: true
11440
11440
  },
11441
11441
  ]
@@ -11465,17 +11465,17 @@ class ServerOnNetwork extends node_opcua_extension_object_1.ExtensionObject {
11465
11465
  encode(stream) {
11466
11466
  /* NEEDED */ super.encode(stream);
11467
11467
  (0, node_opcua_basic_types_1.encodeUInt32)(this.recordId, stream);
11468
- (0, node_opcua_basic_types_1.encodeUAString)(this.serverName, stream);
11469
- (0, node_opcua_basic_types_1.encodeUAString)(this.discoveryUrl, stream);
11470
- (0, node_opcua_basic_types_1.encodeArray)(this.serverCapabilities, stream, node_opcua_basic_types_1.encodeUAString);
11468
+ (0, node_opcua_basic_types_1.encodeString)(this.serverName, stream);
11469
+ (0, node_opcua_basic_types_1.encodeString)(this.discoveryUrl, stream);
11470
+ (0, node_opcua_basic_types_1.encodeArray)(this.serverCapabilities, stream, node_opcua_basic_types_1.encodeString);
11471
11471
  }
11472
11472
  decode(stream) {
11473
11473
  // call base class implementation first
11474
11474
  /* NEEDED !!! */ super.decode(stream);
11475
11475
  this.recordId = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.recordId);
11476
- this.serverName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.serverName);
11477
- this.discoveryUrl = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.discoveryUrl);
11478
- this.serverCapabilities = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
11476
+ this.serverName = (0, node_opcua_basic_types_1.decodeString)(stream, this.serverName);
11477
+ this.discoveryUrl = (0, node_opcua_basic_types_1.decodeString)(stream, this.discoveryUrl);
11478
+ this.serverCapabilities = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
11479
11479
  }
11480
11480
  get schema() { return schemaServerOnNetwork; }
11481
11481
  }
@@ -11584,16 +11584,16 @@ const schemaFindServersRequest = (0, node_opcua_factory_1.buildStructuredType)({
11584
11584
  },
11585
11585
  {
11586
11586
  name: "endpointUrl",
11587
- fieldType: "UAString",
11587
+ fieldType: "String",
11588
11588
  },
11589
11589
  {
11590
11590
  name: "localeIds",
11591
- fieldType: "UAString",
11591
+ fieldType: "String",
11592
11592
  isArray: true
11593
11593
  },
11594
11594
  {
11595
11595
  name: "serverUris",
11596
- fieldType: "UAString",
11596
+ fieldType: "String",
11597
11597
  isArray: true
11598
11598
  },
11599
11599
  ]
@@ -11623,17 +11623,17 @@ class FindServersRequest extends node_opcua_extension_object_1.ExtensionObject {
11623
11623
  encode(stream) {
11624
11624
  /* NEEDED */ super.encode(stream);
11625
11625
  this.requestHeader.encode(stream);
11626
- (0, node_opcua_basic_types_1.encodeUAString)(this.endpointUrl, stream);
11627
- (0, node_opcua_basic_types_1.encodeArray)(this.localeIds, stream, node_opcua_basic_types_1.encodeUAString);
11628
- (0, node_opcua_basic_types_1.encodeArray)(this.serverUris, stream, node_opcua_basic_types_1.encodeUAString);
11626
+ (0, node_opcua_basic_types_1.encodeString)(this.endpointUrl, stream);
11627
+ (0, node_opcua_basic_types_1.encodeArray)(this.localeIds, stream, node_opcua_basic_types_1.encodeString);
11628
+ (0, node_opcua_basic_types_1.encodeArray)(this.serverUris, stream, node_opcua_basic_types_1.encodeString);
11629
11629
  }
11630
11630
  decode(stream) {
11631
11631
  // call base class implementation first
11632
11632
  /* NEEDED !!! */ super.decode(stream);
11633
11633
  this.requestHeader.decode(stream);
11634
- this.endpointUrl = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.endpointUrl);
11635
- this.localeIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
11636
- this.serverUris = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
11634
+ this.endpointUrl = (0, node_opcua_basic_types_1.decodeString)(stream, this.endpointUrl);
11635
+ this.localeIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
11636
+ this.serverUris = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
11637
11637
  }
11638
11638
  get schema() { return schemaFindServersRequest; }
11639
11639
  }
@@ -11893,16 +11893,16 @@ const schemaGetEndpointsRequest = (0, node_opcua_factory_1.buildStructuredType)(
11893
11893
  },
11894
11894
  {
11895
11895
  name: "endpointUrl",
11896
- fieldType: "UAString",
11896
+ fieldType: "String",
11897
11897
  },
11898
11898
  {
11899
11899
  name: "localeIds",
11900
- fieldType: "UAString",
11900
+ fieldType: "String",
11901
11901
  isArray: true
11902
11902
  },
11903
11903
  {
11904
11904
  name: "profileUris",
11905
- fieldType: "UAString",
11905
+ fieldType: "String",
11906
11906
  isArray: true
11907
11907
  },
11908
11908
  ]
@@ -11932,17 +11932,17 @@ class GetEndpointsRequest extends node_opcua_extension_object_1.ExtensionObject
11932
11932
  encode(stream) {
11933
11933
  /* NEEDED */ super.encode(stream);
11934
11934
  this.requestHeader.encode(stream);
11935
- (0, node_opcua_basic_types_1.encodeUAString)(this.endpointUrl, stream);
11936
- (0, node_opcua_basic_types_1.encodeArray)(this.localeIds, stream, node_opcua_basic_types_1.encodeUAString);
11937
- (0, node_opcua_basic_types_1.encodeArray)(this.profileUris, stream, node_opcua_basic_types_1.encodeUAString);
11935
+ (0, node_opcua_basic_types_1.encodeString)(this.endpointUrl, stream);
11936
+ (0, node_opcua_basic_types_1.encodeArray)(this.localeIds, stream, node_opcua_basic_types_1.encodeString);
11937
+ (0, node_opcua_basic_types_1.encodeArray)(this.profileUris, stream, node_opcua_basic_types_1.encodeString);
11938
11938
  }
11939
11939
  decode(stream) {
11940
11940
  // call base class implementation first
11941
11941
  /* NEEDED !!! */ super.decode(stream);
11942
11942
  this.requestHeader.decode(stream);
11943
- this.endpointUrl = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.endpointUrl);
11944
- this.localeIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
11945
- this.profileUris = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
11943
+ this.endpointUrl = (0, node_opcua_basic_types_1.decodeString)(stream, this.endpointUrl);
11944
+ this.localeIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
11945
+ this.profileUris = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
11946
11946
  }
11947
11947
  get schema() { return schemaGetEndpointsRequest; }
11948
11948
  }
@@ -12236,7 +12236,7 @@ const schemaModificationInfo = (0, node_opcua_factory_1.buildStructuredType)({
12236
12236
  },
12237
12237
  {
12238
12238
  name: "userName",
12239
- fieldType: "UAString",
12239
+ fieldType: "String",
12240
12240
  },
12241
12241
  ]
12242
12242
  });
@@ -12264,14 +12264,14 @@ class ModificationInfo extends node_opcua_extension_object_1.ExtensionObject {
12264
12264
  /* NEEDED */ super.encode(stream);
12265
12265
  (0, node_opcua_basic_types_1.encodeDateTime)(this.modificationTime, stream);
12266
12266
  encodeHistoryUpdateType(this.updateType, stream);
12267
- (0, node_opcua_basic_types_1.encodeUAString)(this.userName, stream);
12267
+ (0, node_opcua_basic_types_1.encodeString)(this.userName, stream);
12268
12268
  }
12269
12269
  decode(stream) {
12270
12270
  // call base class implementation first
12271
12271
  /* NEEDED !!! */ super.decode(stream);
12272
12272
  this.modificationTime = (0, node_opcua_basic_types_1.decodeDateTime)(stream, this.modificationTime);
12273
12273
  this.updateType = decodeHistoryUpdateType(stream, this.updateType);
12274
- this.userName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.userName);
12274
+ this.userName = (0, node_opcua_basic_types_1.decodeString)(stream, this.userName);
12275
12275
  }
12276
12276
  // Define Enumeration setters
12277
12277
  setUpdateType(value) {
@@ -12497,7 +12497,7 @@ const schemaHistoryReadRequest = (0, node_opcua_factory_1.buildStructuredType)({
12497
12497
  },
12498
12498
  {
12499
12499
  name: "releaseContinuationPoints",
12500
- fieldType: "UABoolean",
12500
+ fieldType: "Boolean",
12501
12501
  },
12502
12502
  {
12503
12503
  name: "nodesToRead",
@@ -12539,7 +12539,7 @@ class HistoryReadRequest extends node_opcua_extension_object_1.ExtensionObject {
12539
12539
  this.requestHeader.encode(stream);
12540
12540
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.historyReadDetails, stream);
12541
12541
  (0, node_opcua_data_value_1.encodeTimestampsToReturn)(this.timestampsToReturn, stream);
12542
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.releaseContinuationPoints, stream);
12542
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.releaseContinuationPoints, stream);
12543
12543
  (0, node_opcua_basic_types_1.encodeArray)(this.nodesToRead, stream, (obj, stream1) => { obj.encode(stream1); });
12544
12544
  }
12545
12545
  decode(stream) {
@@ -12548,7 +12548,7 @@ class HistoryReadRequest extends node_opcua_extension_object_1.ExtensionObject {
12548
12548
  this.requestHeader.decode(stream);
12549
12549
  this.historyReadDetails = (0, node_opcua_extension_object_1.decodeExtensionObject)(stream, this.historyReadDetails);
12550
12550
  this.timestampsToReturn = (0, node_opcua_data_value_1.decodeTimestampsToReturn)(stream, this.timestampsToReturn);
12551
- this.releaseContinuationPoints = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.releaseContinuationPoints);
12551
+ this.releaseContinuationPoints = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.releaseContinuationPoints);
12552
12552
  this.nodesToRead = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
12553
12553
  const obj = new HistoryReadValueId(null);
12554
12554
  obj.decode(stream1);
@@ -12984,7 +12984,7 @@ const schemaIdentityMappingRuleType = (0, node_opcua_factory_1.buildStructuredTy
12984
12984
  },
12985
12985
  {
12986
12986
  name: "criteria",
12987
- fieldType: "UAString",
12987
+ fieldType: "String",
12988
12988
  },
12989
12989
  ]
12990
12990
  });
@@ -13009,13 +13009,13 @@ class IdentityMappingRuleType extends node_opcua_extension_object_1.ExtensionObj
13009
13009
  encode(stream) {
13010
13010
  /* NEEDED */ super.encode(stream);
13011
13011
  encodeIdentityCriteriaType(this.criteriaType, stream);
13012
- (0, node_opcua_basic_types_1.encodeUAString)(this.criteria, stream);
13012
+ (0, node_opcua_basic_types_1.encodeString)(this.criteria, stream);
13013
13013
  }
13014
13014
  decode(stream) {
13015
13015
  // call base class implementation first
13016
13016
  /* NEEDED !!! */ super.decode(stream);
13017
13017
  this.criteriaType = decodeIdentityCriteriaType(stream, this.criteriaType);
13018
- this.criteria = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.criteria);
13018
+ this.criteria = (0, node_opcua_basic_types_1.decodeString)(stream, this.criteria);
13019
13019
  }
13020
13020
  // Define Enumeration setters
13021
13021
  setCriteriaType(value) {
@@ -13094,7 +13094,7 @@ const schemaIssuedIdentityToken = (0, node_opcua_factory_1.buildStructuredType)(
13094
13094
  },
13095
13095
  {
13096
13096
  name: "encryptionAlgorithm",
13097
- fieldType: "UAString",
13097
+ fieldType: "String",
13098
13098
  },
13099
13099
  ]
13100
13100
  });
@@ -13119,13 +13119,13 @@ class IssuedIdentityToken extends UserIdentityToken {
13119
13119
  encode(stream) {
13120
13120
  /* NEEDED */ super.encode(stream);
13121
13121
  (0, node_opcua_basic_types_1.encodeByteString)(this.tokenData, stream);
13122
- (0, node_opcua_basic_types_1.encodeUAString)(this.encryptionAlgorithm, stream);
13122
+ (0, node_opcua_basic_types_1.encodeString)(this.encryptionAlgorithm, stream);
13123
13123
  }
13124
13124
  decode(stream) {
13125
13125
  // call base class implementation first
13126
13126
  /* NEEDED !!! */ super.decode(stream);
13127
13127
  this.tokenData = (0, node_opcua_basic_types_1.decodeByteString)(stream, this.tokenData);
13128
- this.encryptionAlgorithm = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.encryptionAlgorithm);
13128
+ this.encryptionAlgorithm = (0, node_opcua_basic_types_1.decodeString)(stream, this.encryptionAlgorithm);
13129
13129
  }
13130
13130
  get schema() { return schemaIssuedIdentityToken; }
13131
13131
  }
@@ -13492,11 +13492,11 @@ const schemaMdnsDiscoveryConfiguration = (0, node_opcua_factory_1.buildStructure
13492
13492
  fields: [
13493
13493
  {
13494
13494
  name: "mdnsServerName",
13495
- fieldType: "UAString",
13495
+ fieldType: "String",
13496
13496
  },
13497
13497
  {
13498
13498
  name: "serverCapabilities",
13499
- fieldType: "UAString",
13499
+ fieldType: "String",
13500
13500
  isArray: true
13501
13501
  },
13502
13502
  ]
@@ -13521,14 +13521,14 @@ class MdnsDiscoveryConfiguration extends DiscoveryConfiguration {
13521
13521
  static get schema() { return schemaMdnsDiscoveryConfiguration; }
13522
13522
  encode(stream) {
13523
13523
  /* NEEDED */ super.encode(stream);
13524
- (0, node_opcua_basic_types_1.encodeUAString)(this.mdnsServerName, stream);
13525
- (0, node_opcua_basic_types_1.encodeArray)(this.serverCapabilities, stream, node_opcua_basic_types_1.encodeUAString);
13524
+ (0, node_opcua_basic_types_1.encodeString)(this.mdnsServerName, stream);
13525
+ (0, node_opcua_basic_types_1.encodeArray)(this.serverCapabilities, stream, node_opcua_basic_types_1.encodeString);
13526
13526
  }
13527
13527
  decode(stream) {
13528
13528
  // call base class implementation first
13529
13529
  /* NEEDED !!! */ super.decode(stream);
13530
- this.mdnsServerName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.mdnsServerName);
13531
- this.serverCapabilities = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
13530
+ this.mdnsServerName = (0, node_opcua_basic_types_1.decodeString)(stream, this.mdnsServerName);
13531
+ this.serverCapabilities = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
13532
13532
  }
13533
13533
  get schema() { return schemaMdnsDiscoveryConfiguration; }
13534
13534
  }
@@ -13553,11 +13553,11 @@ const schemaMethodAttributes = (0, node_opcua_factory_1.buildStructuredType)({
13553
13553
  fields: [
13554
13554
  {
13555
13555
  name: "executable",
13556
- fieldType: "UABoolean",
13556
+ fieldType: "Boolean",
13557
13557
  },
13558
13558
  {
13559
13559
  name: "userExecutable",
13560
- fieldType: "UABoolean",
13560
+ fieldType: "Boolean",
13561
13561
  },
13562
13562
  ]
13563
13563
  });
@@ -13581,14 +13581,14 @@ class MethodAttributes extends NodeAttributes {
13581
13581
  static get schema() { return schemaMethodAttributes; }
13582
13582
  encode(stream) {
13583
13583
  /* NEEDED */ super.encode(stream);
13584
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.executable, stream);
13585
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.userExecutable, stream);
13584
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.executable, stream);
13585
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.userExecutable, stream);
13586
13586
  }
13587
13587
  decode(stream) {
13588
13588
  // call base class implementation first
13589
13589
  /* NEEDED !!! */ super.decode(stream);
13590
- this.executable = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.executable);
13591
- this.userExecutable = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.userExecutable);
13590
+ this.executable = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.executable);
13591
+ this.userExecutable = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.userExecutable);
13592
13592
  }
13593
13593
  get schema() { return schemaMethodAttributes; }
13594
13594
  }
@@ -13628,11 +13628,11 @@ const schemaMethodNode = (0, node_opcua_factory_1.buildStructuredType)({
13628
13628
  },
13629
13629
  {
13630
13630
  name: "executable",
13631
- fieldType: "UABoolean",
13631
+ fieldType: "Boolean",
13632
13632
  },
13633
13633
  {
13634
13634
  name: "userExecutable",
13635
- fieldType: "UABoolean",
13635
+ fieldType: "Boolean",
13636
13636
  },
13637
13637
  ]
13638
13638
  });
@@ -13677,8 +13677,8 @@ class MethodNode extends InstanceNode {
13677
13677
  (0, node_opcua_basic_types_1.encodeArray)(this.rolePermissions, stream, (obj, stream1) => { obj.encode(stream1); });
13678
13678
  (0, node_opcua_basic_types_1.encodeArray)(this.userRolePermissions, stream, (obj, stream1) => { obj.encode(stream1); });
13679
13679
  (0, node_opcua_basic_types_1.encodeArray)(this.references, stream, (obj, stream1) => { obj.encode(stream1); });
13680
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.executable, stream);
13681
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.userExecutable, stream);
13680
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.executable, stream);
13681
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.userExecutable, stream);
13682
13682
  }
13683
13683
  decode(stream) {
13684
13684
  // call base class implementation first
@@ -13698,8 +13698,8 @@ class MethodNode extends InstanceNode {
13698
13698
  obj.decode(stream1);
13699
13699
  return obj;
13700
13700
  });
13701
- this.executable = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.executable);
13702
- this.userExecutable = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.userExecutable);
13701
+ this.executable = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.executable);
13702
+ this.userExecutable = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.userExecutable);
13703
13703
  }
13704
13704
  get schema() { return schemaMethodNode; }
13705
13705
  }
@@ -14293,7 +14293,7 @@ const schemaNetworkAddressDataType = (0, node_opcua_factory_1.buildStructuredTyp
14293
14293
  fields: [
14294
14294
  {
14295
14295
  name: "networkInterface",
14296
- fieldType: "UAString",
14296
+ fieldType: "String",
14297
14297
  },
14298
14298
  ]
14299
14299
  });
@@ -14315,12 +14315,12 @@ class NetworkAddressDataType extends node_opcua_extension_object_1.ExtensionObje
14315
14315
  static get schema() { return schemaNetworkAddressDataType; }
14316
14316
  encode(stream) {
14317
14317
  /* NEEDED */ super.encode(stream);
14318
- (0, node_opcua_basic_types_1.encodeUAString)(this.networkInterface, stream);
14318
+ (0, node_opcua_basic_types_1.encodeString)(this.networkInterface, stream);
14319
14319
  }
14320
14320
  decode(stream) {
14321
14321
  // call base class implementation first
14322
14322
  /* NEEDED !!! */ super.decode(stream);
14323
- this.networkInterface = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.networkInterface);
14323
+ this.networkInterface = (0, node_opcua_basic_types_1.decodeString)(stream, this.networkInterface);
14324
14324
  }
14325
14325
  get schema() { return schemaNetworkAddressDataType; }
14326
14326
  }
@@ -14344,7 +14344,7 @@ const schemaNetworkAddressUrlDataType = (0, node_opcua_factory_1.buildStructured
14344
14344
  fields: [
14345
14345
  {
14346
14346
  name: "url",
14347
- fieldType: "UAString",
14347
+ fieldType: "String",
14348
14348
  },
14349
14349
  ]
14350
14350
  });
@@ -14366,12 +14366,12 @@ class NetworkAddressUrlDataType extends NetworkAddressDataType {
14366
14366
  static get schema() { return schemaNetworkAddressUrlDataType; }
14367
14367
  encode(stream) {
14368
14368
  /* NEEDED */ super.encode(stream);
14369
- (0, node_opcua_basic_types_1.encodeUAString)(this.url, stream);
14369
+ (0, node_opcua_basic_types_1.encodeString)(this.url, stream);
14370
14370
  }
14371
14371
  decode(stream) {
14372
14372
  // call base class implementation first
14373
14373
  /* NEEDED !!! */ super.decode(stream);
14374
- this.url = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.url);
14374
+ this.url = (0, node_opcua_basic_types_1.decodeString)(stream, this.url);
14375
14375
  }
14376
14376
  get schema() { return schemaNetworkAddressUrlDataType; }
14377
14377
  }
@@ -14395,7 +14395,7 @@ const schemaNetworkGroupDataType = (0, node_opcua_factory_1.buildStructuredType)
14395
14395
  fields: [
14396
14396
  {
14397
14397
  name: "serverUri",
14398
- fieldType: "UAString",
14398
+ fieldType: "String",
14399
14399
  },
14400
14400
  {
14401
14401
  name: "networkPaths",
@@ -14428,13 +14428,13 @@ class NetworkGroupDataType extends node_opcua_extension_object_1.ExtensionObject
14428
14428
  static get schema() { return schemaNetworkGroupDataType; }
14429
14429
  encode(stream) {
14430
14430
  /* NEEDED */ super.encode(stream);
14431
- (0, node_opcua_basic_types_1.encodeUAString)(this.serverUri, stream);
14431
+ (0, node_opcua_basic_types_1.encodeString)(this.serverUri, stream);
14432
14432
  (0, node_opcua_basic_types_1.encodeArray)(this.networkPaths, stream, (obj, stream1) => { obj.encode(stream1); });
14433
14433
  }
14434
14434
  decode(stream) {
14435
14435
  // call base class implementation first
14436
14436
  /* NEEDED !!! */ super.decode(stream);
14437
- this.serverUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.serverUri);
14437
+ this.serverUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.serverUri);
14438
14438
  this.networkPaths = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
14439
14439
  const obj = new EndpointUrlListDataType(null);
14440
14440
  obj.decode(stream1);
@@ -14472,7 +14472,7 @@ const schemaNodeReference = (0, node_opcua_factory_1.buildStructuredType)({
14472
14472
  },
14473
14473
  {
14474
14474
  name: "isForward",
14475
- fieldType: "UABoolean",
14475
+ fieldType: "Boolean",
14476
14476
  },
14477
14477
  {
14478
14478
  name: "referencedNodeIds",
@@ -14507,7 +14507,7 @@ class NodeReference extends node_opcua_extension_object_1.ExtensionObject {
14507
14507
  /* NEEDED */ super.encode(stream);
14508
14508
  (0, node_opcua_basic_types_1.encodeNodeId)(this.nodeId, stream);
14509
14509
  (0, node_opcua_basic_types_1.encodeNodeId)(this.referenceTypeId, stream);
14510
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isForward, stream);
14510
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isForward, stream);
14511
14511
  (0, node_opcua_basic_types_1.encodeArray)(this.referencedNodeIds, stream, node_opcua_basic_types_1.encodeNodeId);
14512
14512
  }
14513
14513
  decode(stream) {
@@ -14515,7 +14515,7 @@ class NodeReference extends node_opcua_extension_object_1.ExtensionObject {
14515
14515
  /* NEEDED !!! */ super.decode(stream);
14516
14516
  this.nodeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.nodeId);
14517
14517
  this.referenceTypeId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.referenceTypeId);
14518
- this.isForward = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isForward);
14518
+ this.isForward = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isForward);
14519
14519
  this.referencedNodeIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeNodeId);
14520
14520
  }
14521
14521
  get schema() { return schemaNodeReference; }
@@ -14616,7 +14616,7 @@ const schemaNodeTypeDescription = (0, node_opcua_factory_1.buildStructuredType)(
14616
14616
  },
14617
14617
  {
14618
14618
  name: "includeSubTypes",
14619
- fieldType: "UABoolean",
14619
+ fieldType: "Boolean",
14620
14620
  },
14621
14621
  {
14622
14622
  name: "dataToReturn",
@@ -14652,14 +14652,14 @@ class NodeTypeDescription extends node_opcua_extension_object_1.ExtensionObject
14652
14652
  encode(stream) {
14653
14653
  /* NEEDED */ super.encode(stream);
14654
14654
  (0, node_opcua_basic_types_1.encodeExpandedNodeId)(this.typeDefinitionNode, stream);
14655
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.includeSubTypes, stream);
14655
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.includeSubTypes, stream);
14656
14656
  (0, node_opcua_basic_types_1.encodeArray)(this.dataToReturn, stream, (obj, stream1) => { obj.encode(stream1); });
14657
14657
  }
14658
14658
  decode(stream) {
14659
14659
  // call base class implementation first
14660
14660
  /* NEEDED !!! */ super.decode(stream);
14661
14661
  this.typeDefinitionNode = (0, node_opcua_basic_types_1.decodeExpandedNodeId)(stream, this.typeDefinitionNode);
14662
- this.includeSubTypes = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.includeSubTypes);
14662
+ this.includeSubTypes = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.includeSubTypes);
14663
14663
  this.dataToReturn = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
14664
14664
  const obj = new QueryDataDescription(null);
14665
14665
  obj.decode(stream1);
@@ -14916,7 +14916,7 @@ const schemaObjectTypeAttributes = (0, node_opcua_factory_1.buildStructuredType)
14916
14916
  fields: [
14917
14917
  {
14918
14918
  name: "isAbstract",
14919
- fieldType: "UABoolean",
14919
+ fieldType: "Boolean",
14920
14920
  },
14921
14921
  ]
14922
14922
  });
@@ -14938,12 +14938,12 @@ class ObjectTypeAttributes extends NodeAttributes {
14938
14938
  static get schema() { return schemaObjectTypeAttributes; }
14939
14939
  encode(stream) {
14940
14940
  /* NEEDED */ super.encode(stream);
14941
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isAbstract, stream);
14941
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isAbstract, stream);
14942
14942
  }
14943
14943
  decode(stream) {
14944
14944
  // call base class implementation first
14945
14945
  /* NEEDED !!! */ super.decode(stream);
14946
- this.isAbstract = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isAbstract);
14946
+ this.isAbstract = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isAbstract);
14947
14947
  }
14948
14948
  get schema() { return schemaObjectTypeAttributes; }
14949
14949
  }
@@ -14982,7 +14982,7 @@ const schemaObjectTypeNode = (0, node_opcua_factory_1.buildStructuredType)({
14982
14982
  },
14983
14983
  {
14984
14984
  name: "isAbstract",
14985
- fieldType: "UABoolean",
14985
+ fieldType: "Boolean",
14986
14986
  },
14987
14987
  ]
14988
14988
  });
@@ -15025,7 +15025,7 @@ class ObjectTypeNode extends TypeNode {
15025
15025
  (0, node_opcua_basic_types_1.encodeArray)(this.rolePermissions, stream, (obj, stream1) => { obj.encode(stream1); });
15026
15026
  (0, node_opcua_basic_types_1.encodeArray)(this.userRolePermissions, stream, (obj, stream1) => { obj.encode(stream1); });
15027
15027
  (0, node_opcua_basic_types_1.encodeArray)(this.references, stream, (obj, stream1) => { obj.encode(stream1); });
15028
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isAbstract, stream);
15028
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isAbstract, stream);
15029
15029
  }
15030
15030
  decode(stream) {
15031
15031
  // call base class implementation first
@@ -15045,7 +15045,7 @@ class ObjectTypeNode extends TypeNode {
15045
15045
  obj.decode(stream1);
15046
15046
  return obj;
15047
15047
  });
15048
- this.isAbstract = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isAbstract);
15048
+ this.isAbstract = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isAbstract);
15049
15049
  }
15050
15050
  get schema() { return schemaObjectTypeNode; }
15051
15051
  }
@@ -15460,7 +15460,7 @@ const schemaPortableNodeId = (0, node_opcua_factory_1.buildStructuredType)({
15460
15460
  fields: [
15461
15461
  {
15462
15462
  name: "namespaceUri",
15463
- fieldType: "UAString",
15463
+ fieldType: "String",
15464
15464
  },
15465
15465
  {
15466
15466
  name: "identifier",
@@ -15488,13 +15488,13 @@ class PortableNodeId extends node_opcua_extension_object_1.ExtensionObject {
15488
15488
  static get schema() { return schemaPortableNodeId; }
15489
15489
  encode(stream) {
15490
15490
  /* NEEDED */ super.encode(stream);
15491
- (0, node_opcua_basic_types_1.encodeUAString)(this.namespaceUri, stream);
15491
+ (0, node_opcua_basic_types_1.encodeString)(this.namespaceUri, stream);
15492
15492
  (0, node_opcua_basic_types_1.encodeNodeId)(this.identifier, stream);
15493
15493
  }
15494
15494
  decode(stream) {
15495
15495
  // call base class implementation first
15496
15496
  /* NEEDED !!! */ super.decode(stream);
15497
- this.namespaceUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.namespaceUri);
15497
+ this.namespaceUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.namespaceUri);
15498
15498
  this.identifier = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.identifier);
15499
15499
  }
15500
15500
  get schema() { return schemaPortableNodeId; }
@@ -15520,11 +15520,11 @@ const schemaPortableQualifiedName = (0, node_opcua_factory_1.buildStructuredType
15520
15520
  fields: [
15521
15521
  {
15522
15522
  name: "namespaceUri",
15523
- fieldType: "UAString",
15523
+ fieldType: "String",
15524
15524
  },
15525
15525
  {
15526
15526
  name: "name",
15527
- fieldType: "UAString",
15527
+ fieldType: "String",
15528
15528
  },
15529
15529
  ]
15530
15530
  });
@@ -15548,14 +15548,14 @@ class PortableQualifiedName extends node_opcua_extension_object_1.ExtensionObjec
15548
15548
  static get schema() { return schemaPortableQualifiedName; }
15549
15549
  encode(stream) {
15550
15550
  /* NEEDED */ super.encode(stream);
15551
- (0, node_opcua_basic_types_1.encodeUAString)(this.namespaceUri, stream);
15552
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
15551
+ (0, node_opcua_basic_types_1.encodeString)(this.namespaceUri, stream);
15552
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
15553
15553
  }
15554
15554
  decode(stream) {
15555
15555
  // call base class implementation first
15556
15556
  /* NEEDED !!! */ super.decode(stream);
15557
- this.namespaceUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.namespaceUri);
15558
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
15557
+ this.namespaceUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.namespaceUri);
15558
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
15559
15559
  }
15560
15560
  get schema() { return schemaPortableQualifiedName; }
15561
15561
  }
@@ -15580,11 +15580,11 @@ const schemaPriorityMappingEntryType = (0, node_opcua_factory_1.buildStructuredT
15580
15580
  fields: [
15581
15581
  {
15582
15582
  name: "mappingUri",
15583
- fieldType: "UAString",
15583
+ fieldType: "String",
15584
15584
  },
15585
15585
  {
15586
15586
  name: "priorityLabel",
15587
- fieldType: "UAString",
15587
+ fieldType: "String",
15588
15588
  },
15589
15589
  {
15590
15590
  name: "priorityValue_PCP",
@@ -15620,16 +15620,16 @@ class PriorityMappingEntryType extends node_opcua_extension_object_1.ExtensionOb
15620
15620
  static get schema() { return schemaPriorityMappingEntryType; }
15621
15621
  encode(stream) {
15622
15622
  /* NEEDED */ super.encode(stream);
15623
- (0, node_opcua_basic_types_1.encodeUAString)(this.mappingUri, stream);
15624
- (0, node_opcua_basic_types_1.encodeUAString)(this.priorityLabel, stream);
15623
+ (0, node_opcua_basic_types_1.encodeString)(this.mappingUri, stream);
15624
+ (0, node_opcua_basic_types_1.encodeString)(this.priorityLabel, stream);
15625
15625
  (0, node_opcua_basic_types_1.encodeByte)(this.priorityValue_PCP, stream);
15626
15626
  (0, node_opcua_basic_types_1.encodeUInt32)(this.priorityValue_DSCP, stream);
15627
15627
  }
15628
15628
  decode(stream) {
15629
15629
  // call base class implementation first
15630
15630
  /* NEEDED !!! */ super.decode(stream);
15631
- this.mappingUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.mappingUri);
15632
- this.priorityLabel = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.priorityLabel);
15631
+ this.mappingUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.mappingUri);
15632
+ this.priorityLabel = (0, node_opcua_basic_types_1.decodeString)(stream, this.priorityLabel);
15633
15633
  this.priorityValue_PCP = (0, node_opcua_basic_types_1.decodeByte)(stream, this.priorityValue_PCP);
15634
15634
  this.priorityValue_DSCP = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.priorityValue_DSCP);
15635
15635
  }
@@ -15662,7 +15662,7 @@ const schemaProgramDiagnostic2DataType = (0, node_opcua_factory_1.buildStructure
15662
15662
  },
15663
15663
  {
15664
15664
  name: "createClientName",
15665
- fieldType: "UAString",
15665
+ fieldType: "String",
15666
15666
  },
15667
15667
  {
15668
15668
  name: "invocationCreationTime",
@@ -15674,7 +15674,7 @@ const schemaProgramDiagnostic2DataType = (0, node_opcua_factory_1.buildStructure
15674
15674
  },
15675
15675
  {
15676
15676
  name: "lastMethodCall",
15677
- fieldType: "UAString",
15677
+ fieldType: "String",
15678
15678
  },
15679
15679
  {
15680
15680
  name: "lastMethodSessionId",
@@ -15759,10 +15759,10 @@ class ProgramDiagnostic2DataType extends node_opcua_extension_object_1.Extension
15759
15759
  encode(stream) {
15760
15760
  /* NEEDED */ super.encode(stream);
15761
15761
  (0, node_opcua_basic_types_1.encodeNodeId)(this.createSessionId, stream);
15762
- (0, node_opcua_basic_types_1.encodeUAString)(this.createClientName, stream);
15762
+ (0, node_opcua_basic_types_1.encodeString)(this.createClientName, stream);
15763
15763
  (0, node_opcua_basic_types_1.encodeDateTime)(this.invocationCreationTime, stream);
15764
15764
  (0, node_opcua_basic_types_1.encodeDateTime)(this.lastTransitionTime, stream);
15765
- (0, node_opcua_basic_types_1.encodeUAString)(this.lastMethodCall, stream);
15765
+ (0, node_opcua_basic_types_1.encodeString)(this.lastMethodCall, stream);
15766
15766
  (0, node_opcua_basic_types_1.encodeNodeId)(this.lastMethodSessionId, stream);
15767
15767
  (0, node_opcua_basic_types_1.encodeArray)(this.lastMethodInputArguments, stream, (obj, stream1) => { obj.encode(stream1); });
15768
15768
  (0, node_opcua_basic_types_1.encodeArray)(this.lastMethodOutputArguments, stream, (obj, stream1) => { obj.encode(stream1); });
@@ -15775,10 +15775,10 @@ class ProgramDiagnostic2DataType extends node_opcua_extension_object_1.Extension
15775
15775
  // call base class implementation first
15776
15776
  /* NEEDED !!! */ super.decode(stream);
15777
15777
  this.createSessionId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.createSessionId);
15778
- this.createClientName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.createClientName);
15778
+ this.createClientName = (0, node_opcua_basic_types_1.decodeString)(stream, this.createClientName);
15779
15779
  this.invocationCreationTime = (0, node_opcua_basic_types_1.decodeDateTime)(stream, this.invocationCreationTime);
15780
15780
  this.lastTransitionTime = (0, node_opcua_basic_types_1.decodeDateTime)(stream, this.lastTransitionTime);
15781
- this.lastMethodCall = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.lastMethodCall);
15781
+ this.lastMethodCall = (0, node_opcua_basic_types_1.decodeString)(stream, this.lastMethodCall);
15782
15782
  this.lastMethodSessionId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.lastMethodSessionId);
15783
15783
  this.lastMethodInputArguments = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
15784
15784
  const obj = new Argument(null);
@@ -15892,7 +15892,7 @@ const schemaProgramDiagnosticDataType = (0, node_opcua_factory_1.buildStructured
15892
15892
  },
15893
15893
  {
15894
15894
  name: "createClientName",
15895
- fieldType: "UAString",
15895
+ fieldType: "String",
15896
15896
  },
15897
15897
  {
15898
15898
  name: "invocationCreationTime",
@@ -15904,7 +15904,7 @@ const schemaProgramDiagnosticDataType = (0, node_opcua_factory_1.buildStructured
15904
15904
  },
15905
15905
  {
15906
15906
  name: "lastMethodCall",
15907
- fieldType: "UAString",
15907
+ fieldType: "String",
15908
15908
  },
15909
15909
  {
15910
15910
  name: "lastMethodSessionId",
@@ -15975,10 +15975,10 @@ class ProgramDiagnosticDataType extends node_opcua_extension_object_1.ExtensionO
15975
15975
  encode(stream) {
15976
15976
  /* NEEDED */ super.encode(stream);
15977
15977
  (0, node_opcua_basic_types_1.encodeNodeId)(this.createSessionId, stream);
15978
- (0, node_opcua_basic_types_1.encodeUAString)(this.createClientName, stream);
15978
+ (0, node_opcua_basic_types_1.encodeString)(this.createClientName, stream);
15979
15979
  (0, node_opcua_basic_types_1.encodeDateTime)(this.invocationCreationTime, stream);
15980
15980
  (0, node_opcua_basic_types_1.encodeDateTime)(this.lastTransitionTime, stream);
15981
- (0, node_opcua_basic_types_1.encodeUAString)(this.lastMethodCall, stream);
15981
+ (0, node_opcua_basic_types_1.encodeString)(this.lastMethodCall, stream);
15982
15982
  (0, node_opcua_basic_types_1.encodeNodeId)(this.lastMethodSessionId, stream);
15983
15983
  (0, node_opcua_basic_types_1.encodeArray)(this.lastMethodInputArguments, stream, (obj, stream1) => { obj.encode(stream1); });
15984
15984
  (0, node_opcua_basic_types_1.encodeArray)(this.lastMethodOutputArguments, stream, (obj, stream1) => { obj.encode(stream1); });
@@ -15989,10 +15989,10 @@ class ProgramDiagnosticDataType extends node_opcua_extension_object_1.ExtensionO
15989
15989
  // call base class implementation first
15990
15990
  /* NEEDED !!! */ super.decode(stream);
15991
15991
  this.createSessionId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.createSessionId);
15992
- this.createClientName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.createClientName);
15992
+ this.createClientName = (0, node_opcua_basic_types_1.decodeString)(stream, this.createClientName);
15993
15993
  this.invocationCreationTime = (0, node_opcua_basic_types_1.decodeDateTime)(stream, this.invocationCreationTime);
15994
15994
  this.lastTransitionTime = (0, node_opcua_basic_types_1.decodeDateTime)(stream, this.lastTransitionTime);
15995
- this.lastMethodCall = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.lastMethodCall);
15995
+ this.lastMethodCall = (0, node_opcua_basic_types_1.decodeString)(stream, this.lastMethodCall);
15996
15996
  this.lastMethodSessionId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.lastMethodSessionId);
15997
15997
  this.lastMethodInputArguments = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
15998
15998
  const obj = new Argument(null);
@@ -16038,11 +16038,11 @@ const schemaPublishedDataSetDataType = (0, node_opcua_factory_1.buildStructuredT
16038
16038
  fields: [
16039
16039
  {
16040
16040
  name: "name",
16041
- fieldType: "UAString",
16041
+ fieldType: "String",
16042
16042
  },
16043
16043
  {
16044
16044
  name: "dataSetFolder",
16045
- fieldType: "UAString",
16045
+ fieldType: "String",
16046
16046
  isArray: true
16047
16047
  },
16048
16048
  {
@@ -16090,8 +16090,8 @@ class PublishedDataSetDataType extends node_opcua_extension_object_1.ExtensionOb
16090
16090
  static get schema() { return schemaPublishedDataSetDataType; }
16091
16091
  encode(stream) {
16092
16092
  /* NEEDED */ super.encode(stream);
16093
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
16094
- (0, node_opcua_basic_types_1.encodeArray)(this.dataSetFolder, stream, node_opcua_basic_types_1.encodeUAString);
16093
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
16094
+ (0, node_opcua_basic_types_1.encodeArray)(this.dataSetFolder, stream, node_opcua_basic_types_1.encodeString);
16095
16095
  this.dataSetMetaData.encode(stream);
16096
16096
  (0, node_opcua_basic_types_1.encodeArray)(this.extensionFields, stream, (obj, stream1) => { obj.encode(stream1); });
16097
16097
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.dataSetSource, stream);
@@ -16099,8 +16099,8 @@ class PublishedDataSetDataType extends node_opcua_extension_object_1.ExtensionOb
16099
16099
  decode(stream) {
16100
16100
  // call base class implementation first
16101
16101
  /* NEEDED !!! */ super.decode(stream);
16102
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
16103
- this.dataSetFolder = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
16102
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
16103
+ this.dataSetFolder = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
16104
16104
  this.dataSetMetaData.decode(stream);
16105
16105
  this.extensionFields = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
16106
16106
  const obj = new KeyValuePair(null);
@@ -16135,11 +16135,11 @@ const schemaPubSubGroupDataType = (0, node_opcua_factory_1.buildStructuredType)(
16135
16135
  fields: [
16136
16136
  {
16137
16137
  name: "name",
16138
- fieldType: "UAString",
16138
+ fieldType: "String",
16139
16139
  },
16140
16140
  {
16141
16141
  name: "enabled",
16142
- fieldType: "UABoolean",
16142
+ fieldType: "Boolean",
16143
16143
  },
16144
16144
  {
16145
16145
  name: "securityMode",
@@ -16147,7 +16147,7 @@ const schemaPubSubGroupDataType = (0, node_opcua_factory_1.buildStructuredType)(
16147
16147
  },
16148
16148
  {
16149
16149
  name: "securityGroupId",
16150
- fieldType: "UAString",
16150
+ fieldType: "String",
16151
16151
  },
16152
16152
  {
16153
16153
  name: "securityKeyServices",
@@ -16203,10 +16203,10 @@ class PubSubGroupDataType extends node_opcua_extension_object_1.ExtensionObject
16203
16203
  static get schema() { return schemaPubSubGroupDataType; }
16204
16204
  encode(stream) {
16205
16205
  /* NEEDED */ super.encode(stream);
16206
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
16207
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.enabled, stream);
16206
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
16207
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.enabled, stream);
16208
16208
  encodeMessageSecurityMode(this.securityMode, stream);
16209
- (0, node_opcua_basic_types_1.encodeUAString)(this.securityGroupId, stream);
16209
+ (0, node_opcua_basic_types_1.encodeString)(this.securityGroupId, stream);
16210
16210
  (0, node_opcua_basic_types_1.encodeArray)(this.securityKeyServices, stream, (obj, stream1) => { obj.encode(stream1); });
16211
16211
  (0, node_opcua_basic_types_1.encodeUInt32)(this.maxNetworkMessageSize, stream);
16212
16212
  (0, node_opcua_basic_types_1.encodeArray)(this.groupProperties, stream, (obj, stream1) => { obj.encode(stream1); });
@@ -16214,10 +16214,10 @@ class PubSubGroupDataType extends node_opcua_extension_object_1.ExtensionObject
16214
16214
  decode(stream) {
16215
16215
  // call base class implementation first
16216
16216
  /* NEEDED !!! */ super.decode(stream);
16217
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
16218
- this.enabled = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.enabled);
16217
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
16218
+ this.enabled = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.enabled);
16219
16219
  this.securityMode = decodeMessageSecurityMode(stream, this.securityMode);
16220
- this.securityGroupId = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.securityGroupId);
16220
+ this.securityGroupId = (0, node_opcua_basic_types_1.decodeString)(stream, this.securityGroupId);
16221
16221
  this.securityKeyServices = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
16222
16222
  const obj = new EndpointDescription(null);
16223
16223
  obj.decode(stream1);
@@ -16284,12 +16284,12 @@ const schemaWriterGroupDataType = (0, node_opcua_factory_1.buildStructuredType)(
16284
16284
  },
16285
16285
  {
16286
16286
  name: "localeIds",
16287
- fieldType: "UAString",
16287
+ fieldType: "String",
16288
16288
  isArray: true
16289
16289
  },
16290
16290
  {
16291
16291
  name: "headerLayoutUri",
16292
- fieldType: "UAString",
16292
+ fieldType: "String",
16293
16293
  },
16294
16294
  {
16295
16295
  name: "transportSettings",
@@ -16348,8 +16348,8 @@ class WriterGroupDataType extends PubSubGroupDataType {
16348
16348
  (0, node_opcua_basic_types_1.encodeDouble)(this.publishingInterval, stream);
16349
16349
  (0, node_opcua_basic_types_1.encodeDouble)(this.keepAliveTime, stream);
16350
16350
  (0, node_opcua_basic_types_1.encodeByte)(this.priority, stream);
16351
- (0, node_opcua_basic_types_1.encodeArray)(this.localeIds, stream, node_opcua_basic_types_1.encodeUAString);
16352
- (0, node_opcua_basic_types_1.encodeUAString)(this.headerLayoutUri, stream);
16351
+ (0, node_opcua_basic_types_1.encodeArray)(this.localeIds, stream, node_opcua_basic_types_1.encodeString);
16352
+ (0, node_opcua_basic_types_1.encodeString)(this.headerLayoutUri, stream);
16353
16353
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.transportSettings, stream);
16354
16354
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.messageSettings, stream);
16355
16355
  (0, node_opcua_basic_types_1.encodeArray)(this.dataSetWriters, stream, (obj, stream1) => { obj.encode(stream1); });
@@ -16361,8 +16361,8 @@ class WriterGroupDataType extends PubSubGroupDataType {
16361
16361
  this.publishingInterval = (0, node_opcua_basic_types_1.decodeDouble)(stream, this.publishingInterval);
16362
16362
  this.keepAliveTime = (0, node_opcua_basic_types_1.decodeDouble)(stream, this.keepAliveTime);
16363
16363
  this.priority = (0, node_opcua_basic_types_1.decodeByte)(stream, this.priority);
16364
- this.localeIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
16365
- this.headerLayoutUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.headerLayoutUri);
16364
+ this.localeIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
16365
+ this.headerLayoutUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.headerLayoutUri);
16366
16366
  this.transportSettings = (0, node_opcua_extension_object_1.decodeExtensionObject)(stream, this.transportSettings);
16367
16367
  this.messageSettings = (0, node_opcua_extension_object_1.decodeExtensionObject)(stream, this.messageSettings);
16368
16368
  this.dataSetWriters = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
@@ -16479,11 +16479,11 @@ const schemaPubSubConnectionDataType = (0, node_opcua_factory_1.buildStructuredT
16479
16479
  fields: [
16480
16480
  {
16481
16481
  name: "name",
16482
- fieldType: "UAString",
16482
+ fieldType: "String",
16483
16483
  },
16484
16484
  {
16485
16485
  name: "enabled",
16486
- fieldType: "UABoolean",
16486
+ fieldType: "Boolean",
16487
16487
  },
16488
16488
  {
16489
16489
  name: "publisherId",
@@ -16491,7 +16491,7 @@ const schemaPubSubConnectionDataType = (0, node_opcua_factory_1.buildStructuredT
16491
16491
  },
16492
16492
  {
16493
16493
  name: "transportProfileUri",
16494
- fieldType: "UAString",
16494
+ fieldType: "String",
16495
16495
  },
16496
16496
  {
16497
16497
  name: "address",
@@ -16564,10 +16564,10 @@ class PubSubConnectionDataType extends node_opcua_extension_object_1.ExtensionOb
16564
16564
  static get schema() { return schemaPubSubConnectionDataType; }
16565
16565
  encode(stream) {
16566
16566
  /* NEEDED */ super.encode(stream);
16567
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
16568
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.enabled, stream);
16567
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
16568
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.enabled, stream);
16569
16569
  (0, node_opcua_variant_1.encodeVariant)(this.publisherId, stream);
16570
- (0, node_opcua_basic_types_1.encodeUAString)(this.transportProfileUri, stream);
16570
+ (0, node_opcua_basic_types_1.encodeString)(this.transportProfileUri, stream);
16571
16571
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.address, stream);
16572
16572
  (0, node_opcua_basic_types_1.encodeArray)(this.connectionProperties, stream, (obj, stream1) => { obj.encode(stream1); });
16573
16573
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.transportSettings, stream);
@@ -16577,10 +16577,10 @@ class PubSubConnectionDataType extends node_opcua_extension_object_1.ExtensionOb
16577
16577
  decode(stream) {
16578
16578
  // call base class implementation first
16579
16579
  /* NEEDED !!! */ super.decode(stream);
16580
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
16581
- this.enabled = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.enabled);
16580
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
16581
+ this.enabled = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.enabled);
16582
16582
  this.publisherId = (0, node_opcua_variant_1.decodeVariant)(stream, this.publisherId);
16583
- this.transportProfileUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.transportProfileUri);
16583
+ this.transportProfileUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.transportProfileUri);
16584
16584
  this.address = (0, node_opcua_extension_object_1.decodeExtensionObject)(stream, this.address);
16585
16585
  this.connectionProperties = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
16586
16586
  const obj = new KeyValuePair(null);
@@ -16639,7 +16639,7 @@ const schemaPubSubConfigurationDataType = (0, node_opcua_factory_1.buildStructur
16639
16639
  },
16640
16640
  {
16641
16641
  name: "enabled",
16642
- fieldType: "UABoolean",
16642
+ fieldType: "Boolean",
16643
16643
  },
16644
16644
  ]
16645
16645
  });
@@ -16675,7 +16675,7 @@ class PubSubConfigurationDataType extends node_opcua_extension_object_1.Extensio
16675
16675
  /* NEEDED */ super.encode(stream);
16676
16676
  (0, node_opcua_basic_types_1.encodeArray)(this.publishedDataSets, stream, (obj, stream1) => { obj.encode(stream1); });
16677
16677
  (0, node_opcua_basic_types_1.encodeArray)(this.connections, stream, (obj, stream1) => { obj.encode(stream1); });
16678
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.enabled, stream);
16678
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.enabled, stream);
16679
16679
  }
16680
16680
  decode(stream) {
16681
16681
  // call base class implementation first
@@ -16690,7 +16690,7 @@ class PubSubConfigurationDataType extends node_opcua_extension_object_1.Extensio
16690
16690
  obj.decode(stream1);
16691
16691
  return obj;
16692
16692
  });
16693
- this.enabled = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.enabled);
16693
+ this.enabled = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.enabled);
16694
16694
  }
16695
16695
  get schema() { return schemaPubSubConfigurationDataType; }
16696
16696
  }
@@ -16756,11 +16756,11 @@ const schemaStandaloneSubscribedDataSetDataType = (0, node_opcua_factory_1.build
16756
16756
  fields: [
16757
16757
  {
16758
16758
  name: "name",
16759
- fieldType: "UAString",
16759
+ fieldType: "String",
16760
16760
  },
16761
16761
  {
16762
16762
  name: "dataSetFolder",
16763
- fieldType: "UAString",
16763
+ fieldType: "String",
16764
16764
  isArray: true
16765
16765
  },
16766
16766
  {
@@ -16797,16 +16797,16 @@ class StandaloneSubscribedDataSetDataType extends SubscribedDataSetDataType {
16797
16797
  static get schema() { return schemaStandaloneSubscribedDataSetDataType; }
16798
16798
  encode(stream) {
16799
16799
  /* NEEDED */ super.encode(stream);
16800
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
16801
- (0, node_opcua_basic_types_1.encodeArray)(this.dataSetFolder, stream, node_opcua_basic_types_1.encodeUAString);
16800
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
16801
+ (0, node_opcua_basic_types_1.encodeArray)(this.dataSetFolder, stream, node_opcua_basic_types_1.encodeString);
16802
16802
  this.dataSetMetaData.encode(stream);
16803
16803
  (0, node_opcua_extension_object_1.encodeExtensionObject)(this.subscribedDataSet, stream);
16804
16804
  }
16805
16805
  decode(stream) {
16806
16806
  // call base class implementation first
16807
16807
  /* NEEDED !!! */ super.decode(stream);
16808
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
16809
- this.dataSetFolder = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
16808
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
16809
+ this.dataSetFolder = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
16810
16810
  this.dataSetMetaData.decode(stream);
16811
16811
  this.subscribedDataSet = (0, node_opcua_extension_object_1.decodeExtensionObject)(stream, this.subscribedDataSet);
16812
16812
  }
@@ -16835,11 +16835,11 @@ const schemaSecurityGroupDataType = (0, node_opcua_factory_1.buildStructuredType
16835
16835
  fields: [
16836
16836
  {
16837
16837
  name: "name",
16838
- fieldType: "UAString",
16838
+ fieldType: "String",
16839
16839
  },
16840
16840
  {
16841
16841
  name: "securityGroupFolder",
16842
- fieldType: "UAString",
16842
+ fieldType: "String",
16843
16843
  isArray: true
16844
16844
  },
16845
16845
  {
@@ -16848,7 +16848,7 @@ const schemaSecurityGroupDataType = (0, node_opcua_factory_1.buildStructuredType
16848
16848
  },
16849
16849
  {
16850
16850
  name: "securityPolicyUri",
16851
- fieldType: "UAString",
16851
+ fieldType: "String",
16852
16852
  },
16853
16853
  {
16854
16854
  name: "maxFutureKeyCount",
@@ -16860,7 +16860,7 @@ const schemaSecurityGroupDataType = (0, node_opcua_factory_1.buildStructuredType
16860
16860
  },
16861
16861
  {
16862
16862
  name: "securityGroupId",
16863
- fieldType: "UAString",
16863
+ fieldType: "String",
16864
16864
  },
16865
16865
  {
16866
16866
  name: "rolePermissions",
@@ -16916,26 +16916,26 @@ class SecurityGroupDataType extends node_opcua_extension_object_1.ExtensionObjec
16916
16916
  static get schema() { return schemaSecurityGroupDataType; }
16917
16917
  encode(stream) {
16918
16918
  /* NEEDED */ super.encode(stream);
16919
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
16920
- (0, node_opcua_basic_types_1.encodeArray)(this.securityGroupFolder, stream, node_opcua_basic_types_1.encodeUAString);
16919
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
16920
+ (0, node_opcua_basic_types_1.encodeArray)(this.securityGroupFolder, stream, node_opcua_basic_types_1.encodeString);
16921
16921
  (0, node_opcua_basic_types_1.encodeDouble)(this.keyLifetime, stream);
16922
- (0, node_opcua_basic_types_1.encodeUAString)(this.securityPolicyUri, stream);
16922
+ (0, node_opcua_basic_types_1.encodeString)(this.securityPolicyUri, stream);
16923
16923
  (0, node_opcua_basic_types_1.encodeUInt32)(this.maxFutureKeyCount, stream);
16924
16924
  (0, node_opcua_basic_types_1.encodeUInt32)(this.maxPastKeyCount, stream);
16925
- (0, node_opcua_basic_types_1.encodeUAString)(this.securityGroupId, stream);
16925
+ (0, node_opcua_basic_types_1.encodeString)(this.securityGroupId, stream);
16926
16926
  (0, node_opcua_basic_types_1.encodeArray)(this.rolePermissions, stream, (obj, stream1) => { obj.encode(stream1); });
16927
16927
  (0, node_opcua_basic_types_1.encodeArray)(this.groupProperties, stream, (obj, stream1) => { obj.encode(stream1); });
16928
16928
  }
16929
16929
  decode(stream) {
16930
16930
  // call base class implementation first
16931
16931
  /* NEEDED !!! */ super.decode(stream);
16932
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
16933
- this.securityGroupFolder = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
16932
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
16933
+ this.securityGroupFolder = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
16934
16934
  this.keyLifetime = (0, node_opcua_basic_types_1.decodeDouble)(stream, this.keyLifetime);
16935
- this.securityPolicyUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.securityPolicyUri);
16935
+ this.securityPolicyUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.securityPolicyUri);
16936
16936
  this.maxFutureKeyCount = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.maxFutureKeyCount);
16937
16937
  this.maxPastKeyCount = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.maxPastKeyCount);
16938
- this.securityGroupId = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.securityGroupId);
16938
+ this.securityGroupId = (0, node_opcua_basic_types_1.decodeString)(stream, this.securityGroupId);
16939
16939
  this.rolePermissions = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
16940
16940
  const obj = new RolePermissionType(null);
16941
16941
  obj.decode(stream1);
@@ -16977,20 +16977,20 @@ const schemaPubSubKeyPushTargetDataType = (0, node_opcua_factory_1.buildStructur
16977
16977
  fields: [
16978
16978
  {
16979
16979
  name: "applicationUri",
16980
- fieldType: "UAString",
16980
+ fieldType: "String",
16981
16981
  },
16982
16982
  {
16983
16983
  name: "pushTargetFolder",
16984
- fieldType: "UAString",
16984
+ fieldType: "String",
16985
16985
  isArray: true
16986
16986
  },
16987
16987
  {
16988
16988
  name: "endpointUrl",
16989
- fieldType: "UAString",
16989
+ fieldType: "String",
16990
16990
  },
16991
16991
  {
16992
16992
  name: "securityPolicyUri",
16993
- fieldType: "UAString",
16993
+ fieldType: "String",
16994
16994
  },
16995
16995
  {
16996
16996
  name: "userTokenType",
@@ -17011,7 +17011,7 @@ const schemaPubSubKeyPushTargetDataType = (0, node_opcua_factory_1.buildStructur
17011
17011
  },
17012
17012
  {
17013
17013
  name: "securityGroups",
17014
- fieldType: "UAString",
17014
+ fieldType: "String",
17015
17015
  isArray: true
17016
17016
  },
17017
17017
  ]
@@ -17054,23 +17054,23 @@ class PubSubKeyPushTargetDataType extends node_opcua_extension_object_1.Extensio
17054
17054
  static get schema() { return schemaPubSubKeyPushTargetDataType; }
17055
17055
  encode(stream) {
17056
17056
  /* NEEDED */ super.encode(stream);
17057
- (0, node_opcua_basic_types_1.encodeUAString)(this.applicationUri, stream);
17058
- (0, node_opcua_basic_types_1.encodeArray)(this.pushTargetFolder, stream, node_opcua_basic_types_1.encodeUAString);
17059
- (0, node_opcua_basic_types_1.encodeUAString)(this.endpointUrl, stream);
17060
- (0, node_opcua_basic_types_1.encodeUAString)(this.securityPolicyUri, stream);
17057
+ (0, node_opcua_basic_types_1.encodeString)(this.applicationUri, stream);
17058
+ (0, node_opcua_basic_types_1.encodeArray)(this.pushTargetFolder, stream, node_opcua_basic_types_1.encodeString);
17059
+ (0, node_opcua_basic_types_1.encodeString)(this.endpointUrl, stream);
17060
+ (0, node_opcua_basic_types_1.encodeString)(this.securityPolicyUri, stream);
17061
17061
  this.userTokenType.encode(stream);
17062
17062
  (0, node_opcua_basic_types_1.encodeUInt16)(this.requestedKeyCount, stream);
17063
17063
  (0, node_opcua_basic_types_1.encodeDouble)(this.retryInterval, stream);
17064
17064
  (0, node_opcua_basic_types_1.encodeArray)(this.pushTargetProperties, stream, (obj, stream1) => { obj.encode(stream1); });
17065
- (0, node_opcua_basic_types_1.encodeArray)(this.securityGroups, stream, node_opcua_basic_types_1.encodeUAString);
17065
+ (0, node_opcua_basic_types_1.encodeArray)(this.securityGroups, stream, node_opcua_basic_types_1.encodeString);
17066
17066
  }
17067
17067
  decode(stream) {
17068
17068
  // call base class implementation first
17069
17069
  /* NEEDED !!! */ super.decode(stream);
17070
- this.applicationUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.applicationUri);
17071
- this.pushTargetFolder = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
17072
- this.endpointUrl = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.endpointUrl);
17073
- this.securityPolicyUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.securityPolicyUri);
17070
+ this.applicationUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.applicationUri);
17071
+ this.pushTargetFolder = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
17072
+ this.endpointUrl = (0, node_opcua_basic_types_1.decodeString)(stream, this.endpointUrl);
17073
+ this.securityPolicyUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.securityPolicyUri);
17074
17074
  this.userTokenType.decode(stream);
17075
17075
  this.requestedKeyCount = (0, node_opcua_basic_types_1.decodeUInt16)(stream, this.requestedKeyCount);
17076
17076
  this.retryInterval = (0, node_opcua_basic_types_1.decodeDouble)(stream, this.retryInterval);
@@ -17079,7 +17079,7 @@ class PubSubKeyPushTargetDataType extends node_opcua_extension_object_1.Extensio
17079
17079
  obj.decode(stream1);
17080
17080
  return obj;
17081
17081
  });
17082
- this.securityGroups = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
17082
+ this.securityGroups = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
17083
17083
  }
17084
17084
  get schema() { return schemaPubSubKeyPushTargetDataType; }
17085
17085
  }
@@ -17393,7 +17393,7 @@ const schemaPubSubConfigurationValueDataType = (0, node_opcua_factory_1.buildStr
17393
17393
  },
17394
17394
  {
17395
17395
  name: "name",
17396
- fieldType: "UAString",
17396
+ fieldType: "String",
17397
17397
  },
17398
17398
  {
17399
17399
  name: "identifier",
@@ -17424,14 +17424,14 @@ class PubSubConfigurationValueDataType extends node_opcua_extension_object_1.Ext
17424
17424
  encode(stream) {
17425
17425
  /* NEEDED */ super.encode(stream);
17426
17426
  this.configurationElement.encode(stream);
17427
- (0, node_opcua_basic_types_1.encodeUAString)(this.name, stream);
17427
+ (0, node_opcua_basic_types_1.encodeString)(this.name, stream);
17428
17428
  (0, node_opcua_variant_1.encodeVariant)(this.identifier, stream);
17429
17429
  }
17430
17430
  decode(stream) {
17431
17431
  // call base class implementation first
17432
17432
  /* NEEDED !!! */ super.decode(stream);
17433
17433
  this.configurationElement.decode(stream);
17434
- this.name = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.name);
17434
+ this.name = (0, node_opcua_basic_types_1.decodeString)(stream, this.name);
17435
17435
  this.identifier = (0, node_opcua_variant_1.decodeVariant)(stream, this.identifier);
17436
17436
  }
17437
17437
  get schema() { return schemaPubSubConfigurationValueDataType; }
@@ -17600,7 +17600,7 @@ const schemaPublishResponse = (0, node_opcua_factory_1.buildStructuredType)({
17600
17600
  },
17601
17601
  {
17602
17602
  name: "moreNotifications",
17603
- fieldType: "UABoolean",
17603
+ fieldType: "Boolean",
17604
17604
  },
17605
17605
  {
17606
17606
  name: "notificationMessage",
@@ -17651,7 +17651,7 @@ class PublishResponse extends node_opcua_extension_object_1.ExtensionObject {
17651
17651
  this.responseHeader.encode(stream);
17652
17652
  (0, node_opcua_basic_types_1.encodeUInt32)(this.subscriptionId, stream);
17653
17653
  (0, node_opcua_basic_types_1.encodeArray)(this.availableSequenceNumbers, stream, node_opcua_basic_types_1.encodeUInt32);
17654
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.moreNotifications, stream);
17654
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.moreNotifications, stream);
17655
17655
  this.notificationMessage.encode(stream);
17656
17656
  (0, node_opcua_basic_types_1.encodeArray)(this.results, stream, node_opcua_status_code_1.encodeStatusCode);
17657
17657
  (0, node_opcua_basic_types_1.encodeArray)(this.diagnosticInfos, stream, node_opcua_data_model_1.encodeDiagnosticInfo);
@@ -17662,7 +17662,7 @@ class PublishResponse extends node_opcua_extension_object_1.ExtensionObject {
17662
17662
  this.responseHeader.decode(stream);
17663
17663
  this.subscriptionId = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.subscriptionId);
17664
17664
  this.availableSequenceNumbers = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUInt32);
17665
- this.moreNotifications = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.moreNotifications);
17665
+ this.moreNotifications = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.moreNotifications);
17666
17666
  this.notificationMessage.decode(stream);
17667
17667
  this.results = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_status_code_1.decodeStatusCode);
17668
17668
  this.diagnosticInfos = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_data_model_1.decodeDiagnosticInfo);
@@ -17910,7 +17910,7 @@ const schemaPublishedDataSetCustomSourceDataType = (0, node_opcua_factory_1.buil
17910
17910
  fields: [
17911
17911
  {
17912
17912
  name: "cyclicDataSet",
17913
- fieldType: "UABoolean",
17913
+ fieldType: "Boolean",
17914
17914
  },
17915
17915
  ]
17916
17916
  });
@@ -17932,12 +17932,12 @@ class PublishedDataSetCustomSourceDataType extends PublishedDataSetSourceDataTyp
17932
17932
  static get schema() { return schemaPublishedDataSetCustomSourceDataType; }
17933
17933
  encode(stream) {
17934
17934
  /* NEEDED */ super.encode(stream);
17935
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.cyclicDataSet, stream);
17935
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.cyclicDataSet, stream);
17936
17936
  }
17937
17937
  decode(stream) {
17938
17938
  // call base class implementation first
17939
17939
  /* NEEDED !!! */ super.decode(stream);
17940
- this.cyclicDataSet = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.cyclicDataSet);
17940
+ this.cyclicDataSet = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.cyclicDataSet);
17941
17941
  }
17942
17942
  get schema() { return schemaPublishedDataSetCustomSourceDataType; }
17943
17943
  }
@@ -18373,7 +18373,7 @@ const schemaQueryNextRequest = (0, node_opcua_factory_1.buildStructuredType)({
18373
18373
  },
18374
18374
  {
18375
18375
  name: "releaseContinuationPoint",
18376
- fieldType: "UABoolean",
18376
+ fieldType: "Boolean",
18377
18377
  },
18378
18378
  {
18379
18379
  name: "continuationPoint",
@@ -18404,14 +18404,14 @@ class QueryNextRequest extends node_opcua_extension_object_1.ExtensionObject {
18404
18404
  encode(stream) {
18405
18405
  /* NEEDED */ super.encode(stream);
18406
18406
  this.requestHeader.encode(stream);
18407
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.releaseContinuationPoint, stream);
18407
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.releaseContinuationPoint, stream);
18408
18408
  (0, node_opcua_basic_types_1.encodeByteString)(this.continuationPoint, stream);
18409
18409
  }
18410
18410
  decode(stream) {
18411
18411
  // call base class implementation first
18412
18412
  /* NEEDED !!! */ super.decode(stream);
18413
18413
  this.requestHeader.decode(stream);
18414
- this.releaseContinuationPoint = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.releaseContinuationPoint);
18414
+ this.releaseContinuationPoint = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.releaseContinuationPoint);
18415
18415
  this.continuationPoint = (0, node_opcua_basic_types_1.decodeByteString)(stream, this.continuationPoint);
18416
18416
  }
18417
18417
  get schema() { return schemaQueryNextRequest; }
@@ -18633,7 +18633,7 @@ const schemaReadAtTimeDetails = (0, node_opcua_factory_1.buildStructuredType)({
18633
18633
  },
18634
18634
  {
18635
18635
  name: "useSimpleBounds",
18636
- fieldType: "UABoolean",
18636
+ fieldType: "Boolean",
18637
18637
  },
18638
18638
  ]
18639
18639
  });
@@ -18658,13 +18658,13 @@ class ReadAtTimeDetails extends HistoryReadDetails {
18658
18658
  encode(stream) {
18659
18659
  /* NEEDED */ super.encode(stream);
18660
18660
  (0, node_opcua_basic_types_1.encodeArray)(this.reqTimes, stream, node_opcua_basic_types_1.encodeDateTime);
18661
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.useSimpleBounds, stream);
18661
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.useSimpleBounds, stream);
18662
18662
  }
18663
18663
  decode(stream) {
18664
18664
  // call base class implementation first
18665
18665
  /* NEEDED !!! */ super.decode(stream);
18666
18666
  this.reqTimes = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeDateTime);
18667
- this.useSimpleBounds = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.useSimpleBounds);
18667
+ this.useSimpleBounds = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.useSimpleBounds);
18668
18668
  }
18669
18669
  get schema() { return schemaReadAtTimeDetails; }
18670
18670
  }
@@ -18855,7 +18855,7 @@ const schemaReadRawModifiedDetails = (0, node_opcua_factory_1.buildStructuredTyp
18855
18855
  fields: [
18856
18856
  {
18857
18857
  name: "isReadModified",
18858
- fieldType: "UABoolean",
18858
+ fieldType: "Boolean",
18859
18859
  },
18860
18860
  {
18861
18861
  name: "startTime",
@@ -18871,7 +18871,7 @@ const schemaReadRawModifiedDetails = (0, node_opcua_factory_1.buildStructuredTyp
18871
18871
  },
18872
18872
  {
18873
18873
  name: "returnBounds",
18874
- fieldType: "UABoolean",
18874
+ fieldType: "Boolean",
18875
18875
  },
18876
18876
  ]
18877
18877
  });
@@ -18901,20 +18901,20 @@ class ReadRawModifiedDetails extends HistoryReadDetails {
18901
18901
  static get schema() { return schemaReadRawModifiedDetails; }
18902
18902
  encode(stream) {
18903
18903
  /* NEEDED */ super.encode(stream);
18904
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isReadModified, stream);
18904
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isReadModified, stream);
18905
18905
  (0, node_opcua_basic_types_1.encodeDateTime)(this.startTime, stream);
18906
18906
  (0, node_opcua_basic_types_1.encodeDateTime)(this.endTime, stream);
18907
18907
  (0, node_opcua_basic_types_1.encodeUInt32)(this.numValuesPerNode, stream);
18908
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.returnBounds, stream);
18908
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.returnBounds, stream);
18909
18909
  }
18910
18910
  decode(stream) {
18911
18911
  // call base class implementation first
18912
18912
  /* NEEDED !!! */ super.decode(stream);
18913
- this.isReadModified = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isReadModified);
18913
+ this.isReadModified = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isReadModified);
18914
18914
  this.startTime = (0, node_opcua_basic_types_1.decodeDateTime)(stream, this.startTime);
18915
18915
  this.endTime = (0, node_opcua_basic_types_1.decodeDateTime)(stream, this.endTime);
18916
18916
  this.numValuesPerNode = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.numValuesPerNode);
18917
- this.returnBounds = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.returnBounds);
18917
+ this.returnBounds = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.returnBounds);
18918
18918
  }
18919
18919
  get schema() { return schemaReadRawModifiedDetails; }
18920
18920
  }
@@ -19230,7 +19230,7 @@ const schemaReceiveQosPriorityDataType = (0, node_opcua_factory_1.buildStructure
19230
19230
  fields: [
19231
19231
  {
19232
19232
  name: "priorityLabel",
19233
- fieldType: "UAString",
19233
+ fieldType: "String",
19234
19234
  },
19235
19235
  ]
19236
19236
  });
@@ -19252,12 +19252,12 @@ class ReceiveQosPriorityDataType extends ReceiveQosDataType {
19252
19252
  static get schema() { return schemaReceiveQosPriorityDataType; }
19253
19253
  encode(stream) {
19254
19254
  /* NEEDED */ super.encode(stream);
19255
- (0, node_opcua_basic_types_1.encodeUAString)(this.priorityLabel, stream);
19255
+ (0, node_opcua_basic_types_1.encodeString)(this.priorityLabel, stream);
19256
19256
  }
19257
19257
  decode(stream) {
19258
19258
  // call base class implementation first
19259
19259
  /* NEEDED !!! */ super.decode(stream);
19260
- this.priorityLabel = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.priorityLabel);
19260
+ this.priorityLabel = (0, node_opcua_basic_types_1.decodeString)(stream, this.priorityLabel);
19261
19261
  }
19262
19262
  get schema() { return schemaReceiveQosPriorityDataType; }
19263
19263
  }
@@ -19311,7 +19311,7 @@ const schemaRedundantServerDataType = (0, node_opcua_factory_1.buildStructuredTy
19311
19311
  fields: [
19312
19312
  {
19313
19313
  name: "serverId",
19314
- fieldType: "UAString",
19314
+ fieldType: "String",
19315
19315
  },
19316
19316
  {
19317
19317
  name: "serviceLevel",
@@ -19345,14 +19345,14 @@ class RedundantServerDataType extends node_opcua_extension_object_1.ExtensionObj
19345
19345
  static get schema() { return schemaRedundantServerDataType; }
19346
19346
  encode(stream) {
19347
19347
  /* NEEDED */ super.encode(stream);
19348
- (0, node_opcua_basic_types_1.encodeUAString)(this.serverId, stream);
19348
+ (0, node_opcua_basic_types_1.encodeString)(this.serverId, stream);
19349
19349
  (0, node_opcua_basic_types_1.encodeByte)(this.serviceLevel, stream);
19350
19350
  encodeServerState(this.serverState, stream);
19351
19351
  }
19352
19352
  decode(stream) {
19353
19353
  // call base class implementation first
19354
19354
  /* NEEDED !!! */ super.decode(stream);
19355
- this.serverId = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.serverId);
19355
+ this.serverId = (0, node_opcua_basic_types_1.decodeString)(stream, this.serverId);
19356
19356
  this.serviceLevel = (0, node_opcua_basic_types_1.decodeByte)(stream, this.serviceLevel);
19357
19357
  this.serverState = decodeServerState(stream, this.serverState);
19358
19358
  }
@@ -19390,11 +19390,11 @@ const schemaReferenceTypeAttributes = (0, node_opcua_factory_1.buildStructuredTy
19390
19390
  fields: [
19391
19391
  {
19392
19392
  name: "isAbstract",
19393
- fieldType: "UABoolean",
19393
+ fieldType: "Boolean",
19394
19394
  },
19395
19395
  {
19396
19396
  name: "symmetric",
19397
- fieldType: "UABoolean",
19397
+ fieldType: "Boolean",
19398
19398
  },
19399
19399
  {
19400
19400
  name: "inverseName",
@@ -19424,15 +19424,15 @@ class ReferenceTypeAttributes extends NodeAttributes {
19424
19424
  static get schema() { return schemaReferenceTypeAttributes; }
19425
19425
  encode(stream) {
19426
19426
  /* NEEDED */ super.encode(stream);
19427
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isAbstract, stream);
19428
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.symmetric, stream);
19427
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isAbstract, stream);
19428
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.symmetric, stream);
19429
19429
  (0, node_opcua_data_model_1.encodeLocalizedText)(this.inverseName, stream);
19430
19430
  }
19431
19431
  decode(stream) {
19432
19432
  // call base class implementation first
19433
19433
  /* NEEDED !!! */ super.decode(stream);
19434
- this.isAbstract = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isAbstract);
19435
- this.symmetric = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.symmetric);
19434
+ this.isAbstract = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isAbstract);
19435
+ this.symmetric = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.symmetric);
19436
19436
  this.inverseName = (0, node_opcua_data_model_1.decodeLocalizedText)(stream, this.inverseName);
19437
19437
  }
19438
19438
  get schema() { return schemaReferenceTypeAttributes; }
@@ -19474,11 +19474,11 @@ const schemaReferenceTypeNode = (0, node_opcua_factory_1.buildStructuredType)({
19474
19474
  },
19475
19475
  {
19476
19476
  name: "isAbstract",
19477
- fieldType: "UABoolean",
19477
+ fieldType: "Boolean",
19478
19478
  },
19479
19479
  {
19480
19480
  name: "symmetric",
19481
- fieldType: "UABoolean",
19481
+ fieldType: "Boolean",
19482
19482
  },
19483
19483
  {
19484
19484
  name: "inverseName",
@@ -19529,8 +19529,8 @@ class ReferenceTypeNode extends TypeNode {
19529
19529
  (0, node_opcua_basic_types_1.encodeArray)(this.rolePermissions, stream, (obj, stream1) => { obj.encode(stream1); });
19530
19530
  (0, node_opcua_basic_types_1.encodeArray)(this.userRolePermissions, stream, (obj, stream1) => { obj.encode(stream1); });
19531
19531
  (0, node_opcua_basic_types_1.encodeArray)(this.references, stream, (obj, stream1) => { obj.encode(stream1); });
19532
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isAbstract, stream);
19533
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.symmetric, stream);
19532
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isAbstract, stream);
19533
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.symmetric, stream);
19534
19534
  (0, node_opcua_data_model_1.encodeLocalizedText)(this.inverseName, stream);
19535
19535
  }
19536
19536
  decode(stream) {
@@ -19551,8 +19551,8 @@ class ReferenceTypeNode extends TypeNode {
19551
19551
  obj.decode(stream1);
19552
19552
  return obj;
19553
19553
  });
19554
- this.isAbstract = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isAbstract);
19555
- this.symmetric = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.symmetric);
19554
+ this.isAbstract = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isAbstract);
19555
+ this.symmetric = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.symmetric);
19556
19556
  this.inverseName = (0, node_opcua_data_model_1.decodeLocalizedText)(stream, this.inverseName);
19557
19557
  }
19558
19558
  get schema() { return schemaReferenceTypeNode; }
@@ -19704,11 +19704,11 @@ const schemaRegisteredServer = (0, node_opcua_factory_1.buildStructuredType)({
19704
19704
  fields: [
19705
19705
  {
19706
19706
  name: "serverUri",
19707
- fieldType: "UAString",
19707
+ fieldType: "String",
19708
19708
  },
19709
19709
  {
19710
19710
  name: "productUri",
19711
- fieldType: "UAString",
19711
+ fieldType: "String",
19712
19712
  },
19713
19713
  {
19714
19714
  name: "serverNames",
@@ -19721,20 +19721,20 @@ const schemaRegisteredServer = (0, node_opcua_factory_1.buildStructuredType)({
19721
19721
  },
19722
19722
  {
19723
19723
  name: "gatewayServerUri",
19724
- fieldType: "UAString",
19724
+ fieldType: "String",
19725
19725
  },
19726
19726
  {
19727
19727
  name: "discoveryUrls",
19728
- fieldType: "UAString",
19728
+ fieldType: "String",
19729
19729
  isArray: true
19730
19730
  },
19731
19731
  {
19732
19732
  name: "semaphoreFilePath",
19733
- fieldType: "UAString",
19733
+ fieldType: "String",
19734
19734
  },
19735
19735
  {
19736
19736
  name: "isOnline",
19737
- fieldType: "UABoolean",
19737
+ fieldType: "Boolean",
19738
19738
  },
19739
19739
  ]
19740
19740
  });
@@ -19770,26 +19770,26 @@ class RegisteredServer extends node_opcua_extension_object_1.ExtensionObject {
19770
19770
  static get schema() { return schemaRegisteredServer; }
19771
19771
  encode(stream) {
19772
19772
  /* NEEDED */ super.encode(stream);
19773
- (0, node_opcua_basic_types_1.encodeUAString)(this.serverUri, stream);
19774
- (0, node_opcua_basic_types_1.encodeUAString)(this.productUri, stream);
19773
+ (0, node_opcua_basic_types_1.encodeString)(this.serverUri, stream);
19774
+ (0, node_opcua_basic_types_1.encodeString)(this.productUri, stream);
19775
19775
  (0, node_opcua_basic_types_1.encodeArray)(this.serverNames, stream, node_opcua_data_model_1.encodeLocalizedText);
19776
19776
  encodeApplicationType(this.serverType, stream);
19777
- (0, node_opcua_basic_types_1.encodeUAString)(this.gatewayServerUri, stream);
19778
- (0, node_opcua_basic_types_1.encodeArray)(this.discoveryUrls, stream, node_opcua_basic_types_1.encodeUAString);
19779
- (0, node_opcua_basic_types_1.encodeUAString)(this.semaphoreFilePath, stream);
19780
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isOnline, stream);
19777
+ (0, node_opcua_basic_types_1.encodeString)(this.gatewayServerUri, stream);
19778
+ (0, node_opcua_basic_types_1.encodeArray)(this.discoveryUrls, stream, node_opcua_basic_types_1.encodeString);
19779
+ (0, node_opcua_basic_types_1.encodeString)(this.semaphoreFilePath, stream);
19780
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isOnline, stream);
19781
19781
  }
19782
19782
  decode(stream) {
19783
19783
  // call base class implementation first
19784
19784
  /* NEEDED !!! */ super.decode(stream);
19785
- this.serverUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.serverUri);
19786
- this.productUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.productUri);
19785
+ this.serverUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.serverUri);
19786
+ this.productUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.productUri);
19787
19787
  this.serverNames = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_data_model_1.decodeLocalizedText);
19788
19788
  this.serverType = decodeApplicationType(stream, this.serverType);
19789
- this.gatewayServerUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.gatewayServerUri);
19790
- this.discoveryUrls = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
19791
- this.semaphoreFilePath = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.semaphoreFilePath);
19792
- this.isOnline = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isOnline);
19789
+ this.gatewayServerUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.gatewayServerUri);
19790
+ this.discoveryUrls = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
19791
+ this.semaphoreFilePath = (0, node_opcua_basic_types_1.decodeString)(stream, this.semaphoreFilePath);
19792
+ this.isOnline = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isOnline);
19793
19793
  }
19794
19794
  // Define Enumeration setters
19795
19795
  setServerType(value) {
@@ -20720,7 +20720,7 @@ const schemaSessionDiagnosticsDataType = (0, node_opcua_factory_1.buildStructure
20720
20720
  },
20721
20721
  {
20722
20722
  name: "sessionName",
20723
- fieldType: "UAString",
20723
+ fieldType: "String",
20724
20724
  },
20725
20725
  {
20726
20726
  name: "clientDescription",
@@ -20728,15 +20728,15 @@ const schemaSessionDiagnosticsDataType = (0, node_opcua_factory_1.buildStructure
20728
20728
  },
20729
20729
  {
20730
20730
  name: "serverUri",
20731
- fieldType: "UAString",
20731
+ fieldType: "String",
20732
20732
  },
20733
20733
  {
20734
20734
  name: "endpointUrl",
20735
- fieldType: "UAString",
20735
+ fieldType: "String",
20736
20736
  },
20737
20737
  {
20738
20738
  name: "localeIds",
20739
- fieldType: "UAString",
20739
+ fieldType: "String",
20740
20740
  isArray: true
20741
20741
  },
20742
20742
  {
@@ -20992,11 +20992,11 @@ class SessionDiagnosticsDataType extends node_opcua_extension_object_1.Extension
20992
20992
  encode(stream) {
20993
20993
  /* NEEDED */ super.encode(stream);
20994
20994
  (0, node_opcua_basic_types_1.encodeNodeId)(this.sessionId, stream);
20995
- (0, node_opcua_basic_types_1.encodeUAString)(this.sessionName, stream);
20995
+ (0, node_opcua_basic_types_1.encodeString)(this.sessionName, stream);
20996
20996
  this.clientDescription.encode(stream);
20997
- (0, node_opcua_basic_types_1.encodeUAString)(this.serverUri, stream);
20998
- (0, node_opcua_basic_types_1.encodeUAString)(this.endpointUrl, stream);
20999
- (0, node_opcua_basic_types_1.encodeArray)(this.localeIds, stream, node_opcua_basic_types_1.encodeUAString);
20997
+ (0, node_opcua_basic_types_1.encodeString)(this.serverUri, stream);
20998
+ (0, node_opcua_basic_types_1.encodeString)(this.endpointUrl, stream);
20999
+ (0, node_opcua_basic_types_1.encodeArray)(this.localeIds, stream, node_opcua_basic_types_1.encodeString);
21000
21000
  (0, node_opcua_basic_types_1.encodeDouble)(this.actualSessionTimeout, stream);
21001
21001
  (0, node_opcua_basic_types_1.encodeUInt32)(this.maxResponseMessageSize, stream);
21002
21002
  (0, node_opcua_basic_types_1.encodeDateTime)(this.clientConnectionTime, stream);
@@ -21039,11 +21039,11 @@ class SessionDiagnosticsDataType extends node_opcua_extension_object_1.Extension
21039
21039
  // call base class implementation first
21040
21040
  /* NEEDED !!! */ super.decode(stream);
21041
21041
  this.sessionId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.sessionId);
21042
- this.sessionName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.sessionName);
21042
+ this.sessionName = (0, node_opcua_basic_types_1.decodeString)(stream, this.sessionName);
21043
21043
  this.clientDescription.decode(stream);
21044
- this.serverUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.serverUri);
21045
- this.endpointUrl = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.endpointUrl);
21046
- this.localeIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
21044
+ this.serverUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.serverUri);
21045
+ this.endpointUrl = (0, node_opcua_basic_types_1.decodeString)(stream, this.endpointUrl);
21046
+ this.localeIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
21047
21047
  this.actualSessionTimeout = (0, node_opcua_basic_types_1.decodeDouble)(stream, this.actualSessionTimeout);
21048
21048
  this.maxResponseMessageSize = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.maxResponseMessageSize);
21049
21049
  this.clientConnectionTime = (0, node_opcua_basic_types_1.decodeDateTime)(stream, this.clientConnectionTime);
@@ -21150,24 +21150,24 @@ const schemaSessionSecurityDiagnosticsDataType = (0, node_opcua_factory_1.buildS
21150
21150
  },
21151
21151
  {
21152
21152
  name: "clientUserIdOfSession",
21153
- fieldType: "UAString",
21153
+ fieldType: "String",
21154
21154
  },
21155
21155
  {
21156
21156
  name: "clientUserIdHistory",
21157
- fieldType: "UAString",
21157
+ fieldType: "String",
21158
21158
  isArray: true
21159
21159
  },
21160
21160
  {
21161
21161
  name: "authenticationMechanism",
21162
- fieldType: "UAString",
21162
+ fieldType: "String",
21163
21163
  },
21164
21164
  {
21165
21165
  name: "encoding",
21166
- fieldType: "UAString",
21166
+ fieldType: "String",
21167
21167
  },
21168
21168
  {
21169
21169
  name: "transportProtocol",
21170
- fieldType: "UAString",
21170
+ fieldType: "String",
21171
21171
  },
21172
21172
  {
21173
21173
  name: "securityMode",
@@ -21175,7 +21175,7 @@ const schemaSessionSecurityDiagnosticsDataType = (0, node_opcua_factory_1.buildS
21175
21175
  },
21176
21176
  {
21177
21177
  name: "securityPolicyUri",
21178
- fieldType: "UAString",
21178
+ fieldType: "String",
21179
21179
  },
21180
21180
  {
21181
21181
  name: "clientCertificate",
@@ -21218,26 +21218,26 @@ class SessionSecurityDiagnosticsDataType extends node_opcua_extension_object_1.E
21218
21218
  encode(stream) {
21219
21219
  /* NEEDED */ super.encode(stream);
21220
21220
  (0, node_opcua_basic_types_1.encodeNodeId)(this.sessionId, stream);
21221
- (0, node_opcua_basic_types_1.encodeUAString)(this.clientUserIdOfSession, stream);
21222
- (0, node_opcua_basic_types_1.encodeArray)(this.clientUserIdHistory, stream, node_opcua_basic_types_1.encodeUAString);
21223
- (0, node_opcua_basic_types_1.encodeUAString)(this.authenticationMechanism, stream);
21224
- (0, node_opcua_basic_types_1.encodeUAString)(this.encoding, stream);
21225
- (0, node_opcua_basic_types_1.encodeUAString)(this.transportProtocol, stream);
21221
+ (0, node_opcua_basic_types_1.encodeString)(this.clientUserIdOfSession, stream);
21222
+ (0, node_opcua_basic_types_1.encodeArray)(this.clientUserIdHistory, stream, node_opcua_basic_types_1.encodeString);
21223
+ (0, node_opcua_basic_types_1.encodeString)(this.authenticationMechanism, stream);
21224
+ (0, node_opcua_basic_types_1.encodeString)(this.encoding, stream);
21225
+ (0, node_opcua_basic_types_1.encodeString)(this.transportProtocol, stream);
21226
21226
  encodeMessageSecurityMode(this.securityMode, stream);
21227
- (0, node_opcua_basic_types_1.encodeUAString)(this.securityPolicyUri, stream);
21227
+ (0, node_opcua_basic_types_1.encodeString)(this.securityPolicyUri, stream);
21228
21228
  (0, node_opcua_basic_types_1.encodeByteString)(this.clientCertificate, stream);
21229
21229
  }
21230
21230
  decode(stream) {
21231
21231
  // call base class implementation first
21232
21232
  /* NEEDED !!! */ super.decode(stream);
21233
21233
  this.sessionId = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.sessionId);
21234
- this.clientUserIdOfSession = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.clientUserIdOfSession);
21235
- this.clientUserIdHistory = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
21236
- this.authenticationMechanism = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.authenticationMechanism);
21237
- this.encoding = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.encoding);
21238
- this.transportProtocol = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.transportProtocol);
21234
+ this.clientUserIdOfSession = (0, node_opcua_basic_types_1.decodeString)(stream, this.clientUserIdOfSession);
21235
+ this.clientUserIdHistory = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
21236
+ this.authenticationMechanism = (0, node_opcua_basic_types_1.decodeString)(stream, this.authenticationMechanism);
21237
+ this.encoding = (0, node_opcua_basic_types_1.decodeString)(stream, this.encoding);
21238
+ this.transportProtocol = (0, node_opcua_basic_types_1.decodeString)(stream, this.transportProtocol);
21239
21239
  this.securityMode = decodeMessageSecurityMode(stream, this.securityMode);
21240
- this.securityPolicyUri = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.securityPolicyUri);
21240
+ this.securityPolicyUri = (0, node_opcua_basic_types_1.decodeString)(stream, this.securityPolicyUri);
21241
21241
  this.clientCertificate = (0, node_opcua_basic_types_1.decodeByteString)(stream, this.clientCertificate);
21242
21242
  }
21243
21243
  // Define Enumeration setters
@@ -21284,17 +21284,17 @@ const schemaSessionlessInvokeRequestType = (0, node_opcua_factory_1.buildStructu
21284
21284
  },
21285
21285
  {
21286
21286
  name: "namespaceUris",
21287
- fieldType: "UAString",
21287
+ fieldType: "String",
21288
21288
  isArray: true
21289
21289
  },
21290
21290
  {
21291
21291
  name: "serverUris",
21292
- fieldType: "UAString",
21292
+ fieldType: "String",
21293
21293
  isArray: true
21294
21294
  },
21295
21295
  {
21296
21296
  name: "localeIds",
21297
- fieldType: "UAString",
21297
+ fieldType: "String",
21298
21298
  isArray: true
21299
21299
  },
21300
21300
  {
@@ -21330,18 +21330,18 @@ class SessionlessInvokeRequestType extends node_opcua_extension_object_1.Extensi
21330
21330
  encode(stream) {
21331
21331
  /* NEEDED */ super.encode(stream);
21332
21332
  (0, node_opcua_basic_types_1.encodeUInt32)(this.urisVersion, stream);
21333
- (0, node_opcua_basic_types_1.encodeArray)(this.namespaceUris, stream, node_opcua_basic_types_1.encodeUAString);
21334
- (0, node_opcua_basic_types_1.encodeArray)(this.serverUris, stream, node_opcua_basic_types_1.encodeUAString);
21335
- (0, node_opcua_basic_types_1.encodeArray)(this.localeIds, stream, node_opcua_basic_types_1.encodeUAString);
21333
+ (0, node_opcua_basic_types_1.encodeArray)(this.namespaceUris, stream, node_opcua_basic_types_1.encodeString);
21334
+ (0, node_opcua_basic_types_1.encodeArray)(this.serverUris, stream, node_opcua_basic_types_1.encodeString);
21335
+ (0, node_opcua_basic_types_1.encodeArray)(this.localeIds, stream, node_opcua_basic_types_1.encodeString);
21336
21336
  (0, node_opcua_basic_types_1.encodeUInt32)(this.serviceId, stream);
21337
21337
  }
21338
21338
  decode(stream) {
21339
21339
  // call base class implementation first
21340
21340
  /* NEEDED !!! */ super.decode(stream);
21341
21341
  this.urisVersion = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.urisVersion);
21342
- this.namespaceUris = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
21343
- this.serverUris = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
21344
- this.localeIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
21342
+ this.namespaceUris = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
21343
+ this.serverUris = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
21344
+ this.localeIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
21345
21345
  this.serviceId = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.serviceId);
21346
21346
  }
21347
21347
  get schema() { return schemaSessionlessInvokeRequestType; }
@@ -21370,12 +21370,12 @@ const schemaSessionlessInvokeResponseType = (0, node_opcua_factory_1.buildStruct
21370
21370
  fields: [
21371
21371
  {
21372
21372
  name: "namespaceUris",
21373
- fieldType: "UAString",
21373
+ fieldType: "String",
21374
21374
  isArray: true
21375
21375
  },
21376
21376
  {
21377
21377
  name: "serverUris",
21378
- fieldType: "UAString",
21378
+ fieldType: "String",
21379
21379
  isArray: true
21380
21380
  },
21381
21381
  {
@@ -21406,15 +21406,15 @@ class SessionlessInvokeResponseType extends node_opcua_extension_object_1.Extens
21406
21406
  static get schema() { return schemaSessionlessInvokeResponseType; }
21407
21407
  encode(stream) {
21408
21408
  /* NEEDED */ super.encode(stream);
21409
- (0, node_opcua_basic_types_1.encodeArray)(this.namespaceUris, stream, node_opcua_basic_types_1.encodeUAString);
21410
- (0, node_opcua_basic_types_1.encodeArray)(this.serverUris, stream, node_opcua_basic_types_1.encodeUAString);
21409
+ (0, node_opcua_basic_types_1.encodeArray)(this.namespaceUris, stream, node_opcua_basic_types_1.encodeString);
21410
+ (0, node_opcua_basic_types_1.encodeArray)(this.serverUris, stream, node_opcua_basic_types_1.encodeString);
21411
21411
  (0, node_opcua_basic_types_1.encodeUInt32)(this.serviceId, stream);
21412
21412
  }
21413
21413
  decode(stream) {
21414
21414
  // call base class implementation first
21415
21415
  /* NEEDED !!! */ super.decode(stream);
21416
- this.namespaceUris = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
21417
- this.serverUris = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUAString);
21416
+ this.namespaceUris = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
21417
+ this.serverUris = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeString);
21418
21418
  this.serviceId = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.serviceId);
21419
21419
  }
21420
21420
  get schema() { return schemaSessionlessInvokeResponseType; }
@@ -21605,7 +21605,7 @@ const schemaSetPublishingModeRequest = (0, node_opcua_factory_1.buildStructuredT
21605
21605
  },
21606
21606
  {
21607
21607
  name: "publishingEnabled",
21608
- fieldType: "UABoolean",
21608
+ fieldType: "Boolean",
21609
21609
  },
21610
21610
  {
21611
21611
  name: "subscriptionIds",
@@ -21637,14 +21637,14 @@ class SetPublishingModeRequest extends node_opcua_extension_object_1.ExtensionOb
21637
21637
  encode(stream) {
21638
21638
  /* NEEDED */ super.encode(stream);
21639
21639
  this.requestHeader.encode(stream);
21640
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.publishingEnabled, stream);
21640
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.publishingEnabled, stream);
21641
21641
  (0, node_opcua_basic_types_1.encodeArray)(this.subscriptionIds, stream, node_opcua_basic_types_1.encodeUInt32);
21642
21642
  }
21643
21643
  decode(stream) {
21644
21644
  // call base class implementation first
21645
21645
  /* NEEDED !!! */ super.decode(stream);
21646
21646
  this.requestHeader.decode(stream);
21647
- this.publishingEnabled = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.publishingEnabled);
21647
+ this.publishingEnabled = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.publishingEnabled);
21648
21648
  this.subscriptionIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUInt32);
21649
21649
  }
21650
21650
  get schema() { return schemaSetPublishingModeRequest; }
@@ -21922,7 +21922,7 @@ const schemaStandaloneSubscribedDataSetRefDataType = (0, node_opcua_factory_1.bu
21922
21922
  fields: [
21923
21923
  {
21924
21924
  name: "dataSetName",
21925
- fieldType: "UAString",
21925
+ fieldType: "String",
21926
21926
  },
21927
21927
  ]
21928
21928
  });
@@ -21944,12 +21944,12 @@ class StandaloneSubscribedDataSetRefDataType extends SubscribedDataSetDataType {
21944
21944
  static get schema() { return schemaStandaloneSubscribedDataSetRefDataType; }
21945
21945
  encode(stream) {
21946
21946
  /* NEEDED */ super.encode(stream);
21947
- (0, node_opcua_basic_types_1.encodeUAString)(this.dataSetName, stream);
21947
+ (0, node_opcua_basic_types_1.encodeString)(this.dataSetName, stream);
21948
21948
  }
21949
21949
  decode(stream) {
21950
21950
  // call base class implementation first
21951
21951
  /* NEEDED !!! */ super.decode(stream);
21952
- this.dataSetName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.dataSetName);
21952
+ this.dataSetName = (0, node_opcua_basic_types_1.decodeString)(stream, this.dataSetName);
21953
21953
  }
21954
21954
  get schema() { return schemaStandaloneSubscribedDataSetRefDataType; }
21955
21955
  }
@@ -22033,7 +22033,7 @@ const schemaSubscribedDataSetMirrorDataType = (0, node_opcua_factory_1.buildStru
22033
22033
  fields: [
22034
22034
  {
22035
22035
  name: "parentNodeName",
22036
- fieldType: "UAString",
22036
+ fieldType: "String",
22037
22037
  },
22038
22038
  {
22039
22039
  name: "rolePermissions",
@@ -22066,13 +22066,13 @@ class SubscribedDataSetMirrorDataType extends SubscribedDataSetDataType {
22066
22066
  static get schema() { return schemaSubscribedDataSetMirrorDataType; }
22067
22067
  encode(stream) {
22068
22068
  /* NEEDED */ super.encode(stream);
22069
- (0, node_opcua_basic_types_1.encodeUAString)(this.parentNodeName, stream);
22069
+ (0, node_opcua_basic_types_1.encodeString)(this.parentNodeName, stream);
22070
22070
  (0, node_opcua_basic_types_1.encodeArray)(this.rolePermissions, stream, (obj, stream1) => { obj.encode(stream1); });
22071
22071
  }
22072
22072
  decode(stream) {
22073
22073
  // call base class implementation first
22074
22074
  /* NEEDED !!! */ super.decode(stream);
22075
- this.parentNodeName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.parentNodeName);
22075
+ this.parentNodeName = (0, node_opcua_basic_types_1.decodeString)(stream, this.parentNodeName);
22076
22076
  this.rolePermissions = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
22077
22077
  const obj = new RolePermissionType(null);
22078
22078
  obj.decode(stream1);
@@ -22130,7 +22130,7 @@ const schemaSubscriptionDiagnosticsDataType = (0, node_opcua_factory_1.buildStru
22130
22130
  },
22131
22131
  {
22132
22132
  name: "publishingEnabled",
22133
- fieldType: "UABoolean",
22133
+ fieldType: "Boolean",
22134
22134
  },
22135
22135
  {
22136
22136
  name: "modifyCount",
@@ -22311,7 +22311,7 @@ class SubscriptionDiagnosticsDataType extends node_opcua_extension_object_1.Exte
22311
22311
  (0, node_opcua_basic_types_1.encodeUInt32)(this.maxKeepAliveCount, stream);
22312
22312
  (0, node_opcua_basic_types_1.encodeUInt32)(this.maxLifetimeCount, stream);
22313
22313
  (0, node_opcua_basic_types_1.encodeUInt32)(this.maxNotificationsPerPublish, stream);
22314
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.publishingEnabled, stream);
22314
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.publishingEnabled, stream);
22315
22315
  (0, node_opcua_basic_types_1.encodeUInt32)(this.modifyCount, stream);
22316
22316
  (0, node_opcua_basic_types_1.encodeUInt32)(this.enableCount, stream);
22317
22317
  (0, node_opcua_basic_types_1.encodeUInt32)(this.disableCount, stream);
@@ -22346,7 +22346,7 @@ class SubscriptionDiagnosticsDataType extends node_opcua_extension_object_1.Exte
22346
22346
  this.maxKeepAliveCount = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.maxKeepAliveCount);
22347
22347
  this.maxLifetimeCount = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.maxLifetimeCount);
22348
22348
  this.maxNotificationsPerPublish = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.maxNotificationsPerPublish);
22349
- this.publishingEnabled = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.publishingEnabled);
22349
+ this.publishingEnabled = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.publishingEnabled);
22350
22350
  this.modifyCount = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.modifyCount);
22351
22351
  this.enableCount = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.enableCount);
22352
22352
  this.disableCount = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.disableCount);
@@ -22794,7 +22794,7 @@ const schemaTimeZoneDataType = (0, node_opcua_factory_1.buildStructuredType)({
22794
22794
  },
22795
22795
  {
22796
22796
  name: "daylightSavingInOffset",
22797
- fieldType: "UABoolean",
22797
+ fieldType: "Boolean",
22798
22798
  },
22799
22799
  ]
22800
22800
  });
@@ -22819,13 +22819,13 @@ class TimeZoneDataType extends node_opcua_extension_object_1.ExtensionObject {
22819
22819
  encode(stream) {
22820
22820
  /* NEEDED */ super.encode(stream);
22821
22821
  (0, node_opcua_basic_types_1.encodeInt16)(this.offset, stream);
22822
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.daylightSavingInOffset, stream);
22822
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.daylightSavingInOffset, stream);
22823
22823
  }
22824
22824
  decode(stream) {
22825
22825
  // call base class implementation first
22826
22826
  /* NEEDED !!! */ super.decode(stream);
22827
22827
  this.offset = (0, node_opcua_basic_types_1.decodeInt16)(stream, this.offset);
22828
- this.daylightSavingInOffset = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.daylightSavingInOffset);
22828
+ this.daylightSavingInOffset = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.daylightSavingInOffset);
22829
22829
  }
22830
22830
  get schema() { return schemaTimeZoneDataType; }
22831
22831
  }
@@ -22920,7 +22920,7 @@ const schemaTransferSubscriptionsRequest = (0, node_opcua_factory_1.buildStructu
22920
22920
  },
22921
22921
  {
22922
22922
  name: "sendInitialValues",
22923
- fieldType: "UABoolean",
22923
+ fieldType: "Boolean",
22924
22924
  },
22925
22925
  ]
22926
22926
  });
@@ -22948,14 +22948,14 @@ class TransferSubscriptionsRequest extends node_opcua_extension_object_1.Extensi
22948
22948
  /* NEEDED */ super.encode(stream);
22949
22949
  this.requestHeader.encode(stream);
22950
22950
  (0, node_opcua_basic_types_1.encodeArray)(this.subscriptionIds, stream, node_opcua_basic_types_1.encodeUInt32);
22951
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.sendInitialValues, stream);
22951
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.sendInitialValues, stream);
22952
22952
  }
22953
22953
  decode(stream) {
22954
22954
  // call base class implementation first
22955
22955
  /* NEEDED !!! */ super.decode(stream);
22956
22956
  this.requestHeader.decode(stream);
22957
22957
  this.subscriptionIds = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUInt32);
22958
- this.sendInitialValues = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.sendInitialValues);
22958
+ this.sendInitialValues = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.sendInitialValues);
22959
22959
  }
22960
22960
  get schema() { return schemaTransferSubscriptionsRequest; }
22961
22961
  }
@@ -23248,7 +23248,7 @@ const schemaTransmitQosPriorityDataType = (0, node_opcua_factory_1.buildStructur
23248
23248
  fields: [
23249
23249
  {
23250
23250
  name: "priorityLabel",
23251
- fieldType: "UAString",
23251
+ fieldType: "String",
23252
23252
  },
23253
23253
  ]
23254
23254
  });
@@ -23270,12 +23270,12 @@ class TransmitQosPriorityDataType extends TransmitQosDataType {
23270
23270
  static get schema() { return schemaTransmitQosPriorityDataType; }
23271
23271
  encode(stream) {
23272
23272
  /* NEEDED */ super.encode(stream);
23273
- (0, node_opcua_basic_types_1.encodeUAString)(this.priorityLabel, stream);
23273
+ (0, node_opcua_basic_types_1.encodeString)(this.priorityLabel, stream);
23274
23274
  }
23275
23275
  decode(stream) {
23276
23276
  // call base class implementation first
23277
23277
  /* NEEDED !!! */ super.decode(stream);
23278
- this.priorityLabel = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.priorityLabel);
23278
+ this.priorityLabel = (0, node_opcua_basic_types_1.decodeString)(stream, this.priorityLabel);
23279
23279
  }
23280
23280
  get schema() { return schemaTransmitQosPriorityDataType; }
23281
23281
  }
@@ -23390,7 +23390,7 @@ const schemaUABinaryFileDataType = (0, node_opcua_factory_1.buildStructuredType)
23390
23390
  fields: [
23391
23391
  {
23392
23392
  name: "schemaLocation",
23393
- fieldType: "UAString",
23393
+ fieldType: "String",
23394
23394
  },
23395
23395
  {
23396
23396
  name: "fileHeader",
@@ -23429,14 +23429,14 @@ class UABinaryFileDataType extends DataTypeSchemaHeader {
23429
23429
  static get schema() { return schemaUABinaryFileDataType; }
23430
23430
  encode(stream) {
23431
23431
  /* NEEDED */ super.encode(stream);
23432
- (0, node_opcua_basic_types_1.encodeUAString)(this.schemaLocation, stream);
23432
+ (0, node_opcua_basic_types_1.encodeString)(this.schemaLocation, stream);
23433
23433
  (0, node_opcua_basic_types_1.encodeArray)(this.fileHeader, stream, (obj, stream1) => { obj.encode(stream1); });
23434
23434
  (0, node_opcua_variant_1.encodeVariant)(this.body, stream);
23435
23435
  }
23436
23436
  decode(stream) {
23437
23437
  // call base class implementation first
23438
23438
  /* NEEDED !!! */ super.decode(stream);
23439
- this.schemaLocation = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.schemaLocation);
23439
+ this.schemaLocation = (0, node_opcua_basic_types_1.decodeString)(stream, this.schemaLocation);
23440
23440
  this.fileHeader = (0, node_opcua_basic_types_1.decodeArray)(stream, (stream1) => {
23441
23441
  const obj = new KeyValuePair(null);
23442
23442
  obj.decode(stream1);
@@ -24373,7 +24373,7 @@ const schemaUserManagementDataType = (0, node_opcua_factory_1.buildStructuredTyp
24373
24373
  fields: [
24374
24374
  {
24375
24375
  name: "userName",
24376
- fieldType: "UAString",
24376
+ fieldType: "String",
24377
24377
  },
24378
24378
  {
24379
24379
  name: "userConfiguration",
@@ -24381,7 +24381,7 @@ const schemaUserManagementDataType = (0, node_opcua_factory_1.buildStructuredTyp
24381
24381
  },
24382
24382
  {
24383
24383
  name: "description",
24384
- fieldType: "UAString",
24384
+ fieldType: "String",
24385
24385
  },
24386
24386
  ]
24387
24387
  });
@@ -24407,16 +24407,16 @@ class UserManagementDataType extends node_opcua_extension_object_1.ExtensionObje
24407
24407
  static get schema() { return schemaUserManagementDataType; }
24408
24408
  encode(stream) {
24409
24409
  /* NEEDED */ super.encode(stream);
24410
- (0, node_opcua_basic_types_1.encodeUAString)(this.userName, stream);
24410
+ (0, node_opcua_basic_types_1.encodeString)(this.userName, stream);
24411
24411
  encodeUserConfigurationMask(this.userConfiguration, stream);
24412
- (0, node_opcua_basic_types_1.encodeUAString)(this.description, stream);
24412
+ (0, node_opcua_basic_types_1.encodeString)(this.description, stream);
24413
24413
  }
24414
24414
  decode(stream) {
24415
24415
  // call base class implementation first
24416
24416
  /* NEEDED !!! */ super.decode(stream);
24417
- this.userName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.userName);
24417
+ this.userName = (0, node_opcua_basic_types_1.decodeString)(stream, this.userName);
24418
24418
  this.userConfiguration = decodeUserConfigurationMask(stream, this.userConfiguration);
24419
- this.description = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.description);
24419
+ this.description = (0, node_opcua_basic_types_1.decodeString)(stream, this.description);
24420
24420
  }
24421
24421
  // Define Enumeration setters
24422
24422
  setUserConfiguration(value) {
@@ -24452,7 +24452,7 @@ const schemaUserNameIdentityToken = (0, node_opcua_factory_1.buildStructuredType
24452
24452
  fields: [
24453
24453
  {
24454
24454
  name: "userName",
24455
- fieldType: "UAString",
24455
+ fieldType: "String",
24456
24456
  },
24457
24457
  {
24458
24458
  name: "password",
@@ -24460,7 +24460,7 @@ const schemaUserNameIdentityToken = (0, node_opcua_factory_1.buildStructuredType
24460
24460
  },
24461
24461
  {
24462
24462
  name: "encryptionAlgorithm",
24463
- fieldType: "UAString",
24463
+ fieldType: "String",
24464
24464
  },
24465
24465
  ]
24466
24466
  });
@@ -24486,16 +24486,16 @@ class UserNameIdentityToken extends UserIdentityToken {
24486
24486
  static get schema() { return schemaUserNameIdentityToken; }
24487
24487
  encode(stream) {
24488
24488
  /* NEEDED */ super.encode(stream);
24489
- (0, node_opcua_basic_types_1.encodeUAString)(this.userName, stream);
24489
+ (0, node_opcua_basic_types_1.encodeString)(this.userName, stream);
24490
24490
  (0, node_opcua_basic_types_1.encodeByteString)(this.password, stream);
24491
- (0, node_opcua_basic_types_1.encodeUAString)(this.encryptionAlgorithm, stream);
24491
+ (0, node_opcua_basic_types_1.encodeString)(this.encryptionAlgorithm, stream);
24492
24492
  }
24493
24493
  decode(stream) {
24494
24494
  // call base class implementation first
24495
24495
  /* NEEDED !!! */ super.decode(stream);
24496
- this.userName = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.userName);
24496
+ this.userName = (0, node_opcua_basic_types_1.decodeString)(stream, this.userName);
24497
24497
  this.password = (0, node_opcua_basic_types_1.decodeByteString)(stream, this.password);
24498
- this.encryptionAlgorithm = (0, node_opcua_basic_types_1.decodeUAString)(stream, this.encryptionAlgorithm);
24498
+ this.encryptionAlgorithm = (0, node_opcua_basic_types_1.decodeString)(stream, this.encryptionAlgorithm);
24499
24499
  }
24500
24500
  get schema() { return schemaUserNameIdentityToken; }
24501
24501
  }
@@ -24550,7 +24550,7 @@ const schemaVariableAttributes = (0, node_opcua_factory_1.buildStructuredType)({
24550
24550
  },
24551
24551
  {
24552
24552
  name: "historizing",
24553
- fieldType: "UABoolean",
24553
+ fieldType: "Boolean",
24554
24554
  },
24555
24555
  ]
24556
24556
  });
@@ -24593,7 +24593,7 @@ class VariableAttributes extends NodeAttributes {
24593
24593
  (0, node_opcua_basic_types_1.encodeByte)(this.accessLevel, stream);
24594
24594
  (0, node_opcua_basic_types_1.encodeByte)(this.userAccessLevel, stream);
24595
24595
  (0, node_opcua_basic_types_1.encodeDouble)(this.minimumSamplingInterval, stream);
24596
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.historizing, stream);
24596
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.historizing, stream);
24597
24597
  }
24598
24598
  decode(stream) {
24599
24599
  // call base class implementation first
@@ -24605,7 +24605,7 @@ class VariableAttributes extends NodeAttributes {
24605
24605
  this.accessLevel = (0, node_opcua_basic_types_1.decodeByte)(stream, this.accessLevel);
24606
24606
  this.userAccessLevel = (0, node_opcua_basic_types_1.decodeByte)(stream, this.userAccessLevel);
24607
24607
  this.minimumSamplingInterval = (0, node_opcua_basic_types_1.decodeDouble)(stream, this.minimumSamplingInterval);
24608
- this.historizing = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.historizing);
24608
+ this.historizing = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.historizing);
24609
24609
  }
24610
24610
  get schema() { return schemaVariableAttributes; }
24611
24611
  }
@@ -24680,7 +24680,7 @@ const schemaVariableNode = (0, node_opcua_factory_1.buildStructuredType)({
24680
24680
  },
24681
24681
  {
24682
24682
  name: "historizing",
24683
- fieldType: "UABoolean",
24683
+ fieldType: "Boolean",
24684
24684
  },
24685
24685
  {
24686
24686
  name: "accessLevelEx",
@@ -24750,7 +24750,7 @@ class VariableNode extends InstanceNode {
24750
24750
  (0, node_opcua_basic_types_1.encodeByte)(this.accessLevel, stream);
24751
24751
  (0, node_opcua_basic_types_1.encodeByte)(this.userAccessLevel, stream);
24752
24752
  (0, node_opcua_basic_types_1.encodeDouble)(this.minimumSamplingInterval, stream);
24753
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.historizing, stream);
24753
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.historizing, stream);
24754
24754
  (0, node_opcua_basic_types_1.encodeUInt32)(this.accessLevelEx, stream);
24755
24755
  }
24756
24756
  decode(stream) {
@@ -24778,7 +24778,7 @@ class VariableNode extends InstanceNode {
24778
24778
  this.accessLevel = (0, node_opcua_basic_types_1.decodeByte)(stream, this.accessLevel);
24779
24779
  this.userAccessLevel = (0, node_opcua_basic_types_1.decodeByte)(stream, this.userAccessLevel);
24780
24780
  this.minimumSamplingInterval = (0, node_opcua_basic_types_1.decodeDouble)(stream, this.minimumSamplingInterval);
24781
- this.historizing = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.historizing);
24781
+ this.historizing = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.historizing);
24782
24782
  this.accessLevelEx = (0, node_opcua_basic_types_1.decodeUInt32)(stream, this.accessLevelEx);
24783
24783
  }
24784
24784
  get schema() { return schemaVariableNode; }
@@ -24831,7 +24831,7 @@ const schemaVariableTypeAttributes = (0, node_opcua_factory_1.buildStructuredTyp
24831
24831
  },
24832
24832
  {
24833
24833
  name: "isAbstract",
24834
- fieldType: "UABoolean",
24834
+ fieldType: "Boolean",
24835
24835
  },
24836
24836
  ]
24837
24837
  });
@@ -24865,7 +24865,7 @@ class VariableTypeAttributes extends NodeAttributes {
24865
24865
  (0, node_opcua_basic_types_1.encodeNodeId)(this.dataType, stream);
24866
24866
  (0, node_opcua_basic_types_1.encodeInt32)(this.valueRank, stream);
24867
24867
  (0, node_opcua_basic_types_1.encodeArray)(this.arrayDimensions, stream, node_opcua_basic_types_1.encodeUInt32);
24868
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isAbstract, stream);
24868
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isAbstract, stream);
24869
24869
  }
24870
24870
  decode(stream) {
24871
24871
  // call base class implementation first
@@ -24874,7 +24874,7 @@ class VariableTypeAttributes extends NodeAttributes {
24874
24874
  this.dataType = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.dataType);
24875
24875
  this.valueRank = (0, node_opcua_basic_types_1.decodeInt32)(stream, this.valueRank);
24876
24876
  this.arrayDimensions = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUInt32);
24877
- this.isAbstract = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isAbstract);
24877
+ this.isAbstract = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isAbstract);
24878
24878
  }
24879
24879
  get schema() { return schemaVariableTypeAttributes; }
24880
24880
  }
@@ -24934,7 +24934,7 @@ const schemaVariableTypeNode = (0, node_opcua_factory_1.buildStructuredType)({
24934
24934
  },
24935
24935
  {
24936
24936
  name: "isAbstract",
24937
- fieldType: "UABoolean",
24937
+ fieldType: "Boolean",
24938
24938
  },
24939
24939
  ]
24940
24940
  });
@@ -24989,7 +24989,7 @@ class VariableTypeNode extends TypeNode {
24989
24989
  (0, node_opcua_basic_types_1.encodeNodeId)(this.dataType, stream);
24990
24990
  (0, node_opcua_basic_types_1.encodeInt32)(this.valueRank, stream);
24991
24991
  (0, node_opcua_basic_types_1.encodeArray)(this.arrayDimensions, stream, node_opcua_basic_types_1.encodeUInt32);
24992
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.isAbstract, stream);
24992
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.isAbstract, stream);
24993
24993
  }
24994
24994
  decode(stream) {
24995
24995
  // call base class implementation first
@@ -25013,7 +25013,7 @@ class VariableTypeNode extends TypeNode {
25013
25013
  this.dataType = (0, node_opcua_basic_types_1.decodeNodeId)(stream, this.dataType);
25014
25014
  this.valueRank = (0, node_opcua_basic_types_1.decodeInt32)(stream, this.valueRank);
25015
25015
  this.arrayDimensions = (0, node_opcua_basic_types_1.decodeArray)(stream, node_opcua_basic_types_1.decodeUInt32);
25016
- this.isAbstract = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.isAbstract);
25016
+ this.isAbstract = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.isAbstract);
25017
25017
  }
25018
25018
  get schema() { return schemaVariableTypeNode; }
25019
25019
  }
@@ -25044,7 +25044,7 @@ const schemaViewAttributes = (0, node_opcua_factory_1.buildStructuredType)({
25044
25044
  fields: [
25045
25045
  {
25046
25046
  name: "containsNoLoops",
25047
- fieldType: "UABoolean",
25047
+ fieldType: "Boolean",
25048
25048
  },
25049
25049
  {
25050
25050
  name: "eventNotifier",
@@ -25072,13 +25072,13 @@ class ViewAttributes extends NodeAttributes {
25072
25072
  static get schema() { return schemaViewAttributes; }
25073
25073
  encode(stream) {
25074
25074
  /* NEEDED */ super.encode(stream);
25075
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.containsNoLoops, stream);
25075
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.containsNoLoops, stream);
25076
25076
  (0, node_opcua_basic_types_1.encodeByte)(this.eventNotifier, stream);
25077
25077
  }
25078
25078
  decode(stream) {
25079
25079
  // call base class implementation first
25080
25080
  /* NEEDED !!! */ super.decode(stream);
25081
- this.containsNoLoops = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.containsNoLoops);
25081
+ this.containsNoLoops = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.containsNoLoops);
25082
25082
  this.eventNotifier = (0, node_opcua_basic_types_1.decodeByte)(stream, this.eventNotifier);
25083
25083
  }
25084
25084
  get schema() { return schemaViewAttributes; }
@@ -25119,7 +25119,7 @@ const schemaViewNode = (0, node_opcua_factory_1.buildStructuredType)({
25119
25119
  },
25120
25120
  {
25121
25121
  name: "containsNoLoops",
25122
- fieldType: "UABoolean",
25122
+ fieldType: "Boolean",
25123
25123
  },
25124
25124
  {
25125
25125
  name: "eventNotifier",
@@ -25168,7 +25168,7 @@ class ViewNode extends InstanceNode {
25168
25168
  (0, node_opcua_basic_types_1.encodeArray)(this.rolePermissions, stream, (obj, stream1) => { obj.encode(stream1); });
25169
25169
  (0, node_opcua_basic_types_1.encodeArray)(this.userRolePermissions, stream, (obj, stream1) => { obj.encode(stream1); });
25170
25170
  (0, node_opcua_basic_types_1.encodeArray)(this.references, stream, (obj, stream1) => { obj.encode(stream1); });
25171
- (0, node_opcua_basic_types_1.encodeUABoolean)(this.containsNoLoops, stream);
25171
+ (0, node_opcua_basic_types_1.encodeBoolean)(this.containsNoLoops, stream);
25172
25172
  (0, node_opcua_basic_types_1.encodeByte)(this.eventNotifier, stream);
25173
25173
  }
25174
25174
  decode(stream) {
@@ -25189,7 +25189,7 @@ class ViewNode extends InstanceNode {
25189
25189
  obj.decode(stream1);
25190
25190
  return obj;
25191
25191
  });
25192
- this.containsNoLoops = (0, node_opcua_basic_types_1.decodeUABoolean)(stream, this.containsNoLoops);
25192
+ this.containsNoLoops = (0, node_opcua_basic_types_1.decodeBoolean)(stream, this.containsNoLoops);
25193
25193
  this.eventNotifier = (0, node_opcua_basic_types_1.decodeByte)(stream, this.eventNotifier);
25194
25194
  }
25195
25195
  get schema() { return schemaViewNode; }