@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.
package/api.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.
@@ -752,7 +752,7 @@ export class DatanormDestinationVersion {
752
752
  }
753
753
 
754
754
  /**
755
- * The GAEB exchange phase to transform to
755
+ * The GAEB exchange phase to transform to. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
756
756
  */
757
757
  export class DestinationGaebExchangePhase {
758
758
 
@@ -2264,6 +2264,10 @@ export class PositionDto extends IElementDto {
2264
2264
  * 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.
2265
2265
  */
2266
2266
  'priceCatalogueData'?: PriceCatalogueDataDto;
2267
+ /**
2268
+ * 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.
2269
+ */
2270
+ 'ignoreProjectCataloguePropagation': boolean;
2267
2271
 
2268
2272
  static discriminator: string | undefined = undefined;
2269
2273
 
@@ -2542,6 +2546,11 @@ export class PositionDto extends IElementDto {
2542
2546
  "name": "priceCatalogueData",
2543
2547
  "baseName": "priceCatalogueData",
2544
2548
  "type": "PriceCatalogueDataDto"
2549
+ },
2550
+ {
2551
+ "name": "ignoreProjectCataloguePropagation",
2552
+ "baseName": "ignoreProjectCataloguePropagation",
2553
+ "type": "boolean"
2545
2554
  } ];
2546
2555
 
2547
2556
  static getAttributeTypeMap() {
@@ -2732,7 +2741,7 @@ export class PostGaebDestinationOptions {
2732
2741
  */
2733
2742
  'destinationGaebType': DestinationGaebType;
2734
2743
  /**
2735
- * Defaults to none, meaning no transformation will be done
2744
+ * Defaults to none, meaning no transformation will be done. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
2736
2745
  */
2737
2746
  'targetExchangePhaseTransform': DestinationGaebExchangePhase;
2738
2747
  /**
@@ -3816,6 +3825,10 @@ export class ServiceSpecificationDto {
3816
3825
  */
3817
3826
  'ignoreDuplicateItemNumbers': boolean;
3818
3827
  /**
3828
+ * 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
3829
+ */
3830
+ 'ignoreProjectCataloguePropagation': boolean;
3831
+ /**
3819
3832
  * Indicate if duplicated Ids within child elements are to be ignored. Will not perform checks for duplicates if yes.
3820
3833
  */
3821
3834
  'ignoreDuplicateElementIds': boolean;
@@ -4029,6 +4042,11 @@ export class ServiceSpecificationDto {
4029
4042
  "baseName": "ignoreDuplicateItemNumbers",
4030
4043
  "type": "boolean"
4031
4044
  },
4045
+ {
4046
+ "name": "ignoreProjectCataloguePropagation",
4047
+ "baseName": "ignoreProjectCataloguePropagation",
4048
+ "type": "boolean"
4049
+ },
4032
4050
  {
4033
4051
  "name": "ignoreDuplicateElementIds",
4034
4052
  "baseName": "ignoreDuplicateElementIds",
@@ -4273,6 +4291,10 @@ export class ServiceSpecificationGroupDto extends IElementDto {
4273
4291
  */
4274
4292
  'ignoreDuplicateItemNumbers': boolean;
4275
4293
  /**
4294
+ * 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
4295
+ */
4296
+ 'ignoreProjectCataloguePropagation': boolean;
4297
+ /**
4276
4298
  * Indicate if duplicated Ids within child elements are to be ignored. Will not perform checks for duplicates if yes.
4277
4299
  */
4278
4300
  'ignoreDuplicateElementIds': boolean;
@@ -4402,6 +4424,11 @@ export class ServiceSpecificationGroupDto extends IElementDto {
4402
4424
  "baseName": "ignoreDuplicateItemNumbers",
4403
4425
  "type": "boolean"
4404
4426
  },
4427
+ {
4428
+ "name": "ignoreProjectCataloguePropagation",
4429
+ "baseName": "ignoreProjectCataloguePropagation",
4430
+ "type": "boolean"
4431
+ },
4405
4432
  {
4406
4433
  "name": "ignoreDuplicateElementIds",
4407
4434
  "baseName": "ignoreDuplicateElementIds",
@@ -5545,7 +5572,7 @@ export class AslvConversionApi {
5545
5572
  * @summary Converts Aslv files to GAEB files
5546
5573
  * @param aslvFile The input file
5547
5574
  * @param destinationGaebType Defaults to GAEB XML V3.2
5548
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
5575
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
5549
5576
  * @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.
5550
5577
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
5551
5578
  * @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.
@@ -6016,7 +6043,7 @@ export class AvaConversionApi {
6016
6043
  * @param avaProject The Dangl.AVA project
6017
6044
  * @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.
6018
6045
  * @param destinationGaebType Defaults to GAEB XML V3.2
6019
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
6046
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
6020
6047
  * @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.
6021
6048
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
6022
6049
  * @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.
@@ -7238,7 +7265,7 @@ export class ExcelConversionApi {
7238
7265
  * @param readNewElements Defaults to false
7239
7266
  * @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.
7240
7267
  * @param destinationGaebType Defaults to GAEB XML V3.2
7241
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
7268
+ * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
7242
7269
  * @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.
7243
7270
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
7244
7271
  * @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.
@@ -7476,8 +7503,8 @@ export class GaebConversionApi {
7476
7503
  /**
7477
7504
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7478
7505
  */
7479
- public gaebConversionConvertToAvaWithRequestObject(gaebFile: FileParameter, options?: { supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
7480
- return this.gaebConversionConvertToAva(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.options || {});
7506
+ public gaebConversionConvertToAvaWithRequestObject(gaebFile: FileParameter, options?: { supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
7507
+ return this.gaebConversionConvertToAva(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.allowLumpSumItemsWithDifferingQuantities, options?.options || {});
7481
7508
  }
7482
7509
 
7483
7510
  /**
@@ -7490,9 +7517,10 @@ export class GaebConversionApi {
7490
7517
  * @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;.
7491
7518
  * @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.
7492
7519
  * @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.
7520
+ * @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.
7493
7521
  * @param {*} [options] Override http request options.
7494
7522
  */
7495
- public gaebConversionConvertToAva (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> { const localVarPath = this.basePath + '/conversion/gaeb/ava';
7523
+ public gaebConversionConvertToAva (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> { const localVarPath = this.basePath + '/conversion/gaeb/ava';
7496
7524
  let localVarQueryParameters: any = {};
7497
7525
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7498
7526
  let localVarFormParams: any = {};
@@ -7521,6 +7549,10 @@ export class GaebConversionApi {
7521
7549
  localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
7522
7550
  }
7523
7551
 
7552
+ if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
7553
+ localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
7554
+ }
7555
+
7524
7556
  (<any>Object).assign(localVarHeaderParams, options.headers);
7525
7557
 
7526
7558
  let localVarUseFormData = false;
@@ -7568,8 +7600,8 @@ export class GaebConversionApi {
7568
7600
  /**
7569
7601
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7570
7602
  */
7571
- public gaebConversionConvertToExcelWithRequestObject(gaebFile: FileParameter, options?: { supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7572
- return this.gaebConversionConvertToExcel(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.options || {});
7603
+ public gaebConversionConvertToExcelWithRequestObject(gaebFile: FileParameter, options?: { supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7604
+ return this.gaebConversionConvertToExcel(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.allowLumpSumItemsWithDifferingQuantities, options?.options || {});
7573
7605
  }
7574
7606
 
7575
7607
  /**
@@ -7584,9 +7616,10 @@ export class GaebConversionApi {
7584
7616
  * @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;.
7585
7617
  * @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.
7586
7618
  * @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.
7619
+ * @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.
7587
7620
  * @param {*} [options] Override http request options.
7588
7621
  */
7589
- public gaebConversionConvertToExcel (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/excel';
7622
+ public gaebConversionConvertToExcel (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/excel';
7590
7623
  let localVarQueryParameters: any = {};
7591
7624
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7592
7625
  let localVarFormParams: any = {};
@@ -7623,6 +7656,10 @@ export class GaebConversionApi {
7623
7656
  localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
7624
7657
  }
7625
7658
 
7659
+ if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
7660
+ localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
7661
+ }
7662
+
7626
7663
  (<any>Object).assign(localVarHeaderParams, options.headers);
7627
7664
 
7628
7665
  let localVarUseFormData = false;
@@ -7670,8 +7707,8 @@ export class GaebConversionApi {
7670
7707
  /**
7671
7708
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7672
7709
  */
7673
- public gaebConversionConvertToGaebWithRequestObject(gaebFile: FileParameter, options?: { 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<{ response: http.IncomingMessage; body: Buffer; }> {
7674
- return this.gaebConversionConvertToGaeb(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.options || {});
7710
+ public gaebConversionConvertToGaebWithRequestObject(gaebFile: FileParameter, options?: { 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<{ response: http.IncomingMessage; body: Buffer; }> {
7711
+ return this.gaebConversionConvertToGaeb(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.allowLumpSumItemsWithDifferingQuantities, options?.options || {});
7675
7712
  }
7676
7713
 
7677
7714
  /**
@@ -7680,7 +7717,7 @@ export class GaebConversionApi {
7680
7717
  * @param gaebFile The input file
7681
7718
  * @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.
7682
7719
  * @param destinationGaebType Defaults to GAEB XML V3.2
7683
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
7720
+ * @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
7684
7721
  * @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.
7685
7722
  * @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.
7686
7723
  * @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.
@@ -7689,9 +7726,10 @@ export class GaebConversionApi {
7689
7726
  * @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;.
7690
7727
  * @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.
7691
7728
  * @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.
7729
+ * @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.
7692
7730
  * @param {*} [options] Override http request options.
7693
7731
  */
7694
- public 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<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
7732
+ public 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<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
7695
7733
  let localVarQueryParameters: any = {};
7696
7734
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7697
7735
  let localVarFormParams: any = {};
@@ -7740,6 +7778,10 @@ export class GaebConversionApi {
7740
7778
  localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
7741
7779
  }
7742
7780
 
7781
+ if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
7782
+ localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
7783
+ }
7784
+
7743
7785
  (<any>Object).assign(localVarHeaderParams, options.headers);
7744
7786
 
7745
7787
  let localVarUseFormData = false;
@@ -7787,8 +7829,8 @@ export class GaebConversionApi {
7787
7829
  /**
7788
7830
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7789
7831
  */
7790
- public gaebConversionConvertToOenormWithRequestObject(gaebFile: FileParameter, options?: { 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<{ response: http.IncomingMessage; body: Buffer; }> {
7791
- return this.gaebConversionConvertToOenorm(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.options || {});
7832
+ public gaebConversionConvertToOenormWithRequestObject(gaebFile: FileParameter, options?: { 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<{ response: http.IncomingMessage; body: Buffer; }> {
7833
+ return this.gaebConversionConvertToOenorm(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.allowLumpSumItemsWithDifferingQuantities, options?.options || {});
7792
7834
  }
7793
7835
 
7794
7836
  /**
@@ -7803,9 +7845,10 @@ export class GaebConversionApi {
7803
7845
  * @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;.
7804
7846
  * @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.
7805
7847
  * @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.
7848
+ * @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.
7806
7849
  * @param {*} [options] Override http request options.
7807
7850
  */
7808
- public 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<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
7851
+ public 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<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
7809
7852
  let localVarQueryParameters: any = {};
7810
7853
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7811
7854
  let localVarFormParams: any = {};
@@ -7842,6 +7885,10 @@ export class GaebConversionApi {
7842
7885
  localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
7843
7886
  }
7844
7887
 
7888
+ if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
7889
+ localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
7890
+ }
7891
+
7845
7892
  (<any>Object).assign(localVarHeaderParams, options.headers);
7846
7893
 
7847
7894
  let localVarUseFormData = false;
@@ -8224,7 +8271,7 @@ export class OenormConversionApi {
8224
8271
  * @summary Converts ÖNorm files to GAEB files.
8225
8272
  * @param oenormFile The input file
8226
8273
  * @param destinationGaebType Defaults to GAEB XML V3.2
8227
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
8274
+ * @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
8228
8275
  * @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.
8229
8276
  * @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.
8230
8277
  * @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.
@@ -8607,7 +8654,7 @@ export class RebConversionApi {
8607
8654
  * @summary Converts REB files to GAEB files
8608
8655
  * @param rebFile The input file
8609
8656
  * @param destinationGaebType Defaults to GAEB XML V3.2
8610
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
8657
+ * @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
8611
8658
  * @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.
8612
8659
  * @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.
8613
8660
  * @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.
@@ -8990,7 +9037,7 @@ export class SiaConversionApi {
8990
9037
  * @summary Converts SIA 451 files to GAEB files
8991
9038
  * @param siaFile The input file
8992
9039
  * @param destinationGaebType Defaults to GAEB XML V3.2
8993
- * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
9040
+ * @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
8994
9041
  * @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.
8995
9042
  * @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.
8996
9043
  * @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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dangl/avacloud-client-node",
3
- "version": "1.26.0",
3
+ "version": "1.27.0",
4
4
  "description": "NodeJS client for @dangl/avacloud-client-node",
5
5
  "repository": "/",
6
6
  "main": "api.js",