@dangl/avacloud-client-node 1.13.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  /**
3
- * AVACloud API 1.17.3
3
+ * AVACloud API 1.26.0
4
4
  * AVACloud API specification
5
5
  *
6
- * OpenAPI spec version: 1.17.3
6
+ * OpenAPI spec version: 1.26.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -11,7 +11,7 @@
11
11
  * Do not edit the class manually.
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = exports.RebConversionApi = exports.RebConversionApiApiKeys = exports.OenormConversionApi = exports.OenormConversionApiApiKeys = exports.GaebConversionApi = exports.GaebConversionApiApiKeys = exports.ExcelConversionApi = exports.ExcelConversionApiApiKeys = exports.DanglIdentityApi = exports.DanglIdentityApiApiKeys = exports.AvaConversionApi = exports.AvaConversionApiApiKeys = exports.AslvConversionApi = exports.AslvConversionApiApiKeys = exports.VoidAuth = exports.OAuth = exports.ApiKeyAuth = exports.HttpBasicAuth = exports.WarrantyDurationDto = exports.TradeDiscountDto = exports.TokenResponseGet = exports.TokenRefreshPost = exports.TokenLoginPost = exports.SubDescriptionDto = exports.StandardizedDescriptionDto = exports.StandardReferenceTypeDto = exports.SpecialAwardKindDto = exports.ServiceTypeDto = exports.ServiceSpecificationGroupDto = exports.ServiceSpecificationDto = exports.STLBReferenceDto = exports.STLBKeyDto = exports.ResponseErrorType = exports.RegisterPost = exports.QuantityAssignmentDto = exports.ProjectInformationDto = exports.ProjectDto = exports.ProductDataDto = exports.PriceTypeDto = exports.PriceRoundingModeDto = exports.PriceInformationDto = exports.PriceComponentTypeDto = exports.PriceComponentDto = exports.PositionTypeDto = exports.PositionDto = exports.PartyInformationDto = exports.OriginDto = exports.NoteTextDto = exports.LoginPost = exports.LabourPriceComponentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.ItemNumberDto = exports.HttpStatusCode = exports.GrossPriceComponentDto = exports.GetStatus = exports.ForgotPasswordPost = exports.ExecutionDescriptionDto = exports.IElementDto = exports.ExchangePhaseDto = exports.DurationUnitDto = exports.DestinationOenormType = exports.DestinationGaebType = exports.DestinationGaebExchangePhase = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.ComissionStatusDto = exports.CatalogueTypeDto = exports.CatalogueReferenceDto = exports.CatalogueDto = exports.CalculationDto = exports.BankingInformationDto = exports.AwardTypeDto = exports.ArticleDataDto = exports.ApiError = exports.AdditionTypeDto = void 0;
14
+ exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = exports.RebConversionApi = exports.RebConversionApiApiKeys = exports.OenormConversionApi = exports.OenormConversionApiApiKeys = exports.GaebConversionApi = exports.GaebConversionApiApiKeys = exports.ExcelConversionApi = exports.ExcelConversionApiApiKeys = exports.DanglIdentityApi = exports.DanglIdentityApiApiKeys = exports.AvaConversionApi = exports.AvaConversionApiApiKeys = exports.AslvConversionApi = exports.AslvConversionApiApiKeys = exports.VoidAuth = exports.OAuth = exports.ApiKeyAuth = exports.HttpBasicAuth = exports.WarrantyDurationDto = exports.TradeDiscountDto = exports.TokenResponseGet = exports.TokenRefreshPost = exports.TokenLoginPost = exports.SubDescriptionDto = exports.StandardizedDescriptionDto = exports.StandardReferenceTypeDto = exports.SpecialAwardKindDto = exports.ServiceTypeDto = exports.ServiceSpecificationGroupDto = exports.ServiceSpecificationDto = exports.STLBReferenceDto = exports.STLBKeyDto = exports.ResponseErrorType = exports.RegisterPost = exports.QuantityAssignmentDto = exports.ProjectInformationDto = exports.ProjectDto = exports.ProductDataDto = exports.PriceTypeDto = exports.PriceRoundingModeDto = exports.PriceInformationDto = exports.PriceComponentTypeDto = exports.PriceComponentDto = exports.PositionTypeDto = exports.PositionDto = exports.PartyInformationDto = exports.OriginDto = exports.OenormPropertiesDto = exports.OenormPositionPropertiesDto = exports.OenormOriginCodeDto = exports.OenormNoteTextPropertiesDto = exports.NoteTextDto = exports.LoginPost = exports.LabourPriceComponentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.ItemNumberDto = exports.HttpStatusCode = exports.GrossPriceComponentDto = exports.GetStatus = exports.ForgotPasswordPost = exports.ExecutionDescriptionDto = exports.IElementDto = exports.ExchangePhaseDto = exports.DurationUnitDto = exports.DestinationOenormType = exports.DestinationGaebType = exports.DestinationGaebExchangePhase = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.ComissionStatusDto = exports.CatalogueTypeDto = exports.CatalogueReferenceDto = exports.CatalogueDto = exports.CalculationDto = exports.BankingInformationDto = exports.AwardTypeDto = exports.ArticleDataDto = exports.ApiError = exports.AdditionTypeDto = exports.AddendumStatusDto = void 0;
15
15
  const localVarRequest = require("request");
16
16
  let defaultBasePath = 'https://avacloud-api.dangl-it.com';
17
17
  // ===============================================
@@ -141,6 +141,17 @@ class ObjectSerializer {
141
141
  }
142
142
  }
143
143
  /**
144
+ * This enumeration represents the status of an addendum, 'Nachtrag' in German
145
+ */
146
+ class AddendumStatusDto {
147
+ static getAttributeTypeMap() {
148
+ return AddendumStatusDto.attributeTypeMap;
149
+ }
150
+ }
151
+ exports.AddendumStatusDto = AddendumStatusDto;
152
+ AddendumStatusDto.discriminator = undefined;
153
+ AddendumStatusDto.attributeTypeMap = [];
154
+ /**
144
155
  * Indicates the origin of an element.
145
156
  */
146
157
  class AdditionTypeDto {
@@ -313,6 +324,16 @@ CalculationDto.attributeTypeMap = [
313
324
  "name": "errorPositionInLine",
314
325
  "baseName": "errorPositionInLine",
315
326
  "type": "number"
327
+ },
328
+ {
329
+ "name": "projectCatalogues",
330
+ "baseName": "projectCatalogues",
331
+ "type": "Array<CatalogueDto>"
332
+ },
333
+ {
334
+ "name": "catalogueReferences",
335
+ "baseName": "catalogueReferences",
336
+ "type": "Array<CatalogueReferenceDto>"
316
337
  }
317
338
  ];
318
339
  /**
@@ -546,6 +567,11 @@ IElementDto.attributeTypeMap = [
546
567
  "baseName": "gaebXmlId",
547
568
  "type": "string"
548
569
  },
570
+ {
571
+ "name": "addendumNumber",
572
+ "baseName": "addendumNumber",
573
+ "type": "string"
574
+ },
549
575
  {
550
576
  "name": "elementTypeDiscriminator",
551
577
  "baseName": "elementTypeDiscriminator",
@@ -730,6 +756,16 @@ ItemNumberDto.attributeTypeMap = [
730
756
  "name": "isLot",
731
757
  "baseName": "isLot",
732
758
  "type": "boolean"
759
+ },
760
+ {
761
+ "name": "hierarchyLevel",
762
+ "baseName": "hierarchyLevel",
763
+ "type": "number"
764
+ },
765
+ {
766
+ "name": "isAttachedToPosition",
767
+ "baseName": "isAttachedToPosition",
768
+ "type": "boolean"
733
769
  }
734
770
  ];
735
771
  /**
@@ -752,6 +788,36 @@ ItemNumberSchemaDto.attributeTypeMap = [
752
788
  "name": "tiers",
753
789
  "baseName": "tiers",
754
790
  "type": "Array<ItemNumberSchemaTierDto>"
791
+ },
792
+ {
793
+ "name": "separator",
794
+ "baseName": "separator",
795
+ "type": "string"
796
+ },
797
+ {
798
+ "name": "filler",
799
+ "baseName": "filler",
800
+ "type": "string"
801
+ },
802
+ {
803
+ "name": "identifier",
804
+ "baseName": "identifier",
805
+ "type": "string"
806
+ },
807
+ {
808
+ "name": "skipNonExistingLevelsInPositionItemNumbers",
809
+ "baseName": "skipNonExistingLevelsInPositionItemNumbers",
810
+ "type": "boolean"
811
+ },
812
+ {
813
+ "name": "skippedTiersFiller",
814
+ "baseName": "skippedTiersFiller",
815
+ "type": "string"
816
+ },
817
+ {
818
+ "name": "schemaIsCorrectlyDefined",
819
+ "baseName": "schemaIsCorrectlyDefined",
820
+ "type": "boolean"
755
821
  }
756
822
  ];
757
823
  /**
@@ -784,6 +850,16 @@ ItemNumberSchemaTierDto.attributeTypeMap = [
784
850
  "name": "isLot",
785
851
  "baseName": "isLot",
786
852
  "type": "boolean"
853
+ },
854
+ {
855
+ "name": "increment",
856
+ "baseName": "increment",
857
+ "type": "number"
858
+ },
859
+ {
860
+ "name": "tierName",
861
+ "baseName": "tierName",
862
+ "type": "string"
787
863
  }
788
864
  ];
789
865
  /**
@@ -848,6 +924,11 @@ LabourPriceComponentDto.attributeTypeMap = [
848
924
  "name": "totalTime",
849
925
  "baseName": "totalTime",
850
926
  "type": "number"
927
+ },
928
+ {
929
+ "name": "projectCatalogues",
930
+ "baseName": "projectCatalogues",
931
+ "type": "Array<CatalogueDto>"
851
932
  }
852
933
  ];
853
934
  class LoginPost {
@@ -926,6 +1007,98 @@ NoteTextDto.attributeTypeMap = [
926
1007
  "name": "elementType",
927
1008
  "baseName": "elementType",
928
1009
  "type": "string"
1010
+ },
1011
+ {
1012
+ "name": "descriptionId",
1013
+ "baseName": "descriptionId",
1014
+ "type": "string"
1015
+ },
1016
+ {
1017
+ "name": "oenormNoteTextProperties",
1018
+ "baseName": "oenormNoteTextProperties",
1019
+ "type": "OenormNoteTextPropertiesDto"
1020
+ }
1021
+ ];
1022
+ /**
1023
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
1024
+ */
1025
+ class OenormNoteTextPropertiesDto {
1026
+ static getAttributeTypeMap() {
1027
+ return OenormNoteTextPropertiesDto.attributeTypeMap;
1028
+ }
1029
+ }
1030
+ exports.OenormNoteTextPropertiesDto = OenormNoteTextPropertiesDto;
1031
+ OenormNoteTextPropertiesDto.discriminator = undefined;
1032
+ OenormNoteTextPropertiesDto.attributeTypeMap = [
1033
+ {
1034
+ "name": "originCode",
1035
+ "baseName": "originCode",
1036
+ "type": "OenormOriginCodeDto"
1037
+ }
1038
+ ];
1039
+ /**
1040
+ * This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
1041
+ */
1042
+ class OenormOriginCodeDto {
1043
+ static getAttributeTypeMap() {
1044
+ return OenormOriginCodeDto.attributeTypeMap;
1045
+ }
1046
+ }
1047
+ exports.OenormOriginCodeDto = OenormOriginCodeDto;
1048
+ OenormOriginCodeDto.discriminator = undefined;
1049
+ OenormOriginCodeDto.attributeTypeMap = [];
1050
+ /**
1051
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for Positions and extends the OenormProperties base class.
1052
+ */
1053
+ class OenormPositionPropertiesDto {
1054
+ static getAttributeTypeMap() {
1055
+ return OenormPositionPropertiesDto.attributeTypeMap;
1056
+ }
1057
+ }
1058
+ exports.OenormPositionPropertiesDto = OenormPositionPropertiesDto;
1059
+ OenormPositionPropertiesDto.discriminator = undefined;
1060
+ OenormPositionPropertiesDto.attributeTypeMap = [
1061
+ {
1062
+ "name": "originCode",
1063
+ "baseName": "originCode",
1064
+ "type": "OenormOriginCodeDto"
1065
+ },
1066
+ {
1067
+ "name": "openingTextIsFreeText",
1068
+ "baseName": "openingTextIsFreeText",
1069
+ "type": "boolean"
1070
+ },
1071
+ {
1072
+ "name": "isMainPosition",
1073
+ "baseName": "isMainPosition",
1074
+ "type": "boolean"
1075
+ },
1076
+ {
1077
+ "name": "isUndividedPosition",
1078
+ "baseName": "isUndividedPosition",
1079
+ "type": "boolean"
1080
+ }
1081
+ ];
1082
+ /**
1083
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
1084
+ */
1085
+ class OenormPropertiesDto {
1086
+ static getAttributeTypeMap() {
1087
+ return OenormPropertiesDto.attributeTypeMap;
1088
+ }
1089
+ }
1090
+ exports.OenormPropertiesDto = OenormPropertiesDto;
1091
+ OenormPropertiesDto.discriminator = undefined;
1092
+ OenormPropertiesDto.attributeTypeMap = [
1093
+ {
1094
+ "name": "originCode",
1095
+ "baseName": "originCode",
1096
+ "type": "OenormOriginCodeDto"
1097
+ },
1098
+ {
1099
+ "name": "openingTextIsFreeText",
1100
+ "baseName": "openingTextIsFreeText",
1101
+ "type": "boolean"
929
1102
  }
930
1103
  ];
931
1104
  /**
@@ -1224,6 +1397,16 @@ PositionDto.attributeTypeMap = [
1224
1397
  "baseName": "alternativeTo",
1225
1398
  "type": "string"
1226
1399
  },
1400
+ {
1401
+ "name": "alternativeIdentifier",
1402
+ "baseName": "alternativeIdentifier",
1403
+ "type": "number"
1404
+ },
1405
+ {
1406
+ "name": "alternativeGroupIdentifier",
1407
+ "baseName": "alternativeGroupIdentifier",
1408
+ "type": "number"
1409
+ },
1227
1410
  {
1228
1411
  "name": "isLumpSum",
1229
1412
  "baseName": "isLumpSum",
@@ -1263,6 +1446,31 @@ PositionDto.attributeTypeMap = [
1263
1446
  "name": "executionDescriptionReference",
1264
1447
  "baseName": "executionDescriptionReference",
1265
1448
  "type": "string"
1449
+ },
1450
+ {
1451
+ "name": "notOffered",
1452
+ "baseName": "notOffered",
1453
+ "type": "boolean"
1454
+ },
1455
+ {
1456
+ "name": "oenormPositionProperties",
1457
+ "baseName": "oenormPositionProperties",
1458
+ "type": "OenormPositionPropertiesDto"
1459
+ },
1460
+ {
1461
+ "name": "descriptionId",
1462
+ "baseName": "descriptionId",
1463
+ "type": "string"
1464
+ },
1465
+ {
1466
+ "name": "hierarchyLevel",
1467
+ "baseName": "hierarchyLevel",
1468
+ "type": "number"
1469
+ },
1470
+ {
1471
+ "name": "addendumStatus",
1472
+ "baseName": "addendumStatus",
1473
+ "type": "AddendumStatusDto"
1266
1474
  }
1267
1475
  ];
1268
1476
  /**
@@ -1301,6 +1509,11 @@ PriceComponentDto.attributeTypeMap = [
1301
1509
  "name": "values",
1302
1510
  "baseName": "values",
1303
1511
  "type": "Array<CalculationDto>"
1512
+ },
1513
+ {
1514
+ "name": "projectCatalogues",
1515
+ "baseName": "projectCatalogues",
1516
+ "type": "Array<CatalogueDto>"
1304
1517
  }
1305
1518
  ];
1306
1519
  /**
@@ -1920,6 +2133,16 @@ ServiceSpecificationDto.attributeTypeMap = [
1920
2133
  "name": "typeOfApproval",
1921
2134
  "baseName": "typeOfApproval",
1922
2135
  "type": "string"
2136
+ },
2137
+ {
2138
+ "name": "addendumNumber",
2139
+ "baseName": "addendumNumber",
2140
+ "type": "string"
2141
+ },
2142
+ {
2143
+ "name": "addendumStatus",
2144
+ "baseName": "addendumStatus",
2145
+ "type": "AddendumStatusDto"
1923
2146
  }
1924
2147
  ];
1925
2148
  class ServiceSpecificationGroupDto extends IElementDto {
@@ -2064,6 +2287,21 @@ ServiceSpecificationGroupDto.attributeTypeMap = [
2064
2287
  "name": "catalogueReferences",
2065
2288
  "baseName": "catalogueReferences",
2066
2289
  "type": "Array<CatalogueReferenceDto>"
2290
+ },
2291
+ {
2292
+ "name": "oenormProperties",
2293
+ "baseName": "oenormProperties",
2294
+ "type": "OenormPropertiesDto"
2295
+ },
2296
+ {
2297
+ "name": "hierarchyLevel",
2298
+ "baseName": "hierarchyLevel",
2299
+ "type": "number"
2300
+ },
2301
+ {
2302
+ "name": "addendumStatus",
2303
+ "baseName": "addendumStatus",
2304
+ "type": "AddendumStatusDto"
2067
2305
  }
2068
2306
  ];
2069
2307
  /**
@@ -2191,6 +2429,16 @@ SubDescriptionDto.attributeTypeMap = [
2191
2429
  "name": "executionDescriptionReference",
2192
2430
  "baseName": "executionDescriptionReference",
2193
2431
  "type": "string"
2432
+ },
2433
+ {
2434
+ "name": "projectCatalogues",
2435
+ "baseName": "projectCatalogues",
2436
+ "type": "Array<CatalogueDto>"
2437
+ },
2438
+ {
2439
+ "name": "descriptionId",
2440
+ "baseName": "descriptionId",
2441
+ "type": "string"
2194
2442
  }
2195
2443
  ];
2196
2444
  class TokenLoginPost {
@@ -2341,6 +2589,7 @@ WarrantyDurationDto.attributeTypeMap = [
2341
2589
  ];
2342
2590
  let enumsMap = {};
2343
2591
  let typeMap = {
2592
+ "AddendumStatusDto": AddendumStatusDto,
2344
2593
  "AdditionTypeDto": AdditionTypeDto,
2345
2594
  "ApiError": ApiError,
2346
2595
  "ArticleDataDto": ArticleDataDto,
@@ -2372,6 +2621,10 @@ let typeMap = {
2372
2621
  "LabourPriceComponentDto": LabourPriceComponentDto,
2373
2622
  "LoginPost": LoginPost,
2374
2623
  "NoteTextDto": NoteTextDto,
2624
+ "OenormNoteTextPropertiesDto": OenormNoteTextPropertiesDto,
2625
+ "OenormOriginCodeDto": OenormOriginCodeDto,
2626
+ "OenormPositionPropertiesDto": OenormPositionPropertiesDto,
2627
+ "OenormPropertiesDto": OenormPropertiesDto,
2375
2628
  "OriginDto": OriginDto,
2376
2629
  "PartyInformationDto": PartyInformationDto,
2377
2630
  "PositionDto": PositionDto,
@@ -2623,9 +2876,11 @@ class AslvConversionApi {
2623
2876
  * @param destinationGaebType Defaults to GAEB XML V3.2
2624
2877
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
2625
2878
  * @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
2879
+ * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
2880
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
2626
2881
  * @param {*} [options] Override http request options.
2627
2882
  */
2628
- aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
2883
+ aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
2629
2884
  const localVarPath = this.basePath + '/conversion/aslv/gaeb';
2630
2885
  let localVarQueryParameters = {};
2631
2886
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -2639,6 +2894,12 @@ class AslvConversionApi {
2639
2894
  if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
2640
2895
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
2641
2896
  }
2897
+ if (exportQuantityDetermination !== undefined) {
2898
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
2899
+ }
2900
+ if (removeUnprintableCharactersFromTexts !== undefined) {
2901
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
2902
+ }
2642
2903
  Object.assign(localVarHeaderParams, options.headers);
2643
2904
  let localVarUseFormData = false;
2644
2905
  if (aslvFile !== undefined) {
@@ -2686,19 +2947,27 @@ class AslvConversionApi {
2686
2947
  * @param aslvFile The input file
2687
2948
  * @param destinationOenormType Defaults to Lv2015
2688
2949
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
2950
+ * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
2951
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
2689
2952
  * @param {*} [options] Override http request options.
2690
2953
  */
2691
- aslvConversionConvertToOenorm(aslvFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
2954
+ aslvConversionConvertToOenorm(aslvFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
2692
2955
  const localVarPath = this.basePath + '/conversion/aslv/oenorm';
2693
2956
  let localVarQueryParameters = {};
2694
2957
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
2695
2958
  let localVarFormParams = {};
2696
2959
  if (destinationOenormType !== undefined) {
2697
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
2960
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
2698
2961
  }
2699
2962
  if (tryRepairProjectStructure !== undefined) {
2700
2963
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
2701
2964
  }
2965
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
2966
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
2967
+ }
2968
+ if (removeUnprintableCharactersFromTexts !== undefined) {
2969
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
2970
+ }
2702
2971
  Object.assign(localVarHeaderParams, options.headers);
2703
2972
  let localVarUseFormData = false;
2704
2973
  if (aslvFile !== undefined) {
@@ -2787,11 +3056,12 @@ class AvaConversionApi {
2787
3056
  *
2788
3057
  * @summary Converts Dangl.AVA projects to Dangl.AVA. This is useful when you want to generate the calculated properties.
2789
3058
  * @param avaProject The Dangl.AVA project
3059
+ * @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
2790
3060
  * @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
2791
3061
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
2792
3062
  * @param {*} [options] Override http request options.
2793
3063
  */
2794
- avaConversionConvertToAva(avaProject, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
3064
+ avaConversionConvertToAva(avaProject, tryAutoGenerateItemNumbersAndSchema, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
2795
3065
  const localVarPath = this.basePath + '/conversion/ava/ava';
2796
3066
  let localVarQueryParameters = {};
2797
3067
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -2800,6 +3070,9 @@ class AvaConversionApi {
2800
3070
  if (avaProject === null || avaProject === undefined) {
2801
3071
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToAva.');
2802
3072
  }
3073
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3074
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3075
+ }
2803
3076
  if (removePlainTextLongTexts !== undefined) {
2804
3077
  localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
2805
3078
  }
@@ -2848,12 +3121,13 @@ class AvaConversionApi {
2848
3121
  *
2849
3122
  * @summary Converts Dangl.AVA projects to Excel
2850
3123
  * @param avaProject The Dangl.AVA project
3124
+ * @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
2851
3125
  * @param writePrices Defaults to true
2852
3126
  * @param writeLongTexts Defaults to true
2853
3127
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
2854
3128
  * @param {*} [options] Override http request options.
2855
3129
  */
2856
- avaConversionConvertToExcel(avaProject, writePrices, writeLongTexts, conversionCulture, options = {}) {
3130
+ avaConversionConvertToExcel(avaProject, tryAutoGenerateItemNumbersAndSchema, writePrices, writeLongTexts, conversionCulture, options = {}) {
2857
3131
  const localVarPath = this.basePath + '/conversion/ava/excel';
2858
3132
  let localVarQueryParameters = {};
2859
3133
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -2862,6 +3136,9 @@ class AvaConversionApi {
2862
3136
  if (avaProject === null || avaProject === undefined) {
2863
3137
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToExcel.');
2864
3138
  }
3139
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3140
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3141
+ }
2865
3142
  if (writePrices !== undefined) {
2866
3143
  localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
2867
3144
  }
@@ -2914,12 +3191,15 @@ class AvaConversionApi {
2914
3191
  *
2915
3192
  * @summary Converts Dangl.AVA projects to GAEB
2916
3193
  * @param avaProject The Dangl.AVA project
3194
+ * @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
2917
3195
  * @param destinationGaebType Defaults to GAEB XML V3.2
2918
3196
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
2919
3197
  * @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
3198
+ * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
3199
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
2920
3200
  * @param {*} [options] Override http request options.
2921
3201
  */
2922
- avaConversionConvertToGaeb(avaProject, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
3202
+ avaConversionConvertToGaeb(avaProject, tryAutoGenerateItemNumbersAndSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
2923
3203
  const localVarPath = this.basePath + '/conversion/ava/gaeb';
2924
3204
  let localVarQueryParameters = {};
2925
3205
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -2928,6 +3208,9 @@ class AvaConversionApi {
2928
3208
  if (avaProject === null || avaProject === undefined) {
2929
3209
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToGaeb.');
2930
3210
  }
3211
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3212
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3213
+ }
2931
3214
  if (destinationGaebType !== undefined) {
2932
3215
  localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
2933
3216
  }
@@ -2937,6 +3220,12 @@ class AvaConversionApi {
2937
3220
  if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
2938
3221
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
2939
3222
  }
3223
+ if (exportQuantityDetermination !== undefined) {
3224
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
3225
+ }
3226
+ if (removeUnprintableCharactersFromTexts !== undefined) {
3227
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
3228
+ }
2940
3229
  Object.assign(localVarHeaderParams, options.headers);
2941
3230
  let localVarUseFormData = false;
2942
3231
  let localVarRequestOptions = {
@@ -2980,11 +3269,14 @@ class AvaConversionApi {
2980
3269
  *
2981
3270
  * @summary Converts Dangl.AVA projects to Oenorm
2982
3271
  * @param avaProject The Dangl.AVA project
3272
+ * @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
2983
3273
  * @param destinationOenormType Defaults to Lv2015
2984
3274
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
3275
+ * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
3276
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
2985
3277
  * @param {*} [options] Override http request options.
2986
3278
  */
2987
- avaConversionConvertToOenorm(avaProject, destinationOenormType, tryRepairProjectStructure, options = {}) {
3279
+ avaConversionConvertToOenorm(avaProject, tryAutoGenerateItemNumbersAndSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
2988
3280
  const localVarPath = this.basePath + '/conversion/ava/oenorm';
2989
3281
  let localVarQueryParameters = {};
2990
3282
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -2993,12 +3285,21 @@ class AvaConversionApi {
2993
3285
  if (avaProject === null || avaProject === undefined) {
2994
3286
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToOenorm.');
2995
3287
  }
3288
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3289
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3290
+ }
2996
3291
  if (destinationOenormType !== undefined) {
2997
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
3292
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
2998
3293
  }
2999
3294
  if (tryRepairProjectStructure !== undefined) {
3000
3295
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
3001
3296
  }
3297
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
3298
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
3299
+ }
3300
+ if (removeUnprintableCharactersFromTexts !== undefined) {
3301
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
3302
+ }
3002
3303
  Object.assign(localVarHeaderParams, options.headers);
3003
3304
  let localVarUseFormData = false;
3004
3305
  let localVarRequestOptions = {
@@ -3042,9 +3343,10 @@ class AvaConversionApi {
3042
3343
  *
3043
3344
  * @summary Converts Dangl.AVA projects to REB
3044
3345
  * @param avaProject The Dangl.AVA project
3346
+ * @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
3045
3347
  * @param {*} [options] Override http request options.
3046
3348
  */
3047
- avaConversionConvertToReb(avaProject, options = {}) {
3349
+ avaConversionConvertToReb(avaProject, tryAutoGenerateItemNumbersAndSchema, options = {}) {
3048
3350
  const localVarPath = this.basePath + '/conversion/ava/reb';
3049
3351
  let localVarQueryParameters = {};
3050
3352
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3053,6 +3355,9 @@ class AvaConversionApi {
3053
3355
  if (avaProject === null || avaProject === undefined) {
3054
3356
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToReb.');
3055
3357
  }
3358
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3359
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3360
+ }
3056
3361
  Object.assign(localVarHeaderParams, options.headers);
3057
3362
  let localVarUseFormData = false;
3058
3363
  let localVarRequestOptions = {
@@ -3096,9 +3401,10 @@ class AvaConversionApi {
3096
3401
  *
3097
3402
  * @summary Converts Dangl.AVA projects to SIA 451
3098
3403
  * @param avaProject The Dangl.AVA project
3404
+ * @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
3099
3405
  * @param {*} [options] Override http request options.
3100
3406
  */
3101
- avaConversionConvertToSia(avaProject, options = {}) {
3407
+ avaConversionConvertToSia(avaProject, tryAutoGenerateItemNumbersAndSchema, options = {}) {
3102
3408
  const localVarPath = this.basePath + '/conversion/ava/sia';
3103
3409
  let localVarQueryParameters = {};
3104
3410
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3107,6 +3413,9 @@ class AvaConversionApi {
3107
3413
  if (avaProject === null || avaProject === undefined) {
3108
3414
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToSia.');
3109
3415
  }
3416
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3417
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3418
+ }
3110
3419
  Object.assign(localVarHeaderParams, options.headers);
3111
3420
  let localVarUseFormData = false;
3112
3421
  let localVarRequestOptions = {
@@ -3687,9 +3996,11 @@ class ExcelConversionApi {
3687
3996
  * @param destinationGaebType Defaults to GAEB XML V3.2
3688
3997
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
3689
3998
  * @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
3999
+ * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
4000
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
3690
4001
  * @param {*} [options] Override http request options.
3691
4002
  */
3692
- excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
4003
+ excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
3693
4004
  const localVarPath = this.basePath + '/conversion/excel/gaeb';
3694
4005
  let localVarQueryParameters = {};
3695
4006
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3709,6 +4020,12 @@ class ExcelConversionApi {
3709
4020
  if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
3710
4021
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
3711
4022
  }
4023
+ if (exportQuantityDetermination !== undefined) {
4024
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4025
+ }
4026
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4027
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4028
+ }
3712
4029
  Object.assign(localVarHeaderParams, options.headers);
3713
4030
  let localVarUseFormData = false;
3714
4031
  if (excelFile !== undefined) {
@@ -3758,9 +4075,11 @@ class ExcelConversionApi {
3758
4075
  * @param rebuildItemNumberSchema When importing new elements from Excel, sometimes the ItemNumberSchema in the file is not in compliance with the GAEB requirements. Enabling this option tries to repair the ItemNumberSchema. Defaults to false.
3759
4076
  * @param destinationOenormType Defaults to Lv2015
3760
4077
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
4078
+ * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
4079
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
3761
4080
  * @param {*} [options] Override http request options.
3762
4081
  */
3763
- excelConversionConvertToOenorm(excelFile, readNewElements, rebuildItemNumberSchema, destinationOenormType, tryRepairProjectStructure, options = {}) {
4082
+ excelConversionConvertToOenorm(excelFile, readNewElements, rebuildItemNumberSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
3764
4083
  const localVarPath = this.basePath + '/conversion/excel/oenorm';
3765
4084
  let localVarQueryParameters = {};
3766
4085
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3772,11 +4091,17 @@ class ExcelConversionApi {
3772
4091
  localVarQueryParameters['RebuildItemNumberSchema'] = ObjectSerializer.serialize(rebuildItemNumberSchema, "boolean");
3773
4092
  }
3774
4093
  if (destinationOenormType !== undefined) {
3775
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
4094
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
3776
4095
  }
3777
4096
  if (tryRepairProjectStructure !== undefined) {
3778
4097
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
3779
4098
  }
4099
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
4100
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
4101
+ }
4102
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4103
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4104
+ }
3780
4105
  Object.assign(localVarHeaderParams, options.headers);
3781
4106
  let localVarUseFormData = false;
3782
4107
  if (excelFile !== undefined) {
@@ -3865,15 +4190,19 @@ class GaebConversionApi {
3865
4190
  *
3866
4191
  * @summary Converts GAEB files to Dangl.AVA projects
3867
4192
  * @param gaebFile The input file
4193
+ * @param supportSkippedItemNumberLevelsInPositions Defaults to &#39;false&#39;. This controls if, when deserializing GAEB files, skipped levels in position item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group levels and one position levels - but the ItemNumber of the position is just &#39;01.02&#39;, then it will be displayed as &#39;01.__.02&#39; if this is set to true.
3868
4194
  * @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
3869
4195
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
3870
4196
  * @param {*} [options] Override http request options.
3871
4197
  */
3872
- gaebConversionConvertToAva(gaebFile, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
4198
+ gaebConversionConvertToAva(gaebFile, supportSkippedItemNumberLevelsInPositions, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
3873
4199
  const localVarPath = this.basePath + '/conversion/gaeb/ava';
3874
4200
  let localVarQueryParameters = {};
3875
4201
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
3876
4202
  let localVarFormParams = {};
4203
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
4204
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
4205
+ }
3877
4206
  if (removePlainTextLongTexts !== undefined) {
3878
4207
  localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
3879
4208
  }
@@ -3925,16 +4254,20 @@ class GaebConversionApi {
3925
4254
  *
3926
4255
  * @summary Converts GAEB files to Excel
3927
4256
  * @param gaebFile The input file
4257
+ * @param supportSkippedItemNumberLevelsInPositions Defaults to &#39;false&#39;. This controls if, when deserializing GAEB files, skipped levels in position item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group levels and one position levels - but the ItemNumber of the position is just &#39;01.02&#39;, then it will be displayed as &#39;01.__.02&#39; if this is set to true.
3928
4258
  * @param writePrices Defaults to true
3929
4259
  * @param writeLongTexts Defaults to true
3930
4260
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
3931
4261
  * @param {*} [options] Override http request options.
3932
4262
  */
3933
- gaebConversionConvertToExcel(gaebFile, writePrices, writeLongTexts, conversionCulture, options = {}) {
4263
+ gaebConversionConvertToExcel(gaebFile, supportSkippedItemNumberLevelsInPositions, writePrices, writeLongTexts, conversionCulture, options = {}) {
3934
4264
  const localVarPath = this.basePath + '/conversion/gaeb/excel';
3935
4265
  let localVarQueryParameters = {};
3936
4266
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
3937
4267
  let localVarFormParams = {};
4268
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
4269
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
4270
+ }
3938
4271
  if (writePrices !== undefined) {
3939
4272
  localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
3940
4273
  }
@@ -3989,16 +4322,22 @@ class GaebConversionApi {
3989
4322
  *
3990
4323
  * @summary Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files.
3991
4324
  * @param gaebFile The input file
4325
+ * @param supportSkippedItemNumberLevelsInPositions Defaults to &#39;false&#39;. This controls if, when deserializing GAEB files, skipped levels in position item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group levels and one position levels - but the ItemNumber of the position is just &#39;01.02&#39;, then it will be displayed as &#39;01.__.02&#39; if this is set to true.
3992
4326
  * @param destinationGaebType Defaults to GAEB XML V3.2
3993
4327
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
3994
4328
  * @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
4329
+ * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
4330
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
3995
4331
  * @param {*} [options] Override http request options.
3996
4332
  */
3997
- gaebConversionConvertToGaeb(gaebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
4333
+ gaebConversionConvertToGaeb(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
3998
4334
  const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
3999
4335
  let localVarQueryParameters = {};
4000
4336
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
4001
4337
  let localVarFormParams = {};
4338
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
4339
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
4340
+ }
4002
4341
  if (destinationGaebType !== undefined) {
4003
4342
  localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
4004
4343
  }
@@ -4008,6 +4347,12 @@ class GaebConversionApi {
4008
4347
  if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
4009
4348
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
4010
4349
  }
4350
+ if (exportQuantityDetermination !== undefined) {
4351
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4352
+ }
4353
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4354
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4355
+ }
4011
4356
  Object.assign(localVarHeaderParams, options.headers);
4012
4357
  let localVarUseFormData = false;
4013
4358
  if (gaebFile !== undefined) {
@@ -4053,21 +4398,33 @@ class GaebConversionApi {
4053
4398
  *
4054
4399
  * @summary Converts GAEB files to Oenorm files
4055
4400
  * @param gaebFile The input file
4401
+ * @param supportSkippedItemNumberLevelsInPositions Defaults to &#39;false&#39;. This controls if, when deserializing GAEB files, skipped levels in position item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group levels and one position levels - but the ItemNumber of the position is just &#39;01.02&#39;, then it will be displayed as &#39;01.__.02&#39; if this is set to true.
4056
4402
  * @param destinationOenormType Defaults to Lv2015
4057
4403
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
4404
+ * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
4405
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
4058
4406
  * @param {*} [options] Override http request options.
4059
4407
  */
4060
- gaebConversionConvertToOenorm(gaebFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
4408
+ gaebConversionConvertToOenorm(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
4061
4409
  const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
4062
4410
  let localVarQueryParameters = {};
4063
4411
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
4064
4412
  let localVarFormParams = {};
4413
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
4414
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
4415
+ }
4065
4416
  if (destinationOenormType !== undefined) {
4066
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
4417
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
4067
4418
  }
4068
4419
  if (tryRepairProjectStructure !== undefined) {
4069
4420
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
4070
4421
  }
4422
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
4423
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
4424
+ }
4425
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4426
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4427
+ }
4071
4428
  Object.assign(localVarHeaderParams, options.headers);
4072
4429
  let localVarUseFormData = false;
4073
4430
  if (gaebFile !== undefined) {
@@ -4283,9 +4640,11 @@ class OenormConversionApi {
4283
4640
  * @param destinationGaebType Defaults to GAEB XML V3.2
4284
4641
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4285
4642
  * @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
4643
+ * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
4644
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
4286
4645
  * @param {*} [options] Override http request options.
4287
4646
  */
4288
- oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
4647
+ oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
4289
4648
  const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
4290
4649
  let localVarQueryParameters = {};
4291
4650
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4299,6 +4658,12 @@ class OenormConversionApi {
4299
4658
  if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
4300
4659
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
4301
4660
  }
4661
+ if (exportQuantityDetermination !== undefined) {
4662
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4663
+ }
4664
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4665
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4666
+ }
4302
4667
  Object.assign(localVarHeaderParams, options.headers);
4303
4668
  let localVarUseFormData = false;
4304
4669
  if (oenormFile !== undefined) {
@@ -4346,19 +4711,27 @@ class OenormConversionApi {
4346
4711
  * @param oenormFile The input file
4347
4712
  * @param destinationOenormType Defaults to Lv2015
4348
4713
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
4714
+ * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
4715
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
4349
4716
  * @param {*} [options] Override http request options.
4350
4717
  */
4351
- oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
4718
+ oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
4352
4719
  const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
4353
4720
  let localVarQueryParameters = {};
4354
4721
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
4355
4722
  let localVarFormParams = {};
4356
4723
  if (destinationOenormType !== undefined) {
4357
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
4724
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
4358
4725
  }
4359
4726
  if (tryRepairProjectStructure !== undefined) {
4360
4727
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
4361
4728
  }
4729
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
4730
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
4731
+ }
4732
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4733
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4734
+ }
4362
4735
  Object.assign(localVarHeaderParams, options.headers);
4363
4736
  let localVarUseFormData = false;
4364
4737
  if (oenormFile !== undefined) {
@@ -4574,9 +4947,11 @@ class RebConversionApi {
4574
4947
  * @param destinationGaebType Defaults to GAEB XML V3.2
4575
4948
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4576
4949
  * @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
4950
+ * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
4951
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
4577
4952
  * @param {*} [options] Override http request options.
4578
4953
  */
4579
- rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
4954
+ rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
4580
4955
  const localVarPath = this.basePath + '/conversion/reb/gaeb';
4581
4956
  let localVarQueryParameters = {};
4582
4957
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4590,6 +4965,12 @@ class RebConversionApi {
4590
4965
  if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
4591
4966
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
4592
4967
  }
4968
+ if (exportQuantityDetermination !== undefined) {
4969
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4970
+ }
4971
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4972
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4973
+ }
4593
4974
  Object.assign(localVarHeaderParams, options.headers);
4594
4975
  let localVarUseFormData = false;
4595
4976
  if (rebFile !== undefined) {
@@ -4637,19 +5018,27 @@ class RebConversionApi {
4637
5018
  * @param rebFile The input file
4638
5019
  * @param destinationOenormType Defaults to Lv2015
4639
5020
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
5021
+ * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
5022
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
4640
5023
  * @param {*} [options] Override http request options.
4641
5024
  */
4642
- rebConversionConvertToOenorm(rebFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
5025
+ rebConversionConvertToOenorm(rebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
4643
5026
  const localVarPath = this.basePath + '/conversion/reb/oenorm';
4644
5027
  let localVarQueryParameters = {};
4645
5028
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
4646
5029
  let localVarFormParams = {};
4647
5030
  if (destinationOenormType !== undefined) {
4648
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
5031
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
4649
5032
  }
4650
5033
  if (tryRepairProjectStructure !== undefined) {
4651
5034
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
4652
5035
  }
5036
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
5037
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
5038
+ }
5039
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5040
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5041
+ }
4653
5042
  Object.assign(localVarHeaderParams, options.headers);
4654
5043
  let localVarUseFormData = false;
4655
5044
  if (rebFile !== undefined) {
@@ -4865,9 +5254,11 @@ class SiaConversionApi {
4865
5254
  * @param destinationGaebType Defaults to GAEB XML V3.2
4866
5255
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4867
5256
  * @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
5257
+ * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
5258
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
4868
5259
  * @param {*} [options] Override http request options.
4869
5260
  */
4870
- siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
5261
+ siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
4871
5262
  const localVarPath = this.basePath + '/conversion/sia/gaeb';
4872
5263
  let localVarQueryParameters = {};
4873
5264
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4881,6 +5272,12 @@ class SiaConversionApi {
4881
5272
  if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
4882
5273
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
4883
5274
  }
5275
+ if (exportQuantityDetermination !== undefined) {
5276
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
5277
+ }
5278
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5279
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5280
+ }
4884
5281
  Object.assign(localVarHeaderParams, options.headers);
4885
5282
  let localVarUseFormData = false;
4886
5283
  if (siaFile !== undefined) {
@@ -4928,19 +5325,27 @@ class SiaConversionApi {
4928
5325
  * @param siaFile The input file
4929
5326
  * @param destinationOenormType Defaults to Lv2015
4930
5327
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
5328
+ * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
5329
+ * @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
4931
5330
  * @param {*} [options] Override http request options.
4932
5331
  */
4933
- siaConversionConvertToOenorm(siaFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
5332
+ siaConversionConvertToOenorm(siaFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
4934
5333
  const localVarPath = this.basePath + '/conversion/sia/oenorm';
4935
5334
  let localVarQueryParameters = {};
4936
5335
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
4937
5336
  let localVarFormParams = {};
4938
5337
  if (destinationOenormType !== undefined) {
4939
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
5338
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
4940
5339
  }
4941
5340
  if (tryRepairProjectStructure !== undefined) {
4942
5341
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
4943
5342
  }
5343
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
5344
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
5345
+ }
5346
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5347
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5348
+ }
4944
5349
  Object.assign(localVarHeaderParams, options.headers);
4945
5350
  let localVarUseFormData = false;
4946
5351
  if (siaFile !== undefined) {