@dangl/avacloud-client-node 1.15.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.23.3
3
+ * AVACloud API 1.26.0
4
4
  * AVACloud API specification
5
5
  *
6
- * OpenAPI spec version: 1.23.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.OenormPropertiesDto = exports.OenormPositionPropertiesDto = exports.OenormOriginCodeDto = 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 {
@@ -556,6 +567,11 @@ IElementDto.attributeTypeMap = [
556
567
  "baseName": "gaebXmlId",
557
568
  "type": "string"
558
569
  },
570
+ {
571
+ "name": "addendumNumber",
572
+ "baseName": "addendumNumber",
573
+ "type": "string"
574
+ },
559
575
  {
560
576
  "name": "elementTypeDiscriminator",
561
577
  "baseName": "elementTypeDiscriminator",
@@ -740,6 +756,16 @@ ItemNumberDto.attributeTypeMap = [
740
756
  "name": "isLot",
741
757
  "baseName": "isLot",
742
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"
743
769
  }
744
770
  ];
745
771
  /**
@@ -777,6 +803,21 @@ ItemNumberSchemaDto.attributeTypeMap = [
777
803
  "name": "identifier",
778
804
  "baseName": "identifier",
779
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"
780
821
  }
781
822
  ];
782
823
  /**
@@ -971,6 +1012,28 @@ NoteTextDto.attributeTypeMap = [
971
1012
  "name": "descriptionId",
972
1013
  "baseName": "descriptionId",
973
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"
974
1037
  }
975
1038
  ];
976
1039
  /**
@@ -1009,6 +1072,11 @@ OenormPositionPropertiesDto.attributeTypeMap = [
1009
1072
  "name": "isMainPosition",
1010
1073
  "baseName": "isMainPosition",
1011
1074
  "type": "boolean"
1075
+ },
1076
+ {
1077
+ "name": "isUndividedPosition",
1078
+ "baseName": "isUndividedPosition",
1079
+ "type": "boolean"
1012
1080
  }
1013
1081
  ];
1014
1082
  /**
@@ -1393,6 +1461,16 @@ PositionDto.attributeTypeMap = [
1393
1461
  "name": "descriptionId",
1394
1462
  "baseName": "descriptionId",
1395
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"
1396
1474
  }
1397
1475
  ];
1398
1476
  /**
@@ -2055,6 +2133,16 @@ ServiceSpecificationDto.attributeTypeMap = [
2055
2133
  "name": "typeOfApproval",
2056
2134
  "baseName": "typeOfApproval",
2057
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"
2058
2146
  }
2059
2147
  ];
2060
2148
  class ServiceSpecificationGroupDto extends IElementDto {
@@ -2204,6 +2292,16 @@ ServiceSpecificationGroupDto.attributeTypeMap = [
2204
2292
  "name": "oenormProperties",
2205
2293
  "baseName": "oenormProperties",
2206
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"
2207
2305
  }
2208
2306
  ];
2209
2307
  /**
@@ -2491,6 +2589,7 @@ WarrantyDurationDto.attributeTypeMap = [
2491
2589
  ];
2492
2590
  let enumsMap = {};
2493
2591
  let typeMap = {
2592
+ "AddendumStatusDto": AddendumStatusDto,
2494
2593
  "AdditionTypeDto": AdditionTypeDto,
2495
2594
  "ApiError": ApiError,
2496
2595
  "ArticleDataDto": ArticleDataDto,
@@ -2522,6 +2621,7 @@ let typeMap = {
2522
2621
  "LabourPriceComponentDto": LabourPriceComponentDto,
2523
2622
  "LoginPost": LoginPost,
2524
2623
  "NoteTextDto": NoteTextDto,
2624
+ "OenormNoteTextPropertiesDto": OenormNoteTextPropertiesDto,
2525
2625
  "OenormOriginCodeDto": OenormOriginCodeDto,
2526
2626
  "OenormPositionPropertiesDto": OenormPositionPropertiesDto,
2527
2627
  "OenormPropertiesDto": OenormPropertiesDto,
@@ -2777,9 +2877,10 @@ class AslvConversionApi {
2777
2877
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
2778
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.
2779
2879
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' 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.
2780
2881
  * @param {*} [options] Override http request options.
2781
2882
  */
2782
- aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
2883
+ aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
2783
2884
  const localVarPath = this.basePath + '/conversion/aslv/gaeb';
2784
2885
  let localVarQueryParameters = {};
2785
2886
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -2796,6 +2897,9 @@ class AslvConversionApi {
2796
2897
  if (exportQuantityDetermination !== undefined) {
2797
2898
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
2798
2899
  }
2900
+ if (removeUnprintableCharactersFromTexts !== undefined) {
2901
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
2902
+ }
2799
2903
  Object.assign(localVarHeaderParams, options.headers);
2800
2904
  let localVarUseFormData = false;
2801
2905
  if (aslvFile !== undefined) {
@@ -2844,9 +2948,10 @@ class AslvConversionApi {
2844
2948
  * @param destinationOenormType Defaults to Lv2015
2845
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
2846
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.
2847
2952
  * @param {*} [options] Override http request options.
2848
2953
  */
2849
- aslvConversionConvertToOenorm(aslvFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
2954
+ aslvConversionConvertToOenorm(aslvFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
2850
2955
  const localVarPath = this.basePath + '/conversion/aslv/oenorm';
2851
2956
  let localVarQueryParameters = {};
2852
2957
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -2860,6 +2965,9 @@ class AslvConversionApi {
2860
2965
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
2861
2966
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
2862
2967
  }
2968
+ if (removeUnprintableCharactersFromTexts !== undefined) {
2969
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
2970
+ }
2863
2971
  Object.assign(localVarHeaderParams, options.headers);
2864
2972
  let localVarUseFormData = false;
2865
2973
  if (aslvFile !== undefined) {
@@ -2948,11 +3056,12 @@ class AvaConversionApi {
2948
3056
  *
2949
3057
  * @summary Converts Dangl.AVA projects to Dangl.AVA. This is useful when you want to generate the calculated properties.
2950
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.
2951
3060
  * @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
2952
3061
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
2953
3062
  * @param {*} [options] Override http request options.
2954
3063
  */
2955
- avaConversionConvertToAva(avaProject, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
3064
+ avaConversionConvertToAva(avaProject, tryAutoGenerateItemNumbersAndSchema, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
2956
3065
  const localVarPath = this.basePath + '/conversion/ava/ava';
2957
3066
  let localVarQueryParameters = {};
2958
3067
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -2961,6 +3070,9 @@ class AvaConversionApi {
2961
3070
  if (avaProject === null || avaProject === undefined) {
2962
3071
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToAva.');
2963
3072
  }
3073
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3074
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3075
+ }
2964
3076
  if (removePlainTextLongTexts !== undefined) {
2965
3077
  localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
2966
3078
  }
@@ -3009,12 +3121,13 @@ class AvaConversionApi {
3009
3121
  *
3010
3122
  * @summary Converts Dangl.AVA projects to Excel
3011
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.
3012
3125
  * @param writePrices Defaults to true
3013
3126
  * @param writeLongTexts Defaults to true
3014
3127
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
3015
3128
  * @param {*} [options] Override http request options.
3016
3129
  */
3017
- avaConversionConvertToExcel(avaProject, writePrices, writeLongTexts, conversionCulture, options = {}) {
3130
+ avaConversionConvertToExcel(avaProject, tryAutoGenerateItemNumbersAndSchema, writePrices, writeLongTexts, conversionCulture, options = {}) {
3018
3131
  const localVarPath = this.basePath + '/conversion/ava/excel';
3019
3132
  let localVarQueryParameters = {};
3020
3133
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3023,6 +3136,9 @@ class AvaConversionApi {
3023
3136
  if (avaProject === null || avaProject === undefined) {
3024
3137
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToExcel.');
3025
3138
  }
3139
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3140
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3141
+ }
3026
3142
  if (writePrices !== undefined) {
3027
3143
  localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
3028
3144
  }
@@ -3075,13 +3191,15 @@ class AvaConversionApi {
3075
3191
  *
3076
3192
  * @summary Converts Dangl.AVA projects to GAEB
3077
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.
3078
3195
  * @param destinationGaebType Defaults to GAEB XML V3.2
3079
3196
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
3080
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.
3081
3198
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' 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.
3082
3200
  * @param {*} [options] Override http request options.
3083
3201
  */
3084
- avaConversionConvertToGaeb(avaProject, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
3202
+ avaConversionConvertToGaeb(avaProject, tryAutoGenerateItemNumbersAndSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
3085
3203
  const localVarPath = this.basePath + '/conversion/ava/gaeb';
3086
3204
  let localVarQueryParameters = {};
3087
3205
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3090,6 +3208,9 @@ class AvaConversionApi {
3090
3208
  if (avaProject === null || avaProject === undefined) {
3091
3209
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToGaeb.');
3092
3210
  }
3211
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3212
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3213
+ }
3093
3214
  if (destinationGaebType !== undefined) {
3094
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'");
3095
3216
  }
@@ -3102,6 +3223,9 @@ class AvaConversionApi {
3102
3223
  if (exportQuantityDetermination !== undefined) {
3103
3224
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
3104
3225
  }
3226
+ if (removeUnprintableCharactersFromTexts !== undefined) {
3227
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
3228
+ }
3105
3229
  Object.assign(localVarHeaderParams, options.headers);
3106
3230
  let localVarUseFormData = false;
3107
3231
  let localVarRequestOptions = {
@@ -3145,12 +3269,14 @@ class AvaConversionApi {
3145
3269
  *
3146
3270
  * @summary Converts Dangl.AVA projects to Oenorm
3147
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.
3148
3273
  * @param destinationOenormType Defaults to Lv2015
3149
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
3150
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.
3151
3277
  * @param {*} [options] Override http request options.
3152
3278
  */
3153
- avaConversionConvertToOenorm(avaProject, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
3279
+ avaConversionConvertToOenorm(avaProject, tryAutoGenerateItemNumbersAndSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
3154
3280
  const localVarPath = this.basePath + '/conversion/ava/oenorm';
3155
3281
  let localVarQueryParameters = {};
3156
3282
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3159,6 +3285,9 @@ class AvaConversionApi {
3159
3285
  if (avaProject === null || avaProject === undefined) {
3160
3286
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToOenorm.');
3161
3287
  }
3288
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3289
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3290
+ }
3162
3291
  if (destinationOenormType !== undefined) {
3163
3292
  localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
3164
3293
  }
@@ -3168,6 +3297,9 @@ class AvaConversionApi {
3168
3297
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
3169
3298
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
3170
3299
  }
3300
+ if (removeUnprintableCharactersFromTexts !== undefined) {
3301
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
3302
+ }
3171
3303
  Object.assign(localVarHeaderParams, options.headers);
3172
3304
  let localVarUseFormData = false;
3173
3305
  let localVarRequestOptions = {
@@ -3211,9 +3343,10 @@ class AvaConversionApi {
3211
3343
  *
3212
3344
  * @summary Converts Dangl.AVA projects to REB
3213
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.
3214
3347
  * @param {*} [options] Override http request options.
3215
3348
  */
3216
- avaConversionConvertToReb(avaProject, options = {}) {
3349
+ avaConversionConvertToReb(avaProject, tryAutoGenerateItemNumbersAndSchema, options = {}) {
3217
3350
  const localVarPath = this.basePath + '/conversion/ava/reb';
3218
3351
  let localVarQueryParameters = {};
3219
3352
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3222,6 +3355,9 @@ class AvaConversionApi {
3222
3355
  if (avaProject === null || avaProject === undefined) {
3223
3356
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToReb.');
3224
3357
  }
3358
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3359
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3360
+ }
3225
3361
  Object.assign(localVarHeaderParams, options.headers);
3226
3362
  let localVarUseFormData = false;
3227
3363
  let localVarRequestOptions = {
@@ -3265,9 +3401,10 @@ class AvaConversionApi {
3265
3401
  *
3266
3402
  * @summary Converts Dangl.AVA projects to SIA 451
3267
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.
3268
3405
  * @param {*} [options] Override http request options.
3269
3406
  */
3270
- avaConversionConvertToSia(avaProject, options = {}) {
3407
+ avaConversionConvertToSia(avaProject, tryAutoGenerateItemNumbersAndSchema, options = {}) {
3271
3408
  const localVarPath = this.basePath + '/conversion/ava/sia';
3272
3409
  let localVarQueryParameters = {};
3273
3410
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3276,6 +3413,9 @@ class AvaConversionApi {
3276
3413
  if (avaProject === null || avaProject === undefined) {
3277
3414
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToSia.');
3278
3415
  }
3416
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3417
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3418
+ }
3279
3419
  Object.assign(localVarHeaderParams, options.headers);
3280
3420
  let localVarUseFormData = false;
3281
3421
  let localVarRequestOptions = {
@@ -3857,9 +3997,10 @@ class ExcelConversionApi {
3857
3997
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
3858
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.
3859
3999
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' 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.
3860
4001
  * @param {*} [options] Override http request options.
3861
4002
  */
3862
- excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
4003
+ excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
3863
4004
  const localVarPath = this.basePath + '/conversion/excel/gaeb';
3864
4005
  let localVarQueryParameters = {};
3865
4006
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3882,6 +4023,9 @@ class ExcelConversionApi {
3882
4023
  if (exportQuantityDetermination !== undefined) {
3883
4024
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
3884
4025
  }
4026
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4027
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4028
+ }
3885
4029
  Object.assign(localVarHeaderParams, options.headers);
3886
4030
  let localVarUseFormData = false;
3887
4031
  if (excelFile !== undefined) {
@@ -3932,9 +4076,10 @@ class ExcelConversionApi {
3932
4076
  * @param destinationOenormType Defaults to Lv2015
3933
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
3934
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.
3935
4080
  * @param {*} [options] Override http request options.
3936
4081
  */
3937
- excelConversionConvertToOenorm(excelFile, readNewElements, rebuildItemNumberSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
4082
+ excelConversionConvertToOenorm(excelFile, readNewElements, rebuildItemNumberSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
3938
4083
  const localVarPath = this.basePath + '/conversion/excel/oenorm';
3939
4084
  let localVarQueryParameters = {};
3940
4085
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3954,6 +4099,9 @@ class ExcelConversionApi {
3954
4099
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
3955
4100
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
3956
4101
  }
4102
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4103
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4104
+ }
3957
4105
  Object.assign(localVarHeaderParams, options.headers);
3958
4106
  let localVarUseFormData = false;
3959
4107
  if (excelFile !== undefined) {
@@ -4042,15 +4190,19 @@ class GaebConversionApi {
4042
4190
  *
4043
4191
  * @summary Converts GAEB files to Dangl.AVA projects
4044
4192
  * @param gaebFile The input file
4193
+ * @param supportSkippedItemNumberLevelsInPositions Defaults to 'false'. 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 '01.02', then it will be displayed as '01.__.02' if this is set to true.
4045
4194
  * @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
4046
4195
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
4047
4196
  * @param {*} [options] Override http request options.
4048
4197
  */
4049
- gaebConversionConvertToAva(gaebFile, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
4198
+ gaebConversionConvertToAva(gaebFile, supportSkippedItemNumberLevelsInPositions, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
4050
4199
  const localVarPath = this.basePath + '/conversion/gaeb/ava';
4051
4200
  let localVarQueryParameters = {};
4052
4201
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
4053
4202
  let localVarFormParams = {};
4203
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
4204
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
4205
+ }
4054
4206
  if (removePlainTextLongTexts !== undefined) {
4055
4207
  localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
4056
4208
  }
@@ -4102,16 +4254,20 @@ class GaebConversionApi {
4102
4254
  *
4103
4255
  * @summary Converts GAEB files to Excel
4104
4256
  * @param gaebFile The input file
4257
+ * @param supportSkippedItemNumberLevelsInPositions Defaults to 'false'. 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 '01.02', then it will be displayed as '01.__.02' if this is set to true.
4105
4258
  * @param writePrices Defaults to true
4106
4259
  * @param writeLongTexts Defaults to true
4107
4260
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
4108
4261
  * @param {*} [options] Override http request options.
4109
4262
  */
4110
- gaebConversionConvertToExcel(gaebFile, writePrices, writeLongTexts, conversionCulture, options = {}) {
4263
+ gaebConversionConvertToExcel(gaebFile, supportSkippedItemNumberLevelsInPositions, writePrices, writeLongTexts, conversionCulture, options = {}) {
4111
4264
  const localVarPath = this.basePath + '/conversion/gaeb/excel';
4112
4265
  let localVarQueryParameters = {};
4113
4266
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
4114
4267
  let localVarFormParams = {};
4268
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
4269
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
4270
+ }
4115
4271
  if (writePrices !== undefined) {
4116
4272
  localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
4117
4273
  }
@@ -4166,17 +4322,22 @@ class GaebConversionApi {
4166
4322
  *
4167
4323
  * @summary Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files.
4168
4324
  * @param gaebFile The input file
4325
+ * @param supportSkippedItemNumberLevelsInPositions Defaults to 'false'. 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 '01.02', then it will be displayed as '01.__.02' if this is set to true.
4169
4326
  * @param destinationGaebType Defaults to GAEB XML V3.2
4170
4327
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4171
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.
4172
4329
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' 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.
4173
4331
  * @param {*} [options] Override http request options.
4174
4332
  */
4175
- gaebConversionConvertToGaeb(gaebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
4333
+ gaebConversionConvertToGaeb(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
4176
4334
  const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
4177
4335
  let localVarQueryParameters = {};
4178
4336
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
4179
4337
  let localVarFormParams = {};
4338
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
4339
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
4340
+ }
4180
4341
  if (destinationGaebType !== undefined) {
4181
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'");
4182
4343
  }
@@ -4189,6 +4350,9 @@ class GaebConversionApi {
4189
4350
  if (exportQuantityDetermination !== undefined) {
4190
4351
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4191
4352
  }
4353
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4354
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4355
+ }
4192
4356
  Object.assign(localVarHeaderParams, options.headers);
4193
4357
  let localVarUseFormData = false;
4194
4358
  if (gaebFile !== undefined) {
@@ -4234,16 +4398,21 @@ class GaebConversionApi {
4234
4398
  *
4235
4399
  * @summary Converts GAEB files to Oenorm files
4236
4400
  * @param gaebFile The input file
4401
+ * @param supportSkippedItemNumberLevelsInPositions Defaults to 'false'. 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 '01.02', then it will be displayed as '01.__.02' if this is set to true.
4237
4402
  * @param destinationOenormType Defaults to Lv2015
4238
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
4239
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.
4240
4406
  * @param {*} [options] Override http request options.
4241
4407
  */
4242
- gaebConversionConvertToOenorm(gaebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
4408
+ gaebConversionConvertToOenorm(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
4243
4409
  const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
4244
4410
  let localVarQueryParameters = {};
4245
4411
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
4246
4412
  let localVarFormParams = {};
4413
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
4414
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
4415
+ }
4247
4416
  if (destinationOenormType !== undefined) {
4248
4417
  localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
4249
4418
  }
@@ -4253,6 +4422,9 @@ class GaebConversionApi {
4253
4422
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
4254
4423
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
4255
4424
  }
4425
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4426
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4427
+ }
4256
4428
  Object.assign(localVarHeaderParams, options.headers);
4257
4429
  let localVarUseFormData = false;
4258
4430
  if (gaebFile !== undefined) {
@@ -4469,9 +4641,10 @@ class OenormConversionApi {
4469
4641
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4470
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.
4471
4643
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' 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.
4472
4645
  * @param {*} [options] Override http request options.
4473
4646
  */
4474
- oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
4647
+ oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
4475
4648
  const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
4476
4649
  let localVarQueryParameters = {};
4477
4650
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4488,6 +4661,9 @@ class OenormConversionApi {
4488
4661
  if (exportQuantityDetermination !== undefined) {
4489
4662
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4490
4663
  }
4664
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4665
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4666
+ }
4491
4667
  Object.assign(localVarHeaderParams, options.headers);
4492
4668
  let localVarUseFormData = false;
4493
4669
  if (oenormFile !== undefined) {
@@ -4536,9 +4712,10 @@ class OenormConversionApi {
4536
4712
  * @param destinationOenormType Defaults to Lv2015
4537
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
4538
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.
4539
4716
  * @param {*} [options] Override http request options.
4540
4717
  */
4541
- oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
4718
+ oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
4542
4719
  const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
4543
4720
  let localVarQueryParameters = {};
4544
4721
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4552,6 +4729,9 @@ class OenormConversionApi {
4552
4729
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
4553
4730
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
4554
4731
  }
4732
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4733
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4734
+ }
4555
4735
  Object.assign(localVarHeaderParams, options.headers);
4556
4736
  let localVarUseFormData = false;
4557
4737
  if (oenormFile !== undefined) {
@@ -4768,9 +4948,10 @@ class RebConversionApi {
4768
4948
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4769
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.
4770
4950
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' 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.
4771
4952
  * @param {*} [options] Override http request options.
4772
4953
  */
4773
- rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
4954
+ rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
4774
4955
  const localVarPath = this.basePath + '/conversion/reb/gaeb';
4775
4956
  let localVarQueryParameters = {};
4776
4957
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4787,6 +4968,9 @@ class RebConversionApi {
4787
4968
  if (exportQuantityDetermination !== undefined) {
4788
4969
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4789
4970
  }
4971
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4972
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4973
+ }
4790
4974
  Object.assign(localVarHeaderParams, options.headers);
4791
4975
  let localVarUseFormData = false;
4792
4976
  if (rebFile !== undefined) {
@@ -4835,9 +5019,10 @@ class RebConversionApi {
4835
5019
  * @param destinationOenormType Defaults to Lv2015
4836
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
4837
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.
4838
5023
  * @param {*} [options] Override http request options.
4839
5024
  */
4840
- rebConversionConvertToOenorm(rebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
5025
+ rebConversionConvertToOenorm(rebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
4841
5026
  const localVarPath = this.basePath + '/conversion/reb/oenorm';
4842
5027
  let localVarQueryParameters = {};
4843
5028
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4851,6 +5036,9 @@ class RebConversionApi {
4851
5036
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
4852
5037
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
4853
5038
  }
5039
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5040
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5041
+ }
4854
5042
  Object.assign(localVarHeaderParams, options.headers);
4855
5043
  let localVarUseFormData = false;
4856
5044
  if (rebFile !== undefined) {
@@ -5067,9 +5255,10 @@ class SiaConversionApi {
5067
5255
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
5068
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.
5069
5257
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' 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.
5070
5259
  * @param {*} [options] Override http request options.
5071
5260
  */
5072
- siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
5261
+ siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
5073
5262
  const localVarPath = this.basePath + '/conversion/sia/gaeb';
5074
5263
  let localVarQueryParameters = {};
5075
5264
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5086,6 +5275,9 @@ class SiaConversionApi {
5086
5275
  if (exportQuantityDetermination !== undefined) {
5087
5276
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
5088
5277
  }
5278
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5279
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5280
+ }
5089
5281
  Object.assign(localVarHeaderParams, options.headers);
5090
5282
  let localVarUseFormData = false;
5091
5283
  if (siaFile !== undefined) {
@@ -5134,9 +5326,10 @@ class SiaConversionApi {
5134
5326
  * @param destinationOenormType Defaults to Lv2015
5135
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
5136
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.
5137
5330
  * @param {*} [options] Override http request options.
5138
5331
  */
5139
- siaConversionConvertToOenorm(siaFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
5332
+ siaConversionConvertToOenorm(siaFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
5140
5333
  const localVarPath = this.basePath + '/conversion/sia/oenorm';
5141
5334
  let localVarQueryParameters = {};
5142
5335
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5150,6 +5343,9 @@ class SiaConversionApi {
5150
5343
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
5151
5344
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
5152
5345
  }
5346
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5347
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5348
+ }
5153
5349
  Object.assign(localVarHeaderParams, options.headers);
5154
5350
  let localVarUseFormData = false;
5155
5351
  if (siaFile !== undefined) {