@dangl/avacloud-client-node 1.13.0 → 1.14.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.22.0
3
3
  * AVACloud API specification
4
4
  *
5
- * OpenAPI spec version: 1.17.3
5
+ * OpenAPI spec version: 1.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -378,6 +378,14 @@ export class CalculationDto {
378
378
  * 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
379
  */
380
380
  'errorPositionInLine': number;
381
+ /**
382
+ * 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.
383
+ */
384
+ 'projectCatalogues'?: Array<CatalogueDto>;
385
+ /**
386
+ * Referenced catalogues for this Calculation.
387
+ */
388
+ 'catalogueReferences'?: Array<CatalogueReferenceDto>;
381
389
 
382
390
  static discriminator: string | undefined = undefined;
383
391
 
@@ -406,6 +414,16 @@ export class CalculationDto {
406
414
  "name": "errorPositionInLine",
407
415
  "baseName": "errorPositionInLine",
408
416
  "type": "number"
417
+ },
418
+ {
419
+ "name": "projectCatalogues",
420
+ "baseName": "projectCatalogues",
421
+ "type": "Array<CatalogueDto>"
422
+ },
423
+ {
424
+ "name": "catalogueReferences",
425
+ "baseName": "catalogueReferences",
426
+ "type": "Array<CatalogueReferenceDto>"
409
427
  } ];
410
428
 
411
429
  static getAttributeTypeMap() {
@@ -1054,6 +1072,14 @@ export class ItemNumberSchemaDto {
1054
1072
  * The collection of tiers for this ItemNumberSchema.
1055
1073
  */
1056
1074
  'tiers'?: Array<ItemNumberSchemaTierDto>;
1075
+ /**
1076
+ * 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
1077
+ */
1078
+ 'separator'?: string;
1079
+ /**
1080
+ * 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
1081
+ */
1082
+ 'filler'?: string;
1057
1083
 
1058
1084
  static discriminator: string | undefined = undefined;
1059
1085
 
@@ -1067,6 +1093,16 @@ export class ItemNumberSchemaDto {
1067
1093
  "name": "tiers",
1068
1094
  "baseName": "tiers",
1069
1095
  "type": "Array<ItemNumberSchemaTierDto>"
1096
+ },
1097
+ {
1098
+ "name": "separator",
1099
+ "baseName": "separator",
1100
+ "type": "string"
1101
+ },
1102
+ {
1103
+ "name": "filler",
1104
+ "baseName": "filler",
1105
+ "type": "string"
1070
1106
  } ];
1071
1107
 
1072
1108
  static getAttributeTypeMap() {
@@ -1094,6 +1130,14 @@ export class ItemNumberSchemaTierDto {
1094
1130
  * Indicates if this tier represents a lot. See the documentation for more information about lots.
1095
1131
  */
1096
1132
  'isLot': boolean;
1133
+ /**
1134
+ * 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'
1135
+ */
1136
+ 'increment': number;
1137
+ /**
1138
+ * This is an optional name for the given tier
1139
+ */
1140
+ 'tierName'?: string;
1097
1141
 
1098
1142
  static discriminator: string | undefined = undefined;
1099
1143
 
@@ -1117,6 +1161,16 @@ export class ItemNumberSchemaTierDto {
1117
1161
  "name": "isLot",
1118
1162
  "baseName": "isLot",
1119
1163
  "type": "boolean"
1164
+ },
1165
+ {
1166
+ "name": "increment",
1167
+ "baseName": "increment",
1168
+ "type": "number"
1169
+ },
1170
+ {
1171
+ "name": "tierName",
1172
+ "baseName": "tierName",
1173
+ "type": "string"
1120
1174
  } ];
1121
1175
 
1122
1176
  static getAttributeTypeMap() {
@@ -1182,6 +1236,10 @@ export class LabourPriceComponentDto {
1182
1236
  * The total, calculated time of this component. Will return the result rounded to three decimal places.
1183
1237
  */
1184
1238
  'totalTime': number;
1239
+ /**
1240
+ * 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.
1241
+ */
1242
+ 'projectCatalogues'?: Array<CatalogueDto>;
1185
1243
 
1186
1244
  static discriminator: string | undefined = undefined;
1187
1245
 
@@ -1215,6 +1273,11 @@ export class LabourPriceComponentDto {
1215
1273
  "name": "totalTime",
1216
1274
  "baseName": "totalTime",
1217
1275
  "type": "number"
1276
+ },
1277
+ {
1278
+ "name": "projectCatalogues",
1279
+ "baseName": "projectCatalogues",
1280
+ "type": "Array<CatalogueDto>"
1218
1281
  } ];
1219
1282
 
1220
1283
  static getAttributeTypeMap() {
@@ -1285,6 +1348,10 @@ export class NoteTextDto extends IElementDto {
1285
1348
  */
1286
1349
  'standardizedDescription'?: StandardizedDescriptionDto;
1287
1350
  'elementType'?: string;
1351
+ /**
1352
+ * 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.
1353
+ */
1354
+ 'descriptionId'?: string;
1288
1355
 
1289
1356
  static discriminator: string | undefined = undefined;
1290
1357
 
@@ -1333,6 +1400,11 @@ export class NoteTextDto extends IElementDto {
1333
1400
  "name": "elementType",
1334
1401
  "baseName": "elementType",
1335
1402
  "type": "string"
1403
+ },
1404
+ {
1405
+ "name": "descriptionId",
1406
+ "baseName": "descriptionId",
1407
+ "type": "string"
1336
1408
  } ];
1337
1409
 
1338
1410
  static getAttributeTypeMap() {
@@ -1340,6 +1412,94 @@ export class NoteTextDto extends IElementDto {
1340
1412
  }
1341
1413
  }
1342
1414
 
1415
+ /**
1416
+ * This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
1417
+ */
1418
+ export class OenormOriginCodeDto {
1419
+
1420
+ static discriminator: string | undefined = undefined;
1421
+
1422
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
1423
+ ];
1424
+
1425
+ static getAttributeTypeMap() {
1426
+ return OenormOriginCodeDto.attributeTypeMap;
1427
+ }
1428
+ }
1429
+
1430
+ /**
1431
+ * 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.
1432
+ */
1433
+ export class OenormPositionPropertiesDto {
1434
+ /**
1435
+ * This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
1436
+ */
1437
+ 'originCode': OenormOriginCodeDto;
1438
+ /**
1439
+ * This marks if the opening texts within this element are considered free text. It corresponds to 'vorbemerkungskennzeichen' in ÖNorm.
1440
+ */
1441
+ 'openingTextIsFreeText': boolean;
1442
+ /**
1443
+ * This indicates if the ÖNorm 'wesentliche position' mark is set
1444
+ */
1445
+ 'isMainPosition': boolean;
1446
+
1447
+ static discriminator: string | undefined = undefined;
1448
+
1449
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
1450
+ {
1451
+ "name": "originCode",
1452
+ "baseName": "originCode",
1453
+ "type": "OenormOriginCodeDto"
1454
+ },
1455
+ {
1456
+ "name": "openingTextIsFreeText",
1457
+ "baseName": "openingTextIsFreeText",
1458
+ "type": "boolean"
1459
+ },
1460
+ {
1461
+ "name": "isMainPosition",
1462
+ "baseName": "isMainPosition",
1463
+ "type": "boolean"
1464
+ } ];
1465
+
1466
+ static getAttributeTypeMap() {
1467
+ return OenormPositionPropertiesDto.attributeTypeMap;
1468
+ }
1469
+ }
1470
+
1471
+ /**
1472
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
1473
+ */
1474
+ export class OenormPropertiesDto {
1475
+ /**
1476
+ * This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
1477
+ */
1478
+ 'originCode': OenormOriginCodeDto;
1479
+ /**
1480
+ * This marks if the opening texts within this element are considered free text. It corresponds to 'vorbemerkungskennzeichen' in ÖNorm.
1481
+ */
1482
+ 'openingTextIsFreeText': boolean;
1483
+
1484
+ static discriminator: string | undefined = undefined;
1485
+
1486
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
1487
+ {
1488
+ "name": "originCode",
1489
+ "baseName": "originCode",
1490
+ "type": "OenormOriginCodeDto"
1491
+ },
1492
+ {
1493
+ "name": "openingTextIsFreeText",
1494
+ "baseName": "openingTextIsFreeText",
1495
+ "type": "boolean"
1496
+ } ];
1497
+
1498
+ static getAttributeTypeMap() {
1499
+ return OenormPropertiesDto.attributeTypeMap;
1500
+ }
1501
+ }
1502
+
1343
1503
  /**
1344
1504
  * Indicates where a service specification was originally created.
1345
1505
  */
@@ -1626,7 +1786,7 @@ export class PositionDto extends IElementDto {
1626
1786
  */
1627
1787
  'totalPriceGrossDeducted': number;
1628
1788
  /**
1629
- * Net price after applied deductions.
1789
+ * Net price after applied deductions. Please be aware that this is the total price, from TotalPrice, not the unit price of the position.
1630
1790
  */
1631
1791
  'deductedPrice': number;
1632
1792
  /**
@@ -1671,10 +1831,18 @@ export class PositionDto extends IElementDto {
1671
1831
  */
1672
1832
  'commerceProperties'?: CommercePropertiesDto;
1673
1833
  /**
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.
1834
+ * 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
1835
  */
1676
1836
  'alternativeTo'?: string;
1677
1837
  /**
1838
+ * 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.
1839
+ */
1840
+ 'alternativeIdentifier'?: number;
1841
+ /**
1842
+ * 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.
1843
+ */
1844
+ 'alternativeGroupIdentifier'?: number;
1845
+ /**
1678
1846
  * 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
1847
  */
1680
1848
  'isLumpSum': boolean;
@@ -1703,6 +1871,18 @@ export class PositionDto extends IElementDto {
1703
1871
  * 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
1872
  */
1705
1873
  'executionDescriptionReference'?: string;
1874
+ /**
1875
+ * 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.
1876
+ */
1877
+ 'notOffered': boolean;
1878
+ /**
1879
+ * 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.
1880
+ */
1881
+ 'oenormPositionProperties'?: OenormPositionPropertiesDto;
1882
+ /**
1883
+ * 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.
1884
+ */
1885
+ 'descriptionId'?: string;
1706
1886
 
1707
1887
  static discriminator: string | undefined = undefined;
1708
1888
 
@@ -1877,6 +2057,16 @@ export class PositionDto extends IElementDto {
1877
2057
  "baseName": "alternativeTo",
1878
2058
  "type": "string"
1879
2059
  },
2060
+ {
2061
+ "name": "alternativeIdentifier",
2062
+ "baseName": "alternativeIdentifier",
2063
+ "type": "number"
2064
+ },
2065
+ {
2066
+ "name": "alternativeGroupIdentifier",
2067
+ "baseName": "alternativeGroupIdentifier",
2068
+ "type": "number"
2069
+ },
1880
2070
  {
1881
2071
  "name": "isLumpSum",
1882
2072
  "baseName": "isLumpSum",
@@ -1916,6 +2106,21 @@ export class PositionDto extends IElementDto {
1916
2106
  "name": "executionDescriptionReference",
1917
2107
  "baseName": "executionDescriptionReference",
1918
2108
  "type": "string"
2109
+ },
2110
+ {
2111
+ "name": "notOffered",
2112
+ "baseName": "notOffered",
2113
+ "type": "boolean"
2114
+ },
2115
+ {
2116
+ "name": "oenormPositionProperties",
2117
+ "baseName": "oenormPositionProperties",
2118
+ "type": "OenormPositionPropertiesDto"
2119
+ },
2120
+ {
2121
+ "name": "descriptionId",
2122
+ "baseName": "descriptionId",
2123
+ "type": "string"
1919
2124
  } ];
1920
2125
 
1921
2126
  static getAttributeTypeMap() {
@@ -1954,6 +2159,10 @@ export class PriceComponentDto {
1954
2159
  * The single Calculation elements this price component is composed of.
1955
2160
  */
1956
2161
  'values'?: Array<CalculationDto>;
2162
+ /**
2163
+ * 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.
2164
+ */
2165
+ 'projectCatalogues'?: Array<CatalogueDto>;
1957
2166
 
1958
2167
  static discriminator: string | undefined = undefined;
1959
2168
 
@@ -1972,6 +2181,11 @@ export class PriceComponentDto {
1972
2181
  "name": "values",
1973
2182
  "baseName": "values",
1974
2183
  "type": "Array<CalculationDto>"
2184
+ },
2185
+ {
2186
+ "name": "projectCatalogues",
2187
+ "baseName": "projectCatalogues",
2188
+ "type": "Array<CatalogueDto>"
1975
2189
  } ];
1976
2190
 
1977
2191
  static getAttributeTypeMap() {
@@ -3099,6 +3313,10 @@ export class ServiceSpecificationGroupDto extends IElementDto {
3099
3313
  * Referenced catalogues for this QuantityAssignment.
3100
3314
  */
3101
3315
  'catalogueReferences'?: Array<CatalogueReferenceDto>;
3316
+ /**
3317
+ * This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
3318
+ */
3319
+ 'oenormProperties'?: OenormPropertiesDto;
3102
3320
 
3103
3321
  static discriminator: string | undefined = undefined;
3104
3322
 
@@ -3237,6 +3455,11 @@ export class ServiceSpecificationGroupDto extends IElementDto {
3237
3455
  "name": "catalogueReferences",
3238
3456
  "baseName": "catalogueReferences",
3239
3457
  "type": "Array<CatalogueReferenceDto>"
3458
+ },
3459
+ {
3460
+ "name": "oenormProperties",
3461
+ "baseName": "oenormProperties",
3462
+ "type": "OenormPropertiesDto"
3240
3463
  } ];
3241
3464
 
3242
3465
  static getAttributeTypeMap() {
@@ -3378,6 +3601,14 @@ export class SubDescriptionDto {
3378
3601
  * 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
3602
  */
3380
3603
  'executionDescriptionReference'?: string;
3604
+ /**
3605
+ * 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.
3606
+ */
3607
+ 'projectCatalogues'?: Array<CatalogueDto>;
3608
+ /**
3609
+ * 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.
3610
+ */
3611
+ 'descriptionId'?: string;
3381
3612
 
3382
3613
  static discriminator: string | undefined = undefined;
3383
3614
 
@@ -3436,6 +3667,16 @@ export class SubDescriptionDto {
3436
3667
  "name": "executionDescriptionReference",
3437
3668
  "baseName": "executionDescriptionReference",
3438
3669
  "type": "string"
3670
+ },
3671
+ {
3672
+ "name": "projectCatalogues",
3673
+ "baseName": "projectCatalogues",
3674
+ "type": "Array<CatalogueDto>"
3675
+ },
3676
+ {
3677
+ "name": "descriptionId",
3678
+ "baseName": "descriptionId",
3679
+ "type": "string"
3439
3680
  } ];
3440
3681
 
3441
3682
  static getAttributeTypeMap() {
@@ -3669,6 +3910,9 @@ let typeMap: {[index: string]: any} = {
3669
3910
  "LabourPriceComponentDto": LabourPriceComponentDto,
3670
3911
  "LoginPost": LoginPost,
3671
3912
  "NoteTextDto": NoteTextDto,
3913
+ "OenormOriginCodeDto": OenormOriginCodeDto,
3914
+ "OenormPositionPropertiesDto": OenormPositionPropertiesDto,
3915
+ "OenormPropertiesDto": OenormPropertiesDto,
3672
3916
  "OriginDto": OriginDto,
3673
3917
  "PartyInformationDto": PartyInformationDto,
3674
3918
  "PositionDto": PositionDto,
@@ -3945,9 +4189,10 @@ export class AslvConversionApi {
3945
4189
  * @param destinationGaebType Defaults to GAEB XML V3.2
3946
4190
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
3947
4191
  * @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.
4192
+ * @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.
3948
4193
  * @param {*} [options] Override http request options.
3949
4194
  */
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; }> {
4195
+ 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, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
3951
4196
  const localVarPath = this.basePath + '/conversion/aslv/gaeb';
3952
4197
  let localVarQueryParameters: any = {};
3953
4198
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -3965,6 +4210,10 @@ export class AslvConversionApi {
3965
4210
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
3966
4211
  }
3967
4212
 
4213
+ if (exportQuantityDetermination !== undefined) {
4214
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4215
+ }
4216
+
3968
4217
  (<any>Object).assign(localVarHeaderParams, options.headers);
3969
4218
 
3970
4219
  let localVarUseFormData = false;
@@ -4015,22 +4264,27 @@ export class AslvConversionApi {
4015
4264
  * @param aslvFile The input file
4016
4265
  * @param destinationOenormType Defaults to Lv2015
4017
4266
  * @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
4267
+ * @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.
4018
4268
  * @param {*} [options] Override http request options.
4019
4269
  */
4020
- public aslvConversionConvertToOenorm (aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4270
+ public aslvConversionConvertToOenorm (aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4021
4271
  const localVarPath = this.basePath + '/conversion/aslv/oenorm';
4022
4272
  let localVarQueryParameters: any = {};
4023
4273
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
4024
4274
  let localVarFormParams: any = {};
4025
4275
 
4026
4276
  if (destinationOenormType !== undefined) {
4027
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
4277
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
4028
4278
  }
4029
4279
 
4030
4280
  if (tryRepairProjectStructure !== undefined) {
4031
4281
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
4032
4282
  }
4033
4283
 
4284
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
4285
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
4286
+ }
4287
+
4034
4288
  (<any>Object).assign(localVarHeaderParams, options.headers);
4035
4289
 
4036
4290
  let localVarUseFormData = false;
@@ -4272,9 +4526,10 @@ export class AvaConversionApi {
4272
4526
  * @param destinationGaebType Defaults to GAEB XML V3.2
4273
4527
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
4274
4528
  * @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.
4529
+ * @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.
4275
4530
  * @param {*} [options] Override http request options.
4276
4531
  */
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; }> {
4532
+ 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, exportQuantityDetermination?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4278
4533
  const localVarPath = this.basePath + '/conversion/ava/gaeb';
4279
4534
  let localVarQueryParameters: any = {};
4280
4535
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -4297,6 +4552,10 @@ export class AvaConversionApi {
4297
4552
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
4298
4553
  }
4299
4554
 
4555
+ if (exportQuantityDetermination !== undefined) {
4556
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
4557
+ }
4558
+
4300
4559
  (<any>Object).assign(localVarHeaderParams, options.headers);
4301
4560
 
4302
4561
  let localVarUseFormData = false;
@@ -4344,9 +4603,10 @@ export class AvaConversionApi {
4344
4603
  * @param avaProject The Dangl.AVA project
4345
4604
  * @param destinationOenormType Defaults to Lv2015
4346
4605
  * @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
4606
+ * @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.
4347
4607
  * @param {*} [options] Override http request options.
4348
4608
  */
4349
- public avaConversionConvertToOenorm (avaProject: ProjectDto, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4609
+ public avaConversionConvertToOenorm (avaProject: ProjectDto, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4350
4610
  const localVarPath = this.basePath + '/conversion/ava/oenorm';
4351
4611
  let localVarQueryParameters: any = {};
4352
4612
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -4358,13 +4618,17 @@ export class AvaConversionApi {
4358
4618
  }
4359
4619
 
4360
4620
  if (destinationOenormType !== undefined) {
4361
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
4621
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
4362
4622
  }
4363
4623
 
4364
4624
  if (tryRepairProjectStructure !== undefined) {
4365
4625
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
4366
4626
  }
4367
4627
 
4628
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
4629
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
4630
+ }
4631
+
4368
4632
  (<any>Object).assign(localVarHeaderParams, options.headers);
4369
4633
 
4370
4634
  let localVarUseFormData = false;
@@ -5118,9 +5382,10 @@ export class ExcelConversionApi {
5118
5382
  * @param destinationGaebType Defaults to GAEB XML V3.2
5119
5383
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
5120
5384
  * @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.
5385
+ * @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.
5121
5386
  * @param {*} [options] Override http request options.
5122
5387
  */
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; }> {
5388
+ 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, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5124
5389
  const localVarPath = this.basePath + '/conversion/excel/gaeb';
5125
5390
  let localVarQueryParameters: any = {};
5126
5391
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -5146,6 +5411,10 @@ export class ExcelConversionApi {
5146
5411
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
5147
5412
  }
5148
5413
 
5414
+ if (exportQuantityDetermination !== undefined) {
5415
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
5416
+ }
5417
+
5149
5418
  (<any>Object).assign(localVarHeaderParams, options.headers);
5150
5419
 
5151
5420
  let localVarUseFormData = false;
@@ -5198,9 +5467,10 @@ export class ExcelConversionApi {
5198
5467
  * @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
5468
  * @param destinationOenormType Defaults to Lv2015
5200
5469
  * @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
5470
+ * @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.
5201
5471
  * @param {*} [options] Override http request options.
5202
5472
  */
5203
- public excelConversionConvertToOenorm (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5473
+ public excelConversionConvertToOenorm (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5204
5474
  const localVarPath = this.basePath + '/conversion/excel/oenorm';
5205
5475
  let localVarQueryParameters: any = {};
5206
5476
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -5215,13 +5485,17 @@ export class ExcelConversionApi {
5215
5485
  }
5216
5486
 
5217
5487
  if (destinationOenormType !== undefined) {
5218
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
5488
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
5219
5489
  }
5220
5490
 
5221
5491
  if (tryRepairProjectStructure !== undefined) {
5222
5492
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
5223
5493
  }
5224
5494
 
5495
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
5496
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
5497
+ }
5498
+
5225
5499
  (<any>Object).assign(localVarHeaderParams, options.headers);
5226
5500
 
5227
5501
  let localVarUseFormData = false;
@@ -5460,9 +5734,10 @@ export class GaebConversionApi {
5460
5734
  * @param destinationGaebType Defaults to GAEB XML V3.2
5461
5735
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
5462
5736
  * @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.
5737
+ * @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.
5463
5738
  * @param {*} [options] Override http request options.
5464
5739
  */
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; }> {
5740
+ 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, exportQuantityDetermination?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5466
5741
  const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
5467
5742
  let localVarQueryParameters: any = {};
5468
5743
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -5480,6 +5755,10 @@ export class GaebConversionApi {
5480
5755
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
5481
5756
  }
5482
5757
 
5758
+ if (exportQuantityDetermination !== undefined) {
5759
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
5760
+ }
5761
+
5483
5762
  (<any>Object).assign(localVarHeaderParams, options.headers);
5484
5763
 
5485
5764
  let localVarUseFormData = false;
@@ -5530,22 +5809,27 @@ export class GaebConversionApi {
5530
5809
  * @param gaebFile The input file
5531
5810
  * @param destinationOenormType Defaults to Lv2015
5532
5811
  * @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
5812
+ * @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.
5533
5813
  * @param {*} [options] Override http request options.
5534
5814
  */
5535
- public gaebConversionConvertToOenorm (gaebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5815
+ public gaebConversionConvertToOenorm (gaebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5536
5816
  const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
5537
5817
  let localVarQueryParameters: any = {};
5538
5818
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5539
5819
  let localVarFormParams: any = {};
5540
5820
 
5541
5821
  if (destinationOenormType !== undefined) {
5542
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
5822
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
5543
5823
  }
5544
5824
 
5545
5825
  if (tryRepairProjectStructure !== undefined) {
5546
5826
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
5547
5827
  }
5548
5828
 
5829
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
5830
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
5831
+ }
5832
+
5549
5833
  (<any>Object).assign(localVarHeaderParams, options.headers);
5550
5834
 
5551
5835
  let localVarUseFormData = false;
@@ -5784,9 +6068,10 @@ export class OenormConversionApi {
5784
6068
  * @param destinationGaebType Defaults to GAEB XML V3.2
5785
6069
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
5786
6070
  * @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.
6071
+ * @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.
5787
6072
  * @param {*} [options] Override http request options.
5788
6073
  */
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; }> {
6074
+ 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, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5790
6075
  const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
5791
6076
  let localVarQueryParameters: any = {};
5792
6077
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -5804,6 +6089,10 @@ export class OenormConversionApi {
5804
6089
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
5805
6090
  }
5806
6091
 
6092
+ if (exportQuantityDetermination !== undefined) {
6093
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
6094
+ }
6095
+
5807
6096
  (<any>Object).assign(localVarHeaderParams, options.headers);
5808
6097
 
5809
6098
  let localVarUseFormData = false;
@@ -5854,22 +6143,27 @@ export class OenormConversionApi {
5854
6143
  * @param oenormFile The input file
5855
6144
  * @param destinationOenormType Defaults to Lv2015
5856
6145
  * @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
6146
+ * @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.
5857
6147
  * @param {*} [options] Override http request options.
5858
6148
  */
5859
- public oenormConversionConvertToOenorm (oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6149
+ public oenormConversionConvertToOenorm (oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5860
6150
  const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
5861
6151
  let localVarQueryParameters: any = {};
5862
6152
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5863
6153
  let localVarFormParams: any = {};
5864
6154
 
5865
6155
  if (destinationOenormType !== undefined) {
5866
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
6156
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
5867
6157
  }
5868
6158
 
5869
6159
  if (tryRepairProjectStructure !== undefined) {
5870
6160
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
5871
6161
  }
5872
6162
 
6163
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
6164
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
6165
+ }
6166
+
5873
6167
  (<any>Object).assign(localVarHeaderParams, options.headers);
5874
6168
 
5875
6169
  let localVarUseFormData = false;
@@ -6108,9 +6402,10 @@ export class RebConversionApi {
6108
6402
  * @param destinationGaebType Defaults to GAEB XML V3.2
6109
6403
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
6110
6404
  * @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.
6405
+ * @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.
6111
6406
  * @param {*} [options] Override http request options.
6112
6407
  */
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; }> {
6408
+ 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, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6114
6409
  const localVarPath = this.basePath + '/conversion/reb/gaeb';
6115
6410
  let localVarQueryParameters: any = {};
6116
6411
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -6128,6 +6423,10 @@ export class RebConversionApi {
6128
6423
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
6129
6424
  }
6130
6425
 
6426
+ if (exportQuantityDetermination !== undefined) {
6427
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
6428
+ }
6429
+
6131
6430
  (<any>Object).assign(localVarHeaderParams, options.headers);
6132
6431
 
6133
6432
  let localVarUseFormData = false;
@@ -6178,22 +6477,27 @@ export class RebConversionApi {
6178
6477
  * @param rebFile The input file
6179
6478
  * @param destinationOenormType Defaults to Lv2015
6180
6479
  * @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
6480
+ * @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.
6181
6481
  * @param {*} [options] Override http request options.
6182
6482
  */
6183
- public rebConversionConvertToOenorm (rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6483
+ public rebConversionConvertToOenorm (rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6184
6484
  const localVarPath = this.basePath + '/conversion/reb/oenorm';
6185
6485
  let localVarQueryParameters: any = {};
6186
6486
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6187
6487
  let localVarFormParams: any = {};
6188
6488
 
6189
6489
  if (destinationOenormType !== undefined) {
6190
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
6490
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
6191
6491
  }
6192
6492
 
6193
6493
  if (tryRepairProjectStructure !== undefined) {
6194
6494
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
6195
6495
  }
6196
6496
 
6497
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
6498
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
6499
+ }
6500
+
6197
6501
  (<any>Object).assign(localVarHeaderParams, options.headers);
6198
6502
 
6199
6503
  let localVarUseFormData = false;
@@ -6432,9 +6736,10 @@ export class SiaConversionApi {
6432
6736
  * @param destinationGaebType Defaults to GAEB XML V3.2
6433
6737
  * @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
6434
6738
  * @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.
6739
+ * @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.
6435
6740
  * @param {*} [options] Override http request options.
6436
6741
  */
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; }> {
6742
+ 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, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6438
6743
  const localVarPath = this.basePath + '/conversion/sia/gaeb';
6439
6744
  let localVarQueryParameters: any = {};
6440
6745
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -6452,6 +6757,10 @@ export class SiaConversionApi {
6452
6757
  localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
6453
6758
  }
6454
6759
 
6760
+ if (exportQuantityDetermination !== undefined) {
6761
+ localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
6762
+ }
6763
+
6455
6764
  (<any>Object).assign(localVarHeaderParams, options.headers);
6456
6765
 
6457
6766
  let localVarUseFormData = false;
@@ -6502,22 +6811,27 @@ export class SiaConversionApi {
6502
6811
  * @param siaFile The input file
6503
6812
  * @param destinationOenormType Defaults to Lv2015
6504
6813
  * @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
6814
+ * @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.
6505
6815
  * @param {*} [options] Override http request options.
6506
6816
  */
6507
- public siaConversionConvertToOenorm (siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6817
+ public siaConversionConvertToOenorm (siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6508
6818
  const localVarPath = this.basePath + '/conversion/sia/oenorm';
6509
6819
  let localVarQueryParameters: any = {};
6510
6820
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6511
6821
  let localVarFormParams: any = {};
6512
6822
 
6513
6823
  if (destinationOenormType !== undefined) {
6514
- localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
6824
+ localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
6515
6825
  }
6516
6826
 
6517
6827
  if (tryRepairProjectStructure !== undefined) {
6518
6828
  localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
6519
6829
  }
6520
6830
 
6831
+ if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
6832
+ localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
6833
+ }
6834
+
6521
6835
  (<any>Object).assign(localVarHeaderParams, options.headers);
6522
6836
 
6523
6837
  let localVarUseFormData = false;