@dangl/avacloud-client-node 1.15.0 → 1.18.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.23.3
3
+ * AVACloud API 1.30.0
4
4
  * AVACloud API specification
5
5
  *
6
- * OpenAPI spec version: 1.23.3
6
+ * OpenAPI spec version: 1.30.0
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.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.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 = 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
  // ===============================================
@@ -141,6 +141,17 @@ class ObjectSerializer {
141
141
  }
142
142
  }
143
143
  /**
144
+ * This enumeration represents the status of an addendum, 'Nachtrag' in German
145
+ */
146
+ class AddendumStatusDto {
147
+ static getAttributeTypeMap() {
148
+ return AddendumStatusDto.attributeTypeMap;
149
+ }
150
+ }
151
+ exports.AddendumStatusDto = AddendumStatusDto;
152
+ AddendumStatusDto.discriminator = undefined;
153
+ AddendumStatusDto.attributeTypeMap = [];
154
+ /**
144
155
  * Indicates the origin of an element.
145
156
  */
146
157
  class AdditionTypeDto {
@@ -514,6 +525,17 @@ exports.DestinationOenormType = DestinationOenormType;
514
525
  DestinationOenormType.discriminator = undefined;
515
526
  DestinationOenormType.attributeTypeMap = [];
516
527
  /**
528
+ * Represents valid REB target types
529
+ */
530
+ class DestinationRebType {
531
+ static getAttributeTypeMap() {
532
+ return DestinationRebType.attributeTypeMap;
533
+ }
534
+ }
535
+ exports.DestinationRebType = DestinationRebType;
536
+ DestinationRebType.discriminator = undefined;
537
+ DestinationRebType.attributeTypeMap = [];
538
+ /**
517
539
  * This enumeration represents the unit of a duration
518
540
  */
519
541
  class DurationUnitDto {
@@ -556,6 +578,21 @@ IElementDto.attributeTypeMap = [
556
578
  "baseName": "gaebXmlId",
557
579
  "type": "string"
558
580
  },
581
+ {
582
+ "name": "addendumNumber",
583
+ "baseName": "addendumNumber",
584
+ "type": "string"
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
+ },
559
596
  {
560
597
  "name": "elementTypeDiscriminator",
561
598
  "baseName": "elementTypeDiscriminator",
@@ -591,6 +628,17 @@ ExecutionDescriptionDto.attributeTypeMap = [
591
628
  "type": "string"
592
629
  }
593
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 = [];
594
642
  class ForgotPasswordPost {
595
643
  static getAttributeTypeMap() {
596
644
  return ForgotPasswordPost.attributeTypeMap;
@@ -740,6 +788,16 @@ ItemNumberDto.attributeTypeMap = [
740
788
  "name": "isLot",
741
789
  "baseName": "isLot",
742
790
  "type": "boolean"
791
+ },
792
+ {
793
+ "name": "hierarchyLevel",
794
+ "baseName": "hierarchyLevel",
795
+ "type": "number"
796
+ },
797
+ {
798
+ "name": "isAttachedToPosition",
799
+ "baseName": "isAttachedToPosition",
800
+ "type": "boolean"
743
801
  }
744
802
  ];
745
803
  /**
@@ -777,6 +835,21 @@ ItemNumberSchemaDto.attributeTypeMap = [
777
835
  "name": "identifier",
778
836
  "baseName": "identifier",
779
837
  "type": "string"
838
+ },
839
+ {
840
+ "name": "skipNonExistingLevelsInPositionItemNumbers",
841
+ "baseName": "skipNonExistingLevelsInPositionItemNumbers",
842
+ "type": "boolean"
843
+ },
844
+ {
845
+ "name": "skippedTiersFiller",
846
+ "baseName": "skippedTiersFiller",
847
+ "type": "string"
848
+ },
849
+ {
850
+ "name": "schemaIsCorrectlyDefined",
851
+ "baseName": "schemaIsCorrectlyDefined",
852
+ "type": "boolean"
780
853
  }
781
854
  ];
782
855
  /**
@@ -971,6 +1044,50 @@ NoteTextDto.attributeTypeMap = [
971
1044
  "name": "descriptionId",
972
1045
  "baseName": "descriptionId",
973
1046
  "type": "string"
1047
+ },
1048
+ {
1049
+ "name": "oenormNoteTextProperties",
1050
+ "baseName": "oenormNoteTextProperties",
1051
+ "type": "OenormNoteTextPropertiesDto"
1052
+ },
1053
+ {
1054
+ "name": "hasBidderCommentInHtmlLongText",
1055
+ "baseName": "hasBidderCommentInHtmlLongText",
1056
+ "type": "boolean"
1057
+ }
1058
+ ];
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
+ /**
1077
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
1078
+ */
1079
+ class OenormNoteTextPropertiesDto {
1080
+ static getAttributeTypeMap() {
1081
+ return OenormNoteTextPropertiesDto.attributeTypeMap;
1082
+ }
1083
+ }
1084
+ exports.OenormNoteTextPropertiesDto = OenormNoteTextPropertiesDto;
1085
+ OenormNoteTextPropertiesDto.discriminator = undefined;
1086
+ OenormNoteTextPropertiesDto.attributeTypeMap = [
1087
+ {
1088
+ "name": "originCode",
1089
+ "baseName": "originCode",
1090
+ "type": "OenormOriginCodeDto"
974
1091
  }
975
1092
  ];
976
1093
  /**
@@ -1009,6 +1126,11 @@ OenormPositionPropertiesDto.attributeTypeMap = [
1009
1126
  "name": "isMainPosition",
1010
1127
  "baseName": "isMainPosition",
1011
1128
  "type": "boolean"
1129
+ },
1130
+ {
1131
+ "name": "isUndividedPosition",
1132
+ "baseName": "isUndividedPosition",
1133
+ "type": "boolean"
1012
1134
  }
1013
1135
  ];
1014
1136
  /**
@@ -1349,16 +1471,6 @@ PositionDto.attributeTypeMap = [
1349
1471
  "baseName": "repetitionTo",
1350
1472
  "type": "string"
1351
1473
  },
1352
- {
1353
- "name": "projectCatalogues",
1354
- "baseName": "projectCatalogues",
1355
- "type": "Array<CatalogueDto>"
1356
- },
1357
- {
1358
- "name": "catalogueReferences",
1359
- "baseName": "catalogueReferences",
1360
- "type": "Array<CatalogueReferenceDto>"
1361
- },
1362
1474
  {
1363
1475
  "name": "type",
1364
1476
  "baseName": "type",
@@ -1393,6 +1505,21 @@ PositionDto.attributeTypeMap = [
1393
1505
  "name": "descriptionId",
1394
1506
  "baseName": "descriptionId",
1395
1507
  "type": "string"
1508
+ },
1509
+ {
1510
+ "name": "hierarchyLevel",
1511
+ "baseName": "hierarchyLevel",
1512
+ "type": "number"
1513
+ },
1514
+ {
1515
+ "name": "addendumStatus",
1516
+ "baseName": "addendumStatus",
1517
+ "type": "AddendumStatusDto"
1518
+ },
1519
+ {
1520
+ "name": "hasBidderCommentInHtmlLongText",
1521
+ "baseName": "hasBidderCommentInHtmlLongText",
1522
+ "type": "boolean"
1396
1523
  }
1397
1524
  ];
1398
1525
  /**
@@ -1407,6 +1534,144 @@ exports.PositionTypeDto = PositionTypeDto;
1407
1534
  PositionTypeDto.discriminator = undefined;
1408
1535
  PositionTypeDto.attributeTypeMap = [];
1409
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
+ /**
1643
+ * Options for conversions to Oenorm
1644
+ */
1645
+ class PostOenormDestinationOptions {
1646
+ static getAttributeTypeMap() {
1647
+ return PostOenormDestinationOptions.attributeTypeMap;
1648
+ }
1649
+ }
1650
+ exports.PostOenormDestinationOptions = PostOenormDestinationOptions;
1651
+ PostOenormDestinationOptions.discriminator = undefined;
1652
+ PostOenormDestinationOptions.attributeTypeMap = [
1653
+ {
1654
+ "name": "destinationOenormType",
1655
+ "baseName": "destinationOenormType",
1656
+ "type": "DestinationOenormType"
1657
+ },
1658
+ {
1659
+ "name": "tryRepairProjectStructure",
1660
+ "baseName": "tryRepairProjectStructure",
1661
+ "type": "boolean"
1662
+ },
1663
+ {
1664
+ "name": "skipTryEnforceSchemaCompliantXmlOutput",
1665
+ "baseName": "skipTryEnforceSchemaCompliantXmlOutput",
1666
+ "type": "boolean"
1667
+ },
1668
+ {
1669
+ "name": "removeUnprintableCharactersFromTexts",
1670
+ "baseName": "removeUnprintableCharactersFromTexts",
1671
+ "type": "boolean"
1672
+ }
1673
+ ];
1674
+ /**
1410
1675
  * 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.
1411
1676
  */
1412
1677
  class PriceComponentDto {
@@ -1690,6 +1955,23 @@ ProjectInformationDto.attributeTypeMap = [
1690
1955
  }
1691
1956
  ];
1692
1957
  /**
1958
+ * Check details specificly for checking ProjectDto objects
1959
+ */
1960
+ class ProjectValidationCheckDetails {
1961
+ static getAttributeTypeMap() {
1962
+ return ProjectValidationCheckDetails.attributeTypeMap;
1963
+ }
1964
+ }
1965
+ exports.ProjectValidationCheckDetails = ProjectValidationCheckDetails;
1966
+ ProjectValidationCheckDetails.discriminator = undefined;
1967
+ ProjectValidationCheckDetails.attributeTypeMap = [
1968
+ {
1969
+ "name": "elementId",
1970
+ "baseName": "elementId",
1971
+ "type": "string"
1972
+ }
1973
+ ];
1974
+ /**
1693
1975
  * 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.
1694
1976
  */
1695
1977
  class QuantityAssignmentDto {
@@ -1916,6 +2198,11 @@ ServiceSpecificationDto.attributeTypeMap = [
1916
2198
  "baseName": "deductionFactor",
1917
2199
  "type": "number"
1918
2200
  },
2201
+ {
2202
+ "name": "absoluteDeduction",
2203
+ "baseName": "absoluteDeduction",
2204
+ "type": "number"
2205
+ },
1919
2206
  {
1920
2207
  "name": "totalPrice",
1921
2208
  "baseName": "totalPrice",
@@ -2055,6 +2342,16 @@ ServiceSpecificationDto.attributeTypeMap = [
2055
2342
  "name": "typeOfApproval",
2056
2343
  "baseName": "typeOfApproval",
2057
2344
  "type": "string"
2345
+ },
2346
+ {
2347
+ "name": "addendumNumber",
2348
+ "baseName": "addendumNumber",
2349
+ "type": "string"
2350
+ },
2351
+ {
2352
+ "name": "addendumStatus",
2353
+ "baseName": "addendumStatus",
2354
+ "type": "AddendumStatusDto"
2058
2355
  }
2059
2356
  ];
2060
2357
  class ServiceSpecificationGroupDto extends IElementDto {
@@ -2135,6 +2432,11 @@ ServiceSpecificationGroupDto.attributeTypeMap = [
2135
2432
  "baseName": "deductionFactor",
2136
2433
  "type": "number"
2137
2434
  },
2435
+ {
2436
+ "name": "absoluteDeduction",
2437
+ "baseName": "absoluteDeduction",
2438
+ "type": "number"
2439
+ },
2138
2440
  {
2139
2441
  "name": "totalPrice",
2140
2442
  "baseName": "totalPrice",
@@ -2191,19 +2493,19 @@ ServiceSpecificationGroupDto.attributeTypeMap = [
2191
2493
  "type": "string"
2192
2494
  },
2193
2495
  {
2194
- "name": "projectCatalogues",
2195
- "baseName": "projectCatalogues",
2196
- "type": "Array<CatalogueDto>"
2496
+ "name": "oenormProperties",
2497
+ "baseName": "oenormProperties",
2498
+ "type": "OenormPropertiesDto"
2197
2499
  },
2198
2500
  {
2199
- "name": "catalogueReferences",
2200
- "baseName": "catalogueReferences",
2201
- "type": "Array<CatalogueReferenceDto>"
2501
+ "name": "hierarchyLevel",
2502
+ "baseName": "hierarchyLevel",
2503
+ "type": "number"
2202
2504
  },
2203
2505
  {
2204
- "name": "oenormProperties",
2205
- "baseName": "oenormProperties",
2206
- "type": "OenormPropertiesDto"
2506
+ "name": "addendumStatus",
2507
+ "baseName": "addendumStatus",
2508
+ "type": "AddendumStatusDto"
2207
2509
  }
2208
2510
  ];
2209
2511
  /**
@@ -2341,6 +2643,11 @@ SubDescriptionDto.attributeTypeMap = [
2341
2643
  "name": "descriptionId",
2342
2644
  "baseName": "descriptionId",
2343
2645
  "type": "string"
2646
+ },
2647
+ {
2648
+ "name": "hasBidderCommentInHtmlLongText",
2649
+ "baseName": "hasBidderCommentInHtmlLongText",
2650
+ "type": "boolean"
2344
2651
  }
2345
2652
  ];
2346
2653
  class TokenLoginPost {
@@ -2468,6 +2775,113 @@ TradeDiscountDto.attributeTypeMap = [
2468
2775
  }
2469
2776
  ];
2470
2777
  /**
2778
+ * This class models the results of a single check performed during a validation action
2779
+ */
2780
+ class ValidationCheckResult {
2781
+ static getAttributeTypeMap() {
2782
+ return ValidationCheckResult.attributeTypeMap;
2783
+ }
2784
+ }
2785
+ exports.ValidationCheckResult = ValidationCheckResult;
2786
+ ValidationCheckResult.discriminator = undefined;
2787
+ ValidationCheckResult.attributeTypeMap = [
2788
+ {
2789
+ "name": "severity",
2790
+ "baseName": "severity",
2791
+ "type": "ValidationSeverity"
2792
+ },
2793
+ {
2794
+ "name": "checkType",
2795
+ "baseName": "checkType",
2796
+ "type": "ValidationCheckType"
2797
+ },
2798
+ {
2799
+ "name": "message",
2800
+ "baseName": "message",
2801
+ "type": "string"
2802
+ },
2803
+ {
2804
+ "name": "objectValidationCheckDetails",
2805
+ "baseName": "objectValidationCheckDetails",
2806
+ "type": "ObjectValidationCheckDetails"
2807
+ },
2808
+ {
2809
+ "name": "xmlSchemaValidationCheckDetails",
2810
+ "baseName": "xmlSchemaValidationCheckDetails",
2811
+ "type": "XmlSchemaValidationCheckDetails"
2812
+ },
2813
+ {
2814
+ "name": "projectValidationCheckDetails",
2815
+ "baseName": "projectValidationCheckDetails",
2816
+ "type": "ProjectValidationCheckDetails"
2817
+ }
2818
+ ];
2819
+ /**
2820
+ * Enumeration for the different types of checks performed
2821
+ */
2822
+ class ValidationCheckType {
2823
+ static getAttributeTypeMap() {
2824
+ return ValidationCheckType.attributeTypeMap;
2825
+ }
2826
+ }
2827
+ exports.ValidationCheckType = ValidationCheckType;
2828
+ ValidationCheckType.discriminator = undefined;
2829
+ ValidationCheckType.attributeTypeMap = [];
2830
+ /**
2831
+ * This class represents the result of a validation operation
2832
+ */
2833
+ class ValidationResult {
2834
+ static getAttributeTypeMap() {
2835
+ return ValidationResult.attributeTypeMap;
2836
+ }
2837
+ }
2838
+ exports.ValidationResult = ValidationResult;
2839
+ ValidationResult.discriminator = undefined;
2840
+ ValidationResult.attributeTypeMap = [
2841
+ {
2842
+ "name": "isSchemaCompliant",
2843
+ "baseName": "isSchemaCompliant",
2844
+ "type": "boolean"
2845
+ },
2846
+ {
2847
+ "name": "checkResults",
2848
+ "baseName": "checkResults",
2849
+ "type": "Array<ValidationCheckResult>"
2850
+ },
2851
+ {
2852
+ "name": "validationType",
2853
+ "baseName": "validationType",
2854
+ "type": "ValidationType"
2855
+ },
2856
+ {
2857
+ "name": "fileName",
2858
+ "baseName": "fileName",
2859
+ "type": "string"
2860
+ }
2861
+ ];
2862
+ /**
2863
+ * Indicates the severity of a check
2864
+ */
2865
+ class ValidationSeverity {
2866
+ static getAttributeTypeMap() {
2867
+ return ValidationSeverity.attributeTypeMap;
2868
+ }
2869
+ }
2870
+ exports.ValidationSeverity = ValidationSeverity;
2871
+ ValidationSeverity.discriminator = undefined;
2872
+ ValidationSeverity.attributeTypeMap = [];
2873
+ /**
2874
+ * This enumeration represents the possible conversion targets when performing a validation
2875
+ */
2876
+ class ValidationType {
2877
+ static getAttributeTypeMap() {
2878
+ return ValidationType.attributeTypeMap;
2879
+ }
2880
+ }
2881
+ exports.ValidationType = ValidationType;
2882
+ ValidationType.discriminator = undefined;
2883
+ ValidationType.attributeTypeMap = [];
2884
+ /**
2471
2885
  * 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
2472
2886
  */
2473
2887
  class WarrantyDurationDto {
@@ -2489,8 +2903,31 @@ WarrantyDurationDto.attributeTypeMap = [
2489
2903
  "type": "DurationUnitDto"
2490
2904
  }
2491
2905
  ];
2906
+ /**
2907
+ * Check details for an XML schema validation result
2908
+ */
2909
+ class XmlSchemaValidationCheckDetails {
2910
+ static getAttributeTypeMap() {
2911
+ return XmlSchemaValidationCheckDetails.attributeTypeMap;
2912
+ }
2913
+ }
2914
+ exports.XmlSchemaValidationCheckDetails = XmlSchemaValidationCheckDetails;
2915
+ XmlSchemaValidationCheckDetails.discriminator = undefined;
2916
+ XmlSchemaValidationCheckDetails.attributeTypeMap = [
2917
+ {
2918
+ "name": "lineNumber",
2919
+ "baseName": "lineNumber",
2920
+ "type": "number"
2921
+ },
2922
+ {
2923
+ "name": "linePosition",
2924
+ "baseName": "linePosition",
2925
+ "type": "number"
2926
+ }
2927
+ ];
2492
2928
  let enumsMap = {};
2493
2929
  let typeMap = {
2930
+ "AddendumStatusDto": AddendumStatusDto,
2494
2931
  "AdditionTypeDto": AdditionTypeDto,
2495
2932
  "ApiError": ApiError,
2496
2933
  "ArticleDataDto": ArticleDataDto,
@@ -2506,9 +2943,11 @@ let typeMap = {
2506
2943
  "DestinationGaebExchangePhase": DestinationGaebExchangePhase,
2507
2944
  "DestinationGaebType": DestinationGaebType,
2508
2945
  "DestinationOenormType": DestinationOenormType,
2946
+ "DestinationRebType": DestinationRebType,
2509
2947
  "DurationUnitDto": DurationUnitDto,
2510
2948
  "ExchangePhaseDto": ExchangePhaseDto,
2511
2949
  "ExecutionDescriptionDto": ExecutionDescriptionDto,
2950
+ "FileValidationSourceType": FileValidationSourceType,
2512
2951
  "ForgotPasswordPost": ForgotPasswordPost,
2513
2952
  "GetStatus": GetStatus,
2514
2953
  "GrossPriceComponentDto": GrossPriceComponentDto,
@@ -2522,6 +2961,8 @@ let typeMap = {
2522
2961
  "LabourPriceComponentDto": LabourPriceComponentDto,
2523
2962
  "LoginPost": LoginPost,
2524
2963
  "NoteTextDto": NoteTextDto,
2964
+ "ObjectValidationCheckDetails": ObjectValidationCheckDetails,
2965
+ "OenormNoteTextPropertiesDto": OenormNoteTextPropertiesDto,
2525
2966
  "OenormOriginCodeDto": OenormOriginCodeDto,
2526
2967
  "OenormPositionPropertiesDto": OenormPositionPropertiesDto,
2527
2968
  "OenormPropertiesDto": OenormPropertiesDto,
@@ -2529,6 +2970,10 @@ let typeMap = {
2529
2970
  "PartyInformationDto": PartyInformationDto,
2530
2971
  "PositionDto": PositionDto,
2531
2972
  "PositionTypeDto": PositionTypeDto,
2973
+ "PostAvaProjectValidationSourceOptions": PostAvaProjectValidationSourceOptions,
2974
+ "PostAvaSourceOptions": PostAvaSourceOptions,
2975
+ "PostGaebDestinationOptions": PostGaebDestinationOptions,
2976
+ "PostOenormDestinationOptions": PostOenormDestinationOptions,
2532
2977
  "PriceComponentDto": PriceComponentDto,
2533
2978
  "PriceComponentTypeDto": PriceComponentTypeDto,
2534
2979
  "PriceInformationDto": PriceInformationDto,
@@ -2537,6 +2982,7 @@ let typeMap = {
2537
2982
  "ProductDataDto": ProductDataDto,
2538
2983
  "ProjectDto": ProjectDto,
2539
2984
  "ProjectInformationDto": ProjectInformationDto,
2985
+ "ProjectValidationCheckDetails": ProjectValidationCheckDetails,
2540
2986
  "QuantityAssignmentDto": QuantityAssignmentDto,
2541
2987
  "RegisterPost": RegisterPost,
2542
2988
  "ResponseErrorType": ResponseErrorType,
@@ -2553,7 +2999,13 @@ let typeMap = {
2553
2999
  "TokenRefreshPost": TokenRefreshPost,
2554
3000
  "TokenResponseGet": TokenResponseGet,
2555
3001
  "TradeDiscountDto": TradeDiscountDto,
3002
+ "ValidationCheckResult": ValidationCheckResult,
3003
+ "ValidationCheckType": ValidationCheckType,
3004
+ "ValidationResult": ValidationResult,
3005
+ "ValidationSeverity": ValidationSeverity,
3006
+ "ValidationType": ValidationType,
2556
3007
  "WarrantyDurationDto": WarrantyDurationDto,
3008
+ "XmlSchemaValidationCheckDetails": XmlSchemaValidationCheckDetails,
2557
3009
  };
2558
3010
  class HttpBasicAuth {
2559
3011
  constructor() {
@@ -2777,9 +3229,11 @@ class AslvConversionApi {
2777
3229
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
2778
3230
  * @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.
2779
3231
  * @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.
3232
+ * @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.
3233
+ * @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.
2780
3234
  * @param {*} [options] Override http request options.
2781
3235
  */
2782
- aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
3236
+ aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, options = {}) {
2783
3237
  const localVarPath = this.basePath + '/conversion/aslv/gaeb';
2784
3238
  let localVarQueryParameters = {};
2785
3239
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -2796,6 +3250,12 @@ class AslvConversionApi {
2796
3250
  if (exportQuantityDetermination !== undefined) {
2797
3251
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
2798
3252
  }
3253
+ if (removeUnprintableCharactersFromTexts !== undefined) {
3254
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
3255
+ }
3256
+ if (forceIncludeDescriptions !== undefined) {
3257
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
3258
+ }
2799
3259
  Object.assign(localVarHeaderParams, options.headers);
2800
3260
  let localVarUseFormData = false;
2801
3261
  if (aslvFile !== undefined) {
@@ -2844,9 +3304,10 @@ class AslvConversionApi {
2844
3304
  * @param destinationOenormType Defaults to Lv2015
2845
3305
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
2846
3306
  * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
3307
+ * @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.
2847
3308
  * @param {*} [options] Override http request options.
2848
3309
  */
2849
- aslvConversionConvertToOenorm(aslvFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
3310
+ aslvConversionConvertToOenorm(aslvFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
2850
3311
  const localVarPath = this.basePath + '/conversion/aslv/oenorm';
2851
3312
  let localVarQueryParameters = {};
2852
3313
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -2860,6 +3321,9 @@ class AslvConversionApi {
2860
3321
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
2861
3322
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
2862
3323
  }
3324
+ if (removeUnprintableCharactersFromTexts !== undefined) {
3325
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
3326
+ }
2863
3327
  Object.assign(localVarHeaderParams, options.headers);
2864
3328
  let localVarUseFormData = false;
2865
3329
  if (aslvFile !== undefined) {
@@ -2948,11 +3412,12 @@ class AvaConversionApi {
2948
3412
  *
2949
3413
  * @summary Converts Dangl.AVA projects to Dangl.AVA. This is useful when you want to generate the calculated properties.
2950
3414
  * @param avaProject The Dangl.AVA project
3415
+ * @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.
2951
3416
  * @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
2952
3417
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
2953
3418
  * @param {*} [options] Override http request options.
2954
3419
  */
2955
- avaConversionConvertToAva(avaProject, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
3420
+ avaConversionConvertToAva(avaProject, tryAutoGenerateItemNumbersAndSchema, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
2956
3421
  const localVarPath = this.basePath + '/conversion/ava/ava';
2957
3422
  let localVarQueryParameters = {};
2958
3423
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -2961,6 +3426,9 @@ class AvaConversionApi {
2961
3426
  if (avaProject === null || avaProject === undefined) {
2962
3427
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToAva.');
2963
3428
  }
3429
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3430
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3431
+ }
2964
3432
  if (removePlainTextLongTexts !== undefined) {
2965
3433
  localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
2966
3434
  }
@@ -3009,12 +3477,13 @@ class AvaConversionApi {
3009
3477
  *
3010
3478
  * @summary Converts Dangl.AVA projects to Excel
3011
3479
  * @param avaProject The Dangl.AVA project
3480
+ * @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.
3012
3481
  * @param writePrices Defaults to true
3013
3482
  * @param writeLongTexts Defaults to true
3014
3483
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
3015
3484
  * @param {*} [options] Override http request options.
3016
3485
  */
3017
- avaConversionConvertToExcel(avaProject, writePrices, writeLongTexts, conversionCulture, options = {}) {
3486
+ avaConversionConvertToExcel(avaProject, tryAutoGenerateItemNumbersAndSchema, writePrices, writeLongTexts, conversionCulture, options = {}) {
3018
3487
  const localVarPath = this.basePath + '/conversion/ava/excel';
3019
3488
  let localVarQueryParameters = {};
3020
3489
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3023,6 +3492,9 @@ class AvaConversionApi {
3023
3492
  if (avaProject === null || avaProject === undefined) {
3024
3493
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToExcel.');
3025
3494
  }
3495
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3496
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3497
+ }
3026
3498
  if (writePrices !== undefined) {
3027
3499
  localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
3028
3500
  }
@@ -3075,13 +3547,16 @@ class AvaConversionApi {
3075
3547
  *
3076
3548
  * @summary Converts Dangl.AVA projects to GAEB
3077
3549
  * @param avaProject The Dangl.AVA project
3550
+ * @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.
3078
3551
  * @param destinationGaebType Defaults to GAEB XML V3.2
3079
3552
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
3080
3553
  * @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.
3081
3554
  * @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.
3555
+ * @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.
3556
+ * @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.
3082
3557
  * @param {*} [options] Override http request options.
3083
3558
  */
3084
- avaConversionConvertToGaeb(avaProject, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
3559
+ avaConversionConvertToGaeb(avaProject, tryAutoGenerateItemNumbersAndSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, options = {}) {
3085
3560
  const localVarPath = this.basePath + '/conversion/ava/gaeb';
3086
3561
  let localVarQueryParameters = {};
3087
3562
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3090,6 +3565,9 @@ class AvaConversionApi {
3090
3565
  if (avaProject === null || avaProject === undefined) {
3091
3566
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToGaeb.');
3092
3567
  }
3568
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3569
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3570
+ }
3093
3571
  if (destinationGaebType !== undefined) {
3094
3572
  localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
3095
3573
  }
@@ -3102,6 +3580,12 @@ class AvaConversionApi {
3102
3580
  if (exportQuantityDetermination !== undefined) {
3103
3581
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
3104
3582
  }
3583
+ if (removeUnprintableCharactersFromTexts !== undefined) {
3584
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
3585
+ }
3586
+ if (forceIncludeDescriptions !== undefined) {
3587
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
3588
+ }
3105
3589
  Object.assign(localVarHeaderParams, options.headers);
3106
3590
  let localVarUseFormData = false;
3107
3591
  let localVarRequestOptions = {
@@ -3145,12 +3629,14 @@ class AvaConversionApi {
3145
3629
  *
3146
3630
  * @summary Converts Dangl.AVA projects to Oenorm
3147
3631
  * @param avaProject The Dangl.AVA project
3632
+ * @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.
3148
3633
  * @param destinationOenormType Defaults to Lv2015
3149
3634
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
3150
3635
  * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
3636
+ * @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.
3151
3637
  * @param {*} [options] Override http request options.
3152
3638
  */
3153
- avaConversionConvertToOenorm(avaProject, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
3639
+ avaConversionConvertToOenorm(avaProject, tryAutoGenerateItemNumbersAndSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
3154
3640
  const localVarPath = this.basePath + '/conversion/ava/oenorm';
3155
3641
  let localVarQueryParameters = {};
3156
3642
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3159,6 +3645,9 @@ class AvaConversionApi {
3159
3645
  if (avaProject === null || avaProject === undefined) {
3160
3646
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToOenorm.');
3161
3647
  }
3648
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3649
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3650
+ }
3162
3651
  if (destinationOenormType !== undefined) {
3163
3652
  localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
3164
3653
  }
@@ -3168,6 +3657,9 @@ class AvaConversionApi {
3168
3657
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
3169
3658
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
3170
3659
  }
3660
+ if (removeUnprintableCharactersFromTexts !== undefined) {
3661
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
3662
+ }
3171
3663
  Object.assign(localVarHeaderParams, options.headers);
3172
3664
  let localVarUseFormData = false;
3173
3665
  let localVarRequestOptions = {
@@ -3211,9 +3703,11 @@ class AvaConversionApi {
3211
3703
  *
3212
3704
  * @summary Converts Dangl.AVA projects to REB
3213
3705
  * @param avaProject The Dangl.AVA project
3706
+ * @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.
3707
+ * @param destinationRebType Defaults to D11
3214
3708
  * @param {*} [options] Override http request options.
3215
3709
  */
3216
- avaConversionConvertToReb(avaProject, options = {}) {
3710
+ avaConversionConvertToReb(avaProject, tryAutoGenerateItemNumbersAndSchema, destinationRebType, options = {}) {
3217
3711
  const localVarPath = this.basePath + '/conversion/ava/reb';
3218
3712
  let localVarQueryParameters = {};
3219
3713
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3222,6 +3716,12 @@ class AvaConversionApi {
3222
3716
  if (avaProject === null || avaProject === undefined) {
3223
3717
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToReb.');
3224
3718
  }
3719
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3720
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3721
+ }
3722
+ if (destinationRebType !== undefined) {
3723
+ localVarQueryParameters['DestinationRebType'] = ObjectSerializer.serialize(destinationRebType, "'D11' | 'X31GaebXmlV32'");
3724
+ }
3225
3725
  Object.assign(localVarHeaderParams, options.headers);
3226
3726
  let localVarUseFormData = false;
3227
3727
  let localVarRequestOptions = {
@@ -3265,9 +3765,10 @@ class AvaConversionApi {
3265
3765
  *
3266
3766
  * @summary Converts Dangl.AVA projects to SIA 451
3267
3767
  * @param avaProject The Dangl.AVA project
3768
+ * @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.
3268
3769
  * @param {*} [options] Override http request options.
3269
3770
  */
3270
- avaConversionConvertToSia(avaProject, options = {}) {
3771
+ avaConversionConvertToSia(avaProject, tryAutoGenerateItemNumbersAndSchema, options = {}) {
3271
3772
  const localVarPath = this.basePath + '/conversion/ava/sia';
3272
3773
  let localVarQueryParameters = {};
3273
3774
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3276,6 +3777,9 @@ class AvaConversionApi {
3276
3777
  if (avaProject === null || avaProject === undefined) {
3277
3778
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToSia.');
3278
3779
  }
3780
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
3781
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
3782
+ }
3279
3783
  Object.assign(localVarHeaderParams, options.headers);
3280
3784
  let localVarUseFormData = false;
3281
3785
  let localVarRequestOptions = {
@@ -3857,9 +4361,11 @@ class ExcelConversionApi {
3857
4361
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
3858
4362
  * @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.
3859
4363
  * @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.
4364
+ * @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.
4365
+ * @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.
3860
4366
  * @param {*} [options] Override http request options.
3861
4367
  */
3862
- excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
4368
+ excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, options = {}) {
3863
4369
  const localVarPath = this.basePath + '/conversion/excel/gaeb';
3864
4370
  let localVarQueryParameters = {};
3865
4371
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3882,6 +4388,12 @@ class ExcelConversionApi {
3882
4388
  if (exportQuantityDetermination !== undefined) {
3883
4389
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
3884
4390
  }
4391
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4392
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4393
+ }
4394
+ if (forceIncludeDescriptions !== undefined) {
4395
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
4396
+ }
3885
4397
  Object.assign(localVarHeaderParams, options.headers);
3886
4398
  let localVarUseFormData = false;
3887
4399
  if (excelFile !== undefined) {
@@ -3932,9 +4444,10 @@ class ExcelConversionApi {
3932
4444
  * @param destinationOenormType Defaults to Lv2015
3933
4445
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
3934
4446
  * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
4447
+ * @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.
3935
4448
  * @param {*} [options] Override http request options.
3936
4449
  */
3937
- excelConversionConvertToOenorm(excelFile, readNewElements, rebuildItemNumberSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
4450
+ excelConversionConvertToOenorm(excelFile, readNewElements, rebuildItemNumberSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
3938
4451
  const localVarPath = this.basePath + '/conversion/excel/oenorm';
3939
4452
  let localVarQueryParameters = {};
3940
4453
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -3954,6 +4467,9 @@ class ExcelConversionApi {
3954
4467
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
3955
4468
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
3956
4469
  }
4470
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4471
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4472
+ }
3957
4473
  Object.assign(localVarHeaderParams, options.headers);
3958
4474
  let localVarUseFormData = false;
3959
4475
  if (excelFile !== undefined) {
@@ -4042,15 +4558,19 @@ class GaebConversionApi {
4042
4558
  *
4043
4559
  * @summary Converts GAEB files to Dangl.AVA projects
4044
4560
  * @param gaebFile The input file
4561
+ * @param supportSkippedItemNumberLevelsInPositions Defaults to &#39;false&#39;. This controls if, when deserializing GAEB files, skipped levels in position item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group levels and one position levels - but the ItemNumber of the position is just &#39;01.02&#39;, then it will be displayed as &#39;01.__.02&#39; if this is set to true.
4045
4562
  * @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
4046
4563
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
4047
4564
  * @param {*} [options] Override http request options.
4048
4565
  */
4049
- gaebConversionConvertToAva(gaebFile, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
4566
+ gaebConversionConvertToAva(gaebFile, supportSkippedItemNumberLevelsInPositions, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
4050
4567
  const localVarPath = this.basePath + '/conversion/gaeb/ava';
4051
4568
  let localVarQueryParameters = {};
4052
4569
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
4053
4570
  let localVarFormParams = {};
4571
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
4572
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
4573
+ }
4054
4574
  if (removePlainTextLongTexts !== undefined) {
4055
4575
  localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
4056
4576
  }
@@ -4102,16 +4622,20 @@ class GaebConversionApi {
4102
4622
  *
4103
4623
  * @summary Converts GAEB files to Excel
4104
4624
  * @param gaebFile The input file
4625
+ * @param supportSkippedItemNumberLevelsInPositions Defaults to &#39;false&#39;. This controls if, when deserializing GAEB files, skipped levels in position item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group levels and one position levels - but the ItemNumber of the position is just &#39;01.02&#39;, then it will be displayed as &#39;01.__.02&#39; if this is set to true.
4105
4626
  * @param writePrices Defaults to true
4106
4627
  * @param writeLongTexts Defaults to true
4107
4628
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
4108
4629
  * @param {*} [options] Override http request options.
4109
4630
  */
4110
- gaebConversionConvertToExcel(gaebFile, writePrices, writeLongTexts, conversionCulture, options = {}) {
4631
+ gaebConversionConvertToExcel(gaebFile, supportSkippedItemNumberLevelsInPositions, writePrices, writeLongTexts, conversionCulture, options = {}) {
4111
4632
  const localVarPath = this.basePath + '/conversion/gaeb/excel';
4112
4633
  let localVarQueryParameters = {};
4113
4634
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
4114
4635
  let localVarFormParams = {};
4636
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
4637
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
4638
+ }
4115
4639
  if (writePrices !== undefined) {
4116
4640
  localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
4117
4641
  }
@@ -4166,17 +4690,23 @@ class GaebConversionApi {
4166
4690
  *
4167
4691
  * @summary Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files.
4168
4692
  * @param gaebFile The input file
4693
+ * @param supportSkippedItemNumberLevelsInPositions Defaults to &#39;false&#39;. This controls if, when deserializing GAEB files, skipped levels in position item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group levels and one position levels - but the ItemNumber of the position is just &#39;01.02&#39;, then it will be displayed as &#39;01.__.02&#39; if this is set to true.
4169
4694
  * @param destinationGaebType Defaults to GAEB XML V3.2
4170
4695
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4171
4696
  * @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.
4172
4697
  * @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.
4698
+ * @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.
4699
+ * @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.
4173
4700
  * @param {*} [options] Override http request options.
4174
4701
  */
4175
- gaebConversionConvertToGaeb(gaebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
4702
+ gaebConversionConvertToGaeb(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, options = {}) {
4176
4703
  const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
4177
4704
  let localVarQueryParameters = {};
4178
4705
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
4179
4706
  let localVarFormParams = {};
4707
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
4708
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
4709
+ }
4180
4710
  if (destinationGaebType !== undefined) {
4181
4711
  localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
4182
4712
  }
@@ -4189,6 +4719,12 @@ class GaebConversionApi {
4189
4719
  if (exportQuantityDetermination !== undefined) {
4190
4720
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4191
4721
  }
4722
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4723
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4724
+ }
4725
+ if (forceIncludeDescriptions !== undefined) {
4726
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
4727
+ }
4192
4728
  Object.assign(localVarHeaderParams, options.headers);
4193
4729
  let localVarUseFormData = false;
4194
4730
  if (gaebFile !== undefined) {
@@ -4234,16 +4770,21 @@ class GaebConversionApi {
4234
4770
  *
4235
4771
  * @summary Converts GAEB files to Oenorm files
4236
4772
  * @param gaebFile The input file
4773
+ * @param supportSkippedItemNumberLevelsInPositions Defaults to &#39;false&#39;. This controls if, when deserializing GAEB files, skipped levels in position item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group levels and one position levels - but the ItemNumber of the position is just &#39;01.02&#39;, then it will be displayed as &#39;01.__.02&#39; if this is set to true.
4237
4774
  * @param destinationOenormType Defaults to Lv2015
4238
4775
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
4239
4776
  * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
4777
+ * @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.
4240
4778
  * @param {*} [options] Override http request options.
4241
4779
  */
4242
- gaebConversionConvertToOenorm(gaebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
4780
+ gaebConversionConvertToOenorm(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
4243
4781
  const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
4244
4782
  let localVarQueryParameters = {};
4245
4783
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
4246
4784
  let localVarFormParams = {};
4785
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
4786
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
4787
+ }
4247
4788
  if (destinationOenormType !== undefined) {
4248
4789
  localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
4249
4790
  }
@@ -4253,6 +4794,9 @@ class GaebConversionApi {
4253
4794
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
4254
4795
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
4255
4796
  }
4797
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4798
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4799
+ }
4256
4800
  Object.assign(localVarHeaderParams, options.headers);
4257
4801
  let localVarUseFormData = false;
4258
4802
  if (gaebFile !== undefined) {
@@ -4469,9 +5013,11 @@ class OenormConversionApi {
4469
5013
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4470
5014
  * @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.
4471
5015
  * @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.
5016
+ * @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.
5017
+ * @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.
4472
5018
  * @param {*} [options] Override http request options.
4473
5019
  */
4474
- oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
5020
+ oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, options = {}) {
4475
5021
  const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
4476
5022
  let localVarQueryParameters = {};
4477
5023
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4488,6 +5034,12 @@ class OenormConversionApi {
4488
5034
  if (exportQuantityDetermination !== undefined) {
4489
5035
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4490
5036
  }
5037
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5038
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5039
+ }
5040
+ if (forceIncludeDescriptions !== undefined) {
5041
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
5042
+ }
4491
5043
  Object.assign(localVarHeaderParams, options.headers);
4492
5044
  let localVarUseFormData = false;
4493
5045
  if (oenormFile !== undefined) {
@@ -4536,9 +5088,10 @@ class OenormConversionApi {
4536
5088
  * @param destinationOenormType Defaults to Lv2015
4537
5089
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
4538
5090
  * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
5091
+ * @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.
4539
5092
  * @param {*} [options] Override http request options.
4540
5093
  */
4541
- oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
5094
+ oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
4542
5095
  const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
4543
5096
  let localVarQueryParameters = {};
4544
5097
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4552,6 +5105,9 @@ class OenormConversionApi {
4552
5105
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
4553
5106
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
4554
5107
  }
5108
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5109
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5110
+ }
4555
5111
  Object.assign(localVarHeaderParams, options.headers);
4556
5112
  let localVarUseFormData = false;
4557
5113
  if (oenormFile !== undefined) {
@@ -4768,9 +5324,11 @@ class RebConversionApi {
4768
5324
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4769
5325
  * @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.
4770
5326
  * @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.
5327
+ * @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.
5328
+ * @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.
4771
5329
  * @param {*} [options] Override http request options.
4772
5330
  */
4773
- rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
5331
+ rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, options = {}) {
4774
5332
  const localVarPath = this.basePath + '/conversion/reb/gaeb';
4775
5333
  let localVarQueryParameters = {};
4776
5334
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4787,6 +5345,12 @@ class RebConversionApi {
4787
5345
  if (exportQuantityDetermination !== undefined) {
4788
5346
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4789
5347
  }
5348
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5349
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5350
+ }
5351
+ if (forceIncludeDescriptions !== undefined) {
5352
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
5353
+ }
4790
5354
  Object.assign(localVarHeaderParams, options.headers);
4791
5355
  let localVarUseFormData = false;
4792
5356
  if (rebFile !== undefined) {
@@ -4835,9 +5399,10 @@ class RebConversionApi {
4835
5399
  * @param destinationOenormType Defaults to Lv2015
4836
5400
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
4837
5401
  * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
5402
+ * @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.
4838
5403
  * @param {*} [options] Override http request options.
4839
5404
  */
4840
- rebConversionConvertToOenorm(rebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
5405
+ rebConversionConvertToOenorm(rebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
4841
5406
  const localVarPath = this.basePath + '/conversion/reb/oenorm';
4842
5407
  let localVarQueryParameters = {};
4843
5408
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -4851,6 +5416,9 @@ class RebConversionApi {
4851
5416
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
4852
5417
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
4853
5418
  }
5419
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5420
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5421
+ }
4854
5422
  Object.assign(localVarHeaderParams, options.headers);
4855
5423
  let localVarUseFormData = false;
4856
5424
  if (rebFile !== undefined) {
@@ -5067,9 +5635,11 @@ class SiaConversionApi {
5067
5635
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
5068
5636
  * @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.
5069
5637
  * @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.
5638
+ * @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.
5639
+ * @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.
5070
5640
  * @param {*} [options] Override http request options.
5071
5641
  */
5072
- siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
5642
+ siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, options = {}) {
5073
5643
  const localVarPath = this.basePath + '/conversion/sia/gaeb';
5074
5644
  let localVarQueryParameters = {};
5075
5645
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5086,6 +5656,12 @@ class SiaConversionApi {
5086
5656
  if (exportQuantityDetermination !== undefined) {
5087
5657
  localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
5088
5658
  }
5659
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5660
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5661
+ }
5662
+ if (forceIncludeDescriptions !== undefined) {
5663
+ localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
5664
+ }
5089
5665
  Object.assign(localVarHeaderParams, options.headers);
5090
5666
  let localVarUseFormData = false;
5091
5667
  if (siaFile !== undefined) {
@@ -5134,9 +5710,10 @@ class SiaConversionApi {
5134
5710
  * @param destinationOenormType Defaults to Lv2015
5135
5711
  * @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
5136
5712
  * @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
5713
+ * @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.
5137
5714
  * @param {*} [options] Override http request options.
5138
5715
  */
5139
- siaConversionConvertToOenorm(siaFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
5716
+ siaConversionConvertToOenorm(siaFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
5140
5717
  const localVarPath = this.basePath + '/conversion/sia/oenorm';
5141
5718
  let localVarQueryParameters = {};
5142
5719
  let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
@@ -5150,6 +5727,9 @@ class SiaConversionApi {
5150
5727
  if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
5151
5728
  localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
5152
5729
  }
5730
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5731
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5732
+ }
5153
5733
  Object.assign(localVarHeaderParams, options.headers);
5154
5734
  let localVarUseFormData = false;
5155
5735
  if (siaFile !== undefined) {
@@ -5283,4 +5863,156 @@ class StatusApi {
5283
5863
  }
5284
5864
  }
5285
5865
  exports.StatusApi = StatusApi;
5866
+ var ValidationApiApiKeys;
5867
+ (function (ValidationApiApiKeys) {
5868
+ })(ValidationApiApiKeys = exports.ValidationApiApiKeys || (exports.ValidationApiApiKeys = {}));
5869
+ class ValidationApi {
5870
+ constructor(basePathOrUsername, password, basePath) {
5871
+ this._basePath = defaultBasePath;
5872
+ this.defaultHeaders = {};
5873
+ this._useQuerystring = false;
5874
+ this.authentications = {
5875
+ 'default': new VoidAuth(),
5876
+ 'Dangl.Identity': new OAuth(),
5877
+ };
5878
+ if (password) {
5879
+ if (basePath) {
5880
+ this.basePath = basePath;
5881
+ }
5882
+ }
5883
+ else {
5884
+ if (basePathOrUsername) {
5885
+ this.basePath = basePathOrUsername;
5886
+ }
5887
+ }
5888
+ }
5889
+ set useQuerystring(value) {
5890
+ this._useQuerystring = value;
5891
+ }
5892
+ set basePath(basePath) {
5893
+ this._basePath = basePath;
5894
+ }
5895
+ get basePath() {
5896
+ return this._basePath;
5897
+ }
5898
+ setDefaultAuthentication(auth) {
5899
+ this.authentications.default = auth;
5900
+ }
5901
+ setApiKey(key, value) {
5902
+ this.authentications[ValidationApiApiKeys[key]].apiKey = value;
5903
+ }
5904
+ set accessToken(token) {
5905
+ this.authentications['Dangl.Identity'].accessToken = token;
5906
+ }
5907
+ /**
5908
+ *
5909
+ * @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.
5910
+ * @param avaFile The file to validate
5911
+ * @param fileValidationSourceType You need to indicate which type of file is being provided, there is no auto detection mechanism
5912
+ * @param {*} [options] Override http request options.
5913
+ */
5914
+ validationValidateFile(avaFile, fileValidationSourceType, options = {}) {
5915
+ const localVarPath = this.basePath + '/validation/file';
5916
+ let localVarQueryParameters = {};
5917
+ let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
5918
+ let localVarFormParams = {};
5919
+ if (fileValidationSourceType !== undefined) {
5920
+ localVarQueryParameters['fileValidationSourceType'] = ObjectSerializer.serialize(fileValidationSourceType, "'Gaeb' | 'Oenorm'");
5921
+ }
5922
+ Object.assign(localVarHeaderParams, options.headers);
5923
+ let localVarUseFormData = false;
5924
+ if (avaFile !== undefined) {
5925
+ localVarFormParams['avaFile'] = avaFile;
5926
+ }
5927
+ localVarUseFormData = true;
5928
+ let localVarRequestOptions = {
5929
+ method: 'POST',
5930
+ qs: localVarQueryParameters,
5931
+ headers: localVarHeaderParams,
5932
+ uri: localVarPath,
5933
+ useQuerystring: this._useQuerystring,
5934
+ json: true,
5935
+ };
5936
+ this.authentications['Dangl.Identity'].applyToRequest(localVarRequestOptions);
5937
+ this.authentications.default.applyToRequest(localVarRequestOptions);
5938
+ if (Object.keys(localVarFormParams).length) {
5939
+ if (localVarUseFormData) {
5940
+ localVarRequestOptions.formData = localVarFormParams;
5941
+ }
5942
+ else {
5943
+ localVarRequestOptions.form = localVarFormParams;
5944
+ }
5945
+ }
5946
+ return new Promise((resolve, reject) => {
5947
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
5948
+ if (error) {
5949
+ reject(error);
5950
+ }
5951
+ else {
5952
+ body = ObjectSerializer.deserialize(body, "ValidationResult");
5953
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
5954
+ resolve({ response: response, body: body });
5955
+ }
5956
+ else {
5957
+ reject({ response: response, body: body });
5958
+ }
5959
+ }
5960
+ });
5961
+ });
5962
+ }
5963
+ /**
5964
+ *
5965
+ * @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.
5966
+ * @param avaProjectValidationSourceOptions The options used for the validation operation
5967
+ * @param {*} [options] Override http request options.
5968
+ */
5969
+ validationValidateProject(avaProjectValidationSourceOptions, options = {}) {
5970
+ const localVarPath = this.basePath + '/validation/project';
5971
+ let localVarQueryParameters = {};
5972
+ let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
5973
+ let localVarFormParams = {};
5974
+ // verify required parameter 'avaProjectValidationSourceOptions' is not null or undefined
5975
+ if (avaProjectValidationSourceOptions === null || avaProjectValidationSourceOptions === undefined) {
5976
+ throw new Error('Required parameter avaProjectValidationSourceOptions was null or undefined when calling validationValidateProject.');
5977
+ }
5978
+ Object.assign(localVarHeaderParams, options.headers);
5979
+ let localVarUseFormData = false;
5980
+ let localVarRequestOptions = {
5981
+ method: 'POST',
5982
+ qs: localVarQueryParameters,
5983
+ headers: localVarHeaderParams,
5984
+ uri: localVarPath,
5985
+ useQuerystring: this._useQuerystring,
5986
+ json: true,
5987
+ body: ObjectSerializer.serialize(avaProjectValidationSourceOptions, "PostAvaProjectValidationSourceOptions")
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
+ exports.ValidationApi = ValidationApi;
5286
6018
  //# sourceMappingURL=api.js.map