@dangl/avacloud-client-node 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.swagger-codegen/VERSION +1 -1
- package/api.d.ts +168 -18
- package/api.js +228 -24
- package/api.js.map +1 -1
- package/api.ts +339 -25
- 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.22.0
|
|
4
4
|
* AVACloud API specification
|
|
5
5
|
*
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.22.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = exports.RebConversionApi = exports.RebConversionApiApiKeys = exports.OenormConversionApi = exports.OenormConversionApiApiKeys = exports.GaebConversionApi = exports.GaebConversionApiApiKeys = exports.ExcelConversionApi = exports.ExcelConversionApiApiKeys = exports.DanglIdentityApi = exports.DanglIdentityApiApiKeys = exports.AvaConversionApi = exports.AvaConversionApiApiKeys = exports.AslvConversionApi = exports.AslvConversionApiApiKeys = exports.VoidAuth = exports.OAuth = exports.ApiKeyAuth = exports.HttpBasicAuth = exports.WarrantyDurationDto = exports.TradeDiscountDto = exports.TokenResponseGet = exports.TokenRefreshPost = exports.TokenLoginPost = exports.SubDescriptionDto = exports.StandardizedDescriptionDto = exports.StandardReferenceTypeDto = exports.SpecialAwardKindDto = exports.ServiceTypeDto = exports.ServiceSpecificationGroupDto = exports.ServiceSpecificationDto = exports.STLBReferenceDto = exports.STLBKeyDto = exports.ResponseErrorType = exports.RegisterPost = exports.QuantityAssignmentDto = exports.ProjectInformationDto = exports.ProjectDto = exports.ProductDataDto = exports.PriceTypeDto = exports.PriceRoundingModeDto = exports.PriceInformationDto = exports.PriceComponentTypeDto = exports.PriceComponentDto = exports.PositionTypeDto = exports.PositionDto = exports.PartyInformationDto = exports.OriginDto = exports.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
|
/**
|
|
@@ -752,6 +762,16 @@ ItemNumberSchemaDto.attributeTypeMap = [
|
|
|
752
762
|
"name": "tiers",
|
|
753
763
|
"baseName": "tiers",
|
|
754
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"
|
|
755
775
|
}
|
|
756
776
|
];
|
|
757
777
|
/**
|
|
@@ -784,6 +804,16 @@ ItemNumberSchemaTierDto.attributeTypeMap = [
|
|
|
784
804
|
"name": "isLot",
|
|
785
805
|
"baseName": "isLot",
|
|
786
806
|
"type": "boolean"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"name": "increment",
|
|
810
|
+
"baseName": "increment",
|
|
811
|
+
"type": "number"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"name": "tierName",
|
|
815
|
+
"baseName": "tierName",
|
|
816
|
+
"type": "string"
|
|
787
817
|
}
|
|
788
818
|
];
|
|
789
819
|
/**
|
|
@@ -848,6 +878,11 @@ LabourPriceComponentDto.attributeTypeMap = [
|
|
|
848
878
|
"name": "totalTime",
|
|
849
879
|
"baseName": "totalTime",
|
|
850
880
|
"type": "number"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"name": "projectCatalogues",
|
|
884
|
+
"baseName": "projectCatalogues",
|
|
885
|
+
"type": "Array<CatalogueDto>"
|
|
851
886
|
}
|
|
852
887
|
];
|
|
853
888
|
class LoginPost {
|
|
@@ -926,6 +961,71 @@ NoteTextDto.attributeTypeMap = [
|
|
|
926
961
|
"name": "elementType",
|
|
927
962
|
"baseName": "elementType",
|
|
928
963
|
"type": "string"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"name": "descriptionId",
|
|
967
|
+
"baseName": "descriptionId",
|
|
968
|
+
"type": "string"
|
|
969
|
+
}
|
|
970
|
+
];
|
|
971
|
+
/**
|
|
972
|
+
* This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
|
|
973
|
+
*/
|
|
974
|
+
class OenormOriginCodeDto {
|
|
975
|
+
static getAttributeTypeMap() {
|
|
976
|
+
return OenormOriginCodeDto.attributeTypeMap;
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
exports.OenormOriginCodeDto = OenormOriginCodeDto;
|
|
980
|
+
OenormOriginCodeDto.discriminator = undefined;
|
|
981
|
+
OenormOriginCodeDto.attributeTypeMap = [];
|
|
982
|
+
/**
|
|
983
|
+
* 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.
|
|
984
|
+
*/
|
|
985
|
+
class OenormPositionPropertiesDto {
|
|
986
|
+
static getAttributeTypeMap() {
|
|
987
|
+
return OenormPositionPropertiesDto.attributeTypeMap;
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
exports.OenormPositionPropertiesDto = OenormPositionPropertiesDto;
|
|
991
|
+
OenormPositionPropertiesDto.discriminator = undefined;
|
|
992
|
+
OenormPositionPropertiesDto.attributeTypeMap = [
|
|
993
|
+
{
|
|
994
|
+
"name": "originCode",
|
|
995
|
+
"baseName": "originCode",
|
|
996
|
+
"type": "OenormOriginCodeDto"
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"name": "openingTextIsFreeText",
|
|
1000
|
+
"baseName": "openingTextIsFreeText",
|
|
1001
|
+
"type": "boolean"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"name": "isMainPosition",
|
|
1005
|
+
"baseName": "isMainPosition",
|
|
1006
|
+
"type": "boolean"
|
|
1007
|
+
}
|
|
1008
|
+
];
|
|
1009
|
+
/**
|
|
1010
|
+
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
|
|
1011
|
+
*/
|
|
1012
|
+
class OenormPropertiesDto {
|
|
1013
|
+
static getAttributeTypeMap() {
|
|
1014
|
+
return OenormPropertiesDto.attributeTypeMap;
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
exports.OenormPropertiesDto = OenormPropertiesDto;
|
|
1018
|
+
OenormPropertiesDto.discriminator = undefined;
|
|
1019
|
+
OenormPropertiesDto.attributeTypeMap = [
|
|
1020
|
+
{
|
|
1021
|
+
"name": "originCode",
|
|
1022
|
+
"baseName": "originCode",
|
|
1023
|
+
"type": "OenormOriginCodeDto"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"name": "openingTextIsFreeText",
|
|
1027
|
+
"baseName": "openingTextIsFreeText",
|
|
1028
|
+
"type": "boolean"
|
|
929
1029
|
}
|
|
930
1030
|
];
|
|
931
1031
|
/**
|
|
@@ -1224,6 +1324,16 @@ PositionDto.attributeTypeMap = [
|
|
|
1224
1324
|
"baseName": "alternativeTo",
|
|
1225
1325
|
"type": "string"
|
|
1226
1326
|
},
|
|
1327
|
+
{
|
|
1328
|
+
"name": "alternativeIdentifier",
|
|
1329
|
+
"baseName": "alternativeIdentifier",
|
|
1330
|
+
"type": "number"
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"name": "alternativeGroupIdentifier",
|
|
1334
|
+
"baseName": "alternativeGroupIdentifier",
|
|
1335
|
+
"type": "number"
|
|
1336
|
+
},
|
|
1227
1337
|
{
|
|
1228
1338
|
"name": "isLumpSum",
|
|
1229
1339
|
"baseName": "isLumpSum",
|
|
@@ -1263,6 +1373,21 @@ PositionDto.attributeTypeMap = [
|
|
|
1263
1373
|
"name": "executionDescriptionReference",
|
|
1264
1374
|
"baseName": "executionDescriptionReference",
|
|
1265
1375
|
"type": "string"
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
"name": "notOffered",
|
|
1379
|
+
"baseName": "notOffered",
|
|
1380
|
+
"type": "boolean"
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
"name": "oenormPositionProperties",
|
|
1384
|
+
"baseName": "oenormPositionProperties",
|
|
1385
|
+
"type": "OenormPositionPropertiesDto"
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
"name": "descriptionId",
|
|
1389
|
+
"baseName": "descriptionId",
|
|
1390
|
+
"type": "string"
|
|
1266
1391
|
}
|
|
1267
1392
|
];
|
|
1268
1393
|
/**
|
|
@@ -1301,6 +1426,11 @@ PriceComponentDto.attributeTypeMap = [
|
|
|
1301
1426
|
"name": "values",
|
|
1302
1427
|
"baseName": "values",
|
|
1303
1428
|
"type": "Array<CalculationDto>"
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"name": "projectCatalogues",
|
|
1432
|
+
"baseName": "projectCatalogues",
|
|
1433
|
+
"type": "Array<CatalogueDto>"
|
|
1304
1434
|
}
|
|
1305
1435
|
];
|
|
1306
1436
|
/**
|
|
@@ -2064,6 +2194,11 @@ ServiceSpecificationGroupDto.attributeTypeMap = [
|
|
|
2064
2194
|
"name": "catalogueReferences",
|
|
2065
2195
|
"baseName": "catalogueReferences",
|
|
2066
2196
|
"type": "Array<CatalogueReferenceDto>"
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"name": "oenormProperties",
|
|
2200
|
+
"baseName": "oenormProperties",
|
|
2201
|
+
"type": "OenormPropertiesDto"
|
|
2067
2202
|
}
|
|
2068
2203
|
];
|
|
2069
2204
|
/**
|
|
@@ -2191,6 +2326,16 @@ SubDescriptionDto.attributeTypeMap = [
|
|
|
2191
2326
|
"name": "executionDescriptionReference",
|
|
2192
2327
|
"baseName": "executionDescriptionReference",
|
|
2193
2328
|
"type": "string"
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
"name": "projectCatalogues",
|
|
2332
|
+
"baseName": "projectCatalogues",
|
|
2333
|
+
"type": "Array<CatalogueDto>"
|
|
2334
|
+
},
|
|
2335
|
+
{
|
|
2336
|
+
"name": "descriptionId",
|
|
2337
|
+
"baseName": "descriptionId",
|
|
2338
|
+
"type": "string"
|
|
2194
2339
|
}
|
|
2195
2340
|
];
|
|
2196
2341
|
class TokenLoginPost {
|
|
@@ -2372,6 +2517,9 @@ let typeMap = {
|
|
|
2372
2517
|
"LabourPriceComponentDto": LabourPriceComponentDto,
|
|
2373
2518
|
"LoginPost": LoginPost,
|
|
2374
2519
|
"NoteTextDto": NoteTextDto,
|
|
2520
|
+
"OenormOriginCodeDto": OenormOriginCodeDto,
|
|
2521
|
+
"OenormPositionPropertiesDto": OenormPositionPropertiesDto,
|
|
2522
|
+
"OenormPropertiesDto": OenormPropertiesDto,
|
|
2375
2523
|
"OriginDto": OriginDto,
|
|
2376
2524
|
"PartyInformationDto": PartyInformationDto,
|
|
2377
2525
|
"PositionDto": PositionDto,
|
|
@@ -2623,9 +2771,10 @@ class AslvConversionApi {
|
|
|
2623
2771
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
2624
2772
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
2625
2773
|
* @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.
|
|
2774
|
+
* @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.
|
|
2626
2775
|
* @param {*} [options] Override http request options.
|
|
2627
2776
|
*/
|
|
2628
|
-
aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
|
|
2777
|
+
aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
2629
2778
|
const localVarPath = this.basePath + '/conversion/aslv/gaeb';
|
|
2630
2779
|
let localVarQueryParameters = {};
|
|
2631
2780
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -2639,6 +2788,9 @@ class AslvConversionApi {
|
|
|
2639
2788
|
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
2640
2789
|
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
2641
2790
|
}
|
|
2791
|
+
if (exportQuantityDetermination !== undefined) {
|
|
2792
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
2793
|
+
}
|
|
2642
2794
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2643
2795
|
let localVarUseFormData = false;
|
|
2644
2796
|
if (aslvFile !== undefined) {
|
|
@@ -2686,19 +2838,23 @@ class AslvConversionApi {
|
|
|
2686
2838
|
* @param aslvFile The input file
|
|
2687
2839
|
* @param destinationOenormType Defaults to Lv2015
|
|
2688
2840
|
* @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
|
|
2841
|
+
* @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.
|
|
2689
2842
|
* @param {*} [options] Override http request options.
|
|
2690
2843
|
*/
|
|
2691
|
-
aslvConversionConvertToOenorm(aslvFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
2844
|
+
aslvConversionConvertToOenorm(aslvFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
2692
2845
|
const localVarPath = this.basePath + '/conversion/aslv/oenorm';
|
|
2693
2846
|
let localVarQueryParameters = {};
|
|
2694
2847
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
2695
2848
|
let localVarFormParams = {};
|
|
2696
2849
|
if (destinationOenormType !== undefined) {
|
|
2697
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
|
|
2850
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
2698
2851
|
}
|
|
2699
2852
|
if (tryRepairProjectStructure !== undefined) {
|
|
2700
2853
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
2701
2854
|
}
|
|
2855
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
2856
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
2857
|
+
}
|
|
2702
2858
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2703
2859
|
let localVarUseFormData = false;
|
|
2704
2860
|
if (aslvFile !== undefined) {
|
|
@@ -2917,9 +3073,10 @@ class AvaConversionApi {
|
|
|
2917
3073
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
2918
3074
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
2919
3075
|
* @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.
|
|
3076
|
+
* @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.
|
|
2920
3077
|
* @param {*} [options] Override http request options.
|
|
2921
3078
|
*/
|
|
2922
|
-
avaConversionConvertToGaeb(avaProject, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
|
|
3079
|
+
avaConversionConvertToGaeb(avaProject, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
2923
3080
|
const localVarPath = this.basePath + '/conversion/ava/gaeb';
|
|
2924
3081
|
let localVarQueryParameters = {};
|
|
2925
3082
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -2937,6 +3094,9 @@ class AvaConversionApi {
|
|
|
2937
3094
|
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
2938
3095
|
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
2939
3096
|
}
|
|
3097
|
+
if (exportQuantityDetermination !== undefined) {
|
|
3098
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
3099
|
+
}
|
|
2940
3100
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2941
3101
|
let localVarUseFormData = false;
|
|
2942
3102
|
let localVarRequestOptions = {
|
|
@@ -2982,9 +3142,10 @@ class AvaConversionApi {
|
|
|
2982
3142
|
* @param avaProject The Dangl.AVA project
|
|
2983
3143
|
* @param destinationOenormType Defaults to Lv2015
|
|
2984
3144
|
* @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
|
|
3145
|
+
* @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.
|
|
2985
3146
|
* @param {*} [options] Override http request options.
|
|
2986
3147
|
*/
|
|
2987
|
-
avaConversionConvertToOenorm(avaProject, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
3148
|
+
avaConversionConvertToOenorm(avaProject, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
2988
3149
|
const localVarPath = this.basePath + '/conversion/ava/oenorm';
|
|
2989
3150
|
let localVarQueryParameters = {};
|
|
2990
3151
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -2994,11 +3155,14 @@ class AvaConversionApi {
|
|
|
2994
3155
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToOenorm.');
|
|
2995
3156
|
}
|
|
2996
3157
|
if (destinationOenormType !== undefined) {
|
|
2997
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
|
|
3158
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
2998
3159
|
}
|
|
2999
3160
|
if (tryRepairProjectStructure !== undefined) {
|
|
3000
3161
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
3001
3162
|
}
|
|
3163
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
3164
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
3165
|
+
}
|
|
3002
3166
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3003
3167
|
let localVarUseFormData = false;
|
|
3004
3168
|
let localVarRequestOptions = {
|
|
@@ -3687,9 +3851,10 @@ class ExcelConversionApi {
|
|
|
3687
3851
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
3688
3852
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
3689
3853
|
* @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.
|
|
3854
|
+
* @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.
|
|
3690
3855
|
* @param {*} [options] Override http request options.
|
|
3691
3856
|
*/
|
|
3692
|
-
excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
|
|
3857
|
+
excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
3693
3858
|
const localVarPath = this.basePath + '/conversion/excel/gaeb';
|
|
3694
3859
|
let localVarQueryParameters = {};
|
|
3695
3860
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -3709,6 +3874,9 @@ class ExcelConversionApi {
|
|
|
3709
3874
|
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
3710
3875
|
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
3711
3876
|
}
|
|
3877
|
+
if (exportQuantityDetermination !== undefined) {
|
|
3878
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
3879
|
+
}
|
|
3712
3880
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3713
3881
|
let localVarUseFormData = false;
|
|
3714
3882
|
if (excelFile !== undefined) {
|
|
@@ -3758,9 +3926,10 @@ class ExcelConversionApi {
|
|
|
3758
3926
|
* @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.
|
|
3759
3927
|
* @param destinationOenormType Defaults to Lv2015
|
|
3760
3928
|
* @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
|
|
3929
|
+
* @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.
|
|
3761
3930
|
* @param {*} [options] Override http request options.
|
|
3762
3931
|
*/
|
|
3763
|
-
excelConversionConvertToOenorm(excelFile, readNewElements, rebuildItemNumberSchema, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
3932
|
+
excelConversionConvertToOenorm(excelFile, readNewElements, rebuildItemNumberSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
3764
3933
|
const localVarPath = this.basePath + '/conversion/excel/oenorm';
|
|
3765
3934
|
let localVarQueryParameters = {};
|
|
3766
3935
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -3772,11 +3941,14 @@ class ExcelConversionApi {
|
|
|
3772
3941
|
localVarQueryParameters['RebuildItemNumberSchema'] = ObjectSerializer.serialize(rebuildItemNumberSchema, "boolean");
|
|
3773
3942
|
}
|
|
3774
3943
|
if (destinationOenormType !== undefined) {
|
|
3775
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
|
|
3944
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
3776
3945
|
}
|
|
3777
3946
|
if (tryRepairProjectStructure !== undefined) {
|
|
3778
3947
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
3779
3948
|
}
|
|
3949
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
3950
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
3951
|
+
}
|
|
3780
3952
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3781
3953
|
let localVarUseFormData = false;
|
|
3782
3954
|
if (excelFile !== undefined) {
|
|
@@ -3992,9 +4164,10 @@ class GaebConversionApi {
|
|
|
3992
4164
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
3993
4165
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
3994
4166
|
* @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.
|
|
4167
|
+
* @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.
|
|
3995
4168
|
* @param {*} [options] Override http request options.
|
|
3996
4169
|
*/
|
|
3997
|
-
gaebConversionConvertToGaeb(gaebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
|
|
4170
|
+
gaebConversionConvertToGaeb(gaebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
3998
4171
|
const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
|
|
3999
4172
|
let localVarQueryParameters = {};
|
|
4000
4173
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -4008,6 +4181,9 @@ class GaebConversionApi {
|
|
|
4008
4181
|
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
4009
4182
|
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
4010
4183
|
}
|
|
4184
|
+
if (exportQuantityDetermination !== undefined) {
|
|
4185
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4186
|
+
}
|
|
4011
4187
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4012
4188
|
let localVarUseFormData = false;
|
|
4013
4189
|
if (gaebFile !== undefined) {
|
|
@@ -4055,19 +4231,23 @@ class GaebConversionApi {
|
|
|
4055
4231
|
* @param gaebFile The input file
|
|
4056
4232
|
* @param destinationOenormType Defaults to Lv2015
|
|
4057
4233
|
* @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
|
|
4234
|
+
* @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.
|
|
4058
4235
|
* @param {*} [options] Override http request options.
|
|
4059
4236
|
*/
|
|
4060
|
-
gaebConversionConvertToOenorm(gaebFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
4237
|
+
gaebConversionConvertToOenorm(gaebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
4061
4238
|
const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
|
|
4062
4239
|
let localVarQueryParameters = {};
|
|
4063
4240
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4064
4241
|
let localVarFormParams = {};
|
|
4065
4242
|
if (destinationOenormType !== undefined) {
|
|
4066
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
|
|
4243
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
4067
4244
|
}
|
|
4068
4245
|
if (tryRepairProjectStructure !== undefined) {
|
|
4069
4246
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
4070
4247
|
}
|
|
4248
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
4249
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4250
|
+
}
|
|
4071
4251
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4072
4252
|
let localVarUseFormData = false;
|
|
4073
4253
|
if (gaebFile !== undefined) {
|
|
@@ -4283,9 +4463,10 @@ class OenormConversionApi {
|
|
|
4283
4463
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
4284
4464
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4285
4465
|
* @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.
|
|
4466
|
+
* @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.
|
|
4286
4467
|
* @param {*} [options] Override http request options.
|
|
4287
4468
|
*/
|
|
4288
|
-
oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
|
|
4469
|
+
oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
4289
4470
|
const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
|
|
4290
4471
|
let localVarQueryParameters = {};
|
|
4291
4472
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -4299,6 +4480,9 @@ class OenormConversionApi {
|
|
|
4299
4480
|
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
4300
4481
|
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
4301
4482
|
}
|
|
4483
|
+
if (exportQuantityDetermination !== undefined) {
|
|
4484
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4485
|
+
}
|
|
4302
4486
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4303
4487
|
let localVarUseFormData = false;
|
|
4304
4488
|
if (oenormFile !== undefined) {
|
|
@@ -4346,19 +4530,23 @@ class OenormConversionApi {
|
|
|
4346
4530
|
* @param oenormFile The input file
|
|
4347
4531
|
* @param destinationOenormType Defaults to Lv2015
|
|
4348
4532
|
* @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
|
|
4533
|
+
* @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.
|
|
4349
4534
|
* @param {*} [options] Override http request options.
|
|
4350
4535
|
*/
|
|
4351
|
-
oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
4536
|
+
oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
4352
4537
|
const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
|
|
4353
4538
|
let localVarQueryParameters = {};
|
|
4354
4539
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4355
4540
|
let localVarFormParams = {};
|
|
4356
4541
|
if (destinationOenormType !== undefined) {
|
|
4357
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
|
|
4542
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
4358
4543
|
}
|
|
4359
4544
|
if (tryRepairProjectStructure !== undefined) {
|
|
4360
4545
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
4361
4546
|
}
|
|
4547
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
4548
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4549
|
+
}
|
|
4362
4550
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4363
4551
|
let localVarUseFormData = false;
|
|
4364
4552
|
if (oenormFile !== undefined) {
|
|
@@ -4574,9 +4762,10 @@ class RebConversionApi {
|
|
|
4574
4762
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
4575
4763
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4576
4764
|
* @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.
|
|
4765
|
+
* @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.
|
|
4577
4766
|
* @param {*} [options] Override http request options.
|
|
4578
4767
|
*/
|
|
4579
|
-
rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
|
|
4768
|
+
rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
4580
4769
|
const localVarPath = this.basePath + '/conversion/reb/gaeb';
|
|
4581
4770
|
let localVarQueryParameters = {};
|
|
4582
4771
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -4590,6 +4779,9 @@ class RebConversionApi {
|
|
|
4590
4779
|
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
4591
4780
|
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
4592
4781
|
}
|
|
4782
|
+
if (exportQuantityDetermination !== undefined) {
|
|
4783
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4784
|
+
}
|
|
4593
4785
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4594
4786
|
let localVarUseFormData = false;
|
|
4595
4787
|
if (rebFile !== undefined) {
|
|
@@ -4637,19 +4829,23 @@ class RebConversionApi {
|
|
|
4637
4829
|
* @param rebFile The input file
|
|
4638
4830
|
* @param destinationOenormType Defaults to Lv2015
|
|
4639
4831
|
* @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
|
|
4832
|
+
* @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.
|
|
4640
4833
|
* @param {*} [options] Override http request options.
|
|
4641
4834
|
*/
|
|
4642
|
-
rebConversionConvertToOenorm(rebFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
4835
|
+
rebConversionConvertToOenorm(rebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
4643
4836
|
const localVarPath = this.basePath + '/conversion/reb/oenorm';
|
|
4644
4837
|
let localVarQueryParameters = {};
|
|
4645
4838
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4646
4839
|
let localVarFormParams = {};
|
|
4647
4840
|
if (destinationOenormType !== undefined) {
|
|
4648
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
|
|
4841
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
4649
4842
|
}
|
|
4650
4843
|
if (tryRepairProjectStructure !== undefined) {
|
|
4651
4844
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
4652
4845
|
}
|
|
4846
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
4847
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4848
|
+
}
|
|
4653
4849
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4654
4850
|
let localVarUseFormData = false;
|
|
4655
4851
|
if (rebFile !== undefined) {
|
|
@@ -4865,9 +5061,10 @@ class SiaConversionApi {
|
|
|
4865
5061
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
4866
5062
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4867
5063
|
* @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.
|
|
5064
|
+
* @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.
|
|
4868
5065
|
* @param {*} [options] Override http request options.
|
|
4869
5066
|
*/
|
|
4870
|
-
siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, options = {}) {
|
|
5067
|
+
siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
4871
5068
|
const localVarPath = this.basePath + '/conversion/sia/gaeb';
|
|
4872
5069
|
let localVarQueryParameters = {};
|
|
4873
5070
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -4881,6 +5078,9 @@ class SiaConversionApi {
|
|
|
4881
5078
|
if (enforceStrictOfferPhaseLongTextOutput !== undefined) {
|
|
4882
5079
|
localVarQueryParameters['EnforceStrictOfferPhaseLongTextOutput'] = ObjectSerializer.serialize(enforceStrictOfferPhaseLongTextOutput, "boolean");
|
|
4883
5080
|
}
|
|
5081
|
+
if (exportQuantityDetermination !== undefined) {
|
|
5082
|
+
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
5083
|
+
}
|
|
4884
5084
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4885
5085
|
let localVarUseFormData = false;
|
|
4886
5086
|
if (siaFile !== undefined) {
|
|
@@ -4928,19 +5128,23 @@ class SiaConversionApi {
|
|
|
4928
5128
|
* @param siaFile The input file
|
|
4929
5129
|
* @param destinationOenormType Defaults to Lv2015
|
|
4930
5130
|
* @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
|
|
5131
|
+
* @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.
|
|
4931
5132
|
* @param {*} [options] Override http request options.
|
|
4932
5133
|
*/
|
|
4933
|
-
siaConversionConvertToOenorm(siaFile, destinationOenormType, tryRepairProjectStructure, options = {}) {
|
|
5134
|
+
siaConversionConvertToOenorm(siaFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
4934
5135
|
const localVarPath = this.basePath + '/conversion/sia/oenorm';
|
|
4935
5136
|
let localVarQueryParameters = {};
|
|
4936
5137
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4937
5138
|
let localVarFormParams = {};
|
|
4938
5139
|
if (destinationOenormType !== undefined) {
|
|
4939
|
-
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063'");
|
|
5140
|
+
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
4940
5141
|
}
|
|
4941
5142
|
if (tryRepairProjectStructure !== undefined) {
|
|
4942
5143
|
localVarQueryParameters['TryRepairProjectStructure'] = ObjectSerializer.serialize(tryRepairProjectStructure, "boolean");
|
|
4943
5144
|
}
|
|
5145
|
+
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
5146
|
+
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
5147
|
+
}
|
|
4944
5148
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4945
5149
|
let localVarUseFormData = false;
|
|
4946
5150
|
if (siaFile !== undefined) {
|