@dangl/avacloud-client-node 1.10.0 → 1.15.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/.swagger-codegen/VERSION +1 -1
- package/LICENSE.md +1 -1
- package/api.d.ts +215 -20
- package/api.js +293 -24
- package/api.js.map +1 -1
- package/api.ts +437 -27
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AVACloud API 1.
|
|
2
|
+
* AVACloud API 1.23.3
|
|
3
3
|
* AVACloud API specification
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 1.
|
|
5
|
+
* OpenAPI spec version: 1.23.3
|
|
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() {
|
|
@@ -901,6 +919,14 @@ export class GrossPriceComponentDto {
|
|
|
901
919
|
* The total gross price for all components of a given tax rate.
|
|
902
920
|
*/
|
|
903
921
|
'totalGross': number;
|
|
922
|
+
/**
|
|
923
|
+
* The total gross price for all components of a given tax rate, after applied deductions.
|
|
924
|
+
*/
|
|
925
|
+
'totalGrossDeducted': number;
|
|
926
|
+
/**
|
|
927
|
+
* The total tax amount for all components of a given tax rate, after applied deductions.
|
|
928
|
+
*/
|
|
929
|
+
'totalTaxDeducted': number;
|
|
904
930
|
|
|
905
931
|
static discriminator: string | undefined = undefined;
|
|
906
932
|
|
|
@@ -934,6 +960,16 @@ export class GrossPriceComponentDto {
|
|
|
934
960
|
"name": "totalGross",
|
|
935
961
|
"baseName": "totalGross",
|
|
936
962
|
"type": "number"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"name": "totalGrossDeducted",
|
|
966
|
+
"baseName": "totalGrossDeducted",
|
|
967
|
+
"type": "number"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"name": "totalTaxDeducted",
|
|
971
|
+
"baseName": "totalTaxDeducted",
|
|
972
|
+
"type": "number"
|
|
937
973
|
} ];
|
|
938
974
|
|
|
939
975
|
static getAttributeTypeMap() {
|
|
@@ -1036,6 +1072,18 @@ export class ItemNumberSchemaDto {
|
|
|
1036
1072
|
* The collection of tiers for this ItemNumberSchema.
|
|
1037
1073
|
*/
|
|
1038
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;
|
|
1083
|
+
/**
|
|
1084
|
+
* 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.
|
|
1085
|
+
*/
|
|
1086
|
+
'identifier'?: string;
|
|
1039
1087
|
|
|
1040
1088
|
static discriminator: string | undefined = undefined;
|
|
1041
1089
|
|
|
@@ -1049,6 +1097,21 @@ export class ItemNumberSchemaDto {
|
|
|
1049
1097
|
"name": "tiers",
|
|
1050
1098
|
"baseName": "tiers",
|
|
1051
1099
|
"type": "Array<ItemNumberSchemaTierDto>"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"name": "separator",
|
|
1103
|
+
"baseName": "separator",
|
|
1104
|
+
"type": "string"
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"name": "filler",
|
|
1108
|
+
"baseName": "filler",
|
|
1109
|
+
"type": "string"
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"name": "identifier",
|
|
1113
|
+
"baseName": "identifier",
|
|
1114
|
+
"type": "string"
|
|
1052
1115
|
} ];
|
|
1053
1116
|
|
|
1054
1117
|
static getAttributeTypeMap() {
|
|
@@ -1076,6 +1139,14 @@ export class ItemNumberSchemaTierDto {
|
|
|
1076
1139
|
* Indicates if this tier represents a lot. See the documentation for more information about lots.
|
|
1077
1140
|
*/
|
|
1078
1141
|
'isLot': boolean;
|
|
1142
|
+
/**
|
|
1143
|
+
* 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'
|
|
1144
|
+
*/
|
|
1145
|
+
'increment': number;
|
|
1146
|
+
/**
|
|
1147
|
+
* This is an optional name for the given tier
|
|
1148
|
+
*/
|
|
1149
|
+
'tierName'?: string;
|
|
1079
1150
|
|
|
1080
1151
|
static discriminator: string | undefined = undefined;
|
|
1081
1152
|
|
|
@@ -1099,6 +1170,16 @@ export class ItemNumberSchemaTierDto {
|
|
|
1099
1170
|
"name": "isLot",
|
|
1100
1171
|
"baseName": "isLot",
|
|
1101
1172
|
"type": "boolean"
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
"name": "increment",
|
|
1176
|
+
"baseName": "increment",
|
|
1177
|
+
"type": "number"
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
"name": "tierName",
|
|
1181
|
+
"baseName": "tierName",
|
|
1182
|
+
"type": "string"
|
|
1102
1183
|
} ];
|
|
1103
1184
|
|
|
1104
1185
|
static getAttributeTypeMap() {
|
|
@@ -1164,6 +1245,10 @@ export class LabourPriceComponentDto {
|
|
|
1164
1245
|
* The total, calculated time of this component. Will return the result rounded to three decimal places.
|
|
1165
1246
|
*/
|
|
1166
1247
|
'totalTime': number;
|
|
1248
|
+
/**
|
|
1249
|
+
* 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.
|
|
1250
|
+
*/
|
|
1251
|
+
'projectCatalogues'?: Array<CatalogueDto>;
|
|
1167
1252
|
|
|
1168
1253
|
static discriminator: string | undefined = undefined;
|
|
1169
1254
|
|
|
@@ -1197,6 +1282,11 @@ export class LabourPriceComponentDto {
|
|
|
1197
1282
|
"name": "totalTime",
|
|
1198
1283
|
"baseName": "totalTime",
|
|
1199
1284
|
"type": "number"
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"name": "projectCatalogues",
|
|
1288
|
+
"baseName": "projectCatalogues",
|
|
1289
|
+
"type": "Array<CatalogueDto>"
|
|
1200
1290
|
} ];
|
|
1201
1291
|
|
|
1202
1292
|
static getAttributeTypeMap() {
|
|
@@ -1267,6 +1357,10 @@ export class NoteTextDto extends IElementDto {
|
|
|
1267
1357
|
*/
|
|
1268
1358
|
'standardizedDescription'?: StandardizedDescriptionDto;
|
|
1269
1359
|
'elementType'?: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* 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.
|
|
1362
|
+
*/
|
|
1363
|
+
'descriptionId'?: string;
|
|
1270
1364
|
|
|
1271
1365
|
static discriminator: string | undefined = undefined;
|
|
1272
1366
|
|
|
@@ -1315,6 +1409,11 @@ export class NoteTextDto extends IElementDto {
|
|
|
1315
1409
|
"name": "elementType",
|
|
1316
1410
|
"baseName": "elementType",
|
|
1317
1411
|
"type": "string"
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"name": "descriptionId",
|
|
1415
|
+
"baseName": "descriptionId",
|
|
1416
|
+
"type": "string"
|
|
1318
1417
|
} ];
|
|
1319
1418
|
|
|
1320
1419
|
static getAttributeTypeMap() {
|
|
@@ -1322,6 +1421,94 @@ export class NoteTextDto extends IElementDto {
|
|
|
1322
1421
|
}
|
|
1323
1422
|
}
|
|
1324
1423
|
|
|
1424
|
+
/**
|
|
1425
|
+
* This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
|
|
1426
|
+
*/
|
|
1427
|
+
export class OenormOriginCodeDto {
|
|
1428
|
+
|
|
1429
|
+
static discriminator: string | undefined = undefined;
|
|
1430
|
+
|
|
1431
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
1432
|
+
];
|
|
1433
|
+
|
|
1434
|
+
static getAttributeTypeMap() {
|
|
1435
|
+
return OenormOriginCodeDto.attributeTypeMap;
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* 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.
|
|
1441
|
+
*/
|
|
1442
|
+
export class OenormPositionPropertiesDto {
|
|
1443
|
+
/**
|
|
1444
|
+
* This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
|
|
1445
|
+
*/
|
|
1446
|
+
'originCode': OenormOriginCodeDto;
|
|
1447
|
+
/**
|
|
1448
|
+
* This marks if the opening texts within this element are considered free text. It corresponds to 'vorbemerkungskennzeichen' in ÖNorm.
|
|
1449
|
+
*/
|
|
1450
|
+
'openingTextIsFreeText': boolean;
|
|
1451
|
+
/**
|
|
1452
|
+
* This indicates if the ÖNorm 'wesentliche position' mark is set
|
|
1453
|
+
*/
|
|
1454
|
+
'isMainPosition': boolean;
|
|
1455
|
+
|
|
1456
|
+
static discriminator: string | undefined = undefined;
|
|
1457
|
+
|
|
1458
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
1459
|
+
{
|
|
1460
|
+
"name": "originCode",
|
|
1461
|
+
"baseName": "originCode",
|
|
1462
|
+
"type": "OenormOriginCodeDto"
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"name": "openingTextIsFreeText",
|
|
1466
|
+
"baseName": "openingTextIsFreeText",
|
|
1467
|
+
"type": "boolean"
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"name": "isMainPosition",
|
|
1471
|
+
"baseName": "isMainPosition",
|
|
1472
|
+
"type": "boolean"
|
|
1473
|
+
} ];
|
|
1474
|
+
|
|
1475
|
+
static getAttributeTypeMap() {
|
|
1476
|
+
return OenormPositionPropertiesDto.attributeTypeMap;
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
|
|
1482
|
+
*/
|
|
1483
|
+
export class OenormPropertiesDto {
|
|
1484
|
+
/**
|
|
1485
|
+
* This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
|
|
1486
|
+
*/
|
|
1487
|
+
'originCode': OenormOriginCodeDto;
|
|
1488
|
+
/**
|
|
1489
|
+
* This marks if the opening texts within this element are considered free text. It corresponds to 'vorbemerkungskennzeichen' in ÖNorm.
|
|
1490
|
+
*/
|
|
1491
|
+
'openingTextIsFreeText': boolean;
|
|
1492
|
+
|
|
1493
|
+
static discriminator: string | undefined = undefined;
|
|
1494
|
+
|
|
1495
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
1496
|
+
{
|
|
1497
|
+
"name": "originCode",
|
|
1498
|
+
"baseName": "originCode",
|
|
1499
|
+
"type": "OenormOriginCodeDto"
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"name": "openingTextIsFreeText",
|
|
1503
|
+
"baseName": "openingTextIsFreeText",
|
|
1504
|
+
"type": "boolean"
|
|
1505
|
+
} ];
|
|
1506
|
+
|
|
1507
|
+
static getAttributeTypeMap() {
|
|
1508
|
+
return OenormPropertiesDto.attributeTypeMap;
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1325
1512
|
/**
|
|
1326
1513
|
* Indicates where a service specification was originally created.
|
|
1327
1514
|
*/
|
|
@@ -1608,7 +1795,7 @@ export class PositionDto extends IElementDto {
|
|
|
1608
1795
|
*/
|
|
1609
1796
|
'totalPriceGrossDeducted': number;
|
|
1610
1797
|
/**
|
|
1611
|
-
* Net price after applied deductions.
|
|
1798
|
+
* Net price after applied deductions. Please be aware that this is the total price, from TotalPrice, not the unit price of the position.
|
|
1612
1799
|
*/
|
|
1613
1800
|
'deductedPrice': number;
|
|
1614
1801
|
/**
|
|
@@ -1653,10 +1840,18 @@ export class PositionDto extends IElementDto {
|
|
|
1653
1840
|
*/
|
|
1654
1841
|
'commerceProperties'?: CommercePropertiesDto;
|
|
1655
1842
|
/**
|
|
1656
|
-
* 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.
|
|
1843
|
+
* 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.
|
|
1657
1844
|
*/
|
|
1658
1845
|
'alternativeTo'?: string;
|
|
1659
1846
|
/**
|
|
1847
|
+
* 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.
|
|
1848
|
+
*/
|
|
1849
|
+
'alternativeIdentifier'?: number;
|
|
1850
|
+
/**
|
|
1851
|
+
* 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.
|
|
1852
|
+
*/
|
|
1853
|
+
'alternativeGroupIdentifier'?: number;
|
|
1854
|
+
/**
|
|
1660
1855
|
* 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.
|
|
1661
1856
|
*/
|
|
1662
1857
|
'isLumpSum': boolean;
|
|
@@ -1685,6 +1880,18 @@ export class PositionDto extends IElementDto {
|
|
|
1685
1880
|
* 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.
|
|
1686
1881
|
*/
|
|
1687
1882
|
'executionDescriptionReference'?: string;
|
|
1883
|
+
/**
|
|
1884
|
+
* 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.
|
|
1885
|
+
*/
|
|
1886
|
+
'notOffered': boolean;
|
|
1887
|
+
/**
|
|
1888
|
+
* 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.
|
|
1889
|
+
*/
|
|
1890
|
+
'oenormPositionProperties'?: OenormPositionPropertiesDto;
|
|
1891
|
+
/**
|
|
1892
|
+
* 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.
|
|
1893
|
+
*/
|
|
1894
|
+
'descriptionId'?: string;
|
|
1688
1895
|
|
|
1689
1896
|
static discriminator: string | undefined = undefined;
|
|
1690
1897
|
|
|
@@ -1859,6 +2066,16 @@ export class PositionDto extends IElementDto {
|
|
|
1859
2066
|
"baseName": "alternativeTo",
|
|
1860
2067
|
"type": "string"
|
|
1861
2068
|
},
|
|
2069
|
+
{
|
|
2070
|
+
"name": "alternativeIdentifier",
|
|
2071
|
+
"baseName": "alternativeIdentifier",
|
|
2072
|
+
"type": "number"
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
"name": "alternativeGroupIdentifier",
|
|
2076
|
+
"baseName": "alternativeGroupIdentifier",
|
|
2077
|
+
"type": "number"
|
|
2078
|
+
},
|
|
1862
2079
|
{
|
|
1863
2080
|
"name": "isLumpSum",
|
|
1864
2081
|
"baseName": "isLumpSum",
|
|
@@ -1898,6 +2115,21 @@ export class PositionDto extends IElementDto {
|
|
|
1898
2115
|
"name": "executionDescriptionReference",
|
|
1899
2116
|
"baseName": "executionDescriptionReference",
|
|
1900
2117
|
"type": "string"
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
"name": "notOffered",
|
|
2121
|
+
"baseName": "notOffered",
|
|
2122
|
+
"type": "boolean"
|
|
2123
|
+
},
|
|
2124
|
+
{
|
|
2125
|
+
"name": "oenormPositionProperties",
|
|
2126
|
+
"baseName": "oenormPositionProperties",
|
|
2127
|
+
"type": "OenormPositionPropertiesDto"
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
"name": "descriptionId",
|
|
2131
|
+
"baseName": "descriptionId",
|
|
2132
|
+
"type": "string"
|
|
1901
2133
|
} ];
|
|
1902
2134
|
|
|
1903
2135
|
static getAttributeTypeMap() {
|
|
@@ -1936,6 +2168,10 @@ export class PriceComponentDto {
|
|
|
1936
2168
|
* The single Calculation elements this price component is composed of.
|
|
1937
2169
|
*/
|
|
1938
2170
|
'values'?: Array<CalculationDto>;
|
|
2171
|
+
/**
|
|
2172
|
+
* 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.
|
|
2173
|
+
*/
|
|
2174
|
+
'projectCatalogues'?: Array<CatalogueDto>;
|
|
1939
2175
|
|
|
1940
2176
|
static discriminator: string | undefined = undefined;
|
|
1941
2177
|
|
|
@@ -1954,6 +2190,11 @@ export class PriceComponentDto {
|
|
|
1954
2190
|
"name": "values",
|
|
1955
2191
|
"baseName": "values",
|
|
1956
2192
|
"type": "Array<CalculationDto>"
|
|
2193
|
+
},
|
|
2194
|
+
{
|
|
2195
|
+
"name": "projectCatalogues",
|
|
2196
|
+
"baseName": "projectCatalogues",
|
|
2197
|
+
"type": "Array<CatalogueDto>"
|
|
1957
2198
|
} ];
|
|
1958
2199
|
|
|
1959
2200
|
static getAttributeTypeMap() {
|
|
@@ -1961,6 +2202,21 @@ export class PriceComponentDto {
|
|
|
1961
2202
|
}
|
|
1962
2203
|
}
|
|
1963
2204
|
|
|
2205
|
+
/**
|
|
2206
|
+
* This enumeration models types of price components for better classification.
|
|
2207
|
+
*/
|
|
2208
|
+
export class PriceComponentTypeDto {
|
|
2209
|
+
|
|
2210
|
+
static discriminator: string | undefined = undefined;
|
|
2211
|
+
|
|
2212
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
2213
|
+
];
|
|
2214
|
+
|
|
2215
|
+
static getAttributeTypeMap() {
|
|
2216
|
+
return PriceComponentTypeDto.attributeTypeMap;
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
|
|
1964
2220
|
/**
|
|
1965
2221
|
* Holds global price information for a ServiceSpecification
|
|
1966
2222
|
*/
|
|
@@ -2249,6 +2505,10 @@ export class ProjectInformationDto {
|
|
|
2249
2505
|
*/
|
|
2250
2506
|
'priceComponents'?: Array<string>;
|
|
2251
2507
|
/**
|
|
2508
|
+
* This dictionary specifies actual types used for the PriceComponents. For example, a single price component might have the name 'Material' as a string, ans this dictionary would then have a key 'Material' and a value of Materials. You can not add keys here that are not also present in the PriceComponents property, and removing price components will also remove them from this dictionary here.
|
|
2509
|
+
*/
|
|
2510
|
+
'priceComponentTypes'?: { [key: string]: PriceComponentTypeDto; };
|
|
2511
|
+
/**
|
|
2252
2512
|
* This bool indicates if this project allows the bidder to add bidder comments. Bidder comments are a way to attach clarifying information when submitting an offer.
|
|
2253
2513
|
*/
|
|
2254
2514
|
'bidderCommentAllowed': boolean;
|
|
@@ -2318,6 +2578,11 @@ export class ProjectInformationDto {
|
|
|
2318
2578
|
"baseName": "priceComponents",
|
|
2319
2579
|
"type": "Array<string>"
|
|
2320
2580
|
},
|
|
2581
|
+
{
|
|
2582
|
+
"name": "priceComponentTypes",
|
|
2583
|
+
"baseName": "priceComponentTypes",
|
|
2584
|
+
"type": "{ [key: string]: PriceComponentTypeDto; }"
|
|
2585
|
+
},
|
|
2321
2586
|
{
|
|
2322
2587
|
"name": "bidderCommentAllowed",
|
|
2323
2588
|
"baseName": "bidderCommentAllowed",
|
|
@@ -2654,10 +2919,14 @@ export class ServiceSpecificationDto {
|
|
|
2654
2919
|
*/
|
|
2655
2920
|
'exchangePhase': ExchangePhaseDto;
|
|
2656
2921
|
/**
|
|
2657
|
-
* This indicates where the service specification originates, i.e. from an exchange file format or self created.
|
|
2922
|
+
* This indicates where the service specification originates, i.e. from an exchange file format or self created. If applicable, additional information is present in the OriginDetail property.
|
|
2658
2923
|
*/
|
|
2659
2924
|
'origin': OriginDto;
|
|
2660
2925
|
/**
|
|
2926
|
+
* This property complements the Origin property. Some formats, e.g. GaebXml might have additional information attached, e.g. GAEB XML V3.2 oder GAEB XML V3.1. This string property is used to hold such data. The Dangl.AVA module does not have a list of possible values, since this is defined in the native format assemblies, e.g. Dangl.GAEB or Dangl.Oenorm.
|
|
2927
|
+
*/
|
|
2928
|
+
'originDetail'?: string;
|
|
2929
|
+
/**
|
|
2661
2930
|
* Creation date of this ServiceSpecification.
|
|
2662
2931
|
*/
|
|
2663
2932
|
'creationDate'?: Date;
|
|
@@ -2854,6 +3123,11 @@ export class ServiceSpecificationDto {
|
|
|
2854
3123
|
"baseName": "origin",
|
|
2855
3124
|
"type": "OriginDto"
|
|
2856
3125
|
},
|
|
3126
|
+
{
|
|
3127
|
+
"name": "originDetail",
|
|
3128
|
+
"baseName": "originDetail",
|
|
3129
|
+
"type": "string"
|
|
3130
|
+
},
|
|
2857
3131
|
{
|
|
2858
3132
|
"name": "creationDate",
|
|
2859
3133
|
"baseName": "creationDate",
|
|
@@ -3048,6 +3322,10 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3048
3322
|
* Referenced catalogues for this QuantityAssignment.
|
|
3049
3323
|
*/
|
|
3050
3324
|
'catalogueReferences'?: Array<CatalogueReferenceDto>;
|
|
3325
|
+
/**
|
|
3326
|
+
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
|
|
3327
|
+
*/
|
|
3328
|
+
'oenormProperties'?: OenormPropertiesDto;
|
|
3051
3329
|
|
|
3052
3330
|
static discriminator: string | undefined = undefined;
|
|
3053
3331
|
|
|
@@ -3186,6 +3464,11 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3186
3464
|
"name": "catalogueReferences",
|
|
3187
3465
|
"baseName": "catalogueReferences",
|
|
3188
3466
|
"type": "Array<CatalogueReferenceDto>"
|
|
3467
|
+
},
|
|
3468
|
+
{
|
|
3469
|
+
"name": "oenormProperties",
|
|
3470
|
+
"baseName": "oenormProperties",
|
|
3471
|
+
"type": "OenormPropertiesDto"
|
|
3189
3472
|
} ];
|
|
3190
3473
|
|
|
3191
3474
|
static getAttributeTypeMap() {
|
|
@@ -3327,6 +3610,14 @@ export class SubDescriptionDto {
|
|
|
3327
3610
|
* 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.
|
|
3328
3611
|
*/
|
|
3329
3612
|
'executionDescriptionReference'?: string;
|
|
3613
|
+
/**
|
|
3614
|
+
* 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.
|
|
3615
|
+
*/
|
|
3616
|
+
'projectCatalogues'?: Array<CatalogueDto>;
|
|
3617
|
+
/**
|
|
3618
|
+
* 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.
|
|
3619
|
+
*/
|
|
3620
|
+
'descriptionId'?: string;
|
|
3330
3621
|
|
|
3331
3622
|
static discriminator: string | undefined = undefined;
|
|
3332
3623
|
|
|
@@ -3385,6 +3676,16 @@ export class SubDescriptionDto {
|
|
|
3385
3676
|
"name": "executionDescriptionReference",
|
|
3386
3677
|
"baseName": "executionDescriptionReference",
|
|
3387
3678
|
"type": "string"
|
|
3679
|
+
},
|
|
3680
|
+
{
|
|
3681
|
+
"name": "projectCatalogues",
|
|
3682
|
+
"baseName": "projectCatalogues",
|
|
3683
|
+
"type": "Array<CatalogueDto>"
|
|
3684
|
+
},
|
|
3685
|
+
{
|
|
3686
|
+
"name": "descriptionId",
|
|
3687
|
+
"baseName": "descriptionId",
|
|
3688
|
+
"type": "string"
|
|
3388
3689
|
} ];
|
|
3389
3690
|
|
|
3390
3691
|
static getAttributeTypeMap() {
|
|
@@ -3555,7 +3856,7 @@ export class TradeDiscountDto {
|
|
|
3555
3856
|
*/
|
|
3556
3857
|
export class WarrantyDurationDto {
|
|
3557
3858
|
/**
|
|
3558
|
-
* The scalar value of the duration. This value must be equal to or bigger than zero (
|
|
3859
|
+
* 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.
|
|
3559
3860
|
*/
|
|
3560
3861
|
'duration': number;
|
|
3561
3862
|
/**
|
|
@@ -3618,11 +3919,15 @@ let typeMap: {[index: string]: any} = {
|
|
|
3618
3919
|
"LabourPriceComponentDto": LabourPriceComponentDto,
|
|
3619
3920
|
"LoginPost": LoginPost,
|
|
3620
3921
|
"NoteTextDto": NoteTextDto,
|
|
3922
|
+
"OenormOriginCodeDto": OenormOriginCodeDto,
|
|
3923
|
+
"OenormPositionPropertiesDto": OenormPositionPropertiesDto,
|
|
3924
|
+
"OenormPropertiesDto": OenormPropertiesDto,
|
|
3621
3925
|
"OriginDto": OriginDto,
|
|
3622
3926
|
"PartyInformationDto": PartyInformationDto,
|
|
3623
3927
|
"PositionDto": PositionDto,
|
|
3624
3928
|
"PositionTypeDto": PositionTypeDto,
|
|
3625
3929
|
"PriceComponentDto": PriceComponentDto,
|
|
3930
|
+
"PriceComponentTypeDto": PriceComponentTypeDto,
|
|
3626
3931
|
"PriceInformationDto": PriceInformationDto,
|
|
3627
3932
|
"PriceRoundingModeDto": PriceRoundingModeDto,
|
|
3628
3933
|
"PriceTypeDto": PriceTypeDto,
|
|
@@ -3892,9 +4197,11 @@ export class AslvConversionApi {
|
|
|
3892
4197
|
* @param aslvFile The input file
|
|
3893
4198
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
3894
4199
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4200
|
+
* @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.
|
|
4201
|
+
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' property.
|
|
3895
4202
|
* @param {*} [options] Override http request options.
|
|
3896
4203
|
*/
|
|
3897
|
-
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', options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4204
|
+
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; }> {
|
|
3898
4205
|
const localVarPath = this.basePath + '/conversion/aslv/gaeb';
|
|
3899
4206
|
let localVarQueryParameters: any = {};
|
|
3900
4207
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -3908,6 +4215,14 @@ export class AslvConversionApi {
|
|
|
3908
4215
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
3909
4216
|
}
|
|
3910
4217
|
|
|
4218
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
4219
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
4220
|
+
}
|
|
4221
|
+
|
|
4222
|
+
if (exportQuantityDetermination !== undefined) {
|
|
4223
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4224
|
+
}
|
|
4225
|
+
|
|
3911
4226
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
3912
4227
|
|
|
3913
4228
|
let localVarUseFormData = false;
|
|
@@ -3958,22 +4273,27 @@ export class AslvConversionApi {
|
|
|
3958
4273
|
* @param aslvFile The input file
|
|
3959
4274
|
* @param destinationOenormType Defaults to Lv2015
|
|
3960
4275
|
* @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
|
|
4276
|
+
* @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.
|
|
3961
4277
|
* @param {*} [options] Override http request options.
|
|
3962
4278
|
*/
|
|
3963
|
-
public aslvConversionConvertToOenorm (aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4279
|
+
public aslvConversionConvertToOenorm (aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
3964
4280
|
const localVarPath = this.basePath + '/conversion/aslv/oenorm';
|
|
3965
4281
|
let localVarQueryParameters: any = {};
|
|
3966
4282
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
3967
4283
|
let localVarFormParams: any = {};
|
|
3968
4284
|
|
|
3969
4285
|
if (destinationOenormType !== undefined) {
|
|
3970
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
4286
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
3971
4287
|
}
|
|
3972
4288
|
|
|
3973
4289
|
if (tryRepairProjectStructure !== undefined) {
|
|
3974
4290
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
3975
4291
|
}
|
|
3976
4292
|
|
|
4293
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
4294
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4295
|
+
}
|
|
4296
|
+
|
|
3977
4297
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
3978
4298
|
|
|
3979
4299
|
let localVarUseFormData = false;
|
|
@@ -4214,9 +4534,11 @@ export class AvaConversionApi {
|
|
|
4214
4534
|
* @param avaProject The Dangl.AVA project
|
|
4215
4535
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
4216
4536
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4537
|
+
* @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.
|
|
4538
|
+
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' property.
|
|
4217
4539
|
* @param {*} [options] Override http request options.
|
|
4218
4540
|
*/
|
|
4219
|
-
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', options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4541
|
+
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; }> {
|
|
4220
4542
|
const localVarPath = this.basePath + '/conversion/ava/gaeb';
|
|
4221
4543
|
let localVarQueryParameters: any = {};
|
|
4222
4544
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4235,6 +4557,14 @@ export class AvaConversionApi {
|
|
|
4235
4557
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
4236
4558
|
}
|
|
4237
4559
|
|
|
4560
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
4561
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
4562
|
+
}
|
|
4563
|
+
|
|
4564
|
+
if (exportQuantityDetermination !== undefined) {
|
|
4565
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4566
|
+
}
|
|
4567
|
+
|
|
4238
4568
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4239
4569
|
|
|
4240
4570
|
let localVarUseFormData = false;
|
|
@@ -4282,9 +4612,10 @@ export class AvaConversionApi {
|
|
|
4282
4612
|
* @param avaProject The Dangl.AVA project
|
|
4283
4613
|
* @param destinationOenormType Defaults to Lv2015
|
|
4284
4614
|
* @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
|
|
4615
|
+
* @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.
|
|
4285
4616
|
* @param {*} [options] Override http request options.
|
|
4286
4617
|
*/
|
|
4287
|
-
public avaConversionConvertToOenorm (avaProject: ProjectDto, destinationOenormType?: 'Lv2015' | 'Lb2015', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4618
|
+
public avaConversionConvertToOenorm (avaProject: ProjectDto, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4288
4619
|
const localVarPath = this.basePath + '/conversion/ava/oenorm';
|
|
4289
4620
|
let localVarQueryParameters: any = {};
|
|
4290
4621
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4296,13 +4627,17 @@ export class AvaConversionApi {
|
|
|
4296
4627
|
}
|
|
4297
4628
|
|
|
4298
4629
|
if (destinationOenormType !== undefined) {
|
|
4299
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
4630
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
4300
4631
|
}
|
|
4301
4632
|
|
|
4302
4633
|
if (tryRepairProjectStructure !== undefined) {
|
|
4303
4634
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
4304
4635
|
}
|
|
4305
4636
|
|
|
4637
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
4638
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4639
|
+
}
|
|
4640
|
+
|
|
4306
4641
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4307
4642
|
|
|
4308
4643
|
let localVarUseFormData = false;
|
|
@@ -5055,9 +5390,11 @@ export class ExcelConversionApi {
|
|
|
5055
5390
|
* @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.
|
|
5056
5391
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
5057
5392
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5393
|
+
* @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.
|
|
5394
|
+
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' property.
|
|
5058
5395
|
* @param {*} [options] Override http request options.
|
|
5059
5396
|
*/
|
|
5060
|
-
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', options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5397
|
+
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; }> {
|
|
5061
5398
|
const localVarPath = this.basePath + '/conversion/excel/gaeb';
|
|
5062
5399
|
let localVarQueryParameters: any = {};
|
|
5063
5400
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -5079,6 +5416,14 @@ export class ExcelConversionApi {
|
|
|
5079
5416
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
5080
5417
|
}
|
|
5081
5418
|
|
|
5419
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
5420
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
5421
|
+
}
|
|
5422
|
+
|
|
5423
|
+
if (exportQuantityDetermination !== undefined) {
|
|
5424
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
5425
|
+
}
|
|
5426
|
+
|
|
5082
5427
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5083
5428
|
|
|
5084
5429
|
let localVarUseFormData = false;
|
|
@@ -5131,9 +5476,10 @@ export class ExcelConversionApi {
|
|
|
5131
5476
|
* @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.
|
|
5132
5477
|
* @param destinationOenormType Defaults to Lv2015
|
|
5133
5478
|
* @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
|
|
5479
|
+
* @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.
|
|
5134
5480
|
* @param {*} [options] Override http request options.
|
|
5135
5481
|
*/
|
|
5136
|
-
public excelConversionConvertToOenorm (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5482
|
+
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; }> {
|
|
5137
5483
|
const localVarPath = this.basePath + '/conversion/excel/oenorm';
|
|
5138
5484
|
let localVarQueryParameters: any = {};
|
|
5139
5485
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -5148,13 +5494,17 @@ export class ExcelConversionApi {
|
|
|
5148
5494
|
}
|
|
5149
5495
|
|
|
5150
5496
|
if (destinationOenormType !== undefined) {
|
|
5151
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
5497
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
5152
5498
|
}
|
|
5153
5499
|
|
|
5154
5500
|
if (tryRepairProjectStructure !== undefined) {
|
|
5155
5501
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
5156
5502
|
}
|
|
5157
5503
|
|
|
5504
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
5505
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
5506
|
+
}
|
|
5507
|
+
|
|
5158
5508
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5159
5509
|
|
|
5160
5510
|
let localVarUseFormData = false;
|
|
@@ -5392,9 +5742,11 @@ export class GaebConversionApi {
|
|
|
5392
5742
|
* @param gaebFile The input file
|
|
5393
5743
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
5394
5744
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5745
|
+
* @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.
|
|
5746
|
+
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' property.
|
|
5395
5747
|
* @param {*} [options] Override http request options.
|
|
5396
5748
|
*/
|
|
5397
|
-
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', options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5749
|
+
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; }> {
|
|
5398
5750
|
const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
|
|
5399
5751
|
let localVarQueryParameters: any = {};
|
|
5400
5752
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -5408,6 +5760,14 @@ export class GaebConversionApi {
|
|
|
5408
5760
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
5409
5761
|
}
|
|
5410
5762
|
|
|
5763
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
5764
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
5765
|
+
}
|
|
5766
|
+
|
|
5767
|
+
if (exportQuantityDetermination !== undefined) {
|
|
5768
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
5769
|
+
}
|
|
5770
|
+
|
|
5411
5771
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5412
5772
|
|
|
5413
5773
|
let localVarUseFormData = false;
|
|
@@ -5458,22 +5818,27 @@ export class GaebConversionApi {
|
|
|
5458
5818
|
* @param gaebFile The input file
|
|
5459
5819
|
* @param destinationOenormType Defaults to Lv2015
|
|
5460
5820
|
* @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
|
|
5821
|
+
* @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.
|
|
5461
5822
|
* @param {*} [options] Override http request options.
|
|
5462
5823
|
*/
|
|
5463
|
-
public gaebConversionConvertToOenorm (gaebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5824
|
+
public gaebConversionConvertToOenorm (gaebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5464
5825
|
const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
|
|
5465
5826
|
let localVarQueryParameters: any = {};
|
|
5466
5827
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5467
5828
|
let localVarFormParams: any = {};
|
|
5468
5829
|
|
|
5469
5830
|
if (destinationOenormType !== undefined) {
|
|
5470
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
5831
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
5471
5832
|
}
|
|
5472
5833
|
|
|
5473
5834
|
if (tryRepairProjectStructure !== undefined) {
|
|
5474
5835
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
5475
5836
|
}
|
|
5476
5837
|
|
|
5838
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
5839
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
5840
|
+
}
|
|
5841
|
+
|
|
5477
5842
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5478
5843
|
|
|
5479
5844
|
let localVarUseFormData = false;
|
|
@@ -5711,9 +6076,11 @@ export class OenormConversionApi {
|
|
|
5711
6076
|
* @param oenormFile The input file
|
|
5712
6077
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
5713
6078
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
6079
|
+
* @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.
|
|
6080
|
+
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' property.
|
|
5714
6081
|
* @param {*} [options] Override http request options.
|
|
5715
6082
|
*/
|
|
5716
|
-
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', options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6083
|
+
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; }> {
|
|
5717
6084
|
const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
|
|
5718
6085
|
let localVarQueryParameters: any = {};
|
|
5719
6086
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -5727,6 +6094,14 @@ export class OenormConversionApi {
|
|
|
5727
6094
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
5728
6095
|
}
|
|
5729
6096
|
|
|
6097
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
6098
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
6099
|
+
}
|
|
6100
|
+
|
|
6101
|
+
if (exportQuantityDetermination !== undefined) {
|
|
6102
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
6103
|
+
}
|
|
6104
|
+
|
|
5730
6105
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5731
6106
|
|
|
5732
6107
|
let localVarUseFormData = false;
|
|
@@ -5777,22 +6152,27 @@ export class OenormConversionApi {
|
|
|
5777
6152
|
* @param oenormFile The input file
|
|
5778
6153
|
* @param destinationOenormType Defaults to Lv2015
|
|
5779
6154
|
* @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
|
|
6155
|
+
* @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.
|
|
5780
6156
|
* @param {*} [options] Override http request options.
|
|
5781
6157
|
*/
|
|
5782
|
-
public oenormConversionConvertToOenorm (oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6158
|
+
public oenormConversionConvertToOenorm (oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5783
6159
|
const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
|
|
5784
6160
|
let localVarQueryParameters: any = {};
|
|
5785
6161
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5786
6162
|
let localVarFormParams: any = {};
|
|
5787
6163
|
|
|
5788
6164
|
if (destinationOenormType !== undefined) {
|
|
5789
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
6165
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
5790
6166
|
}
|
|
5791
6167
|
|
|
5792
6168
|
if (tryRepairProjectStructure !== undefined) {
|
|
5793
6169
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
5794
6170
|
}
|
|
5795
6171
|
|
|
6172
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
6173
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
6174
|
+
}
|
|
6175
|
+
|
|
5796
6176
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5797
6177
|
|
|
5798
6178
|
let localVarUseFormData = false;
|
|
@@ -6030,9 +6410,11 @@ export class RebConversionApi {
|
|
|
6030
6410
|
* @param rebFile The input file
|
|
6031
6411
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
6032
6412
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
6413
|
+
* @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.
|
|
6414
|
+
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' property.
|
|
6033
6415
|
* @param {*} [options] Override http request options.
|
|
6034
6416
|
*/
|
|
6035
|
-
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', options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6417
|
+
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; }> {
|
|
6036
6418
|
const localVarPath = this.basePath + '/conversion/reb/gaeb';
|
|
6037
6419
|
let localVarQueryParameters: any = {};
|
|
6038
6420
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6046,6 +6428,14 @@ export class RebConversionApi {
|
|
|
6046
6428
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
6047
6429
|
}
|
|
6048
6430
|
|
|
6431
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
6432
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
6433
|
+
}
|
|
6434
|
+
|
|
6435
|
+
if (exportQuantityDetermination !== undefined) {
|
|
6436
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
6437
|
+
}
|
|
6438
|
+
|
|
6049
6439
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6050
6440
|
|
|
6051
6441
|
let localVarUseFormData = false;
|
|
@@ -6096,22 +6486,27 @@ export class RebConversionApi {
|
|
|
6096
6486
|
* @param rebFile The input file
|
|
6097
6487
|
* @param destinationOenormType Defaults to Lv2015
|
|
6098
6488
|
* @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
|
|
6489
|
+
* @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.
|
|
6099
6490
|
* @param {*} [options] Override http request options.
|
|
6100
6491
|
*/
|
|
6101
|
-
public rebConversionConvertToOenorm (rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6492
|
+
public rebConversionConvertToOenorm (rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6102
6493
|
const localVarPath = this.basePath + '/conversion/reb/oenorm';
|
|
6103
6494
|
let localVarQueryParameters: any = {};
|
|
6104
6495
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6105
6496
|
let localVarFormParams: any = {};
|
|
6106
6497
|
|
|
6107
6498
|
if (destinationOenormType !== undefined) {
|
|
6108
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
6499
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
6109
6500
|
}
|
|
6110
6501
|
|
|
6111
6502
|
if (tryRepairProjectStructure !== undefined) {
|
|
6112
6503
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
6113
6504
|
}
|
|
6114
6505
|
|
|
6506
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
6507
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
6508
|
+
}
|
|
6509
|
+
|
|
6115
6510
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6116
6511
|
|
|
6117
6512
|
let localVarUseFormData = false;
|
|
@@ -6349,9 +6744,11 @@ export class SiaConversionApi {
|
|
|
6349
6744
|
* @param siaFile The input file
|
|
6350
6745
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
6351
6746
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
6747
|
+
* @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.
|
|
6748
|
+
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' 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 'QuantityComponents' property.
|
|
6352
6749
|
* @param {*} [options] Override http request options.
|
|
6353
6750
|
*/
|
|
6354
|
-
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', options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6751
|
+
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; }> {
|
|
6355
6752
|
const localVarPath = this.basePath + '/conversion/sia/gaeb';
|
|
6356
6753
|
let localVarQueryParameters: any = {};
|
|
6357
6754
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6365,6 +6762,14 @@ export class SiaConversionApi {
|
|
|
6365
6762
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
6366
6763
|
}
|
|
6367
6764
|
|
|
6765
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
6766
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
6767
|
+
}
|
|
6768
|
+
|
|
6769
|
+
if (exportQuantityDetermination !== undefined) {
|
|
6770
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
6771
|
+
}
|
|
6772
|
+
|
|
6368
6773
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6369
6774
|
|
|
6370
6775
|
let localVarUseFormData = false;
|
|
@@ -6415,22 +6820,27 @@ export class SiaConversionApi {
|
|
|
6415
6820
|
* @param siaFile The input file
|
|
6416
6821
|
* @param destinationOenormType Defaults to Lv2015
|
|
6417
6822
|
* @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
|
|
6823
|
+
* @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.
|
|
6418
6824
|
* @param {*} [options] Override http request options.
|
|
6419
6825
|
*/
|
|
6420
|
-
public siaConversionConvertToOenorm (siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015', tryRepairProjectStructure?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6826
|
+
public siaConversionConvertToOenorm (siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6421
6827
|
const localVarPath = this.basePath + '/conversion/sia/oenorm';
|
|
6422
6828
|
let localVarQueryParameters: any = {};
|
|
6423
6829
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6424
6830
|
let localVarFormParams: any = {};
|
|
6425
6831
|
|
|
6426
6832
|
if (destinationOenormType !== undefined) {
|
|
6427
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
6833
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
6428
6834
|
}
|
|
6429
6835
|
|
|
6430
6836
|
if (tryRepairProjectStructure !== undefined) {
|
|
6431
6837
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
6432
6838
|
}
|
|
6433
6839
|
|
|
6840
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
6841
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
6842
|
+
}
|
|
6843
|
+
|
|
6434
6844
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6435
6845
|
|
|
6436
6846
|
let localVarUseFormData = false;
|