@dangl/avacloud-client-node 1.17.0 → 1.19.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.29.0
3
+ * AVACloud API 1.31.1
4
4
  * AVACloud API specification
5
5
  *
6
- * OpenAPI spec version: 1.29.0
6
+ * OpenAPI spec version: 1.31.1
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -11,7 +11,7 @@
11
11
  * Do not edit the class manually.
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = exports.RebConversionApi = exports.RebConversionApiApiKeys = exports.OenormConversionApi = exports.OenormConversionApiApiKeys = exports.GaebConversionApi = exports.GaebConversionApiApiKeys = exports.ExcelConversionApi = exports.ExcelConversionApiApiKeys = exports.DanglIdentityApi = exports.DanglIdentityApiApiKeys = exports.AvaConversionApi = exports.AvaConversionApiApiKeys = exports.AslvConversionApi = exports.AslvConversionApiApiKeys = exports.VoidAuth = exports.OAuth = exports.ApiKeyAuth = exports.HttpBasicAuth = exports.WarrantyDurationDto = exports.TradeDiscountDto = exports.TokenResponseGet = exports.TokenRefreshPost = exports.TokenLoginPost = exports.SubDescriptionDto = exports.StandardizedDescriptionDto = exports.StandardReferenceTypeDto = exports.SpecialAwardKindDto = exports.ServiceTypeDto = exports.ServiceSpecificationGroupDto = exports.ServiceSpecificationDto = exports.STLBReferenceDto = exports.STLBKeyDto = exports.ResponseErrorType = exports.RegisterPost = exports.QuantityAssignmentDto = exports.ProjectInformationDto = exports.ProjectDto = exports.ProductDataDto = exports.PriceTypeDto = exports.PriceRoundingModeDto = exports.PriceInformationDto = exports.PriceComponentTypeDto = exports.PriceComponentDto = exports.PositionTypeDto = exports.PositionDto = exports.PartyInformationDto = exports.OriginDto = exports.OenormPropertiesDto = exports.OenormPositionPropertiesDto = exports.OenormOriginCodeDto = exports.OenormNoteTextPropertiesDto = exports.NoteTextDto = exports.LoginPost = exports.LabourPriceComponentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.ItemNumberDto = exports.HttpStatusCode = exports.GrossPriceComponentDto = exports.GetStatus = exports.ForgotPasswordPost = exports.ExecutionDescriptionDto = exports.IElementDto = exports.ExchangePhaseDto = exports.DurationUnitDto = exports.DestinationRebType = exports.DestinationOenormType = exports.DestinationGaebType = exports.DestinationGaebExchangePhase = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.ComissionStatusDto = exports.CatalogueTypeDto = exports.CatalogueReferenceDto = exports.CatalogueDto = exports.CalculationDto = exports.BankingInformationDto = exports.AwardTypeDto = exports.ArticleDataDto = exports.ApiError = exports.AdditionTypeDto = exports.AddendumStatusDto = void 0;
14
+ exports.ValidationApi = exports.ValidationApiApiKeys = exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = exports.RebConversionApi = exports.RebConversionApiApiKeys = exports.OenormConversionApi = exports.OenormConversionApiApiKeys = exports.GaebConversionApi = exports.GaebConversionApiApiKeys = exports.ExcelConversionApi = exports.ExcelConversionApiApiKeys = exports.DanglIdentityApi = exports.DanglIdentityApiApiKeys = exports.AvaConversionApi = exports.AvaConversionApiApiKeys = exports.AslvConversionApi = exports.AslvConversionApiApiKeys = exports.VoidAuth = exports.OAuth = exports.ApiKeyAuth = exports.HttpBasicAuth = exports.XmlSchemaValidationCheckDetails = exports.WarrantyDurationDto = exports.ValidationType = exports.ValidationSeverity = exports.ValidationResult = exports.ValidationCheckType = exports.ValidationCheckResult = exports.TradeDiscountDto = exports.TokenResponseGet = exports.TokenRefreshPost = exports.TokenLoginPost = exports.SubDescriptionDto = exports.StandardizedDescriptionDto = exports.StandardReferenceTypeDto = exports.SpecialAwardKindDto = exports.ServiceTypeDto = exports.ServiceSpecificationGroupDto = exports.ServiceSpecificationDto = exports.STLBReferenceDto = exports.STLBKeyDto = exports.ResponseErrorType = exports.RegisterPost = exports.QuantityAssignmentDto = exports.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 = exports.PositionTypeDto = exports.PositionDto = 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.HttpStatusCode = 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.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.ComissionStatusDto = exports.CatalogueTypeDto = exports.CatalogueReferenceDto = exports.CatalogueDto = exports.CalculationDto = exports.BankingInformationDto = exports.AwardTypeDto = exports.ArticleDataDto = exports.ApiError = exports.AdditionTypeDto = exports.AddendumStatusDto = void 0;
15
15
  const localVarRequest = require("request");
16
16
  let defaultBasePath = 'https://avacloud-api.dangl-it.com';
17
17
  // ===============================================
@@ -583,6 +583,16 @@ IElementDto.attributeTypeMap = [
583
583
  "baseName": "addendumNumber",
584
584
  "type": "string"
585
585
  },
586
+ {
587
+ "name": "projectCatalogues",
588
+ "baseName": "projectCatalogues",
589
+ "type": "Array<CatalogueDto>"
590
+ },
591
+ {
592
+ "name": "catalogueReferences",
593
+ "baseName": "catalogueReferences",
594
+ "type": "Array<CatalogueReferenceDto>"
595
+ },
586
596
  {
587
597
  "name": "elementTypeDiscriminator",
588
598
  "baseName": "elementTypeDiscriminator",
@@ -618,6 +628,17 @@ ExecutionDescriptionDto.attributeTypeMap = [
618
628
  "type": "string"
619
629
  }
620
630
  ];
631
+ /**
632
+ * This enum represents the source type for a file based validation operation
633
+ */
634
+ class FileValidationSourceType {
635
+ static getAttributeTypeMap() {
636
+ return FileValidationSourceType.attributeTypeMap;
637
+ }
638
+ }
639
+ exports.FileValidationSourceType = FileValidationSourceType;
640
+ FileValidationSourceType.discriminator = undefined;
641
+ FileValidationSourceType.attributeTypeMap = [];
621
642
  class ForgotPasswordPost {
622
643
  static getAttributeTypeMap() {
623
644
  return ForgotPasswordPost.attributeTypeMap;
@@ -1036,6 +1057,23 @@ NoteTextDto.attributeTypeMap = [
1036
1057
  }
1037
1058
  ];
1038
1059
  /**
1060
+ * Basic information about Object check validation details, commonly used when checking GAEB 2000 files
1061
+ */
1062
+ class ObjectValidationCheckDetails {
1063
+ static getAttributeTypeMap() {
1064
+ return ObjectValidationCheckDetails.attributeTypeMap;
1065
+ }
1066
+ }
1067
+ exports.ObjectValidationCheckDetails = ObjectValidationCheckDetails;
1068
+ ObjectValidationCheckDetails.discriminator = undefined;
1069
+ ObjectValidationCheckDetails.attributeTypeMap = [
1070
+ {
1071
+ "name": "elementPath",
1072
+ "baseName": "elementPath",
1073
+ "type": "string"
1074
+ }
1075
+ ];
1076
+ /**
1039
1077
  * This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
1040
1078
  */
1041
1079
  class OenormNoteTextPropertiesDto {
@@ -1433,16 +1471,6 @@ PositionDto.attributeTypeMap = [
1433
1471
  "baseName": "repetitionTo",
1434
1472
  "type": "string"
1435
1473
  },
1436
- {
1437
- "name": "projectCatalogues",
1438
- "baseName": "projectCatalogues",
1439
- "type": "Array<CatalogueDto>"
1440
- },
1441
- {
1442
- "name": "catalogueReferences",
1443
- "baseName": "catalogueReferences",
1444
- "type": "Array<CatalogueReferenceDto>"
1445
- },
1446
1474
  {
1447
1475
  "name": "type",
1448
1476
  "baseName": "type",
@@ -1506,6 +1534,149 @@ exports.PositionTypeDto = PositionTypeDto;
1506
1534
  PositionTypeDto.discriminator = undefined;
1507
1535
  PositionTypeDto.attributeTypeMap = [];
1508
1536
  /**
1537
+ * Options for validating an AVA project
1538
+ */
1539
+ class PostAvaProjectValidationSourceOptions {
1540
+ static getAttributeTypeMap() {
1541
+ return PostAvaProjectValidationSourceOptions.attributeTypeMap;
1542
+ }
1543
+ }
1544
+ exports.PostAvaProjectValidationSourceOptions = PostAvaProjectValidationSourceOptions;
1545
+ PostAvaProjectValidationSourceOptions.discriminator = undefined;
1546
+ PostAvaProjectValidationSourceOptions.attributeTypeMap = [
1547
+ {
1548
+ "name": "avaProject",
1549
+ "baseName": "avaProject",
1550
+ "type": "ProjectDto"
1551
+ },
1552
+ {
1553
+ "name": "serviceSpecificationIndex",
1554
+ "baseName": "serviceSpecificationIndex",
1555
+ "type": "number"
1556
+ },
1557
+ {
1558
+ "name": "validationType",
1559
+ "baseName": "validationType",
1560
+ "type": "ValidationType"
1561
+ },
1562
+ {
1563
+ "name": "exchangePhase",
1564
+ "baseName": "exchangePhase",
1565
+ "type": "ExchangePhaseDto"
1566
+ },
1567
+ {
1568
+ "name": "avaSourceOptions",
1569
+ "baseName": "avaSourceOptions",
1570
+ "type": "PostAvaSourceOptions"
1571
+ },
1572
+ {
1573
+ "name": "oenormDestinationOptions",
1574
+ "baseName": "oenormDestinationOptions",
1575
+ "type": "PostOenormDestinationOptions"
1576
+ },
1577
+ {
1578
+ "name": "gaebDestinationOptions",
1579
+ "baseName": "gaebDestinationOptions",
1580
+ "type": "PostGaebDestinationOptions"
1581
+ }
1582
+ ];
1583
+ /**
1584
+ * Options for conversions from AVA
1585
+ */
1586
+ class PostAvaSourceOptions {
1587
+ static getAttributeTypeMap() {
1588
+ return PostAvaSourceOptions.attributeTypeMap;
1589
+ }
1590
+ }
1591
+ exports.PostAvaSourceOptions = PostAvaSourceOptions;
1592
+ PostAvaSourceOptions.discriminator = undefined;
1593
+ PostAvaSourceOptions.attributeTypeMap = [
1594
+ {
1595
+ "name": "tryAutoGenerateItemNumbersAndSchema",
1596
+ "baseName": "tryAutoGenerateItemNumbersAndSchema",
1597
+ "type": "boolean"
1598
+ }
1599
+ ];
1600
+ /**
1601
+ * Options for conversions to GAEB
1602
+ */
1603
+ class PostGaebDestinationOptions {
1604
+ static getAttributeTypeMap() {
1605
+ return PostGaebDestinationOptions.attributeTypeMap;
1606
+ }
1607
+ }
1608
+ exports.PostGaebDestinationOptions = PostGaebDestinationOptions;
1609
+ PostGaebDestinationOptions.discriminator = undefined;
1610
+ PostGaebDestinationOptions.attributeTypeMap = [
1611
+ {
1612
+ "name": "destinationGaebType",
1613
+ "baseName": "destinationGaebType",
1614
+ "type": "DestinationGaebType"
1615
+ },
1616
+ {
1617
+ "name": "targetExchangePhaseTransform",
1618
+ "baseName": "targetExchangePhaseTransform",
1619
+ "type": "DestinationGaebExchangePhase"
1620
+ },
1621
+ {
1622
+ "name": "enforceStrictOfferPhaseLongTextOutput",
1623
+ "baseName": "enforceStrictOfferPhaseLongTextOutput",
1624
+ "type": "boolean"
1625
+ },
1626
+ {
1627
+ "name": "exportQuantityDetermination",
1628
+ "baseName": "exportQuantityDetermination",
1629
+ "type": "boolean"
1630
+ },
1631
+ {
1632
+ "name": "removeUnprintableCharactersFromTexts",
1633
+ "baseName": "removeUnprintableCharactersFromTexts",
1634
+ "type": "boolean"
1635
+ },
1636
+ {
1637
+ "name": "forceIncludeDescriptions",
1638
+ "baseName": "forceIncludeDescriptions",
1639
+ "type": "boolean"
1640
+ },
1641
+ {
1642
+ "name": "treatNullItemNumberSchemaAsInvalid",
1643
+ "baseName": "treatNullItemNumberSchemaAsInvalid",
1644
+ "type": "boolean"
1645
+ }
1646
+ ];
1647
+ /**
1648
+ * Options for conversions to Oenorm
1649
+ */
1650
+ class PostOenormDestinationOptions {
1651
+ static getAttributeTypeMap() {
1652
+ return PostOenormDestinationOptions.attributeTypeMap;
1653
+ }
1654
+ }
1655
+ exports.PostOenormDestinationOptions = PostOenormDestinationOptions;
1656
+ PostOenormDestinationOptions.discriminator = undefined;
1657
+ PostOenormDestinationOptions.attributeTypeMap = [
1658
+ {
1659
+ "name": "destinationOenormType",
1660
+ "baseName": "destinationOenormType",
1661
+ "type": "DestinationOenormType"
1662
+ },
1663
+ {
1664
+ "name": "tryRepairProjectStructure",
1665
+ "baseName": "tryRepairProjectStructure",
1666
+ "type": "boolean"
1667
+ },
1668
+ {
1669
+ "name": "skipTryEnforceSchemaCompliantXmlOutput",
1670
+ "baseName": "skipTryEnforceSchemaCompliantXmlOutput",
1671
+ "type": "boolean"
1672
+ },
1673
+ {
1674
+ "name": "removeUnprintableCharactersFromTexts",
1675
+ "baseName": "removeUnprintableCharactersFromTexts",
1676
+ "type": "boolean"
1677
+ }
1678
+ ];
1679
+ /**
1509
1680
  * 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.
1510
1681
  */
1511
1682
  class PriceComponentDto {
@@ -1789,6 +1960,23 @@ ProjectInformationDto.attributeTypeMap = [
1789
1960
  }
1790
1961
  ];
1791
1962
  /**
1963
+ * Check details specificly for checking ProjectDto objects
1964
+ */
1965
+ class ProjectValidationCheckDetails {
1966
+ static getAttributeTypeMap() {
1967
+ return ProjectValidationCheckDetails.attributeTypeMap;
1968
+ }
1969
+ }
1970
+ exports.ProjectValidationCheckDetails = ProjectValidationCheckDetails;
1971
+ ProjectValidationCheckDetails.discriminator = undefined;
1972
+ ProjectValidationCheckDetails.attributeTypeMap = [
1973
+ {
1974
+ "name": "elementId",
1975
+ "baseName": "elementId",
1976
+ "type": "string"
1977
+ }
1978
+ ];
1979
+ /**
1792
1980
  * Quantity assignments are, in contrast to SubDescriptions, used to categorize parts of their parent Position. For example, it could be categorized by cost group - e.g. a Position describing concrete walls could follow the German DIN 276 Cost Groups Standard and specify that of the total 1.000m² wall, 500m² are classified as exterior walls and 500m² are classified as interior walls. They would then have different cost groups associated, e.g. for accounting purposes.
1793
1981
  */
1794
1982
  class QuantityAssignmentDto {
@@ -2309,16 +2497,6 @@ ServiceSpecificationGroupDto.attributeTypeMap = [
2309
2497
  "baseName": "type",
2310
2498
  "type": "string"
2311
2499
  },
2312
- {
2313
- "name": "projectCatalogues",
2314
- "baseName": "projectCatalogues",
2315
- "type": "Array<CatalogueDto>"
2316
- },
2317
- {
2318
- "name": "catalogueReferences",
2319
- "baseName": "catalogueReferences",
2320
- "type": "Array<CatalogueReferenceDto>"
2321
- },
2322
2500
  {
2323
2501
  "name": "oenormProperties",
2324
2502
  "baseName": "oenormProperties",
@@ -2416,6 +2594,11 @@ SubDescriptionDto.attributeTypeMap = [
2416
2594
  "baseName": "quantity",
2417
2595
  "type": "number"
2418
2596
  },
2597
+ {
2598
+ "name": "quantityOverride",
2599
+ "baseName": "quantityOverride",
2600
+ "type": "number"
2601
+ },
2419
2602
  {
2420
2603
  "name": "quantityComponents",
2421
2604
  "baseName": "quantityComponents",
@@ -2441,6 +2624,11 @@ SubDescriptionDto.attributeTypeMap = [
2441
2624
  "baseName": "longText",
2442
2625
  "type": "string"
2443
2626
  },
2627
+ {
2628
+ "name": "unitTag",
2629
+ "baseName": "unitTag",
2630
+ "type": "string"
2631
+ },
2444
2632
  {
2445
2633
  "name": "htmlLongText",
2446
2634
  "baseName": "htmlLongText",
@@ -2475,6 +2663,16 @@ SubDescriptionDto.attributeTypeMap = [
2475
2663
  "name": "hasBidderCommentInHtmlLongText",
2476
2664
  "baseName": "hasBidderCommentInHtmlLongText",
2477
2665
  "type": "boolean"
2666
+ },
2667
+ {
2668
+ "name": "elementType",
2669
+ "baseName": "elementType",
2670
+ "type": "string"
2671
+ },
2672
+ {
2673
+ "name": "elementTypeDiscriminator",
2674
+ "baseName": "elementTypeDiscriminator",
2675
+ "type": "string"
2478
2676
  }
2479
2677
  ];
2480
2678
  class TokenLoginPost {
@@ -2602,6 +2800,113 @@ TradeDiscountDto.attributeTypeMap = [
2602
2800
  }
2603
2801
  ];
2604
2802
  /**
2803
+ * This class models the results of a single check performed during a validation action
2804
+ */
2805
+ class ValidationCheckResult {
2806
+ static getAttributeTypeMap() {
2807
+ return ValidationCheckResult.attributeTypeMap;
2808
+ }
2809
+ }
2810
+ exports.ValidationCheckResult = ValidationCheckResult;
2811
+ ValidationCheckResult.discriminator = undefined;
2812
+ ValidationCheckResult.attributeTypeMap = [
2813
+ {
2814
+ "name": "severity",
2815
+ "baseName": "severity",
2816
+ "type": "ValidationSeverity"
2817
+ },
2818
+ {
2819
+ "name": "checkType",
2820
+ "baseName": "checkType",
2821
+ "type": "ValidationCheckType"
2822
+ },
2823
+ {
2824
+ "name": "message",
2825
+ "baseName": "message",
2826
+ "type": "string"
2827
+ },
2828
+ {
2829
+ "name": "objectValidationCheckDetails",
2830
+ "baseName": "objectValidationCheckDetails",
2831
+ "type": "ObjectValidationCheckDetails"
2832
+ },
2833
+ {
2834
+ "name": "xmlSchemaValidationCheckDetails",
2835
+ "baseName": "xmlSchemaValidationCheckDetails",
2836
+ "type": "XmlSchemaValidationCheckDetails"
2837
+ },
2838
+ {
2839
+ "name": "projectValidationCheckDetails",
2840
+ "baseName": "projectValidationCheckDetails",
2841
+ "type": "ProjectValidationCheckDetails"
2842
+ }
2843
+ ];
2844
+ /**
2845
+ * Enumeration for the different types of checks performed
2846
+ */
2847
+ class ValidationCheckType {
2848
+ static getAttributeTypeMap() {
2849
+ return ValidationCheckType.attributeTypeMap;
2850
+ }
2851
+ }
2852
+ exports.ValidationCheckType = ValidationCheckType;
2853
+ ValidationCheckType.discriminator = undefined;
2854
+ ValidationCheckType.attributeTypeMap = [];
2855
+ /**
2856
+ * This class represents the result of a validation operation
2857
+ */
2858
+ class ValidationResult {
2859
+ static getAttributeTypeMap() {
2860
+ return ValidationResult.attributeTypeMap;
2861
+ }
2862
+ }
2863
+ exports.ValidationResult = ValidationResult;
2864
+ ValidationResult.discriminator = undefined;
2865
+ ValidationResult.attributeTypeMap = [
2866
+ {
2867
+ "name": "isSchemaCompliant",
2868
+ "baseName": "isSchemaCompliant",
2869
+ "type": "boolean"
2870
+ },
2871
+ {
2872
+ "name": "checkResults",
2873
+ "baseName": "checkResults",
2874
+ "type": "Array<ValidationCheckResult>"
2875
+ },
2876
+ {
2877
+ "name": "validationType",
2878
+ "baseName": "validationType",
2879
+ "type": "ValidationType"
2880
+ },
2881
+ {
2882
+ "name": "fileName",
2883
+ "baseName": "fileName",
2884
+ "type": "string"
2885
+ }
2886
+ ];
2887
+ /**
2888
+ * Indicates the severity of a check
2889
+ */
2890
+ class ValidationSeverity {
2891
+ static getAttributeTypeMap() {
2892
+ return ValidationSeverity.attributeTypeMap;
2893
+ }
2894
+ }
2895
+ exports.ValidationSeverity = ValidationSeverity;
2896
+ ValidationSeverity.discriminator = undefined;
2897
+ ValidationSeverity.attributeTypeMap = [];
2898
+ /**
2899
+ * This enumeration represents the possible conversion targets when performing a validation
2900
+ */
2901
+ class ValidationType {
2902
+ static getAttributeTypeMap() {
2903
+ return ValidationType.attributeTypeMap;
2904
+ }
2905
+ }
2906
+ exports.ValidationType = ValidationType;
2907
+ ValidationType.discriminator = undefined;
2908
+ ValidationType.attributeTypeMap = [];
2909
+ /**
2605
2910
  * This class does not represent a typical `TimeSpan` but has a scalar value int Duration and a DurationUnit Unit to represent durations as typically used in contracts, e.g. 5 Months
2606
2911
  */
2607
2912
  class WarrantyDurationDto {
@@ -2623,6 +2928,28 @@ WarrantyDurationDto.attributeTypeMap = [
2623
2928
  "type": "DurationUnitDto"
2624
2929
  }
2625
2930
  ];
2931
+ /**
2932
+ * Check details for an XML schema validation result
2933
+ */
2934
+ class XmlSchemaValidationCheckDetails {
2935
+ static getAttributeTypeMap() {
2936
+ return XmlSchemaValidationCheckDetails.attributeTypeMap;
2937
+ }
2938
+ }
2939
+ exports.XmlSchemaValidationCheckDetails = XmlSchemaValidationCheckDetails;
2940
+ XmlSchemaValidationCheckDetails.discriminator = undefined;
2941
+ XmlSchemaValidationCheckDetails.attributeTypeMap = [
2942
+ {
2943
+ "name": "lineNumber",
2944
+ "baseName": "lineNumber",
2945
+ "type": "number"
2946
+ },
2947
+ {
2948
+ "name": "linePosition",
2949
+ "baseName": "linePosition",
2950
+ "type": "number"
2951
+ }
2952
+ ];
2626
2953
  let enumsMap = {};
2627
2954
  let typeMap = {
2628
2955
  "AddendumStatusDto": AddendumStatusDto,
@@ -2645,6 +2972,7 @@ let typeMap = {
2645
2972
  "DurationUnitDto": DurationUnitDto,
2646
2973
  "ExchangePhaseDto": ExchangePhaseDto,
2647
2974
  "ExecutionDescriptionDto": ExecutionDescriptionDto,
2975
+ "FileValidationSourceType": FileValidationSourceType,
2648
2976
  "ForgotPasswordPost": ForgotPasswordPost,
2649
2977
  "GetStatus": GetStatus,
2650
2978
  "GrossPriceComponentDto": GrossPriceComponentDto,
@@ -2658,6 +2986,7 @@ let typeMap = {
2658
2986
  "LabourPriceComponentDto": LabourPriceComponentDto,
2659
2987
  "LoginPost": LoginPost,
2660
2988
  "NoteTextDto": NoteTextDto,
2989
+ "ObjectValidationCheckDetails": ObjectValidationCheckDetails,
2661
2990
  "OenormNoteTextPropertiesDto": OenormNoteTextPropertiesDto,
2662
2991
  "OenormOriginCodeDto": OenormOriginCodeDto,
2663
2992
  "OenormPositionPropertiesDto": OenormPositionPropertiesDto,
@@ -2666,6 +2995,10 @@ let typeMap = {
2666
2995
  "PartyInformationDto": PartyInformationDto,
2667
2996
  "PositionDto": PositionDto,
2668
2997
  "PositionTypeDto": PositionTypeDto,
2998
+ "PostAvaProjectValidationSourceOptions": PostAvaProjectValidationSourceOptions,
2999
+ "PostAvaSourceOptions": PostAvaSourceOptions,
3000
+ "PostGaebDestinationOptions": PostGaebDestinationOptions,
3001
+ "PostOenormDestinationOptions": PostOenormDestinationOptions,
2669
3002
  "PriceComponentDto": PriceComponentDto,
2670
3003
  "PriceComponentTypeDto": PriceComponentTypeDto,
2671
3004
  "PriceInformationDto": PriceInformationDto,
@@ -2674,6 +3007,7 @@ let typeMap = {
2674
3007
  "ProductDataDto": ProductDataDto,
2675
3008
  "ProjectDto": ProjectDto,
2676
3009
  "ProjectInformationDto": ProjectInformationDto,
3010
+ "ProjectValidationCheckDetails": ProjectValidationCheckDetails,
2677
3011
  "QuantityAssignmentDto": QuantityAssignmentDto,
2678
3012
  "RegisterPost": RegisterPost,
2679
3013
  "ResponseErrorType": ResponseErrorType,
@@ -2690,7 +3024,13 @@ let typeMap = {
2690
3024
  "TokenRefreshPost": TokenRefreshPost,
2691
3025
  "TokenResponseGet": TokenResponseGet,
2692
3026
  "TradeDiscountDto": TradeDiscountDto,
3027
+ "ValidationCheckResult": ValidationCheckResult,
3028
+ "ValidationCheckType": ValidationCheckType,
3029
+ "ValidationResult": ValidationResult,
3030
+ "ValidationSeverity": ValidationSeverity,
3031
+ "ValidationType": ValidationType,
2693
3032
  "WarrantyDurationDto": WarrantyDurationDto,
3033
+ "XmlSchemaValidationCheckDetails": XmlSchemaValidationCheckDetails,
2694
3034
  };
2695
3035
  class HttpBasicAuth {
2696
3036
  constructor() {
@@ -2915,9 +3255,11 @@ class AslvConversionApi {
2915
3255
  * @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.
2916
3256
  * @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.
2917
3257
  * @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.
3258
+ * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
3259
+ * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
2918
3260
  * @param {*} [options] Override http request options.
2919
3261
  */
2920
- aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
3262
+ aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, treatNullItemNumberSchemaAsInvalid, options = {}) {
2921
3263
  const localVarPath = this.basePath + '/conversion/aslv/gaeb';
2922
3264
  let localVarQueryParameters = {};
2923
3265
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -2937,6 +3279,12 @@ class AslvConversionApi {
2937
3279
  if (removeUnprintableCharactersFromTexts !== undefined) {
2938
3280
  localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
2939
3281
  }
3282
+ if (forceIncludeDescriptions !== undefined) {
3283
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
3284
+ }
3285
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
3286
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
3287
+ }
2940
3288
  Object.assign(localVarHeaderParams, options.headers);
2941
3289
  let localVarUseFormData = false;
2942
3290
  if (aslvFile !== undefined) {
@@ -3234,9 +3582,11 @@ class AvaConversionApi {
3234
3582
  * @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.
3235
3583
  * @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.
3236
3584
  * @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.
3585
+ * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
3586
+ * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
3237
3587
  * @param {*} [options] Override http request options.
3238
3588
  */
3239
- avaConversionConvertToGaeb(avaProject, tryAutoGenerateItemNumbersAndSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
3589
+ avaConversionConvertToGaeb(avaProject, tryAutoGenerateItemNumbersAndSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, treatNullItemNumberSchemaAsInvalid, options = {}) {
3240
3590
  const localVarPath = this.basePath + '/conversion/ava/gaeb';
3241
3591
  let localVarQueryParameters = {};
3242
3592
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3263,6 +3613,12 @@ class AvaConversionApi {
3263
3613
  if (removeUnprintableCharactersFromTexts !== undefined) {
3264
3614
  localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
3265
3615
  }
3616
+ if (forceIncludeDescriptions !== undefined) {
3617
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
3618
+ }
3619
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
3620
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
3621
+ }
3266
3622
  Object.assign(localVarHeaderParams, options.headers);
3267
3623
  let localVarUseFormData = false;
3268
3624
  let localVarRequestOptions = {
@@ -4039,9 +4395,11 @@ class ExcelConversionApi {
4039
4395
  * @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.
4040
4396
  * @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.
4041
4397
  * @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.
4398
+ * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
4399
+ * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
4042
4400
  * @param {*} [options] Override http request options.
4043
4401
  */
4044
- excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
4402
+ excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, treatNullItemNumberSchemaAsInvalid, options = {}) {
4045
4403
  const localVarPath = this.basePath + '/conversion/excel/gaeb';
4046
4404
  let localVarQueryParameters = {};
4047
4405
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4067,6 +4425,12 @@ class ExcelConversionApi {
4067
4425
  if (removeUnprintableCharactersFromTexts !== undefined) {
4068
4426
  localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4069
4427
  }
4428
+ if (forceIncludeDescriptions !== undefined) {
4429
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
4430
+ }
4431
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
4432
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
4433
+ }
4070
4434
  Object.assign(localVarHeaderParams, options.headers);
4071
4435
  let localVarUseFormData = false;
4072
4436
  if (excelFile !== undefined) {
@@ -4369,9 +4733,11 @@ class GaebConversionApi {
4369
4733
  * @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.
4370
4734
  * @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.
4371
4735
  * @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.
4736
+ * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
4737
+ * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
4372
4738
  * @param {*} [options] Override http request options.
4373
4739
  */
4374
- gaebConversionConvertToGaeb(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
4740
+ gaebConversionConvertToGaeb(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, treatNullItemNumberSchemaAsInvalid, options = {}) {
4375
4741
  const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
4376
4742
  let localVarQueryParameters = {};
4377
4743
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4394,6 +4760,12 @@ class GaebConversionApi {
4394
4760
  if (removeUnprintableCharactersFromTexts !== undefined) {
4395
4761
  localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4396
4762
  }
4763
+ if (forceIncludeDescriptions !== undefined) {
4764
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
4765
+ }
4766
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
4767
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
4768
+ }
4397
4769
  Object.assign(localVarHeaderParams, options.headers);
4398
4770
  let localVarUseFormData = false;
4399
4771
  if (gaebFile !== undefined) {
@@ -4683,9 +5055,11 @@ class OenormConversionApi {
4683
5055
  * @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.
4684
5056
  * @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.
4685
5057
  * @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.
5058
+ * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
5059
+ * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
4686
5060
  * @param {*} [options] Override http request options.
4687
5061
  */
4688
- oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
5062
+ oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, treatNullItemNumberSchemaAsInvalid, options = {}) {
4689
5063
  const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
4690
5064
  let localVarQueryParameters = {};
4691
5065
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4705,6 +5079,12 @@ class OenormConversionApi {
4705
5079
  if (removeUnprintableCharactersFromTexts !== undefined) {
4706
5080
  localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4707
5081
  }
5082
+ if (forceIncludeDescriptions !== undefined) {
5083
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
5084
+ }
5085
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
5086
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
5087
+ }
4708
5088
  Object.assign(localVarHeaderParams, options.headers);
4709
5089
  let localVarUseFormData = false;
4710
5090
  if (oenormFile !== undefined) {
@@ -4990,9 +5370,11 @@ class RebConversionApi {
4990
5370
  * @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.
4991
5371
  * @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.
4992
5372
  * @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.
5373
+ * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
5374
+ * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
4993
5375
  * @param {*} [options] Override http request options.
4994
5376
  */
4995
- rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
5377
+ rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, treatNullItemNumberSchemaAsInvalid, options = {}) {
4996
5378
  const localVarPath = this.basePath + '/conversion/reb/gaeb';
4997
5379
  let localVarQueryParameters = {};
4998
5380
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5012,6 +5394,12 @@ class RebConversionApi {
5012
5394
  if (removeUnprintableCharactersFromTexts !== undefined) {
5013
5395
  localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5014
5396
  }
5397
+ if (forceIncludeDescriptions !== undefined) {
5398
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
5399
+ }
5400
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
5401
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
5402
+ }
5015
5403
  Object.assign(localVarHeaderParams, options.headers);
5016
5404
  let localVarUseFormData = false;
5017
5405
  if (rebFile !== undefined) {
@@ -5297,9 +5685,11 @@ class SiaConversionApi {
5297
5685
  * @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.
5298
5686
  * @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.
5299
5687
  * @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.
5688
+ * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
5689
+ * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
5300
5690
  * @param {*} [options] Override http request options.
5301
5691
  */
5302
- siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
5692
+ siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, treatNullItemNumberSchemaAsInvalid, options = {}) {
5303
5693
  const localVarPath = this.basePath + '/conversion/sia/gaeb';
5304
5694
  let localVarQueryParameters = {};
5305
5695
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5319,6 +5709,12 @@ class SiaConversionApi {
5319
5709
  if (removeUnprintableCharactersFromTexts !== undefined) {
5320
5710
  localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5321
5711
  }
5712
+ if (forceIncludeDescriptions !== undefined) {
5713
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
5714
+ }
5715
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
5716
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
5717
+ }
5322
5718
  Object.assign(localVarHeaderParams, options.headers);
5323
5719
  let localVarUseFormData = false;
5324
5720
  if (siaFile !== undefined) {
@@ -5520,4 +5916,156 @@ class StatusApi {
5520
5916
  }
5521
5917
  }
5522
5918
  exports.StatusApi = StatusApi;
5919
+ var ValidationApiApiKeys;
5920
+ (function (ValidationApiApiKeys) {
5921
+ })(ValidationApiApiKeys = exports.ValidationApiApiKeys || (exports.ValidationApiApiKeys = {}));
5922
+ class ValidationApi {
5923
+ constructor(basePathOrUsername, password, basePath) {
5924
+ this._basePath = defaultBasePath;
5925
+ this.defaultHeaders = {};
5926
+ this._useQuerystring = false;
5927
+ this.authentications = {
5928
+ 'default': new VoidAuth(),
5929
+ 'Dangl.Identity': new OAuth(),
5930
+ };
5931
+ if (password) {
5932
+ if (basePath) {
5933
+ this.basePath = basePath;
5934
+ }
5935
+ }
5936
+ else {
5937
+ if (basePathOrUsername) {
5938
+ this.basePath = basePathOrUsername;
5939
+ }
5940
+ }
5941
+ }
5942
+ set useQuerystring(value) {
5943
+ this._useQuerystring = value;
5944
+ }
5945
+ set basePath(basePath) {
5946
+ this._basePath = basePath;
5947
+ }
5948
+ get basePath() {
5949
+ return this._basePath;
5950
+ }
5951
+ setDefaultAuthentication(auth) {
5952
+ this.authentications.default = auth;
5953
+ }
5954
+ setApiKey(key, value) {
5955
+ this.authentications[ValidationApiApiKeys[key]].apiKey = value;
5956
+ }
5957
+ set accessToken(token) {
5958
+ this.authentications['Dangl.Identity'].accessToken = token;
5959
+ }
5960
+ /**
5961
+ *
5962
+ * @summary This endpoint validates AVA files, typically GAEB or ÖNorm. The type of file needs to be provided as a query parameter, since there is no auto detection of the uploaded file type.
5963
+ * @param avaFile The file to validate
5964
+ * @param fileValidationSourceType You need to indicate which type of file is being provided, there is no auto detection mechanism
5965
+ * @param {*} [options] Override http request options.
5966
+ */
5967
+ validationValidateFile(avaFile, fileValidationSourceType, options = {}) {
5968
+ const localVarPath = this.basePath + '/validation/file';
5969
+ let localVarQueryParameters = {};
5970
+ let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
5971
+ let localVarFormParams = {};
5972
+ if (fileValidationSourceType !== undefined) {
5973
+ localVarQueryParameters['fileValidationSourceType'] = ObjectSerializer.serialize(fileValidationSourceType, "'Gaeb' | 'Oenorm'");
5974
+ }
5975
+ Object.assign(localVarHeaderParams, options.headers);
5976
+ let localVarUseFormData = false;
5977
+ if (avaFile !== undefined) {
5978
+ localVarFormParams['avaFile'] = avaFile;
5979
+ }
5980
+ localVarUseFormData = true;
5981
+ let localVarRequestOptions = {
5982
+ method: 'POST',
5983
+ qs: localVarQueryParameters,
5984
+ headers: localVarHeaderParams,
5985
+ uri: localVarPath,
5986
+ useQuerystring: this._useQuerystring,
5987
+ json: true,
5988
+ };
5989
+ this.authentications['Dangl.Identity'].applyToRequest(localVarRequestOptions);
5990
+ this.authentications.default.applyToRequest(localVarRequestOptions);
5991
+ if (Object.keys(localVarFormParams).length) {
5992
+ if (localVarUseFormData) {
5993
+ localVarRequestOptions.formData = localVarFormParams;
5994
+ }
5995
+ else {
5996
+ localVarRequestOptions.form = localVarFormParams;
5997
+ }
5998
+ }
5999
+ return new Promise((resolve, reject) => {
6000
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
6001
+ if (error) {
6002
+ reject(error);
6003
+ }
6004
+ else {
6005
+ body = ObjectSerializer.deserialize(body, "ValidationResult");
6006
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
6007
+ resolve({ response: response, body: body });
6008
+ }
6009
+ else {
6010
+ reject({ response: response, body: body });
6011
+ }
6012
+ }
6013
+ });
6014
+ });
6015
+ }
6016
+ /**
6017
+ *
6018
+ * @summary This endpoint provides a full validation of a provided ProjectDto. It will take the given exchange phase into account and do some general project validation. Optionally, a conversion to a desired target can also be done, in which case the target file will also be validated.
6019
+ * @param avaProjectValidationSourceOptions The options used for the validation operation
6020
+ * @param {*} [options] Override http request options.
6021
+ */
6022
+ validationValidateProject(avaProjectValidationSourceOptions, options = {}) {
6023
+ const localVarPath = this.basePath + '/validation/project';
6024
+ let localVarQueryParameters = {};
6025
+ let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
6026
+ let localVarFormParams = {};
6027
+ // verify required parameter 'avaProjectValidationSourceOptions' is not null or undefined
6028
+ if (avaProjectValidationSourceOptions === null || avaProjectValidationSourceOptions === undefined) {
6029
+ throw new Error('Required parameter avaProjectValidationSourceOptions was null or undefined when calling validationValidateProject.');
6030
+ }
6031
+ Object.assign(localVarHeaderParams, options.headers);
6032
+ let localVarUseFormData = false;
6033
+ let localVarRequestOptions = {
6034
+ method: 'POST',
6035
+ qs: localVarQueryParameters,
6036
+ headers: localVarHeaderParams,
6037
+ uri: localVarPath,
6038
+ useQuerystring: this._useQuerystring,
6039
+ json: true,
6040
+ body: ObjectSerializer.serialize(avaProjectValidationSourceOptions, "PostAvaProjectValidationSourceOptions")
6041
+ };
6042
+ this.authentications['Dangl.Identity'].applyToRequest(localVarRequestOptions);
6043
+ this.authentications.default.applyToRequest(localVarRequestOptions);
6044
+ if (Object.keys(localVarFormParams).length) {
6045
+ if (localVarUseFormData) {
6046
+ localVarRequestOptions.formData = localVarFormParams;
6047
+ }
6048
+ else {
6049
+ localVarRequestOptions.form = localVarFormParams;
6050
+ }
6051
+ }
6052
+ return new Promise((resolve, reject) => {
6053
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
6054
+ if (error) {
6055
+ reject(error);
6056
+ }
6057
+ else {
6058
+ body = ObjectSerializer.deserialize(body, "ValidationResult");
6059
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
6060
+ resolve({ response: response, body: body });
6061
+ }
6062
+ else {
6063
+ reject({ response: response, body: body });
6064
+ }
6065
+ }
6066
+ });
6067
+ });
6068
+ }
6069
+ }
6070
+ exports.ValidationApi = ValidationApi;
5523
6071
  //# sourceMappingURL=api.js.map