@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.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* AVACloud API 1.
|
|
3
|
+
* AVACloud API 1.23.3
|
|
4
4
|
* AVACloud API specification
|
|
5
5
|
*
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.23.3
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = exports.RebConversionApi = exports.RebConversionApiApiKeys = exports.OenormConversionApi = exports.OenormConversionApiApiKeys = exports.GaebConversionApi = exports.GaebConversionApiApiKeys = exports.ExcelConversionApi = exports.ExcelConversionApiApiKeys = exports.DanglIdentityApi = exports.DanglIdentityApiApiKeys = exports.AvaConversionApi = exports.AvaConversionApiApiKeys = exports.AslvConversionApi = exports.AslvConversionApiApiKeys = exports.VoidAuth = exports.OAuth = exports.ApiKeyAuth = exports.HttpBasicAuth = exports.WarrantyDurationDto = exports.TradeDiscountDto = exports.TokenResponseGet = exports.TokenRefreshPost = exports.TokenLoginPost = exports.SubDescriptionDto = exports.StandardizedDescriptionDto = exports.StandardReferenceTypeDto = exports.SpecialAwardKindDto = exports.ServiceTypeDto = exports.ServiceSpecificationGroupDto = exports.ServiceSpecificationDto = exports.STLBReferenceDto = exports.STLBKeyDto = exports.ResponseErrorType = exports.RegisterPost = exports.QuantityAssignmentDto = exports.ProjectInformationDto = exports.ProjectDto = exports.ProductDataDto = exports.PriceTypeDto = exports.PriceRoundingModeDto = exports.PriceInformationDto = exports.PriceComponentDto = exports.PositionTypeDto = exports.PositionDto = exports.PartyInformationDto = exports.OriginDto = exports.NoteTextDto = exports.LoginPost = exports.LabourPriceComponentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.ItemNumberDto = exports.HttpStatusCode = exports.GrossPriceComponentDto = exports.GetStatus = exports.ForgotPasswordPost = exports.ExecutionDescriptionDto = exports.IElementDto = exports.ExchangePhaseDto = exports.DurationUnitDto = exports.DestinationOenormType = exports.DestinationGaebType = exports.DestinationGaebExchangePhase = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.ComissionStatusDto = exports.CatalogueTypeDto = exports.CatalogueReferenceDto = exports.CatalogueDto = exports.CalculationDto = exports.BankingInformationDto = exports.AwardTypeDto = exports.ArticleDataDto = exports.ApiError = exports.AdditionTypeDto = void 0;
|
|
14
|
+
exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = exports.RebConversionApi = exports.RebConversionApiApiKeys = exports.OenormConversionApi = exports.OenormConversionApiApiKeys = exports.GaebConversionApi = exports.GaebConversionApiApiKeys = exports.ExcelConversionApi = exports.ExcelConversionApiApiKeys = exports.DanglIdentityApi = exports.DanglIdentityApiApiKeys = exports.AvaConversionApi = exports.AvaConversionApiApiKeys = exports.AslvConversionApi = exports.AslvConversionApiApiKeys = exports.VoidAuth = exports.OAuth = exports.ApiKeyAuth = exports.HttpBasicAuth = exports.WarrantyDurationDto = exports.TradeDiscountDto = exports.TokenResponseGet = exports.TokenRefreshPost = exports.TokenLoginPost = exports.SubDescriptionDto = exports.StandardizedDescriptionDto = exports.StandardReferenceTypeDto = exports.SpecialAwardKindDto = exports.ServiceTypeDto = exports.ServiceSpecificationGroupDto = exports.ServiceSpecificationDto = exports.STLBReferenceDto = exports.STLBKeyDto = exports.ResponseErrorType = exports.RegisterPost = exports.QuantityAssignmentDto = exports.ProjectInformationDto = exports.ProjectDto = exports.ProductDataDto = exports.PriceTypeDto = exports.PriceRoundingModeDto = exports.PriceInformationDto = exports.PriceComponentTypeDto = exports.PriceComponentDto = exports.PositionTypeDto = exports.PositionDto = exports.PartyInformationDto = exports.OriginDto = exports.OenormPropertiesDto = exports.OenormPositionPropertiesDto = exports.OenormOriginCodeDto = exports.NoteTextDto = exports.LoginPost = exports.LabourPriceComponentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.ItemNumberDto = exports.HttpStatusCode = exports.GrossPriceComponentDto = exports.GetStatus = exports.ForgotPasswordPost = exports.ExecutionDescriptionDto = exports.IElementDto = exports.ExchangePhaseDto = exports.DurationUnitDto = exports.DestinationOenormType = exports.DestinationGaebType = exports.DestinationGaebExchangePhase = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.ComissionStatusDto = exports.CatalogueTypeDto = exports.CatalogueReferenceDto = exports.CatalogueDto = exports.CalculationDto = exports.BankingInformationDto = exports.AwardTypeDto = exports.ArticleDataDto = exports.ApiError = exports.AdditionTypeDto = void 0;
|
|
15
15
|
const localVarRequest = require("request");
|
|
16
16
|
let defaultBasePath = 'https://avacloud-api.dangl-it.com';
|
|
17
17
|
// ===============================================
|
|
@@ -313,6 +313,16 @@ CalculationDto.attributeTypeMap = [
|
|
|
313
313
|
"name": "errorPositionInLine",
|
|
314
314
|
"baseName": "errorPositionInLine",
|
|
315
315
|
"type": "number"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "projectCatalogues",
|
|
319
|
+
"baseName": "projectCatalogues",
|
|
320
|
+
"type": "Array<CatalogueDto>"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "catalogueReferences",
|
|
324
|
+
"baseName": "catalogueReferences",
|
|
325
|
+
"type": "Array<CatalogueReferenceDto>"
|
|
316
326
|
}
|
|
317
327
|
];
|
|
318
328
|
/**
|
|
@@ -667,6 +677,16 @@ GrossPriceComponentDto.attributeTypeMap = [
|
|
|
667
677
|
"name": "totalGross",
|
|
668
678
|
"baseName": "totalGross",
|
|
669
679
|
"type": "number"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"name": "totalGrossDeducted",
|
|
683
|
+
"baseName": "totalGrossDeducted",
|
|
684
|
+
"type": "number"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"name": "totalTaxDeducted",
|
|
688
|
+
"baseName": "totalTaxDeducted",
|
|
689
|
+
"type": "number"
|
|
670
690
|
}
|
|
671
691
|
];
|
|
672
692
|
/**
|
|
@@ -742,6 +762,21 @@ ItemNumberSchemaDto.attributeTypeMap = [
|
|
|
742
762
|
"name": "tiers",
|
|
743
763
|
"baseName": "tiers",
|
|
744
764
|
"type": "Array<ItemNumberSchemaTierDto>"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "separator",
|
|
768
|
+
"baseName": "separator",
|
|
769
|
+
"type": "string"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"name": "filler",
|
|
773
|
+
"baseName": "filler",
|
|
774
|
+
"type": "string"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"name": "identifier",
|
|
778
|
+
"baseName": "identifier",
|
|
779
|
+
"type": "string"
|
|
745
780
|
}
|
|
746
781
|
];
|
|
747
782
|
/**
|
|
@@ -774,6 +809,16 @@ ItemNumberSchemaTierDto.attributeTypeMap = [
|
|
|
774
809
|
"name": "isLot",
|
|
775
810
|
"baseName": "isLot",
|
|
776
811
|
"type": "boolean"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"name": "increment",
|
|
815
|
+
"baseName": "increment",
|
|
816
|
+
"type": "number"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "tierName",
|
|
820
|
+
"baseName": "tierName",
|
|
821
|
+
"type": "string"
|
|
777
822
|
}
|
|
778
823
|
];
|
|
779
824
|
/**
|
|
@@ -838,6 +883,11 @@ LabourPriceComponentDto.attributeTypeMap = [
|
|
|
838
883
|
"name": "totalTime",
|
|
839
884
|
"baseName": "totalTime",
|
|
840
885
|
"type": "number"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"name": "projectCatalogues",
|
|
889
|
+
"baseName": "projectCatalogues",
|
|
890
|
+
"type": "Array<CatalogueDto>"
|
|
841
891
|
}
|
|
842
892
|
];
|
|
843
893
|
class LoginPost {
|
|
@@ -916,6 +966,71 @@ NoteTextDto.attributeTypeMap = [
|
|
|
916
966
|
"name": "elementType",
|
|
917
967
|
"baseName": "elementType",
|
|
918
968
|
"type": "string"
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"name": "descriptionId",
|
|
972
|
+
"baseName": "descriptionId",
|
|
973
|
+
"type": "string"
|
|
974
|
+
}
|
|
975
|
+
];
|
|
976
|
+
/**
|
|
977
|
+
* This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
|
|
978
|
+
*/
|
|
979
|
+
class OenormOriginCodeDto {
|
|
980
|
+
static getAttributeTypeMap() {
|
|
981
|
+
return OenormOriginCodeDto.attributeTypeMap;
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
exports.OenormOriginCodeDto = OenormOriginCodeDto;
|
|
985
|
+
OenormOriginCodeDto.discriminator = undefined;
|
|
986
|
+
OenormOriginCodeDto.attributeTypeMap = [];
|
|
987
|
+
/**
|
|
988
|
+
* 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.
|
|
989
|
+
*/
|
|
990
|
+
class OenormPositionPropertiesDto {
|
|
991
|
+
static getAttributeTypeMap() {
|
|
992
|
+
return OenormPositionPropertiesDto.attributeTypeMap;
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
exports.OenormPositionPropertiesDto = OenormPositionPropertiesDto;
|
|
996
|
+
OenormPositionPropertiesDto.discriminator = undefined;
|
|
997
|
+
OenormPositionPropertiesDto.attributeTypeMap = [
|
|
998
|
+
{
|
|
999
|
+
"name": "originCode",
|
|
1000
|
+
"baseName": "originCode",
|
|
1001
|
+
"type": "OenormOriginCodeDto"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"name": "openingTextIsFreeText",
|
|
1005
|
+
"baseName": "openingTextIsFreeText",
|
|
1006
|
+
"type": "boolean"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"name": "isMainPosition",
|
|
1010
|
+
"baseName": "isMainPosition",
|
|
1011
|
+
"type": "boolean"
|
|
1012
|
+
}
|
|
1013
|
+
];
|
|
1014
|
+
/**
|
|
1015
|
+
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
|
|
1016
|
+
*/
|
|
1017
|
+
class OenormPropertiesDto {
|
|
1018
|
+
static getAttributeTypeMap() {
|
|
1019
|
+
return OenormPropertiesDto.attributeTypeMap;
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
exports.OenormPropertiesDto = OenormPropertiesDto;
|
|
1023
|
+
OenormPropertiesDto.discriminator = undefined;
|
|
1024
|
+
OenormPropertiesDto.attributeTypeMap = [
|
|
1025
|
+
{
|
|
1026
|
+
"name": "originCode",
|
|
1027
|
+
"baseName": "originCode",
|
|
1028
|
+
"type": "OenormOriginCodeDto"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"name": "openingTextIsFreeText",
|
|
1032
|
+
"baseName": "openingTextIsFreeText",
|
|
1033
|
+
"type": "boolean"
|
|
919
1034
|
}
|
|
920
1035
|
];
|
|
921
1036
|
/**
|
|
@@ -1214,6 +1329,16 @@ PositionDto.attributeTypeMap = [
|
|
|
1214
1329
|
"baseName": "alternativeTo",
|
|
1215
1330
|
"type": "string"
|
|
1216
1331
|
},
|
|
1332
|
+
{
|
|
1333
|
+
"name": "alternativeIdentifier",
|
|
1334
|
+
"baseName": "alternativeIdentifier",
|
|
1335
|
+
"type": "number"
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
"name": "alternativeGroupIdentifier",
|
|
1339
|
+
"baseName": "alternativeGroupIdentifier",
|
|
1340
|
+
"type": "number"
|
|
1341
|
+
},
|
|
1217
1342
|
{
|
|
1218
1343
|
"name": "isLumpSum",
|
|
1219
1344
|
"baseName": "isLumpSum",
|
|
@@ -1253,6 +1378,21 @@ PositionDto.attributeTypeMap = [
|
|
|
1253
1378
|
"name": "executionDescriptionReference",
|
|
1254
1379
|
"baseName": "executionDescriptionReference",
|
|
1255
1380
|
"type": "string"
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
"name": "notOffered",
|
|
1384
|
+
"baseName": "notOffered",
|
|
1385
|
+
"type": "boolean"
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
"name": "oenormPositionProperties",
|
|
1389
|
+
"baseName": "oenormPositionProperties",
|
|
1390
|
+
"type": "OenormPositionPropertiesDto"
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
"name": "descriptionId",
|
|
1394
|
+
"baseName": "descriptionId",
|
|
1395
|
+
"type": "string"
|
|
1256
1396
|
}
|
|
1257
1397
|
];
|
|
1258
1398
|
/**
|
|
@@ -1291,9 +1431,25 @@ PriceComponentDto.attributeTypeMap = [
|
|
|
1291
1431
|
"name": "values",
|
|
1292
1432
|
"baseName": "values",
|
|
1293
1433
|
"type": "Array<CalculationDto>"
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"name": "projectCatalogues",
|
|
1437
|
+
"baseName": "projectCatalogues",
|
|
1438
|
+
"type": "Array<CatalogueDto>"
|
|
1294
1439
|
}
|
|
1295
1440
|
];
|
|
1296
1441
|
/**
|
|
1442
|
+
* This enumeration models types of price components for better classification.
|
|
1443
|
+
*/
|
|
1444
|
+
class PriceComponentTypeDto {
|
|
1445
|
+
static getAttributeTypeMap() {
|
|
1446
|
+
return PriceComponentTypeDto.attributeTypeMap;
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
exports.PriceComponentTypeDto = PriceComponentTypeDto;
|
|
1450
|
+
PriceComponentTypeDto.discriminator = undefined;
|
|
1451
|
+
PriceComponentTypeDto.attributeTypeMap = [];
|
|
1452
|
+
/**
|
|
1297
1453
|
* Holds global price information for a ServiceSpecification
|
|
1298
1454
|
*/
|
|
1299
1455
|
class PriceInformationDto {
|
|
@@ -1507,6 +1663,11 @@ ProjectInformationDto.attributeTypeMap = [
|
|
|
1507
1663
|
"baseName": "priceComponents",
|
|
1508
1664
|
"type": "Array<string>"
|
|
1509
1665
|
},
|
|
1666
|
+
{
|
|
1667
|
+
"name": "priceComponentTypes",
|
|
1668
|
+
"baseName": "priceComponentTypes",
|
|
1669
|
+
"type": "{ [key: string]: PriceComponentTypeDto; }"
|
|
1670
|
+
},
|
|
1510
1671
|
{
|
|
1511
1672
|
"name": "bidderCommentAllowed",
|
|
1512
1673
|
"baseName": "bidderCommentAllowed",
|
|
@@ -1805,6 +1966,11 @@ ServiceSpecificationDto.attributeTypeMap = [
|
|
|
1805
1966
|
"baseName": "origin",
|
|
1806
1967
|
"type": "OriginDto"
|
|
1807
1968
|
},
|
|
1969
|
+
{
|
|
1970
|
+
"name": "originDetail",
|
|
1971
|
+
"baseName": "originDetail",
|
|
1972
|
+
"type": "string"
|
|
1973
|
+
},
|
|
1808
1974
|
{
|
|
1809
1975
|
"name": "creationDate",
|
|
1810
1976
|
"baseName": "creationDate",
|
|
@@ -2033,6 +2199,11 @@ ServiceSpecificationGroupDto.attributeTypeMap = [
|
|
|
2033
2199
|
"name": "catalogueReferences",
|
|
2034
2200
|
"baseName": "catalogueReferences",
|
|
2035
2201
|
"type": "Array<CatalogueReferenceDto>"
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
"name": "oenormProperties",
|
|
2205
|
+
"baseName": "oenormProperties",
|
|
2206
|
+
"type": "OenormPropertiesDto"
|
|
2036
2207
|
}
|
|
2037
2208
|
];
|
|
2038
2209
|
/**
|
|
@@ -2160,6 +2331,16 @@ SubDescriptionDto.attributeTypeMap = [
|
|
|
2160
2331
|
"name": "executionDescriptionReference",
|
|
2161
2332
|
"baseName": "executionDescriptionReference",
|
|
2162
2333
|
"type": "string"
|
|
2334
|
+
},
|
|
2335
|
+
{
|
|
2336
|
+
"name": "projectCatalogues",
|
|
2337
|
+
"baseName": "projectCatalogues",
|
|
2338
|
+
"type": "Array<CatalogueDto>"
|
|
2339
|
+
},
|
|
2340
|
+
{
|
|
2341
|
+
"name": "descriptionId",
|
|
2342
|
+
"baseName": "descriptionId",
|
|
2343
|
+
"type": "string"
|
|
2163
2344
|
}
|
|
2164
2345
|
];
|
|
2165
2346
|
class TokenLoginPost {
|
|
@@ -2341,11 +2522,15 @@ let typeMap = {
|
|
|
2341
2522
|
"LabourPriceComponentDto": LabourPriceComponentDto,
|
|
2342
2523
|
"LoginPost": LoginPost,
|
|
2343
2524
|
"NoteTextDto": NoteTextDto,
|
|
2525
|
+
"OenormOriginCodeDto": OenormOriginCodeDto,
|
|
2526
|
+
"OenormPositionPropertiesDto": OenormPositionPropertiesDto,
|
|
2527
|
+
"OenormPropertiesDto": OenormPropertiesDto,
|
|
2344
2528
|
"OriginDto": OriginDto,
|
|
2345
2529
|
"PartyInformationDto": PartyInformationDto,
|
|
2346
2530
|
"PositionDto": PositionDto,
|
|
2347
2531
|
"PositionTypeDto": PositionTypeDto,
|
|
2348
2532
|
"PriceComponentDto": PriceComponentDto,
|
|
2533
|
+
"PriceComponentTypeDto": PriceComponentTypeDto,
|
|
2349
2534
|
"PriceInformationDto": PriceInformationDto,
|
|
2350
2535
|
"PriceRoundingModeDto": PriceRoundingModeDto,
|
|
2351
2536
|
"PriceTypeDto": PriceTypeDto,
|
|
@@ -2590,9 +2775,11 @@ class AslvConversionApi {
|
|
|
2590
2775
|
* @param aslvFile The input file
|
|
2591
2776
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
2592
2777
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
2778
|
+
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
2779
|
+
* @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.
|
|
2593
2780
|
* @param {*} [options] Override http request options.
|
|
2594
2781
|
*/
|
|
2595
|
-
aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, options = {}) {
|
|
2782
|
+
aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
2596
2783
|
const localVarPath = this.basePath + '/conversion/aslv/gaeb';
|
|
2597
2784
|
let localVarQueryParameters = {};
|
|
2598
2785
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -2603,6 +2790,12 @@ class AslvConversionApi {
|
|
|
2603
2790
|
if (targetExchangePhaseTransform !== undefined) {
|
|
2604
2791
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
2605
2792
|
}
|
|
2793
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
2794
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
2795
|
+
}
|
|
2796
|
+
if (exportQuantityDetermination !== undefined) {
|
|
2797
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
2798
|
+
}
|
|
2606
2799
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2607
2800
|
let localVarUseFormData = false;
|
|
2608
2801
|
if (aslvFile !== undefined) {
|
|
@@ -2650,19 +2843,23 @@ class AslvConversionApi {
|
|
|
2650
2843
|
* @param aslvFile The input file
|
|
2651
2844
|
* @param destinationOenormType Defaults to Lv2015
|
|
2652
2845
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
2846
|
+
* @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.
|
|
2653
2847
|
* @param {*} [options] Override http request options.
|
|
2654
2848
|
*/
|
|
2655
|
-
aslvConversionConvertToOenorm(aslvFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
2849
|
+
aslvConversionConvertToOenorm(aslvFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
2656
2850
|
const localVarPath = this.basePath + '/conversion/aslv/oenorm';
|
|
2657
2851
|
let localVarQueryParameters = {};
|
|
2658
2852
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
2659
2853
|
let localVarFormParams = {};
|
|
2660
2854
|
if (destinationOenormType !== undefined) {
|
|
2661
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
2855
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
2662
2856
|
}
|
|
2663
2857
|
if (tryRepairProjectStructure !== undefined) {
|
|
2664
2858
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
2665
2859
|
}
|
|
2860
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
2861
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
2862
|
+
}
|
|
2666
2863
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2667
2864
|
let localVarUseFormData = false;
|
|
2668
2865
|
if (aslvFile !== undefined) {
|
|
@@ -2880,9 +3077,11 @@ class AvaConversionApi {
|
|
|
2880
3077
|
* @param avaProject The Dangl.AVA project
|
|
2881
3078
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
2882
3079
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
3080
|
+
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
3081
|
+
* @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.
|
|
2883
3082
|
* @param {*} [options] Override http request options.
|
|
2884
3083
|
*/
|
|
2885
|
-
avaConversionConvertToGaeb(avaProject, destinationGaebType, targetExchangePhaseTransform, options = {}) {
|
|
3084
|
+
avaConversionConvertToGaeb(avaProject, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
2886
3085
|
const localVarPath = this.basePath + '/conversion/ava/gaeb';
|
|
2887
3086
|
let localVarQueryParameters = {};
|
|
2888
3087
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -2897,6 +3096,12 @@ class AvaConversionApi {
|
|
|
2897
3096
|
if (targetExchangePhaseTransform !== undefined) {
|
|
2898
3097
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
2899
3098
|
}
|
|
3099
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
3100
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
3101
|
+
}
|
|
3102
|
+
if (exportQuantityDetermination !== undefined) {
|
|
3103
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
3104
|
+
}
|
|
2900
3105
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2901
3106
|
let localVarUseFormData = false;
|
|
2902
3107
|
let localVarRequestOptions = {
|
|
@@ -2942,9 +3147,10 @@ class AvaConversionApi {
|
|
|
2942
3147
|
* @param avaProject The Dangl.AVA project
|
|
2943
3148
|
* @param destinationOenormType Defaults to Lv2015
|
|
2944
3149
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
3150
|
+
* @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.
|
|
2945
3151
|
* @param {*} [options] Override http request options.
|
|
2946
3152
|
*/
|
|
2947
|
-
avaConversionConvertToOenorm(avaProject, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
3153
|
+
avaConversionConvertToOenorm(avaProject, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
2948
3154
|
const localVarPath = this.basePath + '/conversion/ava/oenorm';
|
|
2949
3155
|
let localVarQueryParameters = {};
|
|
2950
3156
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -2954,11 +3160,14 @@ class AvaConversionApi {
|
|
|
2954
3160
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToOenorm.');
|
|
2955
3161
|
}
|
|
2956
3162
|
if (destinationOenormType !== undefined) {
|
|
2957
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
3163
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
2958
3164
|
}
|
|
2959
3165
|
if (tryRepairProjectStructure !== undefined) {
|
|
2960
3166
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
2961
3167
|
}
|
|
3168
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
3169
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
3170
|
+
}
|
|
2962
3171
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2963
3172
|
let localVarUseFormData = false;
|
|
2964
3173
|
let localVarRequestOptions = {
|
|
@@ -3646,9 +3855,11 @@ class ExcelConversionApi {
|
|
|
3646
3855
|
* @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.
|
|
3647
3856
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
3648
3857
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
3858
|
+
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
3859
|
+
* @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.
|
|
3649
3860
|
* @param {*} [options] Override http request options.
|
|
3650
3861
|
*/
|
|
3651
|
-
excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, options = {}) {
|
|
3862
|
+
excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
3652
3863
|
const localVarPath = this.basePath + '/conversion/excel/gaeb';
|
|
3653
3864
|
let localVarQueryParameters = {};
|
|
3654
3865
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -3665,6 +3876,12 @@ class ExcelConversionApi {
|
|
|
3665
3876
|
if (targetExchangePhaseTransform !== undefined) {
|
|
3666
3877
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
3667
3878
|
}
|
|
3879
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
3880
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
3881
|
+
}
|
|
3882
|
+
if (exportQuantityDetermination !== undefined) {
|
|
3883
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
3884
|
+
}
|
|
3668
3885
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3669
3886
|
let localVarUseFormData = false;
|
|
3670
3887
|
if (excelFile !== undefined) {
|
|
@@ -3714,9 +3931,10 @@ class ExcelConversionApi {
|
|
|
3714
3931
|
* @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.
|
|
3715
3932
|
* @param destinationOenormType Defaults to Lv2015
|
|
3716
3933
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
3934
|
+
* @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.
|
|
3717
3935
|
* @param {*} [options] Override http request options.
|
|
3718
3936
|
*/
|
|
3719
|
-
excelConversionConvertToOenorm(excelFile, readNewElements, rebuildItemNumberSchema, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
3937
|
+
excelConversionConvertToOenorm(excelFile, readNewElements, rebuildItemNumberSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
3720
3938
|
const localVarPath = this.basePath + '/conversion/excel/oenorm';
|
|
3721
3939
|
let localVarQueryParameters = {};
|
|
3722
3940
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -3728,11 +3946,14 @@ class ExcelConversionApi {
|
|
|
3728
3946
|
localVarQueryParameters['RebuildItemNumberSchema'] = ObjectSerializer.serialize(rebuildItemNumberSchema, "boolean");
|
|
3729
3947
|
}
|
|
3730
3948
|
if (destinationOenormType !== undefined) {
|
|
3731
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
3949
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
3732
3950
|
}
|
|
3733
3951
|
if (tryRepairProjectStructure !== undefined) {
|
|
3734
3952
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
3735
3953
|
}
|
|
3954
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
3955
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
3956
|
+
}
|
|
3736
3957
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3737
3958
|
let localVarUseFormData = false;
|
|
3738
3959
|
if (excelFile !== undefined) {
|
|
@@ -3947,9 +4168,11 @@ class GaebConversionApi {
|
|
|
3947
4168
|
* @param gaebFile The input file
|
|
3948
4169
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
3949
4170
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4171
|
+
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
4172
|
+
* @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.
|
|
3950
4173
|
* @param {*} [options] Override http request options.
|
|
3951
4174
|
*/
|
|
3952
|
-
gaebConversionConvertToGaeb(gaebFile, destinationGaebType, targetExchangePhaseTransform, options = {}) {
|
|
4175
|
+
gaebConversionConvertToGaeb(gaebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
3953
4176
|
const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
|
|
3954
4177
|
let localVarQueryParameters = {};
|
|
3955
4178
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -3960,6 +4183,12 @@ class GaebConversionApi {
|
|
|
3960
4183
|
if (targetExchangePhaseTransform !== undefined) {
|
|
3961
4184
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
3962
4185
|
}
|
|
4186
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
4187
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
4188
|
+
}
|
|
4189
|
+
if (exportQuantityDetermination !== undefined) {
|
|
4190
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4191
|
+
}
|
|
3963
4192
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3964
4193
|
let localVarUseFormData = false;
|
|
3965
4194
|
if (gaebFile !== undefined) {
|
|
@@ -4007,19 +4236,23 @@ class GaebConversionApi {
|
|
|
4007
4236
|
* @param gaebFile The input file
|
|
4008
4237
|
* @param destinationOenormType Defaults to Lv2015
|
|
4009
4238
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
4239
|
+
* @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.
|
|
4010
4240
|
* @param {*} [options] Override http request options.
|
|
4011
4241
|
*/
|
|
4012
|
-
gaebConversionConvertToOenorm(gaebFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
4242
|
+
gaebConversionConvertToOenorm(gaebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
4013
4243
|
const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
|
|
4014
4244
|
let localVarQueryParameters = {};
|
|
4015
4245
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4016
4246
|
let localVarFormParams = {};
|
|
4017
4247
|
if (destinationOenormType !== undefined) {
|
|
4018
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
4248
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
4019
4249
|
}
|
|
4020
4250
|
if (tryRepairProjectStructure !== undefined) {
|
|
4021
4251
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
4022
4252
|
}
|
|
4253
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
4254
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4255
|
+
}
|
|
4023
4256
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4024
4257
|
let localVarUseFormData = false;
|
|
4025
4258
|
if (gaebFile !== undefined) {
|
|
@@ -4234,9 +4467,11 @@ class OenormConversionApi {
|
|
|
4234
4467
|
* @param oenormFile The input file
|
|
4235
4468
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
4236
4469
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4470
|
+
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
4471
|
+
* @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.
|
|
4237
4472
|
* @param {*} [options] Override http request options.
|
|
4238
4473
|
*/
|
|
4239
|
-
oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, options = {}) {
|
|
4474
|
+
oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
4240
4475
|
const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
|
|
4241
4476
|
let localVarQueryParameters = {};
|
|
4242
4477
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -4247,6 +4482,12 @@ class OenormConversionApi {
|
|
|
4247
4482
|
if (targetExchangePhaseTransform !== undefined) {
|
|
4248
4483
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
4249
4484
|
}
|
|
4485
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
4486
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
4487
|
+
}
|
|
4488
|
+
if (exportQuantityDetermination !== undefined) {
|
|
4489
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4490
|
+
}
|
|
4250
4491
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4251
4492
|
let localVarUseFormData = false;
|
|
4252
4493
|
if (oenormFile !== undefined) {
|
|
@@ -4294,19 +4535,23 @@ class OenormConversionApi {
|
|
|
4294
4535
|
* @param oenormFile The input file
|
|
4295
4536
|
* @param destinationOenormType Defaults to Lv2015
|
|
4296
4537
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
4538
|
+
* @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.
|
|
4297
4539
|
* @param {*} [options] Override http request options.
|
|
4298
4540
|
*/
|
|
4299
|
-
oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
4541
|
+
oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
4300
4542
|
const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
|
|
4301
4543
|
let localVarQueryParameters = {};
|
|
4302
4544
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4303
4545
|
let localVarFormParams = {};
|
|
4304
4546
|
if (destinationOenormType !== undefined) {
|
|
4305
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
4547
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
4306
4548
|
}
|
|
4307
4549
|
if (tryRepairProjectStructure !== undefined) {
|
|
4308
4550
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
4309
4551
|
}
|
|
4552
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
4553
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4554
|
+
}
|
|
4310
4555
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4311
4556
|
let localVarUseFormData = false;
|
|
4312
4557
|
if (oenormFile !== undefined) {
|
|
@@ -4521,9 +4766,11 @@ class RebConversionApi {
|
|
|
4521
4766
|
* @param rebFile The input file
|
|
4522
4767
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
4523
4768
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4769
|
+
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
4770
|
+
* @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.
|
|
4524
4771
|
* @param {*} [options] Override http request options.
|
|
4525
4772
|
*/
|
|
4526
|
-
rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, options = {}) {
|
|
4773
|
+
rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
4527
4774
|
const localVarPath = this.basePath + '/conversion/reb/gaeb';
|
|
4528
4775
|
let localVarQueryParameters = {};
|
|
4529
4776
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -4534,6 +4781,12 @@ class RebConversionApi {
|
|
|
4534
4781
|
if (targetExchangePhaseTransform !== undefined) {
|
|
4535
4782
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
4536
4783
|
}
|
|
4784
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
4785
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
4786
|
+
}
|
|
4787
|
+
if (exportQuantityDetermination !== undefined) {
|
|
4788
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4789
|
+
}
|
|
4537
4790
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4538
4791
|
let localVarUseFormData = false;
|
|
4539
4792
|
if (rebFile !== undefined) {
|
|
@@ -4581,19 +4834,23 @@ class RebConversionApi {
|
|
|
4581
4834
|
* @param rebFile The input file
|
|
4582
4835
|
* @param destinationOenormType Defaults to Lv2015
|
|
4583
4836
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
4837
|
+
* @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.
|
|
4584
4838
|
* @param {*} [options] Override http request options.
|
|
4585
4839
|
*/
|
|
4586
|
-
rebConversionConvertToOenorm(rebFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
4840
|
+
rebConversionConvertToOenorm(rebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
4587
4841
|
const localVarPath = this.basePath + '/conversion/reb/oenorm';
|
|
4588
4842
|
let localVarQueryParameters = {};
|
|
4589
4843
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4590
4844
|
let localVarFormParams = {};
|
|
4591
4845
|
if (destinationOenormType !== undefined) {
|
|
4592
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
4846
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
4593
4847
|
}
|
|
4594
4848
|
if (tryRepairProjectStructure !== undefined) {
|
|
4595
4849
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
4596
4850
|
}
|
|
4851
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
4852
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4853
|
+
}
|
|
4597
4854
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4598
4855
|
let localVarUseFormData = false;
|
|
4599
4856
|
if (rebFile !== undefined) {
|
|
@@ -4808,9 +5065,11 @@ class SiaConversionApi {
|
|
|
4808
5065
|
* @param siaFile The input file
|
|
4809
5066
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
4810
5067
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5068
|
+
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
5069
|
+
* @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.
|
|
4811
5070
|
* @param {*} [options] Override http request options.
|
|
4812
5071
|
*/
|
|
4813
|
-
siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, options = {}) {
|
|
5072
|
+
siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
4814
5073
|
const localVarPath = this.basePath + '/conversion/sia/gaeb';
|
|
4815
5074
|
let localVarQueryParameters = {};
|
|
4816
5075
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -4821,6 +5080,12 @@ class SiaConversionApi {
|
|
|
4821
5080
|
if (targetExchangePhaseTransform !== undefined) {
|
|
4822
5081
|
localVarQueryParameters['TargetExchangePhaseTransform'] = ObjectSerializer.serialize(targetExchangePhaseTransform, "'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer'");
|
|
4823
5082
|
}
|
|
5083
|
+
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
5084
|
+
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
5085
|
+
}
|
|
5086
|
+
if (exportQuantityDetermination !== undefined) {
|
|
5087
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
5088
|
+
}
|
|
4824
5089
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4825
5090
|
let localVarUseFormData = false;
|
|
4826
5091
|
if (siaFile !== undefined) {
|
|
@@ -4868,19 +5133,23 @@ class SiaConversionApi {
|
|
|
4868
5133
|
* @param siaFile The input file
|
|
4869
5134
|
* @param destinationOenormType Defaults to Lv2015
|
|
4870
5135
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
5136
|
+
* @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.
|
|
4871
5137
|
* @param {*} [options] Override http request options.
|
|
4872
5138
|
*/
|
|
4873
|
-
siaConversionConvertToOenorm(siaFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
5139
|
+
siaConversionConvertToOenorm(siaFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
4874
5140
|
const localVarPath = this.basePath + '/conversion/sia/oenorm';
|
|
4875
5141
|
let localVarQueryParameters = {};
|
|
4876
5142
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4877
5143
|
let localVarFormParams = {};
|
|
4878
5144
|
if (destinationOenormType !== undefined) {
|
|
4879
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015'");
|
|
5145
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
4880
5146
|
}
|
|
4881
5147
|
if (tryRepairProjectStructure !== undefined) {
|
|
4882
5148
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
4883
5149
|
}
|
|
5150
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
5151
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
5152
|
+
}
|
|
4884
5153
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4885
5154
|
let localVarUseFormData = false;
|
|
4886
5155
|
if (siaFile !== undefined) {
|