@dangl/avacloud-client-node 1.14.0 → 1.17.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.
@@ -1 +1 @@
1
- 2.4.24
1
+ 2.4.27
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ### Licence
2
2
 
3
- #### Copyright (c) 2021 Dangl IT GmbH, [https://www.dangl-it.com](https://www.dangl-it.com)
3
+ #### Copyright (c) 2022 Dangl IT GmbH, [https://www.dangl-it.com](https://www.dangl-it.com)
4
4
 
5
5
  This software shall only be used for non-commercial evaluation purposes.
6
6
  Please contact Dangl**IT** for a commercial licence.
package/api.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * AVACloud API 1.22.0
2
+ * AVACloud API 1.29.0
3
3
  * AVACloud API specification
4
4
  *
5
- * OpenAPI spec version: 1.22.0
5
+ * OpenAPI spec version: 1.29.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -13,6 +13,22 @@
13
13
  import localVarRequest = require('request');
14
14
  import http = require('http');
15
15
  /**
16
+ * This enumeration represents the status of an addendum, 'Nachtrag' in German
17
+ */
18
+ export declare class AddendumStatusDto {
19
+ static discriminator: string | undefined;
20
+ static attributeTypeMap: Array<{
21
+ name: string;
22
+ baseName: string;
23
+ type: string;
24
+ }>;
25
+ static getAttributeTypeMap(): {
26
+ name: string;
27
+ baseName: string;
28
+ type: string;
29
+ }[];
30
+ }
31
+ /**
16
32
  * Indicates the origin of an element.
17
33
  */
18
34
  export declare class AdditionTypeDto {
@@ -223,7 +239,7 @@ export declare class CatalogueDto {
223
239
  */
224
240
  'description'?: string;
225
241
  /**
226
- * If given,
242
+ * If given, this gives a classification for the contents of the catalogue
227
243
  */
228
244
  'catalogueType': CatalogueTypeDto;
229
245
  static discriminator: string | undefined;
@@ -415,6 +431,22 @@ export declare class DestinationOenormType {
415
431
  }[];
416
432
  }
417
433
  /**
434
+ * Represents valid REB target types
435
+ */
436
+ export declare class DestinationRebType {
437
+ static discriminator: string | undefined;
438
+ static attributeTypeMap: Array<{
439
+ name: string;
440
+ baseName: string;
441
+ type: string;
442
+ }>;
443
+ static getAttributeTypeMap(): {
444
+ name: string;
445
+ baseName: string;
446
+ type: string;
447
+ }[];
448
+ }
449
+ /**
418
450
  * This enumeration represents the unit of a duration
419
451
  */
420
452
  export declare class DurationUnitDto {
@@ -458,6 +490,10 @@ export declare class IElementDto {
458
490
  * This is used to store the GAEB XML Id within this IElement. This data is not used for any calculations or evaluations but only for GAEB serialization and deserialization.
459
491
  */
460
492
  'gaebXmlId'?: string;
493
+ /**
494
+ * This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German.
495
+ */
496
+ 'addendumNumber'?: string;
461
497
  'elementTypeDiscriminator': string;
462
498
  static discriminator: string | undefined;
463
499
  static attributeTypeMap: Array<{
@@ -632,6 +668,14 @@ export declare class ItemNumberDto {
632
668
  * This indicates if this item number is at the lot level. Find out more about lots in the documentation.
633
669
  */
634
670
  'isLot': boolean;
671
+ /**
672
+ * This is a zero based hierarchy level. It's set automatically when used in the context of a Project, and can be used to identify the hierarchy level of the current element.
673
+ */
674
+ 'hierarchyLevel': number;
675
+ /**
676
+ * This property indicates if this ItemNumber is attached to an object of the Position type.
677
+ */
678
+ 'isAttachedToPosition': boolean;
635
679
  static discriminator: string | undefined;
636
680
  static attributeTypeMap: Array<{
637
681
  name: string;
@@ -661,9 +705,25 @@ export declare class ItemNumberSchemaDto {
661
705
  */
662
706
  'separator'?: string;
663
707
  /**
664
- * This string is used to fill (left-pad) item numbers. For example, if a tier has a length of '4' but the given item number is '12', with a Filler of '0', then the final item number will be represented as '0'. This must be a single character string, if a value is given where the Length property does not evaluate to '1', the DEFAULT_FILLER '0' is used. A space is fine to use. You should ensure that you use a value different than Separator, as that might produce unexpected results. No attempt is done by the code to recover from such ambiguous configurations
708
+ * This string is used to fill (left-pad) item numbers. For example, if a tier has a length of '4' but the given item number is '12', with a Filler of '0', then the final item number will be represented as '0'. This must be a single character string, if a value is given where the Length property does not evaluate to '1', the DEFAULT_FILLER '0' is used. A space is fine to use. You should ensure that you use a value different than Separator, as that might produce unexpected results. No attempt is done by the code to recover from such ambiguous configurations.
665
709
  */
666
710
  'filler'?: string;
711
+ /**
712
+ * This is just a string property that can optionally be used to store additional data for this ItemNumberSchema, e.g. an identification or a type. It does not have any influence over how item numbers are generated, and is not supported in most exchange formats. However, it is used to store ÖNorm service specification structure types.
713
+ */
714
+ 'identifier'?: string;
715
+ /**
716
+ * This property indicates if ItemNumbers using this ItemNumberSchema should skip empty group levels. This is commonly only used in GAEB files, where there might be gaps in the hierarchy of elements and position identifiers should be placed at the end of the string representation.
717
+ */
718
+ 'skipNonExistingLevelsInPositionItemNumbers': boolean;
719
+ /**
720
+ * This string is used only when the property SkipNonExistingLevelsInPositionItemNumbers in this ItemNumberSchema is also set to true. It defaults to DEFAULT_SKIPPED_TIERS_FILLER, but can be set to any string with a lenght of one. Null values or values with a longer length will lead to this property reverting back to the default value. This is used to fill skipped tiers in item numbers where a position is placed in a higher hierarchy level than what would be defined in the Tiers. For example, it could produce an item number like '01.__.02', which would indicate a skipped second level. This should be using different values than Filler and Separator, since that could cause ambiguities in the code that generates the actual item numbers. No attempt is done by the code to recover from such ambiguous configurations.
721
+ */
722
+ 'skippedTiersFiller'?: string;
723
+ /**
724
+ * This is a read-only property that indicates if this schema has a valid structure. It internally just returns the result from IsCorrectlyDefined. This will return if the ItemNumberSchema is correctly defined. For it to be correctly defined, the following conditions must be true: There may only be one lot group, if there is one, it must be at the top. Following lot levels, there may be at least one group level. After the group levels, there must be one position level. After the position level, there may be one index level. If no tiers are defined at all, this will also return false.
725
+ */
726
+ 'schemaIsCorrectlyDefined': boolean;
667
727
  static discriminator: string | undefined;
668
728
  static attributeTypeMap: Array<{
669
729
  name: string;
@@ -846,6 +906,31 @@ export declare class NoteTextDto extends IElementDto {
846
906
  * This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself.
847
907
  */
848
908
  'descriptionId'?: string;
909
+ /**
910
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
911
+ */
912
+ 'oenormNoteTextProperties'?: OenormNoteTextPropertiesDto;
913
+ 'hasBidderCommentInHtmlLongText': boolean;
914
+ static discriminator: string | undefined;
915
+ static attributeTypeMap: Array<{
916
+ name: string;
917
+ baseName: string;
918
+ type: string;
919
+ }>;
920
+ static getAttributeTypeMap(): {
921
+ name: string;
922
+ baseName: string;
923
+ type: string;
924
+ }[];
925
+ }
926
+ /**
927
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
928
+ */
929
+ export declare class OenormNoteTextPropertiesDto {
930
+ /**
931
+ * This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
932
+ */
933
+ 'originCode': OenormOriginCodeDto;
849
934
  static discriminator: string | undefined;
850
935
  static attributeTypeMap: Array<{
851
936
  name: string;
@@ -890,6 +975,10 @@ export declare class OenormPositionPropertiesDto {
890
975
  * This indicates if the ÖNorm 'wesentliche position' mark is set
891
976
  */
892
977
  'isMainPosition': boolean;
978
+ /**
979
+ * This indicates if the ÖNorm position was a 'ungeteilteposition' (undivided position). This will only be taken into account when the position is also the sole element inside it's parent group
980
+ */
981
+ 'isUndividedPosition': boolean;
893
982
  static discriminator: string | undefined;
894
983
  static attributeTypeMap: Array<{
895
984
  name: string;
@@ -1217,6 +1306,15 @@ export declare class PositionDto extends IElementDto {
1217
1306
  * This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself.
1218
1307
  */
1219
1308
  'descriptionId'?: string;
1309
+ /**
1310
+ * This is a zero based hierarchy level. It's set automatically when used in the context of a Project, and can be used to identify the hierarchy level of the current element.
1311
+ */
1312
+ 'hierarchyLevel': number;
1313
+ /**
1314
+ * This indicates, if this element is part of an addendum an, if yes, with what status.
1315
+ */
1316
+ 'addendumStatus'?: AddendumStatusDto;
1317
+ 'hasBidderCommentInHtmlLongText': boolean;
1220
1318
  static discriminator: string | undefined;
1221
1319
  static attributeTypeMap: Array<{
1222
1320
  name: string;
@@ -1490,7 +1588,7 @@ export declare class ProjectInformationDto {
1490
1588
  */
1491
1589
  'labourTimeLabel'?: string;
1492
1590
  /**
1493
- * Labels for the price components used in the project. Caution: Removal of a price component will trigger to have dependent price informations be deleted in IElements that use this property.
1591
+ * Labels for the price components used in the project. Caution: Removal of a price component will trigger to have dependent price informations be deleted in IElements that use this property. If this property is changed or altered after the project has already been used, it is strongly advised to do operations step by step, e.g. if renaming and reordering multiple price components, this should be done one by one. Otherwise, a combination of rename and reordering will not be correctly propagated downwards to child objects in this Project.
1494
1592
  */
1495
1593
  'priceComponents'?: Array<string>;
1496
1594
  /**
@@ -1725,6 +1823,10 @@ export declare class ServiceSpecificationDto {
1725
1823
  */
1726
1824
  'deductionFactor': number;
1727
1825
  /**
1826
+ * The exact amount of the discount as an absolute value. For backwards compatibility reasons, setting this value will also set a calculated value to DeductionFactor, which will also be updated in case the total price is changed to reflect a relative value of the absolute discount sum.
1827
+ */
1828
+ 'absoluteDeduction'?: number;
1829
+ /**
1728
1830
  * Will return this ElementContainerBase's total price.
1729
1831
  */
1730
1832
  'totalPrice': number;
@@ -1801,7 +1903,7 @@ export declare class ServiceSpecificationDto {
1801
1903
  */
1802
1904
  'projectCatalogues'?: Array<CatalogueDto>;
1803
1905
  /**
1804
- * Referenced catalogues for this QuantityAssignment.
1906
+ * Referenced catalogues for this ElementContainerBase.
1805
1907
  */
1806
1908
  'catalogueReferences'?: Array<CatalogueReferenceDto>;
1807
1909
  /**
@@ -1836,6 +1938,14 @@ export declare class ServiceSpecificationDto {
1836
1938
  * This should specify how the approval is performed by the buyer. This matches \"AcceptType\" in GAEB
1837
1939
  */
1838
1940
  'typeOfApproval'?: string;
1941
+ /**
1942
+ * This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German.
1943
+ */
1944
+ 'addendumNumber'?: string;
1945
+ /**
1946
+ * This indicates, if this element is part of an addendum an, if yes, with what status.
1947
+ */
1948
+ 'addendumStatus'?: AddendumStatusDto;
1839
1949
  static discriminator: string | undefined;
1840
1950
  static attributeTypeMap: Array<{
1841
1951
  name: string;
@@ -1906,6 +2016,10 @@ export declare class ServiceSpecificationGroupDto extends IElementDto {
1906
2016
  */
1907
2017
  'deductionFactor': number;
1908
2018
  /**
2019
+ * The exact amount of the discount as an absolute value. For backwards compatibility reasons, setting this value will also set a calculated value to DeductionFactor, which will also be updated in case the total price is changed to reflect a relative value of the absolute discount sum.
2020
+ */
2021
+ 'absoluteDeduction'?: number;
2022
+ /**
1909
2023
  * Will return this ElementContainerBase's total price.
1910
2024
  */
1911
2025
  'totalPrice': number;
@@ -1948,13 +2062,21 @@ export declare class ServiceSpecificationGroupDto extends IElementDto {
1948
2062
  */
1949
2063
  'projectCatalogues'?: Array<CatalogueDto>;
1950
2064
  /**
1951
- * Referenced catalogues for this QuantityAssignment.
2065
+ * Referenced catalogues for this ElementContainerBase.
1952
2066
  */
1953
2067
  'catalogueReferences'?: Array<CatalogueReferenceDto>;
1954
2068
  /**
1955
2069
  * This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
1956
2070
  */
1957
2071
  'oenormProperties'?: OenormPropertiesDto;
2072
+ /**
2073
+ * This is a zero based hierarchy level. It's set automatically when used in the context of a Project, and can be used to identify the hierarchy level of the current element.
2074
+ */
2075
+ 'hierarchyLevel': number;
2076
+ /**
2077
+ * This indicates, if this element is part of an addendum an, if yes, with what status.
2078
+ */
2079
+ 'addendumStatus'?: AddendumStatusDto;
1958
2080
  static discriminator: string | undefined;
1959
2081
  static attributeTypeMap: Array<{
1960
2082
  name: string;
@@ -2099,6 +2221,7 @@ export declare class SubDescriptionDto {
2099
2221
  * This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself.
2100
2222
  */
2101
2223
  'descriptionId'?: string;
2224
+ 'hasBidderCommentInHtmlLongText': boolean;
2102
2225
  static discriminator: string | undefined;
2103
2226
  static attributeTypeMap: Array<{
2104
2227
  name: string;
@@ -2197,7 +2320,7 @@ export declare class TradeDiscountDto {
2197
2320
  */
2198
2321
  export declare class WarrantyDurationDto {
2199
2322
  /**
2200
- * The scalar value of the duration. This value must be equal to or bigger than zero (&gt;= 0). Negative values can not be set and will be ignored.
2323
+ * The scalar value of the duration. This value must be equal to or bigger than zero (>= 0). Negative values can not be set and will be ignored.
2201
2324
  */
2202
2325
  'duration': number;
2203
2326
  /**
@@ -2293,9 +2416,10 @@ export declare class AslvConversionApi {
2293
2416
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
2294
2417
  * @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.
2295
2418
  * @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.
2419
+ * @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.
2296
2420
  * @param {*} [options] Override http request options.
2297
2421
  */
2298
- aslvConversionConvertToGaeb(aslvFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options?: any): Promise<{
2422
+ aslvConversionConvertToGaeb(aslvFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2299
2423
  response: http.IncomingMessage;
2300
2424
  body: Buffer;
2301
2425
  }>;
@@ -2306,9 +2430,10 @@ export declare class AslvConversionApi {
2306
2430
  * @param destinationOenormType Defaults to Lv2015
2307
2431
  * @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
2308
2432
  * @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.
2433
+ * @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.
2309
2434
  * @param {*} [options] Override http request options.
2310
2435
  */
2311
- aslvConversionConvertToOenorm(aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options?: any): Promise<{
2436
+ aslvConversionConvertToOenorm(aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2312
2437
  response: http.IncomingMessage;
2313
2438
  body: Buffer;
2314
2439
  }>;
@@ -2334,11 +2459,12 @@ export declare class AvaConversionApi {
2334
2459
  *
2335
2460
  * @summary Converts Dangl.AVA projects to Dangl.AVA. This is useful when you want to generate the calculated properties.
2336
2461
  * @param avaProject The Dangl.AVA project
2462
+ * @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.
2337
2463
  * @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
2338
2464
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
2339
2465
  * @param {*} [options] Override http request options.
2340
2466
  */
2341
- avaConversionConvertToAva(avaProject: ProjectDto, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any): Promise<{
2467
+ avaConversionConvertToAva(avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any): Promise<{
2342
2468
  response: http.IncomingMessage;
2343
2469
  body: ProjectDto;
2344
2470
  }>;
@@ -2346,12 +2472,13 @@ export declare class AvaConversionApi {
2346
2472
  *
2347
2473
  * @summary Converts Dangl.AVA projects to Excel
2348
2474
  * @param avaProject The Dangl.AVA project
2475
+ * @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.
2349
2476
  * @param writePrices Defaults to true
2350
2477
  * @param writeLongTexts Defaults to true
2351
2478
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
2352
2479
  * @param {*} [options] Override http request options.
2353
2480
  */
2354
- avaConversionConvertToExcel(avaProject: ProjectDto, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options?: any): Promise<{
2481
+ avaConversionConvertToExcel(avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options?: any): Promise<{
2355
2482
  response: http.IncomingMessage;
2356
2483
  body: Buffer;
2357
2484
  }>;
@@ -2359,13 +2486,15 @@ export declare class AvaConversionApi {
2359
2486
  *
2360
2487
  * @summary Converts Dangl.AVA projects to GAEB
2361
2488
  * @param avaProject The Dangl.AVA project
2489
+ * @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.
2362
2490
  * @param destinationGaebType Defaults to GAEB XML V3.2
2363
2491
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
2364
2492
  * @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.
2365
2493
  * @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.
2494
+ * @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.
2366
2495
  * @param {*} [options] Override http request options.
2367
2496
  */
2368
- avaConversionConvertToGaeb(avaProject: ProjectDto, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options?: any): Promise<{
2497
+ avaConversionConvertToGaeb(avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2369
2498
  response: http.IncomingMessage;
2370
2499
  body: Buffer;
2371
2500
  }>;
@@ -2373,12 +2502,14 @@ export declare class AvaConversionApi {
2373
2502
  *
2374
2503
  * @summary Converts Dangl.AVA projects to Oenorm
2375
2504
  * @param avaProject The Dangl.AVA project
2505
+ * @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.
2376
2506
  * @param destinationOenormType Defaults to Lv2015
2377
2507
  * @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
2378
2508
  * @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.
2509
+ * @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.
2379
2510
  * @param {*} [options] Override http request options.
2380
2511
  */
2381
- avaConversionConvertToOenorm(avaProject: ProjectDto, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options?: any): Promise<{
2512
+ avaConversionConvertToOenorm(avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2382
2513
  response: http.IncomingMessage;
2383
2514
  body: Buffer;
2384
2515
  }>;
@@ -2386,9 +2517,11 @@ export declare class AvaConversionApi {
2386
2517
  *
2387
2518
  * @summary Converts Dangl.AVA projects to REB
2388
2519
  * @param avaProject The Dangl.AVA project
2520
+ * @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.
2521
+ * @param destinationRebType Defaults to D11
2389
2522
  * @param {*} [options] Override http request options.
2390
2523
  */
2391
- avaConversionConvertToReb(avaProject: ProjectDto, options?: any): Promise<{
2524
+ avaConversionConvertToReb(avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationRebType?: 'D11' | 'X31GaebXmlV32', options?: any): Promise<{
2392
2525
  response: http.IncomingMessage;
2393
2526
  body: Buffer;
2394
2527
  }>;
@@ -2396,9 +2529,10 @@ export declare class AvaConversionApi {
2396
2529
  *
2397
2530
  * @summary Converts Dangl.AVA projects to SIA 451
2398
2531
  * @param avaProject The Dangl.AVA project
2532
+ * @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.
2399
2533
  * @param {*} [options] Override http request options.
2400
2534
  */
2401
- avaConversionConvertToSia(avaProject: ProjectDto, options?: any): Promise<{
2535
+ avaConversionConvertToSia(avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, options?: any): Promise<{
2402
2536
  response: http.IncomingMessage;
2403
2537
  body: Buffer;
2404
2538
  }>;
@@ -2531,9 +2665,10 @@ export declare class ExcelConversionApi {
2531
2665
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
2532
2666
  * @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.
2533
2667
  * @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.
2668
+ * @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.
2534
2669
  * @param {*} [options] Override http request options.
2535
2670
  */
2536
- excelConversionConvertToGaeb(excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options?: any): Promise<{
2671
+ excelConversionConvertToGaeb(excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2537
2672
  response: http.IncomingMessage;
2538
2673
  body: Buffer;
2539
2674
  }>;
@@ -2546,9 +2681,10 @@ export declare class ExcelConversionApi {
2546
2681
  * @param destinationOenormType Defaults to Lv2015
2547
2682
  * @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
2548
2683
  * @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.
2684
+ * @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.
2549
2685
  * @param {*} [options] Override http request options.
2550
2686
  */
2551
- excelConversionConvertToOenorm(excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options?: any): Promise<{
2687
+ excelConversionConvertToOenorm(excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2552
2688
  response: http.IncomingMessage;
2553
2689
  body: Buffer;
2554
2690
  }>;
@@ -2574,11 +2710,12 @@ export declare class GaebConversionApi {
2574
2710
  *
2575
2711
  * @summary Converts GAEB files to Dangl.AVA projects
2576
2712
  * @param gaebFile The input file
2713
+ * @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.
2577
2714
  * @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
2578
2715
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
2579
2716
  * @param {*} [options] Override http request options.
2580
2717
  */
2581
- gaebConversionConvertToAva(gaebFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any): Promise<{
2718
+ gaebConversionConvertToAva(gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any): Promise<{
2582
2719
  response: http.IncomingMessage;
2583
2720
  body: ProjectDto;
2584
2721
  }>;
@@ -2586,12 +2723,13 @@ export declare class GaebConversionApi {
2586
2723
  *
2587
2724
  * @summary Converts GAEB files to Excel
2588
2725
  * @param gaebFile The input file
2726
+ * @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.
2589
2727
  * @param writePrices Defaults to true
2590
2728
  * @param writeLongTexts Defaults to true
2591
2729
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
2592
2730
  * @param {*} [options] Override http request options.
2593
2731
  */
2594
- gaebConversionConvertToExcel(gaebFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options?: any): Promise<{
2732
+ gaebConversionConvertToExcel(gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options?: any): Promise<{
2595
2733
  response: http.IncomingMessage;
2596
2734
  body: Buffer;
2597
2735
  }>;
@@ -2599,13 +2737,15 @@ export declare class GaebConversionApi {
2599
2737
  *
2600
2738
  * @summary Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files.
2601
2739
  * @param gaebFile The input file
2740
+ * @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.
2602
2741
  * @param destinationGaebType Defaults to GAEB XML V3.2
2603
2742
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
2604
2743
  * @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.
2605
2744
  * @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.
2745
+ * @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.
2606
2746
  * @param {*} [options] Override http request options.
2607
2747
  */
2608
- gaebConversionConvertToGaeb(gaebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options?: any): Promise<{
2748
+ gaebConversionConvertToGaeb(gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2609
2749
  response: http.IncomingMessage;
2610
2750
  body: Buffer;
2611
2751
  }>;
@@ -2613,12 +2753,14 @@ export declare class GaebConversionApi {
2613
2753
  *
2614
2754
  * @summary Converts GAEB files to Oenorm files
2615
2755
  * @param gaebFile The input file
2756
+ * @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.
2616
2757
  * @param destinationOenormType Defaults to Lv2015
2617
2758
  * @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
2618
2759
  * @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.
2760
+ * @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.
2619
2761
  * @param {*} [options] Override http request options.
2620
2762
  */
2621
- gaebConversionConvertToOenorm(gaebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options?: any): Promise<{
2763
+ gaebConversionConvertToOenorm(gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2622
2764
  response: http.IncomingMessage;
2623
2765
  body: Buffer;
2624
2766
  }>;
@@ -2673,9 +2815,10 @@ export declare class OenormConversionApi {
2673
2815
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
2674
2816
  * @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.
2675
2817
  * @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.
2818
+ * @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.
2676
2819
  * @param {*} [options] Override http request options.
2677
2820
  */
2678
- oenormConversionConvertToGaeb(oenormFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options?: any): Promise<{
2821
+ oenormConversionConvertToGaeb(oenormFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2679
2822
  response: http.IncomingMessage;
2680
2823
  body: Buffer;
2681
2824
  }>;
@@ -2686,9 +2829,10 @@ export declare class OenormConversionApi {
2686
2829
  * @param destinationOenormType Defaults to Lv2015
2687
2830
  * @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
2688
2831
  * @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.
2832
+ * @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
2833
  * @param {*} [options] Override http request options.
2690
2834
  */
2691
- oenormConversionConvertToOenorm(oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options?: any): Promise<{
2835
+ oenormConversionConvertToOenorm(oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2692
2836
  response: http.IncomingMessage;
2693
2837
  body: Buffer;
2694
2838
  }>;
@@ -2743,9 +2887,10 @@ export declare class RebConversionApi {
2743
2887
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
2744
2888
  * @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.
2745
2889
  * @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.
2890
+ * @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.
2746
2891
  * @param {*} [options] Override http request options.
2747
2892
  */
2748
- rebConversionConvertToGaeb(rebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options?: any): Promise<{
2893
+ rebConversionConvertToGaeb(rebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2749
2894
  response: http.IncomingMessage;
2750
2895
  body: Buffer;
2751
2896
  }>;
@@ -2756,9 +2901,10 @@ export declare class RebConversionApi {
2756
2901
  * @param destinationOenormType Defaults to Lv2015
2757
2902
  * @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
2758
2903
  * @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.
2904
+ * @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.
2759
2905
  * @param {*} [options] Override http request options.
2760
2906
  */
2761
- rebConversionConvertToOenorm(rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options?: any): Promise<{
2907
+ rebConversionConvertToOenorm(rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2762
2908
  response: http.IncomingMessage;
2763
2909
  body: Buffer;
2764
2910
  }>;
@@ -2813,9 +2959,10 @@ export declare class SiaConversionApi {
2813
2959
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
2814
2960
  * @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.
2815
2961
  * @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.
2962
+ * @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.
2816
2963
  * @param {*} [options] Override http request options.
2817
2964
  */
2818
- siaConversionConvertToGaeb(siaFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options?: any): Promise<{
2965
+ siaConversionConvertToGaeb(siaFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2819
2966
  response: http.IncomingMessage;
2820
2967
  body: Buffer;
2821
2968
  }>;
@@ -2826,9 +2973,10 @@ export declare class SiaConversionApi {
2826
2973
  * @param destinationOenormType Defaults to Lv2015
2827
2974
  * @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
2828
2975
  * @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.
2976
+ * @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.
2829
2977
  * @param {*} [options] Override http request options.
2830
2978
  */
2831
- siaConversionConvertToOenorm(siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options?: any): Promise<{
2979
+ siaConversionConvertToOenorm(siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
2832
2980
  response: http.IncomingMessage;
2833
2981
  body: Buffer;
2834
2982
  }>;