@dangl/avacloud-client-node 1.26.0 → 1.27.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.32
1
+ 2.4.33
package/api.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * AVACloud API 1.44.0
2
+ * AVACloud API 1.45.0
3
3
  * AVACloud API specification
4
4
  *
5
- * OpenAPI spec version: 1.44.0
5
+ * OpenAPI spec version: 1.45.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -432,7 +432,7 @@ export declare class DatanormDestinationVersion {
432
432
  }[];
433
433
  }
434
434
  /**
435
- * The GAEB exchange phase to transform to
435
+ * The GAEB exchange phase to transform to. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
436
436
  */
437
437
  export declare class DestinationGaebExchangePhase {
438
438
  static discriminator: string | undefined;
@@ -1502,6 +1502,10 @@ export declare class PositionDto extends IElementDto {
1502
1502
  * This is an optional property that holds price catalogue data. These are prices that may represent an estimate, and they typically come from a price catalogue.
1503
1503
  */
1504
1504
  'priceCatalogueData'?: PriceCatalogueDataDto;
1505
+ /**
1506
+ * If this is set to true, the ProjectCatalogues property will not be propagated to child elements. This is useful in mapping scenarios, where you want to disable propagation for multiple changes, and only enable it once you have mapped all properties.
1507
+ */
1508
+ 'ignoreProjectCataloguePropagation': boolean;
1505
1509
  static discriminator: string | undefined;
1506
1510
  static attributeTypeMap: Array<{
1507
1511
  name: string;
@@ -1639,7 +1643,7 @@ export declare class PostGaebDestinationOptions {
1639
1643
  */
1640
1644
  'destinationGaebType': DestinationGaebType;
1641
1645
  /**
1642
- * Defaults to none, meaning no transformation will be done
1646
+ * Defaults to none, meaning no transformation will be done. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
1643
1647
  */
1644
1648
  'targetExchangePhaseTransform': DestinationGaebExchangePhase;
1645
1649
  /**
@@ -2307,6 +2311,10 @@ export declare class ServiceSpecificationDto {
2307
2311
  */
2308
2312
  'ignoreDuplicateItemNumbers': boolean;
2309
2313
  /**
2314
+ * If this is set to true, the ProjectCatalogues property will not be propagated to child elements. This is useful in mapping scenarios, where you want to disable propagation for multiple changes, and only enable it once you have mapped all properties
2315
+ */
2316
+ 'ignoreProjectCataloguePropagation': boolean;
2317
+ /**
2310
2318
  * Indicate if duplicated Ids within child elements are to be ignored. Will not perform checks for duplicates if yes.
2311
2319
  */
2312
2320
  'ignoreDuplicateElementIds': boolean;
@@ -2516,6 +2524,10 @@ export declare class ServiceSpecificationGroupDto extends IElementDto {
2516
2524
  */
2517
2525
  'ignoreDuplicateItemNumbers': boolean;
2518
2526
  /**
2527
+ * If this is set to true, the ProjectCatalogues property will not be propagated to child elements. This is useful in mapping scenarios, where you want to disable propagation for multiple changes, and only enable it once you have mapped all properties
2528
+ */
2529
+ 'ignoreProjectCataloguePropagation': boolean;
2530
+ /**
2519
2531
  * Indicate if duplicated Ids within child elements are to be ignored. Will not perform checks for duplicates if yes.
2520
2532
  */
2521
2533
  'ignoreDuplicateElementIds': boolean;
@@ -3159,7 +3171,7 @@ export declare class AslvConversionApi {
3159
3171
  * @summary Converts Aslv files to GAEB files
3160
3172
  * @param aslvFile The input file
3161
3173
  * @param destinationGaebType Defaults to GAEB XML V3.2
3162
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
3174
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
3163
3175
  * @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.
3164
3176
  * @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.
3165
3177
  * @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. Defaults to true.
@@ -3316,7 +3328,7 @@ export declare class AvaConversionApi {
3316
3328
  * @param avaProject The Dangl.AVA project
3317
3329
  * @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.
3318
3330
  * @param destinationGaebType Defaults to GAEB XML V3.2
3319
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
3331
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
3320
3332
  * @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.
3321
3333
  * @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.
3322
3334
  * @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. Defaults to true.
@@ -3673,7 +3685,7 @@ export declare class ExcelConversionApi {
3673
3685
  * @param readNewElements Defaults to false
3674
3686
  * @param rebuildItemNumberSchema When importing new elements from Excel, sometimes the ItemNumberSchema in the file is not in compliance with the GAEB requirements. Enabling this option tries to repair the ItemNumberSchema. Defaults to false.
3675
3687
  * @param destinationGaebType Defaults to GAEB XML V3.2
3676
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
3688
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
3677
3689
  * @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.
3678
3690
  * @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.
3679
3691
  * @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. Defaults to true.
@@ -3744,6 +3756,7 @@ export declare class GaebConversionApi {
3744
3756
  outputHtmlAsXml?: boolean;
3745
3757
  keepEmptyHtmlText?: boolean;
3746
3758
  allowUpperCaseItemNumbers?: boolean;
3759
+ allowLumpSumItemsWithDifferingQuantities?: boolean;
3747
3760
  options?: any;
3748
3761
  }): Promise<{
3749
3762
  response: http.IncomingMessage;
@@ -3759,9 +3772,10 @@ export declare class GaebConversionApi {
3759
3772
  * @param outputHtmlAsXml Defaults to &#39;false&#39;. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce &#39;&lt;br /&gt;&#39; instead of &#39;&lt;br&gt;&#39;.
3760
3773
  * @param keepEmptyHtmlText Defaults to &#39;false&#39;. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
3761
3774
  * @param allowUpperCaseItemNumbers Defaults to &#39;false&#39;. If this is enabled, then the ItemNumber of positions will be in uppercase format if the source file has them. By default, all item numbers will be converted to lowercase, but this option will enable the option to support uppercase item numbers as well.
3775
+ * @param allowLumpSumItemsWithDifferingQuantities Defaults to &#39;false&#39;. By default, the GAEB standard requires lump sum items (&#39;Pauschalpositionen&#39; in German) to have a quantity of exactly 1. AVACloud does enforce this convention, but if you set this property to &#39;true&#39;, then differing quantities will be kept during the import.
3762
3776
  * @param {*} [options] Override http request options.
3763
3777
  */
3764
- gaebConversionConvertToAva(gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options?: any): Promise<{
3778
+ gaebConversionConvertToAva(gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options?: any): Promise<{
3765
3779
  response: http.IncomingMessage;
3766
3780
  body: ProjectDto;
3767
3781
  }>;
@@ -3777,6 +3791,7 @@ export declare class GaebConversionApi {
3777
3791
  outputHtmlAsXml?: boolean;
3778
3792
  keepEmptyHtmlText?: boolean;
3779
3793
  allowUpperCaseItemNumbers?: boolean;
3794
+ allowLumpSumItemsWithDifferingQuantities?: boolean;
3780
3795
  options?: any;
3781
3796
  }): Promise<{
3782
3797
  response: http.IncomingMessage;
@@ -3794,9 +3809,10 @@ export declare class GaebConversionApi {
3794
3809
  * @param outputHtmlAsXml Defaults to &#39;false&#39;. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce &#39;&lt;br /&gt;&#39; instead of &#39;&lt;br&gt;&#39;.
3795
3810
  * @param keepEmptyHtmlText Defaults to &#39;false&#39;. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
3796
3811
  * @param allowUpperCaseItemNumbers Defaults to &#39;false&#39;. If this is enabled, then the ItemNumber of positions will be in uppercase format if the source file has them. By default, all item numbers will be converted to lowercase, but this option will enable the option to support uppercase item numbers as well.
3812
+ * @param allowLumpSumItemsWithDifferingQuantities Defaults to &#39;false&#39;. By default, the GAEB standard requires lump sum items (&#39;Pauschalpositionen&#39; in German) to have a quantity of exactly 1. AVACloud does enforce this convention, but if you set this property to &#39;true&#39;, then differing quantities will be kept during the import.
3797
3813
  * @param {*} [options] Override http request options.
3798
3814
  */
3799
- gaebConversionConvertToExcel(gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options?: any): Promise<{
3815
+ gaebConversionConvertToExcel(gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options?: any): Promise<{
3800
3816
  response: http.IncomingMessage;
3801
3817
  body: Buffer;
3802
3818
  }>;
@@ -3815,6 +3831,7 @@ export declare class GaebConversionApi {
3815
3831
  outputHtmlAsXml?: boolean;
3816
3832
  keepEmptyHtmlText?: boolean;
3817
3833
  allowUpperCaseItemNumbers?: boolean;
3834
+ allowLumpSumItemsWithDifferingQuantities?: boolean;
3818
3835
  options?: any;
3819
3836
  }): Promise<{
3820
3837
  response: http.IncomingMessage;
@@ -3826,7 +3843,7 @@ export declare class GaebConversionApi {
3826
3843
  * @param gaebFile The input file
3827
3844
  * @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 level - 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.
3828
3845
  * @param destinationGaebType Defaults to GAEB XML V3.2
3829
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
3846
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
3830
3847
  * @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.
3831
3848
  * @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.
3832
3849
  * @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. Defaults to true.
@@ -3835,9 +3852,10 @@ export declare class GaebConversionApi {
3835
3852
  * @param outputHtmlAsXml Defaults to &#39;false&#39;. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce &#39;&lt;br /&gt;&#39; instead of &#39;&lt;br&gt;&#39;.
3836
3853
  * @param keepEmptyHtmlText Defaults to &#39;false&#39;. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
3837
3854
  * @param allowUpperCaseItemNumbers Defaults to &#39;false&#39;. If this is enabled, then the ItemNumber of positions will be in uppercase format if the source file has them. By default, all item numbers will be converted to lowercase, but this option will enable the option to support uppercase item numbers as well.
3855
+ * @param allowLumpSumItemsWithDifferingQuantities Defaults to &#39;false&#39;. By default, the GAEB standard requires lump sum items (&#39;Pauschalpositionen&#39; in German) to have a quantity of exactly 1. AVACloud does enforce this convention, but if you set this property to &#39;true&#39;, then differing quantities will be kept during the import.
3838
3856
  * @param {*} [options] Override http request options.
3839
3857
  */
3840
- 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' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options?: any): Promise<{
3858
+ 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' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options?: any): Promise<{
3841
3859
  response: http.IncomingMessage;
3842
3860
  body: Buffer;
3843
3861
  }>;
@@ -3853,6 +3871,7 @@ export declare class GaebConversionApi {
3853
3871
  outputHtmlAsXml?: boolean;
3854
3872
  keepEmptyHtmlText?: boolean;
3855
3873
  allowUpperCaseItemNumbers?: boolean;
3874
+ allowLumpSumItemsWithDifferingQuantities?: boolean;
3856
3875
  options?: any;
3857
3876
  }): Promise<{
3858
3877
  response: http.IncomingMessage;
@@ -3870,9 +3889,10 @@ export declare class GaebConversionApi {
3870
3889
  * @param outputHtmlAsXml Defaults to &#39;false&#39;. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce &#39;&lt;br /&gt;&#39; instead of &#39;&lt;br&gt;&#39;.
3871
3890
  * @param keepEmptyHtmlText Defaults to &#39;false&#39;. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
3872
3891
  * @param allowUpperCaseItemNumbers Defaults to &#39;false&#39;. If this is enabled, then the ItemNumber of positions will be in uppercase format if the source file has them. By default, all item numbers will be converted to lowercase, but this option will enable the option to support uppercase item numbers as well.
3892
+ * @param allowLumpSumItemsWithDifferingQuantities Defaults to &#39;false&#39;. By default, the GAEB standard requires lump sum items (&#39;Pauschalpositionen&#39; in German) to have a quantity of exactly 1. AVACloud does enforce this convention, but if you set this property to &#39;true&#39;, then differing quantities will be kept during the import.
3873
3893
  * @param {*} [options] Override http request options.
3874
3894
  */
3875
- gaebConversionConvertToOenorm(gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options?: any): Promise<{
3895
+ gaebConversionConvertToOenorm(gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options?: any): Promise<{
3876
3896
  response: http.IncomingMessage;
3877
3897
  body: Buffer;
3878
3898
  }>;
@@ -4006,7 +4026,7 @@ export declare class OenormConversionApi {
4006
4026
  * @summary Converts ÖNorm files to GAEB files.
4007
4027
  * @param oenormFile The input file
4008
4028
  * @param destinationGaebType Defaults to GAEB XML V3.2
4009
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4029
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
4010
4030
  * @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.
4011
4031
  * @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.
4012
4032
  * @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. Defaults to true.
@@ -4134,7 +4154,7 @@ export declare class RebConversionApi {
4134
4154
  * @summary Converts REB files to GAEB files
4135
4155
  * @param rebFile The input file
4136
4156
  * @param destinationGaebType Defaults to GAEB XML V3.2
4137
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4157
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
4138
4158
  * @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.
4139
4159
  * @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.
4140
4160
  * @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. Defaults to true.
@@ -4262,7 +4282,7 @@ export declare class SiaConversionApi {
4262
4282
  * @summary Converts SIA 451 files to GAEB files
4263
4283
  * @param siaFile The input file
4264
4284
  * @param destinationGaebType Defaults to GAEB XML V3.2
4265
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4285
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
4266
4286
  * @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.
4267
4287
  * @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.
4268
4288
  * @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. Defaults to true.
package/api.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  /**
3
- * AVACloud API 1.44.0
3
+ * AVACloud API 1.45.0
4
4
  * AVACloud API specification
5
5
  *
6
- * OpenAPI spec version: 1.44.0
6
+ * OpenAPI spec version: 1.45.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -536,7 +536,7 @@ exports.DatanormDestinationVersion = DatanormDestinationVersion;
536
536
  DatanormDestinationVersion.discriminator = undefined;
537
537
  DatanormDestinationVersion.attributeTypeMap = [];
538
538
  /**
539
- * The GAEB exchange phase to transform to
539
+ * The GAEB exchange phase to transform to. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
540
540
  */
541
541
  class DestinationGaebExchangePhase {
542
542
  static getAttributeTypeMap() {
@@ -1663,6 +1663,11 @@ PositionDto.attributeTypeMap = [
1663
1663
  "name": "priceCatalogueData",
1664
1664
  "baseName": "priceCatalogueData",
1665
1665
  "type": "PriceCatalogueDataDto"
1666
+ },
1667
+ {
1668
+ "name": "ignoreProjectCataloguePropagation",
1669
+ "baseName": "ignoreProjectCataloguePropagation",
1670
+ "type": "boolean"
1666
1671
  }
1667
1672
  ];
1668
1673
  /**
@@ -2497,6 +2502,11 @@ ServiceSpecificationDto.attributeTypeMap = [
2497
2502
  "baseName": "ignoreDuplicateItemNumbers",
2498
2503
  "type": "boolean"
2499
2504
  },
2505
+ {
2506
+ "name": "ignoreProjectCataloguePropagation",
2507
+ "baseName": "ignoreProjectCataloguePropagation",
2508
+ "type": "boolean"
2509
+ },
2500
2510
  {
2501
2511
  "name": "ignoreDuplicateElementIds",
2502
2512
  "baseName": "ignoreDuplicateElementIds",
@@ -2751,6 +2761,11 @@ ServiceSpecificationGroupDto.attributeTypeMap = [
2751
2761
  "baseName": "ignoreDuplicateItemNumbers",
2752
2762
  "type": "boolean"
2753
2763
  },
2764
+ {
2765
+ "name": "ignoreProjectCataloguePropagation",
2766
+ "baseName": "ignoreProjectCataloguePropagation",
2767
+ "type": "boolean"
2768
+ },
2754
2769
  {
2755
2770
  "name": "ignoreDuplicateElementIds",
2756
2771
  "baseName": "ignoreDuplicateElementIds",
@@ -3650,7 +3665,7 @@ class AslvConversionApi {
3650
3665
  * @summary Converts Aslv files to GAEB files
3651
3666
  * @param aslvFile The input file
3652
3667
  * @param destinationGaebType Defaults to GAEB XML V3.2
3653
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
3668
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
3654
3669
  * @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.
3655
3670
  * @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.
3656
3671
  * @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. Defaults to true.
@@ -4073,7 +4088,7 @@ class AvaConversionApi {
4073
4088
  * @param avaProject The Dangl.AVA project
4074
4089
  * @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.
4075
4090
  * @param destinationGaebType Defaults to GAEB XML V3.2
4076
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4091
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
4077
4092
  * @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.
4078
4093
  * @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.
4079
4094
  * @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. Defaults to true.
@@ -5181,7 +5196,7 @@ class ExcelConversionApi {
5181
5196
  * @param readNewElements Defaults to false
5182
5197
  * @param rebuildItemNumberSchema When importing new elements from Excel, sometimes the ItemNumberSchema in the file is not in compliance with the GAEB requirements. Enabling this option tries to repair the ItemNumberSchema. Defaults to false.
5183
5198
  * @param destinationGaebType Defaults to GAEB XML V3.2
5184
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
5199
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
5185
5200
  * @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.
5186
5201
  * @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.
5187
5202
  * @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. Defaults to true.
@@ -5391,7 +5406,7 @@ class GaebConversionApi {
5391
5406
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5392
5407
  */
5393
5408
  gaebConversionConvertToAvaWithRequestObject(gaebFile, options) {
5394
- return this.gaebConversionConvertToAva(gaebFile, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.outputHtmlAsXml, options === null || options === void 0 ? void 0 : options.keepEmptyHtmlText, options === null || options === void 0 ? void 0 : options.allowUpperCaseItemNumbers, (options === null || options === void 0 ? void 0 : options.options) || {});
5409
+ return this.gaebConversionConvertToAva(gaebFile, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.outputHtmlAsXml, options === null || options === void 0 ? void 0 : options.keepEmptyHtmlText, options === null || options === void 0 ? void 0 : options.allowUpperCaseItemNumbers, options === null || options === void 0 ? void 0 : options.allowLumpSumItemsWithDifferingQuantities, (options === null || options === void 0 ? void 0 : options.options) || {});
5395
5410
  }
5396
5411
  /**
5397
5412
  *
@@ -5403,9 +5418,10 @@ class GaebConversionApi {
5403
5418
  * @param outputHtmlAsXml Defaults to &#39;false&#39;. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce &#39;&lt;br /&gt;&#39; instead of &#39;&lt;br&gt;&#39;.
5404
5419
  * @param keepEmptyHtmlText Defaults to &#39;false&#39;. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
5405
5420
  * @param allowUpperCaseItemNumbers Defaults to &#39;false&#39;. If this is enabled, then the ItemNumber of positions will be in uppercase format if the source file has them. By default, all item numbers will be converted to lowercase, but this option will enable the option to support uppercase item numbers as well.
5421
+ * @param allowLumpSumItemsWithDifferingQuantities Defaults to &#39;false&#39;. By default, the GAEB standard requires lump sum items (&#39;Pauschalpositionen&#39; in German) to have a quantity of exactly 1. AVACloud does enforce this convention, but if you set this property to &#39;true&#39;, then differing quantities will be kept during the import.
5406
5422
  * @param {*} [options] Override http request options.
5407
5423
  */
5408
- gaebConversionConvertToAva(gaebFile, supportSkippedItemNumberLevelsInPositions, removePlainTextLongTexts, removeHtmlLongTexts, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, options = {}) {
5424
+ gaebConversionConvertToAva(gaebFile, supportSkippedItemNumberLevelsInPositions, removePlainTextLongTexts, removeHtmlLongTexts, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, options = {}) {
5409
5425
  const localVarPath = this.basePath + '/conversion/gaeb/ava';
5410
5426
  let localVarQueryParameters = {};
5411
5427
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5428,6 +5444,9 @@ class GaebConversionApi {
5428
5444
  if (allowUpperCaseItemNumbers !== undefined) {
5429
5445
  localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
5430
5446
  }
5447
+ if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
5448
+ localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
5449
+ }
5431
5450
  Object.assign(localVarHeaderParams, options.headers);
5432
5451
  let localVarUseFormData = false;
5433
5452
  if (gaebFile !== undefined) {
@@ -5473,7 +5492,7 @@ class GaebConversionApi {
5473
5492
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5474
5493
  */
5475
5494
  gaebConversionConvertToExcelWithRequestObject(gaebFile, options) {
5476
- return this.gaebConversionConvertToExcel(gaebFile, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers, options === null || options === void 0 ? void 0 : options.outputHtmlAsXml, options === null || options === void 0 ? void 0 : options.keepEmptyHtmlText, options === null || options === void 0 ? void 0 : options.allowUpperCaseItemNumbers, (options === null || options === void 0 ? void 0 : options.options) || {});
5495
+ return this.gaebConversionConvertToExcel(gaebFile, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers, options === null || options === void 0 ? void 0 : options.outputHtmlAsXml, options === null || options === void 0 ? void 0 : options.keepEmptyHtmlText, options === null || options === void 0 ? void 0 : options.allowUpperCaseItemNumbers, options === null || options === void 0 ? void 0 : options.allowLumpSumItemsWithDifferingQuantities, (options === null || options === void 0 ? void 0 : options.options) || {});
5477
5496
  }
5478
5497
  /**
5479
5498
  *
@@ -5487,9 +5506,10 @@ class GaebConversionApi {
5487
5506
  * @param outputHtmlAsXml Defaults to &#39;false&#39;. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce &#39;&lt;br /&gt;&#39; instead of &#39;&lt;br&gt;&#39;.
5488
5507
  * @param keepEmptyHtmlText Defaults to &#39;false&#39;. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
5489
5508
  * @param allowUpperCaseItemNumbers Defaults to &#39;false&#39;. If this is enabled, then the ItemNumber of positions will be in uppercase format if the source file has them. By default, all item numbers will be converted to lowercase, but this option will enable the option to support uppercase item numbers as well.
5509
+ * @param allowLumpSumItemsWithDifferingQuantities Defaults to &#39;false&#39;. By default, the GAEB standard requires lump sum items (&#39;Pauschalpositionen&#39; in German) to have a quantity of exactly 1. AVACloud does enforce this convention, but if you set this property to &#39;true&#39;, then differing quantities will be kept during the import.
5490
5510
  * @param {*} [options] Override http request options.
5491
5511
  */
5492
- gaebConversionConvertToExcel(gaebFile, supportSkippedItemNumberLevelsInPositions, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, options = {}) {
5512
+ gaebConversionConvertToExcel(gaebFile, supportSkippedItemNumberLevelsInPositions, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, options = {}) {
5493
5513
  const localVarPath = this.basePath + '/conversion/gaeb/excel';
5494
5514
  let localVarQueryParameters = {};
5495
5515
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5518,6 +5538,9 @@ class GaebConversionApi {
5518
5538
  if (allowUpperCaseItemNumbers !== undefined) {
5519
5539
  localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
5520
5540
  }
5541
+ if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
5542
+ localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
5543
+ }
5521
5544
  Object.assign(localVarHeaderParams, options.headers);
5522
5545
  let localVarUseFormData = false;
5523
5546
  if (gaebFile !== undefined) {
@@ -5563,7 +5586,7 @@ class GaebConversionApi {
5563
5586
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5564
5587
  */
5565
5588
  gaebConversionConvertToGaebWithRequestObject(gaebFile, options) {
5566
- return this.gaebConversionConvertToGaeb(gaebFile, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions, options === null || options === void 0 ? void 0 : options.destinationGaebType, options === null || options === void 0 ? void 0 : options.targetExchangePhaseTransform, options === null || options === void 0 ? void 0 : options.enforceStrictOfferPhaseLongTextOutput, options === null || options === void 0 ? void 0 : options.exportQuantityDetermination, options === null || options === void 0 ? void 0 : options.removeUnprintableCharactersFromTexts, options === null || options === void 0 ? void 0 : options.forceIncludeDescriptions, options === null || options === void 0 ? void 0 : options.treatNullItemNumberSchemaAsInvalid, options === null || options === void 0 ? void 0 : options.outputHtmlAsXml, options === null || options === void 0 ? void 0 : options.keepEmptyHtmlText, options === null || options === void 0 ? void 0 : options.allowUpperCaseItemNumbers, (options === null || options === void 0 ? void 0 : options.options) || {});
5589
+ return this.gaebConversionConvertToGaeb(gaebFile, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions, options === null || options === void 0 ? void 0 : options.destinationGaebType, options === null || options === void 0 ? void 0 : options.targetExchangePhaseTransform, options === null || options === void 0 ? void 0 : options.enforceStrictOfferPhaseLongTextOutput, options === null || options === void 0 ? void 0 : options.exportQuantityDetermination, options === null || options === void 0 ? void 0 : options.removeUnprintableCharactersFromTexts, options === null || options === void 0 ? void 0 : options.forceIncludeDescriptions, options === null || options === void 0 ? void 0 : options.treatNullItemNumberSchemaAsInvalid, options === null || options === void 0 ? void 0 : options.outputHtmlAsXml, options === null || options === void 0 ? void 0 : options.keepEmptyHtmlText, options === null || options === void 0 ? void 0 : options.allowUpperCaseItemNumbers, options === null || options === void 0 ? void 0 : options.allowLumpSumItemsWithDifferingQuantities, (options === null || options === void 0 ? void 0 : options.options) || {});
5567
5590
  }
5568
5591
  /**
5569
5592
  *
@@ -5571,7 +5594,7 @@ class GaebConversionApi {
5571
5594
  * @param gaebFile The input file
5572
5595
  * @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 level - 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.
5573
5596
  * @param destinationGaebType Defaults to GAEB XML V3.2
5574
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
5597
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
5575
5598
  * @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.
5576
5599
  * @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.
5577
5600
  * @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. Defaults to true.
@@ -5580,9 +5603,10 @@ class GaebConversionApi {
5580
5603
  * @param outputHtmlAsXml Defaults to &#39;false&#39;. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce &#39;&lt;br /&gt;&#39; instead of &#39;&lt;br&gt;&#39;.
5581
5604
  * @param keepEmptyHtmlText Defaults to &#39;false&#39;. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
5582
5605
  * @param allowUpperCaseItemNumbers Defaults to &#39;false&#39;. If this is enabled, then the ItemNumber of positions will be in uppercase format if the source file has them. By default, all item numbers will be converted to lowercase, but this option will enable the option to support uppercase item numbers as well.
5606
+ * @param allowLumpSumItemsWithDifferingQuantities Defaults to &#39;false&#39;. By default, the GAEB standard requires lump sum items (&#39;Pauschalpositionen&#39; in German) to have a quantity of exactly 1. AVACloud does enforce this convention, but if you set this property to &#39;true&#39;, then differing quantities will be kept during the import.
5583
5607
  * @param {*} [options] Override http request options.
5584
5608
  */
5585
- gaebConversionConvertToGaeb(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, treatNullItemNumberSchemaAsInvalid, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, options = {}) {
5609
+ gaebConversionConvertToGaeb(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, treatNullItemNumberSchemaAsInvalid, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, options = {}) {
5586
5610
  const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
5587
5611
  let localVarQueryParameters = {};
5588
5612
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5620,6 +5644,9 @@ class GaebConversionApi {
5620
5644
  if (allowUpperCaseItemNumbers !== undefined) {
5621
5645
  localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
5622
5646
  }
5647
+ if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
5648
+ localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
5649
+ }
5623
5650
  Object.assign(localVarHeaderParams, options.headers);
5624
5651
  let localVarUseFormData = false;
5625
5652
  if (gaebFile !== undefined) {
@@ -5665,7 +5692,7 @@ class GaebConversionApi {
5665
5692
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5666
5693
  */
5667
5694
  gaebConversionConvertToOenormWithRequestObject(gaebFile, options) {
5668
- return this.gaebConversionConvertToOenorm(gaebFile, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions, options === null || options === void 0 ? void 0 : options.destinationOenormType, options === null || options === void 0 ? void 0 : options.tryRepairProjectStructure, options === null || options === void 0 ? void 0 : options.skipTryEnforceSchemaCompliantXmlOutput, options === null || options === void 0 ? void 0 : options.removeUnprintableCharactersFromTexts, options === null || options === void 0 ? void 0 : options.outputHtmlAsXml, options === null || options === void 0 ? void 0 : options.keepEmptyHtmlText, options === null || options === void 0 ? void 0 : options.allowUpperCaseItemNumbers, (options === null || options === void 0 ? void 0 : options.options) || {});
5695
+ return this.gaebConversionConvertToOenorm(gaebFile, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions, options === null || options === void 0 ? void 0 : options.destinationOenormType, options === null || options === void 0 ? void 0 : options.tryRepairProjectStructure, options === null || options === void 0 ? void 0 : options.skipTryEnforceSchemaCompliantXmlOutput, options === null || options === void 0 ? void 0 : options.removeUnprintableCharactersFromTexts, options === null || options === void 0 ? void 0 : options.outputHtmlAsXml, options === null || options === void 0 ? void 0 : options.keepEmptyHtmlText, options === null || options === void 0 ? void 0 : options.allowUpperCaseItemNumbers, options === null || options === void 0 ? void 0 : options.allowLumpSumItemsWithDifferingQuantities, (options === null || options === void 0 ? void 0 : options.options) || {});
5669
5696
  }
5670
5697
  /**
5671
5698
  *
@@ -5679,9 +5706,10 @@ class GaebConversionApi {
5679
5706
  * @param outputHtmlAsXml Defaults to &#39;false&#39;. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce &#39;&lt;br /&gt;&#39; instead of &#39;&lt;br&gt;&#39;.
5680
5707
  * @param keepEmptyHtmlText Defaults to &#39;false&#39;. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
5681
5708
  * @param allowUpperCaseItemNumbers Defaults to &#39;false&#39;. If this is enabled, then the ItemNumber of positions will be in uppercase format if the source file has them. By default, all item numbers will be converted to lowercase, but this option will enable the option to support uppercase item numbers as well.
5709
+ * @param allowLumpSumItemsWithDifferingQuantities Defaults to &#39;false&#39;. By default, the GAEB standard requires lump sum items (&#39;Pauschalpositionen&#39; in German) to have a quantity of exactly 1. AVACloud does enforce this convention, but if you set this property to &#39;true&#39;, then differing quantities will be kept during the import.
5682
5710
  * @param {*} [options] Override http request options.
5683
5711
  */
5684
- gaebConversionConvertToOenorm(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, options = {}) {
5712
+ gaebConversionConvertToOenorm(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, options = {}) {
5685
5713
  const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
5686
5714
  let localVarQueryParameters = {};
5687
5715
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5710,6 +5738,9 @@ class GaebConversionApi {
5710
5738
  if (allowUpperCaseItemNumbers !== undefined) {
5711
5739
  localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
5712
5740
  }
5741
+ if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
5742
+ localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
5743
+ }
5713
5744
  Object.assign(localVarHeaderParams, options.headers);
5714
5745
  let localVarUseFormData = false;
5715
5746
  if (gaebFile !== undefined) {
@@ -6054,7 +6085,7 @@ class OenormConversionApi {
6054
6085
  * @summary Converts ÖNorm files to GAEB files.
6055
6086
  * @param oenormFile The input file
6056
6087
  * @param destinationGaebType Defaults to GAEB XML V3.2
6057
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
6088
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
6058
6089
  * @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.
6059
6090
  * @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.
6060
6091
  * @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. Defaults to true.
@@ -6397,7 +6428,7 @@ class RebConversionApi {
6397
6428
  * @summary Converts REB files to GAEB files
6398
6429
  * @param rebFile The input file
6399
6430
  * @param destinationGaebType Defaults to GAEB XML V3.2
6400
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
6431
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
6401
6432
  * @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.
6402
6433
  * @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.
6403
6434
  * @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. Defaults to true.
@@ -6740,7 +6771,7 @@ class SiaConversionApi {
6740
6771
  * @summary Converts SIA 451 files to GAEB files
6741
6772
  * @param siaFile The input file
6742
6773
  * @param destinationGaebType Defaults to GAEB XML V3.2
6743
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
6774
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base &#x3D; 81 CostEstimate &#x3D; 82 OfferRequest &#x3D; 83 Offer &#x3D; 84 SideOffer &#x3D; 85 Grant &#x3D; 86
6744
6775
  * @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.
6745
6776
  * @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.
6746
6777
  * @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. Defaults to true.