@dangl/avacloud-client-node 1.13.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * AVACloud API 1.17.3
2
+ * AVACloud API 1.26.0
3
3
  * AVACloud API specification
4
4
  *
5
- * OpenAPI spec version: 1.17.3
5
+ * OpenAPI spec version: 1.26.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -138,6 +138,21 @@ class ObjectSerializer {
138
138
  }
139
139
  }
140
140
 
141
+ /**
142
+ * This enumeration represents the status of an addendum, 'Nachtrag' in German
143
+ */
144
+ export class AddendumStatusDto {
145
+
146
+ static discriminator: string | undefined = undefined;
147
+
148
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
149
+ ];
150
+
151
+ static getAttributeTypeMap() {
152
+ return AddendumStatusDto.attributeTypeMap;
153
+ }
154
+ }
155
+
141
156
  /**
142
157
  * Indicates the origin of an element.
143
158
  */
@@ -378,6 +393,14 @@ export class CalculationDto {
378
393
  * Will be -1 if the Formula is correct, else it will show the position in the formula where an error was encountered. This is a zero based index.
379
394
  */
380
395
  'errorPositionInLine': number;
396
+ /**
397
+ * These are Catalogues that are used within this Calculation. Catalogues are used to describe catalogues, or collections, that can be used to describe elements with commonly known properties. For example, QuantityAssignments use these to categorize themselves. They are propagate to all child elements, e.g. other containers and QuantityAssignments. In the context of a ServiceSpecification, all elements share the same instance of the collection.
398
+ */
399
+ 'projectCatalogues'?: Array<CatalogueDto>;
400
+ /**
401
+ * Referenced catalogues for this Calculation.
402
+ */
403
+ 'catalogueReferences'?: Array<CatalogueReferenceDto>;
381
404
 
382
405
  static discriminator: string | undefined = undefined;
383
406
 
@@ -406,6 +429,16 @@ export class CalculationDto {
406
429
  "name": "errorPositionInLine",
407
430
  "baseName": "errorPositionInLine",
408
431
  "type": "number"
432
+ },
433
+ {
434
+ "name": "projectCatalogues",
435
+ "baseName": "projectCatalogues",
436
+ "type": "Array<CatalogueDto>"
437
+ },
438
+ {
439
+ "name": "catalogueReferences",
440
+ "baseName": "catalogueReferences",
441
+ "type": "Array<CatalogueReferenceDto>"
409
442
  } ];
410
443
 
411
444
  static getAttributeTypeMap() {
@@ -739,6 +772,10 @@ export class IElementDto {
739
772
  * This is used to store the GAEB XML Id within this IElement. This data is not used for any calculations or evaluations but only for GAEB serialization and deserialization.
740
773
  */
741
774
  'gaebXmlId'?: string;
775
+ /**
776
+ * This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German.
777
+ */
778
+ 'addendumNumber'?: string;
742
779
  'elementTypeDiscriminator': string;
743
780
 
744
781
  static discriminator: string | undefined = "elementTypeDiscriminator";
@@ -754,6 +791,11 @@ export class IElementDto {
754
791
  "baseName": "gaebXmlId",
755
792
  "type": "string"
756
793
  },
794
+ {
795
+ "name": "addendumNumber",
796
+ "baseName": "addendumNumber",
797
+ "type": "string"
798
+ },
757
799
  {
758
800
  "name": "elementTypeDiscriminator",
759
801
  "baseName": "elementTypeDiscriminator",
@@ -1002,6 +1044,14 @@ export class ItemNumberDto {
1002
1044
  * This indicates if this item number is at the lot level. Find out more about lots in the documentation.
1003
1045
  */
1004
1046
  'isLot': boolean;
1047
+ /**
1048
+ * This is a zero based hierarchy level. It's set automatically when used in the context of a Project, and can be used to identify the hierarchy level of the current element.
1049
+ */
1050
+ 'hierarchyLevel': number;
1051
+ /**
1052
+ * This property indicates if this ItemNumber is attached to an object of the Position type.
1053
+ */
1054
+ 'isAttachedToPosition': boolean;
1005
1055
 
1006
1056
  static discriminator: string | undefined = undefined;
1007
1057
 
@@ -1035,6 +1085,16 @@ export class ItemNumberDto {
1035
1085
  "name": "isLot",
1036
1086
  "baseName": "isLot",
1037
1087
  "type": "boolean"
1088
+ },
1089
+ {
1090
+ "name": "hierarchyLevel",
1091
+ "baseName": "hierarchyLevel",
1092
+ "type": "number"
1093
+ },
1094
+ {
1095
+ "name": "isAttachedToPosition",
1096
+ "baseName": "isAttachedToPosition",
1097
+ "type": "boolean"
1038
1098
  } ];
1039
1099
 
1040
1100
  static getAttributeTypeMap() {
@@ -1054,6 +1114,30 @@ export class ItemNumberSchemaDto {
1054
1114
  * The collection of tiers for this ItemNumberSchema.
1055
1115
  */
1056
1116
  'tiers'?: Array<ItemNumberSchemaTierDto>;
1117
+ /**
1118
+ * The separator to use for separiting the different levels in an ItemNumber. Defaults to DEFAULT_SEPARATOR, which is a point '.'. Setting this to a space or other whitespaces is discouraged, as this might not work correct in all situations and item numbers could be displayed not as intended. This can not be set to an empty or null string, trying that will default to the DEFAULT_SEPARATOR. If a value is set that has a different length than one '1', the DEFAULT_SEPARATOR will be used instead. You should also not use values for the separator that are also valid for the item numbers themselves, as that might also lead to incorrect results
1119
+ */
1120
+ 'separator'?: string;
1121
+ /**
1122
+ * This string is used to fill (left-pad) item numbers. For example, if a tier has a length of '4' but the given item number is '12', with a Filler of '0', then the final item number will be represented as '0'. This must be a single character string, if a value is given where the Length property does not evaluate to '1', the DEFAULT_FILLER '0' is used. A space is fine to use. You should ensure that you use a value different than Separator, as that might produce unexpected results. No attempt is done by the code to recover from such ambiguous configurations.
1123
+ */
1124
+ 'filler'?: string;
1125
+ /**
1126
+ * This is just a string property that can optionally be used to store additional data for this ItemNumberSchema, e.g. an identification or a type. It does not have any influence over how item numbers are generated, and is not supported in most exchange formats. However, it is used to store ÖNorm service specification structure types.
1127
+ */
1128
+ 'identifier'?: string;
1129
+ /**
1130
+ * This property indicates if ItemNumbers using this ItemNumberSchema should skip empty group levels. This is commonly only used in GAEB files, where there might be gaps in the hierarchy of elements and position identifiers should be placed at the end of the string representation.
1131
+ */
1132
+ 'skipNonExistingLevelsInPositionItemNumbers': boolean;
1133
+ /**
1134
+ * This string is used only when the property SkipNonExistingLevelsInPositionItemNumbers in this ItemNumberSchema is also set to true. It defaults to DEFAULT_SKIPPED_TIERS_FILLER, but can be set to any string with a lenght of one. Null values or values with a longer length will lead to this property reverting back to the default value. This is used to fill skipped tiers in item numbers where a position is placed in a higher hierarchy level than what would be defined in the Tiers. For example, it could produce an item number like '01.__.02', which would indicate a skipped second level. This should be using different values than Filler and Separator, since that could cause ambiguities in the code that generates the actual item numbers. No attempt is done by the code to recover from such ambiguous configurations.
1135
+ */
1136
+ 'skippedTiersFiller'?: string;
1137
+ /**
1138
+ * This is a read-only property that indicates if this schema has a valid structure. It internally just returns the result from IsCorrectlyDefined. This will return if the ItemNumberSchema is correctly defined. For it to be correctly defined, the following conditions must be true: There may only be one lot group, if there is one, it must be at the top. Following lot levels, there may be at least one group level. After the group levels, there must be one position level. After the position level, there may be one index level. If no tiers are defined at all, this will also return false.
1139
+ */
1140
+ 'schemaIsCorrectlyDefined': boolean;
1057
1141
 
1058
1142
  static discriminator: string | undefined = undefined;
1059
1143
 
@@ -1067,6 +1151,36 @@ export class ItemNumberSchemaDto {
1067
1151
  "name": "tiers",
1068
1152
  "baseName": "tiers",
1069
1153
  "type": "Array<ItemNumberSchemaTierDto>"
1154
+ },
1155
+ {
1156
+ "name": "separator",
1157
+ "baseName": "separator",
1158
+ "type": "string"
1159
+ },
1160
+ {
1161
+ "name": "filler",
1162
+ "baseName": "filler",
1163
+ "type": "string"
1164
+ },
1165
+ {
1166
+ "name": "identifier",
1167
+ "baseName": "identifier",
1168
+ "type": "string"
1169
+ },
1170
+ {
1171
+ "name": "skipNonExistingLevelsInPositionItemNumbers",
1172
+ "baseName": "skipNonExistingLevelsInPositionItemNumbers",
1173
+ "type": "boolean"
1174
+ },
1175
+ {
1176
+ "name": "skippedTiersFiller",
1177
+ "baseName": "skippedTiersFiller",
1178
+ "type": "string"
1179
+ },
1180
+ {
1181
+ "name": "schemaIsCorrectlyDefined",
1182
+ "baseName": "schemaIsCorrectlyDefined",
1183
+ "type": "boolean"
1070
1184
  } ];
1071
1185
 
1072
1186
  static getAttributeTypeMap() {
@@ -1094,6 +1208,14 @@ export class ItemNumberSchemaTierDto {
1094
1208
  * Indicates if this tier represents a lot. See the documentation for more information about lots.
1095
1209
  */
1096
1210
  'isLot': boolean;
1211
+ /**
1212
+ * This value is the increment, or step size, that should be used for new item numbers. It defaults to DEFAULT_INCREMENT, but can be changed to any other positive number greater than zero. Invalid values make this be set to one '1'
1213
+ */
1214
+ 'increment': number;
1215
+ /**
1216
+ * This is an optional name for the given tier
1217
+ */
1218
+ 'tierName'?: string;
1097
1219
 
1098
1220
  static discriminator: string | undefined = undefined;
1099
1221
 
@@ -1117,6 +1239,16 @@ export class ItemNumberSchemaTierDto {
1117
1239
  "name": "isLot",
1118
1240
  "baseName": "isLot",
1119
1241
  "type": "boolean"
1242
+ },
1243
+ {
1244
+ "name": "increment",
1245
+ "baseName": "increment",
1246
+ "type": "number"
1247
+ },
1248
+ {
1249
+ "name": "tierName",
1250
+ "baseName": "tierName",
1251
+ "type": "string"
1120
1252
  } ];
1121
1253
 
1122
1254
  static getAttributeTypeMap() {
@@ -1182,6 +1314,10 @@ export class LabourPriceComponentDto {
1182
1314
  * The total, calculated time of this component. Will return the result rounded to three decimal places.
1183
1315
  */
1184
1316
  'totalTime': number;
1317
+ /**
1318
+ * These are Catalogues that are used within this PriceComponent. Catalogues are used to describe catalogues, or collections, that can be used to describe elements with commonly known properties. For example, QuantityAssignments use these to categorize themselves. They are propagate to all child elements, e.g. other containers and QuantityAssignments. In the context of a ServiceSpecification, all elements share the same instance of the collection.
1319
+ */
1320
+ 'projectCatalogues'?: Array<CatalogueDto>;
1185
1321
 
1186
1322
  static discriminator: string | undefined = undefined;
1187
1323
 
@@ -1215,6 +1351,11 @@ export class LabourPriceComponentDto {
1215
1351
  "name": "totalTime",
1216
1352
  "baseName": "totalTime",
1217
1353
  "type": "number"
1354
+ },
1355
+ {
1356
+ "name": "projectCatalogues",
1357
+ "baseName": "projectCatalogues",
1358
+ "type": "Array<CatalogueDto>"
1218
1359
  } ];
1219
1360
 
1220
1361
  static getAttributeTypeMap() {
@@ -1285,6 +1426,14 @@ export class NoteTextDto extends IElementDto {
1285
1426
  */
1286
1427
  'standardizedDescription'?: StandardizedDescriptionDto;
1287
1428
  'elementType'?: string;
1429
+ /**
1430
+ * This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself.
1431
+ */
1432
+ 'descriptionId'?: string;
1433
+ /**
1434
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
1435
+ */
1436
+ 'oenormNoteTextProperties'?: OenormNoteTextPropertiesDto;
1288
1437
 
1289
1438
  static discriminator: string | undefined = undefined;
1290
1439
 
@@ -1333,6 +1482,16 @@ export class NoteTextDto extends IElementDto {
1333
1482
  "name": "elementType",
1334
1483
  "baseName": "elementType",
1335
1484
  "type": "string"
1485
+ },
1486
+ {
1487
+ "name": "descriptionId",
1488
+ "baseName": "descriptionId",
1489
+ "type": "string"
1490
+ },
1491
+ {
1492
+ "name": "oenormNoteTextProperties",
1493
+ "baseName": "oenormNoteTextProperties",
1494
+ "type": "OenormNoteTextPropertiesDto"
1336
1495
  } ];
1337
1496
 
1338
1497
  static getAttributeTypeMap() {
@@ -1340,6 +1499,126 @@ export class NoteTextDto extends IElementDto {
1340
1499
  }
1341
1500
  }
1342
1501
 
1502
+ /**
1503
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
1504
+ */
1505
+ export class OenormNoteTextPropertiesDto {
1506
+ /**
1507
+ * This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
1508
+ */
1509
+ 'originCode': OenormOriginCodeDto;
1510
+
1511
+ static discriminator: string | undefined = undefined;
1512
+
1513
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
1514
+ {
1515
+ "name": "originCode",
1516
+ "baseName": "originCode",
1517
+ "type": "OenormOriginCodeDto"
1518
+ } ];
1519
+
1520
+ static getAttributeTypeMap() {
1521
+ return OenormNoteTextPropertiesDto.attributeTypeMap;
1522
+ }
1523
+ }
1524
+
1525
+ /**
1526
+ * This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
1527
+ */
1528
+ export class OenormOriginCodeDto {
1529
+
1530
+ static discriminator: string | undefined = undefined;
1531
+
1532
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
1533
+ ];
1534
+
1535
+ static getAttributeTypeMap() {
1536
+ return OenormOriginCodeDto.attributeTypeMap;
1537
+ }
1538
+ }
1539
+
1540
+ /**
1541
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for Positions and extends the OenormProperties base class.
1542
+ */
1543
+ export class OenormPositionPropertiesDto {
1544
+ /**
1545
+ * This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
1546
+ */
1547
+ 'originCode': OenormOriginCodeDto;
1548
+ /**
1549
+ * This marks if the opening texts within this element are considered free text. It corresponds to 'vorbemerkungskennzeichen' in ÖNorm.
1550
+ */
1551
+ 'openingTextIsFreeText': boolean;
1552
+ /**
1553
+ * This indicates if the ÖNorm 'wesentliche position' mark is set
1554
+ */
1555
+ 'isMainPosition': boolean;
1556
+ /**
1557
+ * This indicates if the ÖNorm position was a 'ungeteilteposition' (undivided position). This will only be taken into account when the position is also the sole element inside it's parent group
1558
+ */
1559
+ 'isUndividedPosition': boolean;
1560
+
1561
+ static discriminator: string | undefined = undefined;
1562
+
1563
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
1564
+ {
1565
+ "name": "originCode",
1566
+ "baseName": "originCode",
1567
+ "type": "OenormOriginCodeDto"
1568
+ },
1569
+ {
1570
+ "name": "openingTextIsFreeText",
1571
+ "baseName": "openingTextIsFreeText",
1572
+ "type": "boolean"
1573
+ },
1574
+ {
1575
+ "name": "isMainPosition",
1576
+ "baseName": "isMainPosition",
1577
+ "type": "boolean"
1578
+ },
1579
+ {
1580
+ "name": "isUndividedPosition",
1581
+ "baseName": "isUndividedPosition",
1582
+ "type": "boolean"
1583
+ } ];
1584
+
1585
+ static getAttributeTypeMap() {
1586
+ return OenormPositionPropertiesDto.attributeTypeMap;
1587
+ }
1588
+ }
1589
+
1590
+ /**
1591
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
1592
+ */
1593
+ export class OenormPropertiesDto {
1594
+ /**
1595
+ * This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
1596
+ */
1597
+ 'originCode': OenormOriginCodeDto;
1598
+ /**
1599
+ * This marks if the opening texts within this element are considered free text. It corresponds to 'vorbemerkungskennzeichen' in ÖNorm.
1600
+ */
1601
+ 'openingTextIsFreeText': boolean;
1602
+
1603
+ static discriminator: string | undefined = undefined;
1604
+
1605
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
1606
+ {
1607
+ "name": "originCode",
1608
+ "baseName": "originCode",
1609
+ "type": "OenormOriginCodeDto"
1610
+ },
1611
+ {
1612
+ "name": "openingTextIsFreeText",
1613
+ "baseName": "openingTextIsFreeText",
1614
+ "type": "boolean"
1615
+ } ];
1616
+
1617
+ static getAttributeTypeMap() {
1618
+ return OenormPropertiesDto.attributeTypeMap;
1619
+ }
1620
+ }
1621
+
1343
1622
  /**
1344
1623
  * Indicates where a service specification was originally created.
1345
1624
  */
@@ -1626,7 +1905,7 @@ export class PositionDto extends IElementDto {
1626
1905
  */
1627
1906
  'totalPriceGrossDeducted': number;
1628
1907
  /**
1629
- * Net price after applied deductions.
1908
+ * Net price after applied deductions. Please be aware that this is the total price, from TotalPrice, not the unit price of the position.
1630
1909
  */
1631
1910
  'deductedPrice': number;
1632
1911
  /**
@@ -1671,10 +1950,18 @@ export class PositionDto extends IElementDto {
1671
1950
  */
1672
1951
  'commerceProperties'?: CommercePropertiesDto;
1673
1952
  /**
1674
- * If this position is an Alternative, then this property should point to the id of the position in this service specification that it can replace.
1953
+ * If this position is an Alternative, then this property should point to the id of the position in this service specification that it can replace. If this is set to a value, you can optionally also specify an identifier via AlternativeIdentifier to specifiy multiple positions that must be used together to be an alternative to a single base position.
1675
1954
  */
1676
1955
  'alternativeTo'?: string;
1677
1956
  /**
1957
+ * This is an optional property that can be used together with AlternativeTo. If this is set, you can indicate which alternative group a specific position is assigned to. That way, if you specifiy multiple alternative Positions with the same AlternativeIdentifier, you can indicate that to replace a single base Position, multiple alternative Positions should be used. This property is not checked or managed automatically, so it is possible for this property to become invalid, by for example setting this property but not setting a base position via AlternativeTo.
1958
+ */
1959
+ 'alternativeIdentifier'?: number;
1960
+ /**
1961
+ * This is an optional property that can be used together with AlternativeTo and AlternativeGroupIdentifier. If this is set, you can indicate which alternative group a specific position is assigned to. That way, you can specify the id (in integer format) for the alternative group this position belongs to. It's different to AlternativeIdentifier in that the other property describes the id of the group, while this property here describes the group itself. If a position only has set AlternativeGroupIdentifier but not AlternativeIdentifier, then it likely is a base position for a specific group. This was introduced in version v2.9.0 to be able to model both position and group ids for alternative group combinations. This property is not checked or managed automatically, so it is possible for this property to become invalid, by for example setting this property but not setting a base position via AlternativeTo.
1962
+ */
1963
+ 'alternativeGroupIdentifier'?: number;
1964
+ /**
1678
1965
  * If this is true, it indicates that the position is intended to be a lump sum, \"Pauschal\" in German. This means the position total price that is being invoiced should not depend on the actual quantity. In practice, partial invoices are still often used for partial services rendered. This property does not affect the price calculation for this position. Typically, the Quantity should be set to 1.0 when this flag is used.
1679
1966
  */
1680
1967
  'isLumpSum': boolean;
@@ -1703,6 +1990,26 @@ export class PositionDto extends IElementDto {
1703
1990
  * This identifier can be used to point to the Id of an ExecutionDescription in the same ServiceSpecification. ExecutionDescriptions act as a way to centrally describe how positions should be executed in practice. Often, the position itself still has text of its own to highlight deviations from that or add more details.
1704
1991
  */
1705
1992
  'executionDescriptionReference'?: string;
1993
+ /**
1994
+ * This indicates if a position has not been offered. This is typically only expected to be true when the exchange phase of the parent ServiceSpecification is Offer, and it means that the position has not been offered at all.
1995
+ */
1996
+ 'notOffered': boolean;
1997
+ /**
1998
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for Positions and extends the OenormProperties base class.
1999
+ */
2000
+ 'oenormPositionProperties'?: OenormPositionPropertiesDto;
2001
+ /**
2002
+ * This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself.
2003
+ */
2004
+ 'descriptionId'?: string;
2005
+ /**
2006
+ * This is a zero based hierarchy level. It's set automatically when used in the context of a Project, and can be used to identify the hierarchy level of the current element.
2007
+ */
2008
+ 'hierarchyLevel': number;
2009
+ /**
2010
+ * This indicates, if this element is part of an addendum an, if yes, with what status.
2011
+ */
2012
+ 'addendumStatus'?: AddendumStatusDto;
1706
2013
 
1707
2014
  static discriminator: string | undefined = undefined;
1708
2015
 
@@ -1877,6 +2184,16 @@ export class PositionDto extends IElementDto {
1877
2184
  "baseName": "alternativeTo",
1878
2185
  "type": "string"
1879
2186
  },
2187
+ {
2188
+ "name": "alternativeIdentifier",
2189
+ "baseName": "alternativeIdentifier",
2190
+ "type": "number"
2191
+ },
2192
+ {
2193
+ "name": "alternativeGroupIdentifier",
2194
+ "baseName": "alternativeGroupIdentifier",
2195
+ "type": "number"
2196
+ },
1880
2197
  {
1881
2198
  "name": "isLumpSum",
1882
2199
  "baseName": "isLumpSum",
@@ -1916,6 +2233,31 @@ export class PositionDto extends IElementDto {
1916
2233
  "name": "executionDescriptionReference",
1917
2234
  "baseName": "executionDescriptionReference",
1918
2235
  "type": "string"
2236
+ },
2237
+ {
2238
+ "name": "notOffered",
2239
+ "baseName": "notOffered",
2240
+ "type": "boolean"
2241
+ },
2242
+ {
2243
+ "name": "oenormPositionProperties",
2244
+ "baseName": "oenormPositionProperties",
2245
+ "type": "OenormPositionPropertiesDto"
2246
+ },
2247
+ {
2248
+ "name": "descriptionId",
2249
+ "baseName": "descriptionId",
2250
+ "type": "string"
2251
+ },
2252
+ {
2253
+ "name": "hierarchyLevel",
2254
+ "baseName": "hierarchyLevel",
2255
+ "type": "number"
2256
+ },
2257
+ {
2258
+ "name": "addendumStatus",
2259
+ "baseName": "addendumStatus",
2260
+ "type": "AddendumStatusDto"
1919
2261
  } ];
1920
2262
 
1921
2263
  static getAttributeTypeMap() {
@@ -1954,6 +2296,10 @@ export class PriceComponentDto {
1954
2296
  * The single Calculation elements this price component is composed of.
1955
2297
  */
1956
2298
  'values'?: Array<CalculationDto>;
2299
+ /**
2300
+ * These are Catalogues that are used within this PriceComponent. Catalogues are used to describe catalogues, or collections, that can be used to describe elements with commonly known properties. For example, QuantityAssignments use these to categorize themselves. They are propagate to all child elements, e.g. other containers and QuantityAssignments. In the context of a ServiceSpecification, all elements share the same instance of the collection.
2301
+ */
2302
+ 'projectCatalogues'?: Array<CatalogueDto>;
1957
2303
 
1958
2304
  static discriminator: string | undefined = undefined;
1959
2305
 
@@ -1972,6 +2318,11 @@ export class PriceComponentDto {
1972
2318
  "name": "values",
1973
2319
  "baseName": "values",
1974
2320
  "type": "Array<CalculationDto>"
2321
+ },
2322
+ {
2323
+ "name": "projectCatalogues",
2324
+ "baseName": "projectCatalogues",
2325
+ "type": "Array<CatalogueDto>"
1975
2326
  } ];
1976
2327
 
1977
2328
  static getAttributeTypeMap() {
@@ -2771,6 +3122,14 @@ export class ServiceSpecificationDto {
2771
3122
  * This should specify how the approval is performed by the buyer. This matches \"AcceptType\" in GAEB
2772
3123
  */
2773
3124
  'typeOfApproval'?: string;
3125
+ /**
3126
+ * This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German.
3127
+ */
3128
+ 'addendumNumber'?: string;
3129
+ /**
3130
+ * This indicates, if this element is part of an addendum an, if yes, with what status.
3131
+ */
3132
+ 'addendumStatus'?: AddendumStatusDto;
2774
3133
 
2775
3134
  static discriminator: string | undefined = undefined;
2776
3135
 
@@ -2989,6 +3348,16 @@ export class ServiceSpecificationDto {
2989
3348
  "name": "typeOfApproval",
2990
3349
  "baseName": "typeOfApproval",
2991
3350
  "type": "string"
3351
+ },
3352
+ {
3353
+ "name": "addendumNumber",
3354
+ "baseName": "addendumNumber",
3355
+ "type": "string"
3356
+ },
3357
+ {
3358
+ "name": "addendumStatus",
3359
+ "baseName": "addendumStatus",
3360
+ "type": "AddendumStatusDto"
2992
3361
  } ];
2993
3362
 
2994
3363
  static getAttributeTypeMap() {
@@ -3099,6 +3468,18 @@ export class ServiceSpecificationGroupDto extends IElementDto {
3099
3468
  * Referenced catalogues for this QuantityAssignment.
3100
3469
  */
3101
3470
  'catalogueReferences'?: Array<CatalogueReferenceDto>;
3471
+ /**
3472
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
3473
+ */
3474
+ 'oenormProperties'?: OenormPropertiesDto;
3475
+ /**
3476
+ * This is a zero based hierarchy level. It's set automatically when used in the context of a Project, and can be used to identify the hierarchy level of the current element.
3477
+ */
3478
+ 'hierarchyLevel': number;
3479
+ /**
3480
+ * This indicates, if this element is part of an addendum an, if yes, with what status.
3481
+ */
3482
+ 'addendumStatus'?: AddendumStatusDto;
3102
3483
 
3103
3484
  static discriminator: string | undefined = undefined;
3104
3485
 
@@ -3237,6 +3618,21 @@ export class ServiceSpecificationGroupDto extends IElementDto {
3237
3618
  "name": "catalogueReferences",
3238
3619
  "baseName": "catalogueReferences",
3239
3620
  "type": "Array<CatalogueReferenceDto>"
3621
+ },
3622
+ {
3623
+ "name": "oenormProperties",
3624
+ "baseName": "oenormProperties",
3625
+ "type": "OenormPropertiesDto"
3626
+ },
3627
+ {
3628
+ "name": "hierarchyLevel",
3629
+ "baseName": "hierarchyLevel",
3630
+ "type": "number"
3631
+ },
3632
+ {
3633
+ "name": "addendumStatus",
3634
+ "baseName": "addendumStatus",
3635
+ "type": "AddendumStatusDto"
3240
3636
  } ];
3241
3637
 
3242
3638
  static getAttributeTypeMap() {
@@ -3378,6 +3774,14 @@ export class SubDescriptionDto {
3378
3774
  * This identifier can be used to point to the Id of an ExecutionDescription in the same ServiceSpecification. ExecutionDescriptions act as a way to centrally describe how positions (or sub descriptions) should be executed in practice. Often, the position (or sub description) itself still has text of its own to highlight deviations from that or add more details. When working with import and export features, this property is only supported in GAEB 90 data exchange.
3379
3775
  */
3380
3776
  'executionDescriptionReference'?: string;
3777
+ /**
3778
+ * These are Catalogues that are used within this Calculation. Catalogues are used to describe catalogues, or collections, that can be used to describe elements with commonly known properties. For example, QuantityAssignments use these to categorize themselves. They are propagate to all child elements, e.g. other containers and QuantityAssignments. In the context of a ServiceSpecification, all elements share the same instance of the collection.
3779
+ */
3780
+ 'projectCatalogues'?: Array<CatalogueDto>;
3781
+ /**
3782
+ * This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself.
3783
+ */
3784
+ 'descriptionId'?: string;
3381
3785
 
3382
3786
  static discriminator: string | undefined = undefined;
3383
3787
 
@@ -3436,6 +3840,16 @@ export class SubDescriptionDto {
3436
3840
  "name": "executionDescriptionReference",
3437
3841
  "baseName": "executionDescriptionReference",
3438
3842
  "type": "string"
3843
+ },
3844
+ {
3845
+ "name": "projectCatalogues",
3846
+ "baseName": "projectCatalogues",
3847
+ "type": "Array<CatalogueDto>"
3848
+ },
3849
+ {
3850
+ "name": "descriptionId",
3851
+ "baseName": "descriptionId",
3852
+ "type": "string"
3439
3853
  } ];
3440
3854
 
3441
3855
  static getAttributeTypeMap() {
@@ -3606,7 +4020,7 @@ export class TradeDiscountDto {
3606
4020
  */
3607
4021
  export class WarrantyDurationDto {
3608
4022
  /**
3609
- * The scalar value of the duration. This value must be equal to or bigger than zero (&gt;= 0). Negative values can not be set and will be ignored.
4023
+ * The scalar value of the duration. This value must be equal to or bigger than zero (>= 0). Negative values can not be set and will be ignored.
3610
4024
  */
3611
4025
  'duration': number;
3612
4026
  /**
@@ -3638,6 +4052,7 @@ let enumsMap: {[index: string]: any} = {
3638
4052
  }
3639
4053
 
3640
4054
  let typeMap: {[index: string]: any} = {
4055
+ "AddendumStatusDto": AddendumStatusDto,
3641
4056
  "AdditionTypeDto": AdditionTypeDto,
3642
4057
  "ApiError": ApiError,
3643
4058
  "ArticleDataDto": ArticleDataDto,
@@ -3669,6 +4084,10 @@ let typeMap: {[index: string]: any} = {
3669
4084
  "LabourPriceComponentDto": LabourPriceComponentDto,
3670
4085
  "LoginPost": LoginPost,
3671
4086
  "NoteTextDto": NoteTextDto,
4087
+ "OenormNoteTextPropertiesDto": OenormNoteTextPropertiesDto,
4088
+ "OenormOriginCodeDto": OenormOriginCodeDto,
4089
+ "OenormPositionPropertiesDto": OenormPositionPropertiesDto,
4090
+ "OenormPropertiesDto": OenormPropertiesDto,
3672
4091
  "OriginDto": OriginDto,
3673
4092
  "PartyInformationDto": PartyInformationDto,
3674
4093
  "PositionDto": PositionDto,
@@ -3945,9 +4364,11 @@ export class AslvConversionApi {
3945
4364
  * @param destinationGaebType Defaults to GAEB XML V3.2
3946
4365
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
3947
4366
  * @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.
4367
+ * @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.
4368
+ * @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.
3948
4369
  * @param {*} [options] Override http request options.
3949
4370
  */
3950
- public aslvConversionConvertToGaeb (aslvFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4371
+ public aslvConversionConvertToGaeb (aslvFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
3951
4372
  const localVarPath = this.basePath + '/conversion/aslv/gaeb';
3952
4373
  let localVarQueryParameters: any = {};
3953
4374
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -3965,6 +4386,14 @@ export class AslvConversionApi {
3965
4386
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
3966
4387
  }
3967
4388
 
4389
+ if (exportQuantityDetermination !== undefined) {
4390
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4391
+ }
4392
+
4393
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4394
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4395
+ }
4396
+
3968
4397
  (<any>Object).assign(localVarHeaderParams, options.headers);
3969
4398
 
3970
4399
  let localVarUseFormData = false;
@@ -4015,22 +4444,32 @@ export class AslvConversionApi {
4015
4444
  * @param aslvFile The input file
4016
4445
  * @param destinationOenormType Defaults to Lv2015
4017
4446
  * @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
4447
+ * @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.
4448
+ * @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.
4018
4449
  * @param {*} [options] Override http request options.
4019
4450
  */
4020
- public aslvConversionConvertToOenorm (aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4451
+ public aslvConversionConvertToOenorm (aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4021
4452
  const localVarPath = this.basePath + '/conversion/aslv/oenorm';
4022
4453
  let localVarQueryParameters: any = {};
4023
4454
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
4024
4455
  let localVarFormParams: any = {};
4025
4456
 
4026
4457
  if (destinationOenormType !== undefined) {
4027
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
4458
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
4028
4459
  }
4029
4460
 
4030
4461
  if (tryRepairProjectStructure !== undefined) {
4031
4462
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
4032
4463
  }
4033
4464
 
4465
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
4466
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
4467
+ }
4468
+
4469
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4470
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4471
+ }
4472
+
4034
4473
  (<any>Object).assign(localVarHeaderParams, options.headers);
4035
4474
 
4036
4475
  let localVarUseFormData = false;
@@ -4129,11 +4568,12 @@ export class AvaConversionApi {
4129
4568
  *
4130
4569
  * @summary Converts Dangl.AVA projects to Dangl.AVA. This is useful when you want to generate the calculated properties.
4131
4570
  * @param avaProject The Dangl.AVA project
4571
+ * @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.
4132
4572
  * @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
4133
4573
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
4134
4574
  * @param {*} [options] Override http request options.
4135
4575
  */
4136
- public avaConversionConvertToAva (avaProject: ProjectDto, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
4576
+ public avaConversionConvertToAva (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
4137
4577
  const localVarPath = this.basePath + '/conversion/ava/ava';
4138
4578
  let localVarQueryParameters: any = {};
4139
4579
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -4144,6 +4584,10 @@ export class AvaConversionApi {
4144
4584
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToAva.');
4145
4585
  }
4146
4586
 
4587
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
4588
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
4589
+ }
4590
+
4147
4591
  if (removePlainTextLongTexts !== undefined) {
4148
4592
  localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
4149
4593
  }
@@ -4196,12 +4640,13 @@ export class AvaConversionApi {
4196
4640
  *
4197
4641
  * @summary Converts Dangl.AVA projects to Excel
4198
4642
  * @param avaProject The Dangl.AVA project
4643
+ * @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.
4199
4644
  * @param writePrices Defaults to true
4200
4645
  * @param writeLongTexts Defaults to true
4201
4646
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
4202
4647
  * @param {*} [options] Override http request options.
4203
4648
  */
4204
- public avaConversionConvertToExcel (avaProject: ProjectDto, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4649
+ public avaConversionConvertToExcel (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4205
4650
  const localVarPath = this.basePath + '/conversion/ava/excel';
4206
4651
  let localVarQueryParameters: any = {};
4207
4652
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -4212,6 +4657,10 @@ export class AvaConversionApi {
4212
4657
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToExcel.');
4213
4658
  }
4214
4659
 
4660
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
4661
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
4662
+ }
4663
+
4215
4664
  if (writePrices !== undefined) {
4216
4665
  localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
4217
4666
  }
@@ -4269,12 +4718,15 @@ export class AvaConversionApi {
4269
4718
  *
4270
4719
  * @summary Converts Dangl.AVA projects to GAEB
4271
4720
  * @param avaProject The Dangl.AVA project
4721
+ * @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.
4272
4722
  * @param destinationGaebType Defaults to GAEB XML V3.2
4273
4723
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4274
4724
  * @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.
4725
+ * @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.
4726
+ * @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.
4275
4727
  * @param {*} [options] Override http request options.
4276
4728
  */
4277
- public avaConversionConvertToGaeb (avaProject: ProjectDto, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4729
+ public avaConversionConvertToGaeb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4278
4730
  const localVarPath = this.basePath + '/conversion/ava/gaeb';
4279
4731
  let localVarQueryParameters: any = {};
4280
4732
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -4285,6 +4737,10 @@ export class AvaConversionApi {
4285
4737
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToGaeb.');
4286
4738
  }
4287
4739
 
4740
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
4741
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
4742
+ }
4743
+
4288
4744
  if (destinationGaebType !== undefined) {
4289
4745
  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'");
4290
4746
  }
@@ -4297,6 +4753,14 @@ export class AvaConversionApi {
4297
4753
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
4298
4754
  }
4299
4755
 
4756
+ if (exportQuantityDetermination !== undefined) {
4757
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4758
+ }
4759
+
4760
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4761
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4762
+ }
4763
+
4300
4764
  (<any>Object).assign(localVarHeaderParams, options.headers);
4301
4765
 
4302
4766
  let localVarUseFormData = false;
@@ -4342,11 +4806,14 @@ export class AvaConversionApi {
4342
4806
  *
4343
4807
  * @summary Converts Dangl.AVA projects to Oenorm
4344
4808
  * @param avaProject The Dangl.AVA project
4809
+ * @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.
4345
4810
  * @param destinationOenormType Defaults to Lv2015
4346
4811
  * @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
4812
+ * @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.
4813
+ * @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.
4347
4814
  * @param {*} [options] Override http request options.
4348
4815
  */
4349
- public avaConversionConvertToOenorm (avaProject: ProjectDto, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4816
+ public avaConversionConvertToOenorm (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4350
4817
  const localVarPath = this.basePath + '/conversion/ava/oenorm';
4351
4818
  let localVarQueryParameters: any = {};
4352
4819
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -4357,14 +4824,26 @@ export class AvaConversionApi {
4357
4824
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToOenorm.');
4358
4825
  }
4359
4826
 
4827
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
4828
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
4829
+ }
4830
+
4360
4831
  if (destinationOenormType !== undefined) {
4361
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
4832
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
4362
4833
  }
4363
4834
 
4364
4835
  if (tryRepairProjectStructure !== undefined) {
4365
4836
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
4366
4837
  }
4367
4838
 
4839
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
4840
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
4841
+ }
4842
+
4843
+ if (removeUnprintableCharactersFromTexts !== undefined) {
4844
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
4845
+ }
4846
+
4368
4847
  (<any>Object).assign(localVarHeaderParams, options.headers);
4369
4848
 
4370
4849
  let localVarUseFormData = false;
@@ -4410,9 +4889,10 @@ export class AvaConversionApi {
4410
4889
  *
4411
4890
  * @summary Converts Dangl.AVA projects to REB
4412
4891
  * @param avaProject The Dangl.AVA project
4892
+ * @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.
4413
4893
  * @param {*} [options] Override http request options.
4414
4894
  */
4415
- public avaConversionConvertToReb (avaProject: ProjectDto, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4895
+ public avaConversionConvertToReb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4416
4896
  const localVarPath = this.basePath + '/conversion/ava/reb';
4417
4897
  let localVarQueryParameters: any = {};
4418
4898
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -4423,6 +4903,10 @@ export class AvaConversionApi {
4423
4903
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToReb.');
4424
4904
  }
4425
4905
 
4906
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
4907
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
4908
+ }
4909
+
4426
4910
  (<any>Object).assign(localVarHeaderParams, options.headers);
4427
4911
 
4428
4912
  let localVarUseFormData = false;
@@ -4468,9 +4952,10 @@ export class AvaConversionApi {
4468
4952
  *
4469
4953
  * @summary Converts Dangl.AVA projects to SIA 451
4470
4954
  * @param avaProject The Dangl.AVA project
4955
+ * @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.
4471
4956
  * @param {*} [options] Override http request options.
4472
4957
  */
4473
- public avaConversionConvertToSia (avaProject: ProjectDto, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4958
+ public avaConversionConvertToSia (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4474
4959
  const localVarPath = this.basePath + '/conversion/ava/sia';
4475
4960
  let localVarQueryParameters: any = {};
4476
4961
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -4481,6 +4966,10 @@ export class AvaConversionApi {
4481
4966
  throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToSia.');
4482
4967
  }
4483
4968
 
4969
+ if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
4970
+ localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
4971
+ }
4972
+
4484
4973
  (<any>Object).assign(localVarHeaderParams, options.headers);
4485
4974
 
4486
4975
  let localVarUseFormData = false;
@@ -5118,9 +5607,11 @@ export class ExcelConversionApi {
5118
5607
  * @param destinationGaebType Defaults to GAEB XML V3.2
5119
5608
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
5120
5609
  * @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.
5610
+ * @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.
5611
+ * @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.
5121
5612
  * @param {*} [options] Override http request options.
5122
5613
  */
5123
- public excelConversionConvertToGaeb (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5614
+ public excelConversionConvertToGaeb (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5124
5615
  const localVarPath = this.basePath + '/conversion/excel/gaeb';
5125
5616
  let localVarQueryParameters: any = {};
5126
5617
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -5146,6 +5637,14 @@ export class ExcelConversionApi {
5146
5637
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
5147
5638
  }
5148
5639
 
5640
+ if (exportQuantityDetermination !== undefined) {
5641
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
5642
+ }
5643
+
5644
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5645
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5646
+ }
5647
+
5149
5648
  (<any>Object).assign(localVarHeaderParams, options.headers);
5150
5649
 
5151
5650
  let localVarUseFormData = false;
@@ -5198,9 +5697,11 @@ export class ExcelConversionApi {
5198
5697
  * @param rebuildItemNumberSchema When importing new elements from Excel, sometimes the ItemNumberSchema in the file is not in compliance with the GAEB requirements. Enabling this option tries to repair the ItemNumberSchema. Defaults to false.
5199
5698
  * @param destinationOenormType Defaults to Lv2015
5200
5699
  * @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
5700
+ * @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.
5701
+ * @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.
5201
5702
  * @param {*} [options] Override http request options.
5202
5703
  */
5203
- public excelConversionConvertToOenorm (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5704
+ public excelConversionConvertToOenorm (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5204
5705
  const localVarPath = this.basePath + '/conversion/excel/oenorm';
5205
5706
  let localVarQueryParameters: any = {};
5206
5707
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -5215,13 +5716,21 @@ export class ExcelConversionApi {
5215
5716
  }
5216
5717
 
5217
5718
  if (destinationOenormType !== undefined) {
5218
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
5719
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
5219
5720
  }
5220
5721
 
5221
5722
  if (tryRepairProjectStructure !== undefined) {
5222
5723
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
5223
5724
  }
5224
5725
 
5726
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
5727
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
5728
+ }
5729
+
5730
+ if (removeUnprintableCharactersFromTexts !== undefined) {
5731
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
5732
+ }
5733
+
5225
5734
  (<any>Object).assign(localVarHeaderParams, options.headers);
5226
5735
 
5227
5736
  let localVarUseFormData = false;
@@ -5320,16 +5829,21 @@ export class GaebConversionApi {
5320
5829
  *
5321
5830
  * @summary Converts GAEB files to Dangl.AVA projects
5322
5831
  * @param gaebFile The input file
5832
+ * @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.
5323
5833
  * @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
5324
5834
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
5325
5835
  * @param {*} [options] Override http request options.
5326
5836
  */
5327
- public gaebConversionConvertToAva (gaebFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
5837
+ public gaebConversionConvertToAva (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
5328
5838
  const localVarPath = this.basePath + '/conversion/gaeb/ava';
5329
5839
  let localVarQueryParameters: any = {};
5330
5840
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5331
5841
  let localVarFormParams: any = {};
5332
5842
 
5843
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
5844
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
5845
+ }
5846
+
5333
5847
  if (removePlainTextLongTexts !== undefined) {
5334
5848
  localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
5335
5849
  }
@@ -5386,17 +5900,22 @@ export class GaebConversionApi {
5386
5900
  *
5387
5901
  * @summary Converts GAEB files to Excel
5388
5902
  * @param gaebFile The input file
5903
+ * @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.
5389
5904
  * @param writePrices Defaults to true
5390
5905
  * @param writeLongTexts Defaults to true
5391
5906
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
5392
5907
  * @param {*} [options] Override http request options.
5393
5908
  */
5394
- public gaebConversionConvertToExcel (gaebFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5909
+ public gaebConversionConvertToExcel (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5395
5910
  const localVarPath = this.basePath + '/conversion/gaeb/excel';
5396
5911
  let localVarQueryParameters: any = {};
5397
5912
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5398
5913
  let localVarFormParams: any = {};
5399
5914
 
5915
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
5916
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
5917
+ }
5918
+
5400
5919
  if (writePrices !== undefined) {
5401
5920
  localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
5402
5921
  }
@@ -5457,17 +5976,24 @@ export class GaebConversionApi {
5457
5976
  *
5458
5977
  * @summary Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files.
5459
5978
  * @param gaebFile The input file
5979
+ * @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.
5460
5980
  * @param destinationGaebType Defaults to GAEB XML V3.2
5461
5981
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
5462
5982
  * @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.
5983
+ * @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.
5984
+ * @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.
5463
5985
  * @param {*} [options] Override http request options.
5464
5986
  */
5465
- public gaebConversionConvertToGaeb (gaebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5987
+ public gaebConversionConvertToGaeb (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5466
5988
  const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
5467
5989
  let localVarQueryParameters: any = {};
5468
5990
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5469
5991
  let localVarFormParams: any = {};
5470
5992
 
5993
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
5994
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
5995
+ }
5996
+
5471
5997
  if (destinationGaebType !== undefined) {
5472
5998
  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'");
5473
5999
  }
@@ -5480,6 +6006,14 @@ export class GaebConversionApi {
5480
6006
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
5481
6007
  }
5482
6008
 
6009
+ if (exportQuantityDetermination !== undefined) {
6010
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
6011
+ }
6012
+
6013
+ if (removeUnprintableCharactersFromTexts !== undefined) {
6014
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
6015
+ }
6016
+
5483
6017
  (<any>Object).assign(localVarHeaderParams, options.headers);
5484
6018
 
5485
6019
  let localVarUseFormData = false;
@@ -5528,24 +6062,39 @@ export class GaebConversionApi {
5528
6062
  *
5529
6063
  * @summary Converts GAEB files to Oenorm files
5530
6064
  * @param gaebFile The input file
6065
+ * @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.
5531
6066
  * @param destinationOenormType Defaults to Lv2015
5532
6067
  * @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
6068
+ * @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.
6069
+ * @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.
5533
6070
  * @param {*} [options] Override http request options.
5534
6071
  */
5535
- public gaebConversionConvertToOenorm (gaebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6072
+ public gaebConversionConvertToOenorm (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5536
6073
  const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
5537
6074
  let localVarQueryParameters: any = {};
5538
6075
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5539
6076
  let localVarFormParams: any = {};
5540
6077
 
6078
+ if (supportSkippedItemNumberLevelsInPositions !== undefined) {
6079
+ localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
6080
+ }
6081
+
5541
6082
  if (destinationOenormType !== undefined) {
5542
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
6083
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
5543
6084
  }
5544
6085
 
5545
6086
  if (tryRepairProjectStructure !== undefined) {
5546
6087
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
5547
6088
  }
5548
6089
 
6090
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
6091
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
6092
+ }
6093
+
6094
+ if (removeUnprintableCharactersFromTexts !== undefined) {
6095
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
6096
+ }
6097
+
5549
6098
  (<any>Object).assign(localVarHeaderParams, options.headers);
5550
6099
 
5551
6100
  let localVarUseFormData = false;
@@ -5784,9 +6333,11 @@ export class OenormConversionApi {
5784
6333
  * @param destinationGaebType Defaults to GAEB XML V3.2
5785
6334
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
5786
6335
  * @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.
6336
+ * @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.
6337
+ * @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.
5787
6338
  * @param {*} [options] Override http request options.
5788
6339
  */
5789
- public oenormConversionConvertToGaeb (oenormFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6340
+ public oenormConversionConvertToGaeb (oenormFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5790
6341
  const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
5791
6342
  let localVarQueryParameters: any = {};
5792
6343
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -5804,6 +6355,14 @@ export class OenormConversionApi {
5804
6355
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
5805
6356
  }
5806
6357
 
6358
+ if (exportQuantityDetermination !== undefined) {
6359
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
6360
+ }
6361
+
6362
+ if (removeUnprintableCharactersFromTexts !== undefined) {
6363
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
6364
+ }
6365
+
5807
6366
  (<any>Object).assign(localVarHeaderParams, options.headers);
5808
6367
 
5809
6368
  let localVarUseFormData = false;
@@ -5854,22 +6413,32 @@ export class OenormConversionApi {
5854
6413
  * @param oenormFile The input file
5855
6414
  * @param destinationOenormType Defaults to Lv2015
5856
6415
  * @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
6416
+ * @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.
6417
+ * @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.
5857
6418
  * @param {*} [options] Override http request options.
5858
6419
  */
5859
- public oenormConversionConvertToOenorm (oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6420
+ public oenormConversionConvertToOenorm (oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5860
6421
  const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
5861
6422
  let localVarQueryParameters: any = {};
5862
6423
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5863
6424
  let localVarFormParams: any = {};
5864
6425
 
5865
6426
  if (destinationOenormType !== undefined) {
5866
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
6427
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
5867
6428
  }
5868
6429
 
5869
6430
  if (tryRepairProjectStructure !== undefined) {
5870
6431
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
5871
6432
  }
5872
6433
 
6434
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
6435
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
6436
+ }
6437
+
6438
+ if (removeUnprintableCharactersFromTexts !== undefined) {
6439
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
6440
+ }
6441
+
5873
6442
  (<any>Object).assign(localVarHeaderParams, options.headers);
5874
6443
 
5875
6444
  let localVarUseFormData = false;
@@ -6108,9 +6677,11 @@ export class RebConversionApi {
6108
6677
  * @param destinationGaebType Defaults to GAEB XML V3.2
6109
6678
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
6110
6679
  * @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.
6680
+ * @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.
6681
+ * @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.
6111
6682
  * @param {*} [options] Override http request options.
6112
6683
  */
6113
- public rebConversionConvertToGaeb (rebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6684
+ public rebConversionConvertToGaeb (rebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6114
6685
  const localVarPath = this.basePath + '/conversion/reb/gaeb';
6115
6686
  let localVarQueryParameters: any = {};
6116
6687
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -6128,6 +6699,14 @@ export class RebConversionApi {
6128
6699
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
6129
6700
  }
6130
6701
 
6702
+ if (exportQuantityDetermination !== undefined) {
6703
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
6704
+ }
6705
+
6706
+ if (removeUnprintableCharactersFromTexts !== undefined) {
6707
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
6708
+ }
6709
+
6131
6710
  (<any>Object).assign(localVarHeaderParams, options.headers);
6132
6711
 
6133
6712
  let localVarUseFormData = false;
@@ -6178,22 +6757,32 @@ export class RebConversionApi {
6178
6757
  * @param rebFile The input file
6179
6758
  * @param destinationOenormType Defaults to Lv2015
6180
6759
  * @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
6760
+ * @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.
6761
+ * @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.
6181
6762
  * @param {*} [options] Override http request options.
6182
6763
  */
6183
- public rebConversionConvertToOenorm (rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6764
+ public rebConversionConvertToOenorm (rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6184
6765
  const localVarPath = this.basePath + '/conversion/reb/oenorm';
6185
6766
  let localVarQueryParameters: any = {};
6186
6767
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6187
6768
  let localVarFormParams: any = {};
6188
6769
 
6189
6770
  if (destinationOenormType !== undefined) {
6190
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
6771
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
6191
6772
  }
6192
6773
 
6193
6774
  if (tryRepairProjectStructure !== undefined) {
6194
6775
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
6195
6776
  }
6196
6777
 
6778
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
6779
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
6780
+ }
6781
+
6782
+ if (removeUnprintableCharactersFromTexts !== undefined) {
6783
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
6784
+ }
6785
+
6197
6786
  (<any>Object).assign(localVarHeaderParams, options.headers);
6198
6787
 
6199
6788
  let localVarUseFormData = false;
@@ -6432,9 +7021,11 @@ export class SiaConversionApi {
6432
7021
  * @param destinationGaebType Defaults to GAEB XML V3.2
6433
7022
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
6434
7023
  * @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.
7024
+ * @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.
7025
+ * @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.
6435
7026
  * @param {*} [options] Override http request options.
6436
7027
  */
6437
- public siaConversionConvertToGaeb (siaFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7028
+ public siaConversionConvertToGaeb (siaFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6438
7029
  const localVarPath = this.basePath + '/conversion/sia/gaeb';
6439
7030
  let localVarQueryParameters: any = {};
6440
7031
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -6452,6 +7043,14 @@ export class SiaConversionApi {
6452
7043
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
6453
7044
  }
6454
7045
 
7046
+ if (exportQuantityDetermination !== undefined) {
7047
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
7048
+ }
7049
+
7050
+ if (removeUnprintableCharactersFromTexts !== undefined) {
7051
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
7052
+ }
7053
+
6455
7054
  (<any>Object).assign(localVarHeaderParams, options.headers);
6456
7055
 
6457
7056
  let localVarUseFormData = false;
@@ -6502,22 +7101,32 @@ export class SiaConversionApi {
6502
7101
  * @param siaFile The input file
6503
7102
  * @param destinationOenormType Defaults to Lv2015
6504
7103
  * @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
7104
+ * @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.
7105
+ * @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.
6505
7106
  * @param {*} [options] Override http request options.
6506
7107
  */
6507
- public siaConversionConvertToOenorm (siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7108
+ public siaConversionConvertToOenorm (siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6508
7109
  const localVarPath = this.basePath + '/conversion/sia/oenorm';
6509
7110
  let localVarQueryParameters: any = {};
6510
7111
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6511
7112
  let localVarFormParams: any = {};
6512
7113
 
6513
7114
  if (destinationOenormType !== undefined) {
6514
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
7115
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
6515
7116
  }
6516
7117
 
6517
7118
  if (tryRepairProjectStructure !== undefined) {
6518
7119
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
6519
7120
  }
6520
7121
 
7122
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
7123
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
7124
+ }
7125
+
7126
+ if (removeUnprintableCharactersFromTexts !== undefined) {
7127
+ localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
7128
+ }
7129
+
6521
7130
  (<any>Object).assign(localVarHeaderParams, options.headers);
6522
7131
 
6523
7132
  let localVarUseFormData = false;