@dangl/avacloud-client-node 1.25.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.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  /**
3
- * AVACloud API 1.42.0
3
+ * AVACloud API 1.45.0
4
4
  * AVACloud API specification
5
5
  *
6
- * OpenAPI spec version: 1.42.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.
@@ -12,8 +12,8 @@
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.PositionTypeDto = exports.PositionHoldOutPropertiesDto = exports.PositionDto = exports.PositionComplementingTypeDto = exports.PartyInformationDto = exports.OriginDto = exports.OenormPropertiesDto = exports.OenormPositionPropertiesDto = exports.OenormOriginCodeDto = exports.OenormNoteTextPropertiesDto = exports.ObjectValidationCheckDetails = exports.NoteTextDto = exports.LoginPost = exports.LabourPriceComponentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.ItemNumberDto = exports.IdsConnectVersion = exports.HttpStatusCode = exports.HoldOutTypeDto = exports.HoldOutDurationUnitDto = exports.GrossPriceComponentDto = exports.GetStatus = exports.ForgotPasswordPost = exports.FileValidationSourceType = exports.ExecutionDescriptionDto = exports.IElementDto = exports.ExchangePhaseDto = exports.DurationUnitDto = exports.DestinationRebType = exports.DestinationOenormType = exports.DestinationGaebType = exports.DestinationGaebExchangePhase = exports.DatanormDestinationVersion = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.CommerceInquiryTypeDto = exports.ComissionStatusDto = exports.CatalogueTypeDto = exports.CatalogueReferenceDto = exports.CatalogueDto = exports.CalculationDto = exports.BankingInformationDto = exports.AwardTypeDto = exports.ArticleDataDto = exports.ApiError = exports.AdditionTypeDto = exports.AddendumStatusDto = void 0;
15
- exports.DatanormConversionApi = exports.DatanormConversionApiApiKeys = exports.DanglIdentityApi = exports.DanglIdentityApiApiKeys = exports.AvaConversionApi = exports.AvaConversionApiApiKeys = exports.AslvConversionApi = exports.AslvConversionApiApiKeys = exports.VoidAuth = exports.OAuth = exports.ApiKeyAuth = exports.HttpBasicAuth = exports.XmlSchemaValidationCheckDetails = exports.WarrantyDurationDto = exports.ValidationType = exports.ValidationSeverity = exports.ValidationResult = exports.ValidationCheckType = exports.ValidationCheckResult = exports.UglDestinationVersion = exports.TradeDiscountDto = exports.TokenResponseGet = exports.TokenRefreshPost = exports.TokenLoginPost = exports.SubDescriptionDto = exports.StandardizedDescriptionDto = exports.StandardReferenceTypeDto = exports.SpecialAwardKindDto = exports.ServiceTypeDto = exports.ServiceSpecificationGroupDto = exports.ServiceSpecificationDto = exports.ServiceSpecificationCommercePropertiesDto = exports.STLBReferenceDto = exports.STLBKeyDto = exports.ResponseErrorType = exports.RegisterPost = exports.QuantityAssignmentDto = exports.ProjectValidationCheckDetails = exports.ProjectInformationDto = exports.ProjectDto = exports.ProductDataDto = exports.PriceTypeDto = exports.PriceRoundingModeDto = exports.PriceInformationDto = exports.PriceComponentTypeDto = exports.PriceComponentDto = exports.PostOenormDestinationOptions = exports.PostGaebDestinationOptions = exports.PostAvaSourceOptions = exports.PostAvaProjectValidationSourceOptions = void 0;
16
- exports.ValidationApi = exports.ValidationApiApiKeys = exports.UglConversionApi = exports.UglConversionApiApiKeys = exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = exports.RebConversionApi = exports.RebConversionApiApiKeys = exports.OenormConversionApi = exports.OenormConversionApiApiKeys = exports.IdsConnectConversionApi = exports.IdsConnectConversionApiApiKeys = exports.GaebConversionApi = exports.GaebConversionApiApiKeys = exports.ExcelConversionApi = exports.ExcelConversionApiApiKeys = void 0;
15
+ exports.DanglIdentityApi = exports.DanglIdentityApiApiKeys = exports.AvaConversionApi = exports.AvaConversionApiApiKeys = exports.AslvConversionApi = exports.AslvConversionApiApiKeys = exports.VoidAuth = exports.OAuth = exports.ApiKeyAuth = exports.HttpBasicAuth = exports.XmlSchemaValidationCheckDetails = exports.WarrantyDurationDto = exports.ValidationType = exports.ValidationSeverity = exports.ValidationResult = exports.ValidationCheckType = exports.ValidationCheckResult = exports.UglDestinationVersion = exports.TradeDiscountDto = exports.TokenResponseGet = exports.TokenRefreshPost = exports.TokenLoginPost = exports.SubDescriptionDto = exports.StandardizedDescriptionDto = exports.StandardReferenceTypeDto = exports.SpecialAwardKindDto = exports.SiaDestinationType = exports.ServiceTypeDto = exports.ServiceSpecificationGroupDto = exports.ServiceSpecificationDto = exports.ServiceSpecificationCommercePropertiesDto = exports.STLBReferenceDto = exports.STLBKeyDto = exports.ResponseErrorType = exports.RegisterPost = exports.QuantityAssignmentDto = exports.ProjectValidationCheckDetails = exports.ProjectInformationDto = exports.ProjectDto = exports.ProductDataDto = exports.PriceTypeDto = exports.PriceRoundingModeDto = exports.PriceInformationDto = exports.PriceComponentTypeDto = exports.PriceComponentDto = exports.PriceCatalogueDataDto = exports.PostOenormDestinationOptions = exports.PostGaebDestinationOptions = exports.PostAvaSourceOptions = exports.PostAvaProjectValidationSourceOptions = void 0;
16
+ exports.ValidationApi = exports.ValidationApiApiKeys = exports.UglConversionApi = exports.UglConversionApiApiKeys = exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = exports.RebConversionApi = exports.RebConversionApiApiKeys = exports.OenormConversionApi = exports.OenormConversionApiApiKeys = exports.IdsConnectConversionApi = exports.IdsConnectConversionApiApiKeys = exports.GaebConversionApi = exports.GaebConversionApiApiKeys = exports.ExcelConversionApi = exports.ExcelConversionApiApiKeys = exports.DatanormConversionApi = exports.DatanormConversionApiApiKeys = void 0;
17
17
  const localVarRequest = require("request");
18
18
  let defaultBasePath = 'https://avacloud-api.dangl-it.com';
19
19
  // ===============================================
@@ -373,6 +373,11 @@ CatalogueDto.attributeTypeMap = [
373
373
  "name": "catalogueType",
374
374
  "baseName": "catalogueType",
375
375
  "type": "CatalogueTypeDto"
376
+ },
377
+ {
378
+ "name": "catalogueTypeDetail",
379
+ "baseName": "catalogueTypeDetail",
380
+ "type": "string"
376
381
  }
377
382
  ];
378
383
  /**
@@ -490,6 +495,11 @@ CommercePropertiesDto.attributeTypeMap = [
490
495
  "name": "subPositionIdentifier",
491
496
  "baseName": "subPositionIdentifier",
492
497
  "type": "string"
498
+ },
499
+ {
500
+ "name": "customerBaseItemNumber",
501
+ "baseName": "customerBaseItemNumber",
502
+ "type": "string"
493
503
  }
494
504
  ];
495
505
  /**
@@ -526,7 +536,7 @@ exports.DatanormDestinationVersion = DatanormDestinationVersion;
526
536
  DatanormDestinationVersion.discriminator = undefined;
527
537
  DatanormDestinationVersion.attributeTypeMap = [];
528
538
  /**
529
- * 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
530
540
  */
531
541
  class DestinationGaebExchangePhase {
532
542
  static getAttributeTypeMap() {
@@ -690,6 +700,11 @@ ForgotPasswordPost.attributeTypeMap = [
690
700
  "name": "preferredLanguages",
691
701
  "baseName": "preferredLanguages",
692
702
  "type": "Array<string>"
703
+ },
704
+ {
705
+ "name": "serviceLoginRedirectUri",
706
+ "baseName": "serviceLoginRedirectUri",
707
+ "type": "string"
693
708
  }
694
709
  ];
695
710
  /**
@@ -1643,6 +1658,16 @@ PositionDto.attributeTypeMap = [
1643
1658
  "name": "estimatedQuantity",
1644
1659
  "baseName": "estimatedQuantity",
1645
1660
  "type": "number"
1661
+ },
1662
+ {
1663
+ "name": "priceCatalogueData",
1664
+ "baseName": "priceCatalogueData",
1665
+ "type": "PriceCatalogueDataDto"
1666
+ },
1667
+ {
1668
+ "name": "ignoreProjectCataloguePropagation",
1669
+ "baseName": "ignoreProjectCataloguePropagation",
1670
+ "type": "boolean"
1646
1671
  }
1647
1672
  ];
1648
1673
  /**
@@ -1837,6 +1862,53 @@ PostOenormDestinationOptions.attributeTypeMap = [
1837
1862
  }
1838
1863
  ];
1839
1864
  /**
1865
+ * Price catalogue data represents assumed or estimated prices from a catalogue source
1866
+ */
1867
+ class PriceCatalogueDataDto {
1868
+ static getAttributeTypeMap() {
1869
+ return PriceCatalogueDataDto.attributeTypeMap;
1870
+ }
1871
+ }
1872
+ exports.PriceCatalogueDataDto = PriceCatalogueDataDto;
1873
+ PriceCatalogueDataDto.discriminator = undefined;
1874
+ PriceCatalogueDataDto.attributeTypeMap = [
1875
+ {
1876
+ "name": "id",
1877
+ "baseName": "id",
1878
+ "type": "string"
1879
+ },
1880
+ {
1881
+ "name": "unitPriceFrom",
1882
+ "baseName": "unitPriceFrom",
1883
+ "type": "number"
1884
+ },
1885
+ {
1886
+ "name": "unitPriceTo",
1887
+ "baseName": "unitPriceTo",
1888
+ "type": "number"
1889
+ },
1890
+ {
1891
+ "name": "unitPriceAverage",
1892
+ "baseName": "unitPriceAverage",
1893
+ "type": "number"
1894
+ },
1895
+ {
1896
+ "name": "wagePriceFrom",
1897
+ "baseName": "wagePriceFrom",
1898
+ "type": "number"
1899
+ },
1900
+ {
1901
+ "name": "wagePriceTo",
1902
+ "baseName": "wagePriceTo",
1903
+ "type": "number"
1904
+ },
1905
+ {
1906
+ "name": "wagePriceAverage",
1907
+ "baseName": "wagePriceAverage",
1908
+ "type": "number"
1909
+ }
1910
+ ];
1911
+ /**
1840
1912
  * This class provides means to store information about a price and it's composition. Note that this is referencing to a single price component, so for example a Position would have a list of PriceComponents, one for Material, one for Labour etc.
1841
1913
  */
1842
1914
  class PriceComponentDto {
@@ -2210,6 +2282,11 @@ RegisterPost.attributeTypeMap = [
2210
2282
  "name": "preferredLanguages",
2211
2283
  "baseName": "preferredLanguages",
2212
2284
  "type": "Array<string>"
2285
+ },
2286
+ {
2287
+ "name": "serviceLoginRedirectUri",
2288
+ "baseName": "serviceLoginRedirectUri",
2289
+ "type": "string"
2213
2290
  }
2214
2291
  ];
2215
2292
  /**
@@ -2425,6 +2502,11 @@ ServiceSpecificationDto.attributeTypeMap = [
2425
2502
  "baseName": "ignoreDuplicateItemNumbers",
2426
2503
  "type": "boolean"
2427
2504
  },
2505
+ {
2506
+ "name": "ignoreProjectCataloguePropagation",
2507
+ "baseName": "ignoreProjectCataloguePropagation",
2508
+ "type": "boolean"
2509
+ },
2428
2510
  {
2429
2511
  "name": "ignoreDuplicateElementIds",
2430
2512
  "baseName": "ignoreDuplicateElementIds",
@@ -2679,6 +2761,11 @@ ServiceSpecificationGroupDto.attributeTypeMap = [
2679
2761
  "baseName": "ignoreDuplicateItemNumbers",
2680
2762
  "type": "boolean"
2681
2763
  },
2764
+ {
2765
+ "name": "ignoreProjectCataloguePropagation",
2766
+ "baseName": "ignoreProjectCataloguePropagation",
2767
+ "type": "boolean"
2768
+ },
2682
2769
  {
2683
2770
  "name": "ignoreDuplicateElementIds",
2684
2771
  "baseName": "ignoreDuplicateElementIds",
@@ -2797,6 +2884,17 @@ exports.ServiceTypeDto = ServiceTypeDto;
2797
2884
  ServiceTypeDto.discriminator = undefined;
2798
2885
  ServiceTypeDto.attributeTypeMap = [];
2799
2886
  /**
2887
+ * Represents valid SIA destination types
2888
+ */
2889
+ class SiaDestinationType {
2890
+ static getAttributeTypeMap() {
2891
+ return SiaDestinationType.attributeTypeMap;
2892
+ }
2893
+ }
2894
+ exports.SiaDestinationType = SiaDestinationType;
2895
+ SiaDestinationType.discriminator = undefined;
2896
+ SiaDestinationType.attributeTypeMap = [];
2897
+ /**
2800
2898
  * This enumeration describes awards for project that are not just a regular procurement. For example, it can be used to describe recurring maintenance or an outline contract (German: Rahmenvertrag) which just specifies services and prices but may be requested on demand when necessary
2801
2899
  */
2802
2900
  class SpecialAwardKindDto {
@@ -3289,6 +3387,7 @@ let typeMap = {
3289
3387
  "PostAvaSourceOptions": PostAvaSourceOptions,
3290
3388
  "PostGaebDestinationOptions": PostGaebDestinationOptions,
3291
3389
  "PostOenormDestinationOptions": PostOenormDestinationOptions,
3390
+ "PriceCatalogueDataDto": PriceCatalogueDataDto,
3292
3391
  "PriceComponentDto": PriceComponentDto,
3293
3392
  "PriceComponentTypeDto": PriceComponentTypeDto,
3294
3393
  "PriceInformationDto": PriceInformationDto,
@@ -3307,6 +3406,7 @@ let typeMap = {
3307
3406
  "ServiceSpecificationDto": ServiceSpecificationDto,
3308
3407
  "ServiceSpecificationGroupDto": ServiceSpecificationGroupDto,
3309
3408
  "ServiceTypeDto": ServiceTypeDto,
3409
+ "SiaDestinationType": SiaDestinationType,
3310
3410
  "SpecialAwardKindDto": SpecialAwardKindDto,
3311
3411
  "StandardReferenceTypeDto": StandardReferenceTypeDto,
3312
3412
  "StandardizedDescriptionDto": StandardizedDescriptionDto,
@@ -3418,7 +3518,7 @@ class AslvConversionApi {
3418
3518
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
3419
3519
  */
3420
3520
  aslvConversionConvertToAvaWithRequestObject(aslvFile, options) {
3421
- return this.aslvConversionConvertToAva(aslvFile, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
3521
+ return this.aslvConversionConvertToAva(aslvFile, 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.options) || {});
3422
3522
  }
3423
3523
  /**
3424
3524
  *
@@ -3484,7 +3584,7 @@ class AslvConversionApi {
3484
3584
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
3485
3585
  */
3486
3586
  aslvConversionConvertToExcelWithRequestObject(aslvFile, options) {
3487
- return this.aslvConversionConvertToExcel(aslvFile, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
3587
+ return this.aslvConversionConvertToExcel(aslvFile, 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.options) || {});
3488
3588
  }
3489
3589
  /**
3490
3590
  *
@@ -3493,9 +3593,10 @@ class AslvConversionApi {
3493
3593
  * @param writePrices Defaults to true
3494
3594
  * @param writeLongTexts Defaults to true
3495
3595
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
3596
+ * @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from &#39;position.commerceProperties.articleNumber&#39;
3496
3597
  * @param {*} [options] Override http request options.
3497
3598
  */
3498
- aslvConversionConvertToExcel(aslvFile, writePrices, writeLongTexts, conversionCulture, options = {}) {
3599
+ aslvConversionConvertToExcel(aslvFile, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, options = {}) {
3499
3600
  const localVarPath = this.basePath + '/conversion/aslv/excel';
3500
3601
  let localVarQueryParameters = {};
3501
3602
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3509,6 +3610,9 @@ class AslvConversionApi {
3509
3610
  if (conversionCulture !== undefined) {
3510
3611
  localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
3511
3612
  }
3613
+ if (includeArticleNumbers !== undefined) {
3614
+ localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
3615
+ }
3512
3616
  Object.assign(localVarHeaderParams, options.headers);
3513
3617
  let localVarUseFormData = false;
3514
3618
  if (aslvFile !== undefined) {
@@ -3554,14 +3658,14 @@ class AslvConversionApi {
3554
3658
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
3555
3659
  */
3556
3660
  aslvConversionConvertToGaebWithRequestObject(aslvFile, options) {
3557
- return this.aslvConversionConvertToGaeb(aslvFile, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
3661
+ return this.aslvConversionConvertToGaeb(aslvFile, 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.options) || {});
3558
3662
  }
3559
3663
  /**
3560
3664
  *
3561
3665
  * @summary Converts Aslv files to GAEB files
3562
3666
  * @param aslvFile The input file
3563
3667
  * @param destinationGaebType Defaults to GAEB XML V3.2
3564
- * @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
3565
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.
3566
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.
3567
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.
@@ -3640,7 +3744,7 @@ class AslvConversionApi {
3640
3744
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
3641
3745
  */
3642
3746
  aslvConversionConvertToOenormWithRequestObject(aslvFile, options) {
3643
- return this.aslvConversionConvertToOenorm(aslvFile, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
3747
+ return this.aslvConversionConvertToOenorm(aslvFile, 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.options) || {});
3644
3748
  }
3645
3749
  /**
3646
3750
  *
@@ -3757,7 +3861,7 @@ class AvaConversionApi {
3757
3861
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
3758
3862
  */
3759
3863
  avaConversionConvertToAvaWithRequestObject(avaProject, options) {
3760
- return this.avaConversionConvertToAva(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
3864
+ return this.avaConversionConvertToAva(avaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, 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.options) || {});
3761
3865
  }
3762
3866
  /**
3763
3867
  *
@@ -3828,7 +3932,7 @@ class AvaConversionApi {
3828
3932
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
3829
3933
  */
3830
3934
  avaConversionConvertToDatanormWithRequestObject(avaProject, options) {
3831
- return this.avaConversionConvertToDatanorm(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.datanormDestinationVersion, options.options || {});
3935
+ return this.avaConversionConvertToDatanorm(avaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, options === null || options === void 0 ? void 0 : options.datanormDestinationVersion, (options === null || options === void 0 ? void 0 : options.options) || {});
3832
3936
  }
3833
3937
  /**
3834
3938
  *
@@ -3896,7 +4000,7 @@ class AvaConversionApi {
3896
4000
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
3897
4001
  */
3898
4002
  avaConversionConvertToExcelWithRequestObject(avaProject, options) {
3899
- return this.avaConversionConvertToExcel(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
4003
+ return this.avaConversionConvertToExcel(avaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, 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.options) || {});
3900
4004
  }
3901
4005
  /**
3902
4006
  *
@@ -3906,9 +4010,10 @@ class AvaConversionApi {
3906
4010
  * @param writePrices Defaults to true
3907
4011
  * @param writeLongTexts Defaults to true
3908
4012
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
4013
+ * @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from &#39;position.commerceProperties.articleNumber&#39;
3909
4014
  * @param {*} [options] Override http request options.
3910
4015
  */
3911
- avaConversionConvertToExcel(avaProject, tryAutoGenerateItemNumbersAndSchema, writePrices, writeLongTexts, conversionCulture, options = {}) {
4016
+ avaConversionConvertToExcel(avaProject, tryAutoGenerateItemNumbersAndSchema, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, options = {}) {
3912
4017
  const localVarPath = this.basePath + '/conversion/ava/excel';
3913
4018
  let localVarQueryParameters = {};
3914
4019
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3929,6 +4034,9 @@ class AvaConversionApi {
3929
4034
  if (conversionCulture !== undefined) {
3930
4035
  localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
3931
4036
  }
4037
+ if (includeArticleNumbers !== undefined) {
4038
+ localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
4039
+ }
3932
4040
  Object.assign(localVarHeaderParams, options.headers);
3933
4041
  let localVarUseFormData = false;
3934
4042
  let localVarRequestOptions = {
@@ -3972,7 +4080,7 @@ class AvaConversionApi {
3972
4080
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
3973
4081
  */
3974
4082
  avaConversionConvertToGaebWithRequestObject(avaProject, options) {
3975
- return this.avaConversionConvertToGaeb(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
4083
+ return this.avaConversionConvertToGaeb(avaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, 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.options) || {});
3976
4084
  }
3977
4085
  /**
3978
4086
  *
@@ -3980,7 +4088,7 @@ class AvaConversionApi {
3980
4088
  * @param avaProject The Dangl.AVA project
3981
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.
3982
4090
  * @param destinationGaebType Defaults to GAEB XML V3.2
3983
- * @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
3984
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.
3985
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.
3986
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.
@@ -4064,7 +4172,7 @@ class AvaConversionApi {
4064
4172
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
4065
4173
  */
4066
4174
  avaConversionConvertToIdsConnectWithRequestObject(avaProject, options) {
4067
- return this.avaConversionConvertToIdsConnect(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.version, options.options || {});
4175
+ return this.avaConversionConvertToIdsConnect(avaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, options === null || options === void 0 ? void 0 : options.version, (options === null || options === void 0 ? void 0 : options.options) || {});
4068
4176
  }
4069
4177
  /**
4070
4178
  *
@@ -4132,7 +4240,7 @@ class AvaConversionApi {
4132
4240
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
4133
4241
  */
4134
4242
  avaConversionConvertToOenormWithRequestObject(avaProject, options) {
4135
- return this.avaConversionConvertToOenorm(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
4243
+ return this.avaConversionConvertToOenorm(avaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, 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.options) || {});
4136
4244
  }
4137
4245
  /**
4138
4246
  *
@@ -4212,7 +4320,7 @@ class AvaConversionApi {
4212
4320
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
4213
4321
  */
4214
4322
  avaConversionConvertToRebWithRequestObject(avaProject, options) {
4215
- return this.avaConversionConvertToReb(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.destinationRebType, options.options || {});
4323
+ return this.avaConversionConvertToReb(avaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, options === null || options === void 0 ? void 0 : options.destinationRebType, (options === null || options === void 0 ? void 0 : options.options) || {});
4216
4324
  }
4217
4325
  /**
4218
4326
  *
@@ -4280,16 +4388,17 @@ class AvaConversionApi {
4280
4388
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
4281
4389
  */
4282
4390
  avaConversionConvertToSiaWithRequestObject(avaProject, options) {
4283
- return this.avaConversionConvertToSia(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.options || {});
4391
+ return this.avaConversionConvertToSia(avaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, options === null || options === void 0 ? void 0 : options.siaDestinationType, (options === null || options === void 0 ? void 0 : options.options) || {});
4284
4392
  }
4285
4393
  /**
4286
4394
  *
4287
4395
  * @summary Converts Dangl.AVA projects to SIA 451
4288
4396
  * @param avaProject The Dangl.AVA project
4289
4397
  * @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.
4398
+ * @param siaDestinationType Defaults to Sia451
4290
4399
  * @param {*} [options] Override http request options.
4291
4400
  */
4292
- avaConversionConvertToSia(avaProject, tryAutoGenerateItemNumbersAndSchema, options = {}) {
4401
+ avaConversionConvertToSia(avaProject, tryAutoGenerateItemNumbersAndSchema, siaDestinationType, options = {}) {
4293
4402
  const localVarPath = this.basePath + '/conversion/ava/sia';
4294
4403
  let localVarQueryParameters = {};
4295
4404
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4301,6 +4410,9 @@ class AvaConversionApi {
4301
4410
  if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
4302
4411
  localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
4303
4412
  }
4413
+ if (siaDestinationType !== undefined) {
4414
+ localVarQueryParameters['SiaDestinationType'] = ObjectSerializer.serialize(siaDestinationType, "'Sia451' | 'Ifa18'");
4415
+ }
4304
4416
  Object.assign(localVarHeaderParams, options.headers);
4305
4417
  let localVarUseFormData = false;
4306
4418
  let localVarRequestOptions = {
@@ -4344,7 +4456,7 @@ class AvaConversionApi {
4344
4456
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
4345
4457
  */
4346
4458
  avaConversionConvertToUglWithRequestObject(avaProject, options) {
4347
- return this.avaConversionConvertToUgl(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.uglDestinationVersion, options.options || {});
4459
+ return this.avaConversionConvertToUgl(avaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, options === null || options === void 0 ? void 0 : options.uglDestinationVersion, (options === null || options === void 0 ? void 0 : options.options) || {});
4348
4460
  }
4349
4461
  /**
4350
4462
  *
@@ -4507,7 +4619,7 @@ class DanglIdentityApi {
4507
4619
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
4508
4620
  */
4509
4621
  danglIdentityLoginWithCookieWithRequestObject(model, options) {
4510
- return this.danglIdentityLoginWithCookie(model, options.redirectUrl, options.options || {});
4622
+ return this.danglIdentityLoginWithCookie(model, options === null || options === void 0 ? void 0 : options.redirectUrl, (options === null || options === void 0 ? void 0 : options.options) || {});
4511
4623
  }
4512
4624
  /**
4513
4625
  *
@@ -4810,7 +4922,7 @@ class DatanormConversionApi {
4810
4922
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
4811
4923
  */
4812
4924
  datanormConversionConvertToAvaWithRequestObject(datanormFile, options) {
4813
- return this.datanormConversionConvertToAva(datanormFile, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
4925
+ return this.datanormConversionConvertToAva(datanormFile, 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.options) || {});
4814
4926
  }
4815
4927
  /**
4816
4928
  *
@@ -4919,7 +5031,7 @@ class ExcelConversionApi {
4919
5031
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
4920
5032
  */
4921
5033
  excelConversionConvertToAvaWithRequestObject(excelFile, options) {
4922
- return this.excelConversionConvertToAva(excelFile, options.readNewElements, options.rebuildItemNumberSchema, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
5034
+ return this.excelConversionConvertToAva(excelFile, options === null || options === void 0 ? void 0 : options.readNewElements, options === null || options === void 0 ? void 0 : options.rebuildItemNumberSchema, 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.options) || {});
4923
5035
  }
4924
5036
  /**
4925
5037
  *
@@ -4993,7 +5105,7 @@ class ExcelConversionApi {
4993
5105
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
4994
5106
  */
4995
5107
  excelConversionConvertToExcelWithRequestObject(excelFile, options) {
4996
- return this.excelConversionConvertToExcel(excelFile, options.readNewElements, options.rebuildItemNumberSchema, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
5108
+ return this.excelConversionConvertToExcel(excelFile, options === null || options === void 0 ? void 0 : options.readNewElements, options === null || options === void 0 ? void 0 : options.rebuildItemNumberSchema, 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.options) || {});
4997
5109
  }
4998
5110
  /**
4999
5111
  *
@@ -5004,9 +5116,10 @@ class ExcelConversionApi {
5004
5116
  * @param writePrices Defaults to true
5005
5117
  * @param writeLongTexts Defaults to true
5006
5118
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
5119
+ * @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from &#39;position.commerceProperties.articleNumber&#39;
5007
5120
  * @param {*} [options] Override http request options.
5008
5121
  */
5009
- excelConversionConvertToExcel(excelFile, readNewElements, rebuildItemNumberSchema, writePrices, writeLongTexts, conversionCulture, options = {}) {
5122
+ excelConversionConvertToExcel(excelFile, readNewElements, rebuildItemNumberSchema, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, options = {}) {
5010
5123
  const localVarPath = this.basePath + '/conversion/excel/excel';
5011
5124
  let localVarQueryParameters = {};
5012
5125
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5026,6 +5139,9 @@ class ExcelConversionApi {
5026
5139
  if (conversionCulture !== undefined) {
5027
5140
  localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
5028
5141
  }
5142
+ if (includeArticleNumbers !== undefined) {
5143
+ localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
5144
+ }
5029
5145
  Object.assign(localVarHeaderParams, options.headers);
5030
5146
  let localVarUseFormData = false;
5031
5147
  if (excelFile !== undefined) {
@@ -5071,7 +5187,7 @@ class ExcelConversionApi {
5071
5187
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5072
5188
  */
5073
5189
  excelConversionConvertToGaebWithRequestObject(excelFile, options) {
5074
- return this.excelConversionConvertToGaeb(excelFile, options.readNewElements, options.rebuildItemNumberSchema, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
5190
+ return this.excelConversionConvertToGaeb(excelFile, options === null || options === void 0 ? void 0 : options.readNewElements, options === null || options === void 0 ? void 0 : options.rebuildItemNumberSchema, 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.options) || {});
5075
5191
  }
5076
5192
  /**
5077
5193
  *
@@ -5080,7 +5196,7 @@ class ExcelConversionApi {
5080
5196
  * @param readNewElements Defaults to false
5081
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.
5082
5198
  * @param destinationGaebType Defaults to GAEB XML V3.2
5083
- * @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
5084
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.
5085
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.
5086
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.
@@ -5165,7 +5281,7 @@ class ExcelConversionApi {
5165
5281
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5166
5282
  */
5167
5283
  excelConversionConvertToOenormWithRequestObject(excelFile, options) {
5168
- return this.excelConversionConvertToOenorm(excelFile, options.readNewElements, options.rebuildItemNumberSchema, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
5284
+ return this.excelConversionConvertToOenorm(excelFile, options === null || options === void 0 ? void 0 : options.readNewElements, options === null || options === void 0 ? void 0 : options.rebuildItemNumberSchema, 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.options) || {});
5169
5285
  }
5170
5286
  /**
5171
5287
  *
@@ -5290,7 +5406,7 @@ class GaebConversionApi {
5290
5406
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5291
5407
  */
5292
5408
  gaebConversionConvertToAvaWithRequestObject(gaebFile, options) {
5293
- return this.gaebConversionConvertToAva(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.outputHtmlAsXml, options.keepEmptyHtmlText, options.allowUpperCaseItemNumbers, 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) || {});
5294
5410
  }
5295
5411
  /**
5296
5412
  *
@@ -5302,9 +5418,10 @@ class GaebConversionApi {
5302
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;.
5303
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.
5304
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.
5305
5422
  * @param {*} [options] Override http request options.
5306
5423
  */
5307
- gaebConversionConvertToAva(gaebFile, supportSkippedItemNumberLevelsInPositions, removePlainTextLongTexts, removeHtmlLongTexts, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, options = {}) {
5424
+ gaebConversionConvertToAva(gaebFile, supportSkippedItemNumberLevelsInPositions, removePlainTextLongTexts, removeHtmlLongTexts, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, options = {}) {
5308
5425
  const localVarPath = this.basePath + '/conversion/gaeb/ava';
5309
5426
  let localVarQueryParameters = {};
5310
5427
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5327,6 +5444,9 @@ class GaebConversionApi {
5327
5444
  if (allowUpperCaseItemNumbers !== undefined) {
5328
5445
  localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
5329
5446
  }
5447
+ if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
5448
+ localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
5449
+ }
5330
5450
  Object.assign(localVarHeaderParams, options.headers);
5331
5451
  let localVarUseFormData = false;
5332
5452
  if (gaebFile !== undefined) {
@@ -5372,7 +5492,7 @@ class GaebConversionApi {
5372
5492
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5373
5493
  */
5374
5494
  gaebConversionConvertToExcelWithRequestObject(gaebFile, options) {
5375
- return this.gaebConversionConvertToExcel(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.writePrices, options.writeLongTexts, options.conversionCulture, options.outputHtmlAsXml, options.keepEmptyHtmlText, options.allowUpperCaseItemNumbers, 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) || {});
5376
5496
  }
5377
5497
  /**
5378
5498
  *
@@ -5382,12 +5502,14 @@ class GaebConversionApi {
5382
5502
  * @param writePrices Defaults to true
5383
5503
  * @param writeLongTexts Defaults to true
5384
5504
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
5505
+ * @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from &#39;position.commerceProperties.articleNumber&#39;
5385
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;.
5386
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.
5387
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.
5388
5510
  * @param {*} [options] Override http request options.
5389
5511
  */
5390
- gaebConversionConvertToExcel(gaebFile, supportSkippedItemNumberLevelsInPositions, writePrices, writeLongTexts, conversionCulture, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, options = {}) {
5512
+ gaebConversionConvertToExcel(gaebFile, supportSkippedItemNumberLevelsInPositions, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, options = {}) {
5391
5513
  const localVarPath = this.basePath + '/conversion/gaeb/excel';
5392
5514
  let localVarQueryParameters = {};
5393
5515
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5404,6 +5526,9 @@ class GaebConversionApi {
5404
5526
  if (conversionCulture !== undefined) {
5405
5527
  localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
5406
5528
  }
5529
+ if (includeArticleNumbers !== undefined) {
5530
+ localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
5531
+ }
5407
5532
  if (outputHtmlAsXml !== undefined) {
5408
5533
  localVarQueryParameters['OutputHtmlAsXml'] = ObjectSerializer.serialize(outputHtmlAsXml, "boolean");
5409
5534
  }
@@ -5413,6 +5538,9 @@ class GaebConversionApi {
5413
5538
  if (allowUpperCaseItemNumbers !== undefined) {
5414
5539
  localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
5415
5540
  }
5541
+ if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
5542
+ localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
5543
+ }
5416
5544
  Object.assign(localVarHeaderParams, options.headers);
5417
5545
  let localVarUseFormData = false;
5418
5546
  if (gaebFile !== undefined) {
@@ -5458,7 +5586,7 @@ class GaebConversionApi {
5458
5586
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5459
5587
  */
5460
5588
  gaebConversionConvertToGaebWithRequestObject(gaebFile, options) {
5461
- 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 || {});
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) || {});
5462
5590
  }
5463
5591
  /**
5464
5592
  *
@@ -5466,7 +5594,7 @@ class GaebConversionApi {
5466
5594
  * @param gaebFile The input file
5467
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.
5468
5596
  * @param destinationGaebType Defaults to GAEB XML V3.2
5469
- * @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
5470
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.
5471
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.
5472
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.
@@ -5475,9 +5603,10 @@ class GaebConversionApi {
5475
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;.
5476
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.
5477
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.
5478
5607
  * @param {*} [options] Override http request options.
5479
5608
  */
5480
- 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 = {}) {
5481
5610
  const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
5482
5611
  let localVarQueryParameters = {};
5483
5612
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5515,6 +5644,9 @@ class GaebConversionApi {
5515
5644
  if (allowUpperCaseItemNumbers !== undefined) {
5516
5645
  localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
5517
5646
  }
5647
+ if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
5648
+ localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
5649
+ }
5518
5650
  Object.assign(localVarHeaderParams, options.headers);
5519
5651
  let localVarUseFormData = false;
5520
5652
  if (gaebFile !== undefined) {
@@ -5560,7 +5692,7 @@ class GaebConversionApi {
5560
5692
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5561
5693
  */
5562
5694
  gaebConversionConvertToOenormWithRequestObject(gaebFile, options) {
5563
- return this.gaebConversionConvertToOenorm(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.outputHtmlAsXml, options.keepEmptyHtmlText, options.allowUpperCaseItemNumbers, 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) || {});
5564
5696
  }
5565
5697
  /**
5566
5698
  *
@@ -5574,9 +5706,10 @@ class GaebConversionApi {
5574
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;.
5575
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.
5576
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.
5577
5710
  * @param {*} [options] Override http request options.
5578
5711
  */
5579
- gaebConversionConvertToOenorm(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, options = {}) {
5712
+ gaebConversionConvertToOenorm(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, options = {}) {
5580
5713
  const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
5581
5714
  let localVarQueryParameters = {};
5582
5715
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5605,6 +5738,9 @@ class GaebConversionApi {
5605
5738
  if (allowUpperCaseItemNumbers !== undefined) {
5606
5739
  localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
5607
5740
  }
5741
+ if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
5742
+ localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
5743
+ }
5608
5744
  Object.assign(localVarHeaderParams, options.headers);
5609
5745
  let localVarUseFormData = false;
5610
5746
  if (gaebFile !== undefined) {
@@ -5693,7 +5829,7 @@ class IdsConnectConversionApi {
5693
5829
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5694
5830
  */
5695
5831
  idsConnectConversionConvertToAvaWithRequestObject(idsConnectFile, options) {
5696
- return this.idsConnectConversionConvertToAva(idsConnectFile, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
5832
+ return this.idsConnectConversionConvertToAva(idsConnectFile, 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.options) || {});
5697
5833
  }
5698
5834
  /**
5699
5835
  *
@@ -5802,7 +5938,7 @@ class OenormConversionApi {
5802
5938
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5803
5939
  */
5804
5940
  oenormConversionConvertToAvaWithRequestObject(oenormFile, options) {
5805
- return this.oenormConversionConvertToAva(oenormFile, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
5941
+ return this.oenormConversionConvertToAva(oenormFile, 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.options) || {});
5806
5942
  }
5807
5943
  /**
5808
5944
  *
@@ -5868,7 +6004,7 @@ class OenormConversionApi {
5868
6004
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5869
6005
  */
5870
6006
  oenormConversionConvertToExcelWithRequestObject(oenormFile, options) {
5871
- return this.oenormConversionConvertToExcel(oenormFile, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
6007
+ return this.oenormConversionConvertToExcel(oenormFile, 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.options) || {});
5872
6008
  }
5873
6009
  /**
5874
6010
  *
@@ -5877,9 +6013,10 @@ class OenormConversionApi {
5877
6013
  * @param writePrices Defaults to true
5878
6014
  * @param writeLongTexts Defaults to true
5879
6015
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
6016
+ * @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from &#39;position.commerceProperties.articleNumber&#39;
5880
6017
  * @param {*} [options] Override http request options.
5881
6018
  */
5882
- oenormConversionConvertToExcel(oenormFile, writePrices, writeLongTexts, conversionCulture, options = {}) {
6019
+ oenormConversionConvertToExcel(oenormFile, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, options = {}) {
5883
6020
  const localVarPath = this.basePath + '/conversion/oenorm/excel';
5884
6021
  let localVarQueryParameters = {};
5885
6022
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5893,6 +6030,9 @@ class OenormConversionApi {
5893
6030
  if (conversionCulture !== undefined) {
5894
6031
  localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
5895
6032
  }
6033
+ if (includeArticleNumbers !== undefined) {
6034
+ localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
6035
+ }
5896
6036
  Object.assign(localVarHeaderParams, options.headers);
5897
6037
  let localVarUseFormData = false;
5898
6038
  if (oenormFile !== undefined) {
@@ -5938,14 +6078,14 @@ class OenormConversionApi {
5938
6078
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5939
6079
  */
5940
6080
  oenormConversionConvertToGaebWithRequestObject(oenormFile, options) {
5941
- return this.oenormConversionConvertToGaeb(oenormFile, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
6081
+ return this.oenormConversionConvertToGaeb(oenormFile, 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.options) || {});
5942
6082
  }
5943
6083
  /**
5944
6084
  *
5945
6085
  * @summary Converts ÖNorm files to GAEB files.
5946
6086
  * @param oenormFile The input file
5947
6087
  * @param destinationGaebType Defaults to GAEB XML V3.2
5948
- * @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
5949
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.
5950
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.
5951
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.
@@ -6024,7 +6164,7 @@ class OenormConversionApi {
6024
6164
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6025
6165
  */
6026
6166
  oenormConversionConvertToOenormWithRequestObject(oenormFile, options) {
6027
- return this.oenormConversionConvertToOenorm(oenormFile, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
6167
+ return this.oenormConversionConvertToOenorm(oenormFile, 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.options) || {});
6028
6168
  }
6029
6169
  /**
6030
6170
  *
@@ -6141,7 +6281,7 @@ class RebConversionApi {
6141
6281
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6142
6282
  */
6143
6283
  rebConversionConvertToAvaWithRequestObject(rebFile, options) {
6144
- return this.rebConversionConvertToAva(rebFile, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
6284
+ return this.rebConversionConvertToAva(rebFile, 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.options) || {});
6145
6285
  }
6146
6286
  /**
6147
6287
  *
@@ -6207,7 +6347,7 @@ class RebConversionApi {
6207
6347
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6208
6348
  */
6209
6349
  rebConversionConvertToExcelWithRequestObject(rebFile, options) {
6210
- return this.rebConversionConvertToExcel(rebFile, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
6350
+ return this.rebConversionConvertToExcel(rebFile, 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.options) || {});
6211
6351
  }
6212
6352
  /**
6213
6353
  *
@@ -6216,9 +6356,10 @@ class RebConversionApi {
6216
6356
  * @param writePrices Defaults to true
6217
6357
  * @param writeLongTexts Defaults to true
6218
6358
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
6359
+ * @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from &#39;position.commerceProperties.articleNumber&#39;
6219
6360
  * @param {*} [options] Override http request options.
6220
6361
  */
6221
- rebConversionConvertToExcel(rebFile, writePrices, writeLongTexts, conversionCulture, options = {}) {
6362
+ rebConversionConvertToExcel(rebFile, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, options = {}) {
6222
6363
  const localVarPath = this.basePath + '/conversion/reb/excel';
6223
6364
  let localVarQueryParameters = {};
6224
6365
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -6232,6 +6373,9 @@ class RebConversionApi {
6232
6373
  if (conversionCulture !== undefined) {
6233
6374
  localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
6234
6375
  }
6376
+ if (includeArticleNumbers !== undefined) {
6377
+ localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
6378
+ }
6235
6379
  Object.assign(localVarHeaderParams, options.headers);
6236
6380
  let localVarUseFormData = false;
6237
6381
  if (rebFile !== undefined) {
@@ -6277,14 +6421,14 @@ class RebConversionApi {
6277
6421
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6278
6422
  */
6279
6423
  rebConversionConvertToGaebWithRequestObject(rebFile, options) {
6280
- return this.rebConversionConvertToGaeb(rebFile, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
6424
+ return this.rebConversionConvertToGaeb(rebFile, 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.options) || {});
6281
6425
  }
6282
6426
  /**
6283
6427
  *
6284
6428
  * @summary Converts REB files to GAEB files
6285
6429
  * @param rebFile The input file
6286
6430
  * @param destinationGaebType Defaults to GAEB XML V3.2
6287
- * @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
6288
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.
6289
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.
6290
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.
@@ -6363,7 +6507,7 @@ class RebConversionApi {
6363
6507
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6364
6508
  */
6365
6509
  rebConversionConvertToOenormWithRequestObject(rebFile, options) {
6366
- return this.rebConversionConvertToOenorm(rebFile, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
6510
+ return this.rebConversionConvertToOenorm(rebFile, 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.options) || {});
6367
6511
  }
6368
6512
  /**
6369
6513
  *
@@ -6480,7 +6624,7 @@ class SiaConversionApi {
6480
6624
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6481
6625
  */
6482
6626
  siaConversionConvertToAvaWithRequestObject(siaFile, options) {
6483
- return this.siaConversionConvertToAva(siaFile, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
6627
+ return this.siaConversionConvertToAva(siaFile, 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.options) || {});
6484
6628
  }
6485
6629
  /**
6486
6630
  *
@@ -6546,7 +6690,7 @@ class SiaConversionApi {
6546
6690
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6547
6691
  */
6548
6692
  siaConversionConvertToExcelWithRequestObject(siaFile, options) {
6549
- return this.siaConversionConvertToExcel(siaFile, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
6693
+ return this.siaConversionConvertToExcel(siaFile, 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.options) || {});
6550
6694
  }
6551
6695
  /**
6552
6696
  *
@@ -6555,9 +6699,10 @@ class SiaConversionApi {
6555
6699
  * @param writePrices Defaults to true
6556
6700
  * @param writeLongTexts Defaults to true
6557
6701
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
6702
+ * @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from &#39;position.commerceProperties.articleNumber&#39;
6558
6703
  * @param {*} [options] Override http request options.
6559
6704
  */
6560
- siaConversionConvertToExcel(siaFile, writePrices, writeLongTexts, conversionCulture, options = {}) {
6705
+ siaConversionConvertToExcel(siaFile, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, options = {}) {
6561
6706
  const localVarPath = this.basePath + '/conversion/sia/excel';
6562
6707
  let localVarQueryParameters = {};
6563
6708
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -6571,6 +6716,9 @@ class SiaConversionApi {
6571
6716
  if (conversionCulture !== undefined) {
6572
6717
  localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
6573
6718
  }
6719
+ if (includeArticleNumbers !== undefined) {
6720
+ localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
6721
+ }
6574
6722
  Object.assign(localVarHeaderParams, options.headers);
6575
6723
  let localVarUseFormData = false;
6576
6724
  if (siaFile !== undefined) {
@@ -6616,14 +6764,14 @@ class SiaConversionApi {
6616
6764
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6617
6765
  */
6618
6766
  siaConversionConvertToGaebWithRequestObject(siaFile, options) {
6619
- return this.siaConversionConvertToGaeb(siaFile, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
6767
+ return this.siaConversionConvertToGaeb(siaFile, 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.options) || {});
6620
6768
  }
6621
6769
  /**
6622
6770
  *
6623
6771
  * @summary Converts SIA 451 files to GAEB files
6624
6772
  * @param siaFile The input file
6625
6773
  * @param destinationGaebType Defaults to GAEB XML V3.2
6626
- * @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
6627
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.
6628
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.
6629
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.
@@ -6702,7 +6850,7 @@ class SiaConversionApi {
6702
6850
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6703
6851
  */
6704
6852
  siaConversionConvertToOenormWithRequestObject(siaFile, options) {
6705
- return this.siaConversionConvertToOenorm(siaFile, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
6853
+ return this.siaConversionConvertToOenorm(siaFile, 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.options) || {});
6706
6854
  }
6707
6855
  /**
6708
6856
  *
@@ -6909,7 +7057,7 @@ class UglConversionApi {
6909
7057
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6910
7058
  */
6911
7059
  uglConversionConvertToAvaWithRequestObject(uglFile, options) {
6912
- return this.uglConversionConvertToAva(uglFile, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
7060
+ return this.uglConversionConvertToAva(uglFile, 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.options) || {});
6913
7061
  }
6914
7062
  /**
6915
7063
  *
@@ -7018,7 +7166,7 @@ class ValidationApi {
7018
7166
  * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7019
7167
  */
7020
7168
  validationValidateFileWithRequestObject(avaFile, options) {
7021
- return this.validationValidateFile(avaFile, options.fileValidationSourceType, options.options || {});
7169
+ return this.validationValidateFile(avaFile, options === null || options === void 0 ? void 0 : options.fileValidationSourceType, (options === null || options === void 0 ? void 0 : options.options) || {});
7022
7170
  }
7023
7171
  /**
7024
7172
  *