@dangl/avacloud-client-node 1.14.0 → 1.17.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 +176 -28
- package/api.js +265 -23
- package/api.js.map +1 -1
- package/api.ts +380 -28
- 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.29.0
|
|
4
4
|
* AVACloud API specification
|
|
5
5
|
*
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.29.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.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;
|
|
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.OenormNoteTextPropertiesDto = 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.DestinationRebType = 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 = exports.AddendumStatusDto = void 0;
|
|
15
15
|
const localVarRequest = require("request");
|
|
16
16
|
let defaultBasePath = 'https://avacloud-api.dangl-it.com';
|
|
17
17
|
// ===============================================
|
|
@@ -141,6 +141,17 @@ class ObjectSerializer {
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
/**
|
|
144
|
+
* This enumeration represents the status of an addendum, 'Nachtrag' in German
|
|
145
|
+
*/
|
|
146
|
+
class AddendumStatusDto {
|
|
147
|
+
static getAttributeTypeMap() {
|
|
148
|
+
return AddendumStatusDto.attributeTypeMap;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
exports.AddendumStatusDto = AddendumStatusDto;
|
|
152
|
+
AddendumStatusDto.discriminator = undefined;
|
|
153
|
+
AddendumStatusDto.attributeTypeMap = [];
|
|
154
|
+
/**
|
|
144
155
|
* Indicates the origin of an element.
|
|
145
156
|
*/
|
|
146
157
|
class AdditionTypeDto {
|
|
@@ -514,6 +525,17 @@ exports.DestinationOenormType = DestinationOenormType;
|
|
|
514
525
|
DestinationOenormType.discriminator = undefined;
|
|
515
526
|
DestinationOenormType.attributeTypeMap = [];
|
|
516
527
|
/**
|
|
528
|
+
* Represents valid REB target types
|
|
529
|
+
*/
|
|
530
|
+
class DestinationRebType {
|
|
531
|
+
static getAttributeTypeMap() {
|
|
532
|
+
return DestinationRebType.attributeTypeMap;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
exports.DestinationRebType = DestinationRebType;
|
|
536
|
+
DestinationRebType.discriminator = undefined;
|
|
537
|
+
DestinationRebType.attributeTypeMap = [];
|
|
538
|
+
/**
|
|
517
539
|
* This enumeration represents the unit of a duration
|
|
518
540
|
*/
|
|
519
541
|
class DurationUnitDto {
|
|
@@ -556,6 +578,11 @@ IElementDto.attributeTypeMap = [
|
|
|
556
578
|
"baseName": "gaebXmlId",
|
|
557
579
|
"type": "string"
|
|
558
580
|
},
|
|
581
|
+
{
|
|
582
|
+
"name": "addendumNumber",
|
|
583
|
+
"baseName": "addendumNumber",
|
|
584
|
+
"type": "string"
|
|
585
|
+
},
|
|
559
586
|
{
|
|
560
587
|
"name": "elementTypeDiscriminator",
|
|
561
588
|
"baseName": "elementTypeDiscriminator",
|
|
@@ -740,6 +767,16 @@ ItemNumberDto.attributeTypeMap = [
|
|
|
740
767
|
"name": "isLot",
|
|
741
768
|
"baseName": "isLot",
|
|
742
769
|
"type": "boolean"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"name": "hierarchyLevel",
|
|
773
|
+
"baseName": "hierarchyLevel",
|
|
774
|
+
"type": "number"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"name": "isAttachedToPosition",
|
|
778
|
+
"baseName": "isAttachedToPosition",
|
|
779
|
+
"type": "boolean"
|
|
743
780
|
}
|
|
744
781
|
];
|
|
745
782
|
/**
|
|
@@ -772,6 +809,26 @@ ItemNumberSchemaDto.attributeTypeMap = [
|
|
|
772
809
|
"name": "filler",
|
|
773
810
|
"baseName": "filler",
|
|
774
811
|
"type": "string"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"name": "identifier",
|
|
815
|
+
"baseName": "identifier",
|
|
816
|
+
"type": "string"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "skipNonExistingLevelsInPositionItemNumbers",
|
|
820
|
+
"baseName": "skipNonExistingLevelsInPositionItemNumbers",
|
|
821
|
+
"type": "boolean"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"name": "skippedTiersFiller",
|
|
825
|
+
"baseName": "skippedTiersFiller",
|
|
826
|
+
"type": "string"
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"name": "schemaIsCorrectlyDefined",
|
|
830
|
+
"baseName": "schemaIsCorrectlyDefined",
|
|
831
|
+
"type": "boolean"
|
|
775
832
|
}
|
|
776
833
|
];
|
|
777
834
|
/**
|
|
@@ -966,6 +1023,33 @@ NoteTextDto.attributeTypeMap = [
|
|
|
966
1023
|
"name": "descriptionId",
|
|
967
1024
|
"baseName": "descriptionId",
|
|
968
1025
|
"type": "string"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"name": "oenormNoteTextProperties",
|
|
1029
|
+
"baseName": "oenormNoteTextProperties",
|
|
1030
|
+
"type": "OenormNoteTextPropertiesDto"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"name": "hasBidderCommentInHtmlLongText",
|
|
1034
|
+
"baseName": "hasBidderCommentInHtmlLongText",
|
|
1035
|
+
"type": "boolean"
|
|
1036
|
+
}
|
|
1037
|
+
];
|
|
1038
|
+
/**
|
|
1039
|
+
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
|
|
1040
|
+
*/
|
|
1041
|
+
class OenormNoteTextPropertiesDto {
|
|
1042
|
+
static getAttributeTypeMap() {
|
|
1043
|
+
return OenormNoteTextPropertiesDto.attributeTypeMap;
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
exports.OenormNoteTextPropertiesDto = OenormNoteTextPropertiesDto;
|
|
1047
|
+
OenormNoteTextPropertiesDto.discriminator = undefined;
|
|
1048
|
+
OenormNoteTextPropertiesDto.attributeTypeMap = [
|
|
1049
|
+
{
|
|
1050
|
+
"name": "originCode",
|
|
1051
|
+
"baseName": "originCode",
|
|
1052
|
+
"type": "OenormOriginCodeDto"
|
|
969
1053
|
}
|
|
970
1054
|
];
|
|
971
1055
|
/**
|
|
@@ -1004,6 +1088,11 @@ OenormPositionPropertiesDto.attributeTypeMap = [
|
|
|
1004
1088
|
"name": "isMainPosition",
|
|
1005
1089
|
"baseName": "isMainPosition",
|
|
1006
1090
|
"type": "boolean"
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"name": "isUndividedPosition",
|
|
1094
|
+
"baseName": "isUndividedPosition",
|
|
1095
|
+
"type": "boolean"
|
|
1007
1096
|
}
|
|
1008
1097
|
];
|
|
1009
1098
|
/**
|
|
@@ -1388,6 +1477,21 @@ PositionDto.attributeTypeMap = [
|
|
|
1388
1477
|
"name": "descriptionId",
|
|
1389
1478
|
"baseName": "descriptionId",
|
|
1390
1479
|
"type": "string"
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"name": "hierarchyLevel",
|
|
1483
|
+
"baseName": "hierarchyLevel",
|
|
1484
|
+
"type": "number"
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"name": "addendumStatus",
|
|
1488
|
+
"baseName": "addendumStatus",
|
|
1489
|
+
"type": "AddendumStatusDto"
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"name": "hasBidderCommentInHtmlLongText",
|
|
1493
|
+
"baseName": "hasBidderCommentInHtmlLongText",
|
|
1494
|
+
"type": "boolean"
|
|
1391
1495
|
}
|
|
1392
1496
|
];
|
|
1393
1497
|
/**
|
|
@@ -1911,6 +2015,11 @@ ServiceSpecificationDto.attributeTypeMap = [
|
|
|
1911
2015
|
"baseName": "deductionFactor",
|
|
1912
2016
|
"type": "number"
|
|
1913
2017
|
},
|
|
2018
|
+
{
|
|
2019
|
+
"name": "absoluteDeduction",
|
|
2020
|
+
"baseName": "absoluteDeduction",
|
|
2021
|
+
"type": "number"
|
|
2022
|
+
},
|
|
1914
2023
|
{
|
|
1915
2024
|
"name": "totalPrice",
|
|
1916
2025
|
"baseName": "totalPrice",
|
|
@@ -2050,6 +2159,16 @@ ServiceSpecificationDto.attributeTypeMap = [
|
|
|
2050
2159
|
"name": "typeOfApproval",
|
|
2051
2160
|
"baseName": "typeOfApproval",
|
|
2052
2161
|
"type": "string"
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
"name": "addendumNumber",
|
|
2165
|
+
"baseName": "addendumNumber",
|
|
2166
|
+
"type": "string"
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
"name": "addendumStatus",
|
|
2170
|
+
"baseName": "addendumStatus",
|
|
2171
|
+
"type": "AddendumStatusDto"
|
|
2053
2172
|
}
|
|
2054
2173
|
];
|
|
2055
2174
|
class ServiceSpecificationGroupDto extends IElementDto {
|
|
@@ -2130,6 +2249,11 @@ ServiceSpecificationGroupDto.attributeTypeMap = [
|
|
|
2130
2249
|
"baseName": "deductionFactor",
|
|
2131
2250
|
"type": "number"
|
|
2132
2251
|
},
|
|
2252
|
+
{
|
|
2253
|
+
"name": "absoluteDeduction",
|
|
2254
|
+
"baseName": "absoluteDeduction",
|
|
2255
|
+
"type": "number"
|
|
2256
|
+
},
|
|
2133
2257
|
{
|
|
2134
2258
|
"name": "totalPrice",
|
|
2135
2259
|
"baseName": "totalPrice",
|
|
@@ -2199,6 +2323,16 @@ ServiceSpecificationGroupDto.attributeTypeMap = [
|
|
|
2199
2323
|
"name": "oenormProperties",
|
|
2200
2324
|
"baseName": "oenormProperties",
|
|
2201
2325
|
"type": "OenormPropertiesDto"
|
|
2326
|
+
},
|
|
2327
|
+
{
|
|
2328
|
+
"name": "hierarchyLevel",
|
|
2329
|
+
"baseName": "hierarchyLevel",
|
|
2330
|
+
"type": "number"
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
"name": "addendumStatus",
|
|
2334
|
+
"baseName": "addendumStatus",
|
|
2335
|
+
"type": "AddendumStatusDto"
|
|
2202
2336
|
}
|
|
2203
2337
|
];
|
|
2204
2338
|
/**
|
|
@@ -2336,6 +2470,11 @@ SubDescriptionDto.attributeTypeMap = [
|
|
|
2336
2470
|
"name": "descriptionId",
|
|
2337
2471
|
"baseName": "descriptionId",
|
|
2338
2472
|
"type": "string"
|
|
2473
|
+
},
|
|
2474
|
+
{
|
|
2475
|
+
"name": "hasBidderCommentInHtmlLongText",
|
|
2476
|
+
"baseName": "hasBidderCommentInHtmlLongText",
|
|
2477
|
+
"type": "boolean"
|
|
2339
2478
|
}
|
|
2340
2479
|
];
|
|
2341
2480
|
class TokenLoginPost {
|
|
@@ -2486,6 +2625,7 @@ WarrantyDurationDto.attributeTypeMap = [
|
|
|
2486
2625
|
];
|
|
2487
2626
|
let enumsMap = {};
|
|
2488
2627
|
let typeMap = {
|
|
2628
|
+
"AddendumStatusDto": AddendumStatusDto,
|
|
2489
2629
|
"AdditionTypeDto": AdditionTypeDto,
|
|
2490
2630
|
"ApiError": ApiError,
|
|
2491
2631
|
"ArticleDataDto": ArticleDataDto,
|
|
@@ -2501,6 +2641,7 @@ let typeMap = {
|
|
|
2501
2641
|
"DestinationGaebExchangePhase": DestinationGaebExchangePhase,
|
|
2502
2642
|
"DestinationGaebType": DestinationGaebType,
|
|
2503
2643
|
"DestinationOenormType": DestinationOenormType,
|
|
2644
|
+
"DestinationRebType": DestinationRebType,
|
|
2504
2645
|
"DurationUnitDto": DurationUnitDto,
|
|
2505
2646
|
"ExchangePhaseDto": ExchangePhaseDto,
|
|
2506
2647
|
"ExecutionDescriptionDto": ExecutionDescriptionDto,
|
|
@@ -2517,6 +2658,7 @@ let typeMap = {
|
|
|
2517
2658
|
"LabourPriceComponentDto": LabourPriceComponentDto,
|
|
2518
2659
|
"LoginPost": LoginPost,
|
|
2519
2660
|
"NoteTextDto": NoteTextDto,
|
|
2661
|
+
"OenormNoteTextPropertiesDto": OenormNoteTextPropertiesDto,
|
|
2520
2662
|
"OenormOriginCodeDto": OenormOriginCodeDto,
|
|
2521
2663
|
"OenormPositionPropertiesDto": OenormPositionPropertiesDto,
|
|
2522
2664
|
"OenormPropertiesDto": OenormPropertiesDto,
|
|
@@ -2772,9 +2914,10 @@ class AslvConversionApi {
|
|
|
2772
2914
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
2773
2915
|
* @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
2916
|
* @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.
|
|
2917
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
2775
2918
|
* @param {*} [options] Override http request options.
|
|
2776
2919
|
*/
|
|
2777
|
-
aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
2920
|
+
aslvConversionConvertToGaeb(aslvFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
|
|
2778
2921
|
const localVarPath = this.basePath + '/conversion/aslv/gaeb';
|
|
2779
2922
|
let localVarQueryParameters = {};
|
|
2780
2923
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -2791,6 +2934,9 @@ class AslvConversionApi {
|
|
|
2791
2934
|
if (exportQuantityDetermination !== undefined) {
|
|
2792
2935
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
2793
2936
|
}
|
|
2937
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
2938
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
2939
|
+
}
|
|
2794
2940
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2795
2941
|
let localVarUseFormData = false;
|
|
2796
2942
|
if (aslvFile !== undefined) {
|
|
@@ -2839,9 +2985,10 @@ class AslvConversionApi {
|
|
|
2839
2985
|
* @param destinationOenormType Defaults to Lv2015
|
|
2840
2986
|
* @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
2987
|
* @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.
|
|
2988
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
2842
2989
|
* @param {*} [options] Override http request options.
|
|
2843
2990
|
*/
|
|
2844
|
-
aslvConversionConvertToOenorm(aslvFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
2991
|
+
aslvConversionConvertToOenorm(aslvFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|
|
2845
2992
|
const localVarPath = this.basePath + '/conversion/aslv/oenorm';
|
|
2846
2993
|
let localVarQueryParameters = {};
|
|
2847
2994
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -2855,6 +3002,9 @@ class AslvConversionApi {
|
|
|
2855
3002
|
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
2856
3003
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
2857
3004
|
}
|
|
3005
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
3006
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
3007
|
+
}
|
|
2858
3008
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2859
3009
|
let localVarUseFormData = false;
|
|
2860
3010
|
if (aslvFile !== undefined) {
|
|
@@ -2943,11 +3093,12 @@ class AvaConversionApi {
|
|
|
2943
3093
|
*
|
|
2944
3094
|
* @summary Converts Dangl.AVA projects to Dangl.AVA. This is useful when you want to generate the calculated properties.
|
|
2945
3095
|
* @param avaProject The Dangl.AVA project
|
|
3096
|
+
* @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
|
|
2946
3097
|
* @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
2947
3098
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
2948
3099
|
* @param {*} [options] Override http request options.
|
|
2949
3100
|
*/
|
|
2950
|
-
avaConversionConvertToAva(avaProject, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
|
|
3101
|
+
avaConversionConvertToAva(avaProject, tryAutoGenerateItemNumbersAndSchema, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
|
|
2951
3102
|
const localVarPath = this.basePath + '/conversion/ava/ava';
|
|
2952
3103
|
let localVarQueryParameters = {};
|
|
2953
3104
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -2956,6 +3107,9 @@ class AvaConversionApi {
|
|
|
2956
3107
|
if (avaProject === null || avaProject === undefined) {
|
|
2957
3108
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToAva.');
|
|
2958
3109
|
}
|
|
3110
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
3111
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
3112
|
+
}
|
|
2959
3113
|
if (removePlainTextLongTexts !== undefined) {
|
|
2960
3114
|
localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
|
|
2961
3115
|
}
|
|
@@ -3004,12 +3158,13 @@ class AvaConversionApi {
|
|
|
3004
3158
|
*
|
|
3005
3159
|
* @summary Converts Dangl.AVA projects to Excel
|
|
3006
3160
|
* @param avaProject The Dangl.AVA project
|
|
3161
|
+
* @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
|
|
3007
3162
|
* @param writePrices Defaults to true
|
|
3008
3163
|
* @param writeLongTexts Defaults to true
|
|
3009
3164
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
3010
3165
|
* @param {*} [options] Override http request options.
|
|
3011
3166
|
*/
|
|
3012
|
-
avaConversionConvertToExcel(avaProject, writePrices, writeLongTexts, conversionCulture, options = {}) {
|
|
3167
|
+
avaConversionConvertToExcel(avaProject, tryAutoGenerateItemNumbersAndSchema, writePrices, writeLongTexts, conversionCulture, options = {}) {
|
|
3013
3168
|
const localVarPath = this.basePath + '/conversion/ava/excel';
|
|
3014
3169
|
let localVarQueryParameters = {};
|
|
3015
3170
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -3018,6 +3173,9 @@ class AvaConversionApi {
|
|
|
3018
3173
|
if (avaProject === null || avaProject === undefined) {
|
|
3019
3174
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToExcel.');
|
|
3020
3175
|
}
|
|
3176
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
3177
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
3178
|
+
}
|
|
3021
3179
|
if (writePrices !== undefined) {
|
|
3022
3180
|
localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
|
|
3023
3181
|
}
|
|
@@ -3070,13 +3228,15 @@ class AvaConversionApi {
|
|
|
3070
3228
|
*
|
|
3071
3229
|
* @summary Converts Dangl.AVA projects to GAEB
|
|
3072
3230
|
* @param avaProject The Dangl.AVA project
|
|
3231
|
+
* @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
|
|
3073
3232
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
3074
3233
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
3075
3234
|
* @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
3235
|
* @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.
|
|
3236
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3077
3237
|
* @param {*} [options] Override http request options.
|
|
3078
3238
|
*/
|
|
3079
|
-
avaConversionConvertToGaeb(avaProject, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
3239
|
+
avaConversionConvertToGaeb(avaProject, tryAutoGenerateItemNumbersAndSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
|
|
3080
3240
|
const localVarPath = this.basePath + '/conversion/ava/gaeb';
|
|
3081
3241
|
let localVarQueryParameters = {};
|
|
3082
3242
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -3085,6 +3245,9 @@ class AvaConversionApi {
|
|
|
3085
3245
|
if (avaProject === null || avaProject === undefined) {
|
|
3086
3246
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToGaeb.');
|
|
3087
3247
|
}
|
|
3248
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
3249
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
3250
|
+
}
|
|
3088
3251
|
if (destinationGaebType !== undefined) {
|
|
3089
3252
|
localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
|
|
3090
3253
|
}
|
|
@@ -3097,6 +3260,9 @@ class AvaConversionApi {
|
|
|
3097
3260
|
if (exportQuantityDetermination !== undefined) {
|
|
3098
3261
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
3099
3262
|
}
|
|
3263
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
3264
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
3265
|
+
}
|
|
3100
3266
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3101
3267
|
let localVarUseFormData = false;
|
|
3102
3268
|
let localVarRequestOptions = {
|
|
@@ -3140,12 +3306,14 @@ class AvaConversionApi {
|
|
|
3140
3306
|
*
|
|
3141
3307
|
* @summary Converts Dangl.AVA projects to Oenorm
|
|
3142
3308
|
* @param avaProject The Dangl.AVA project
|
|
3309
|
+
* @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
|
|
3143
3310
|
* @param destinationOenormType Defaults to Lv2015
|
|
3144
3311
|
* @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
3312
|
* @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.
|
|
3313
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3146
3314
|
* @param {*} [options] Override http request options.
|
|
3147
3315
|
*/
|
|
3148
|
-
avaConversionConvertToOenorm(avaProject, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
3316
|
+
avaConversionConvertToOenorm(avaProject, tryAutoGenerateItemNumbersAndSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|
|
3149
3317
|
const localVarPath = this.basePath + '/conversion/ava/oenorm';
|
|
3150
3318
|
let localVarQueryParameters = {};
|
|
3151
3319
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -3154,6 +3322,9 @@ class AvaConversionApi {
|
|
|
3154
3322
|
if (avaProject === null || avaProject === undefined) {
|
|
3155
3323
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToOenorm.');
|
|
3156
3324
|
}
|
|
3325
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
3326
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
3327
|
+
}
|
|
3157
3328
|
if (destinationOenormType !== undefined) {
|
|
3158
3329
|
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
3159
3330
|
}
|
|
@@ -3163,6 +3334,9 @@ class AvaConversionApi {
|
|
|
3163
3334
|
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
3164
3335
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
3165
3336
|
}
|
|
3337
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
3338
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
3339
|
+
}
|
|
3166
3340
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3167
3341
|
let localVarUseFormData = false;
|
|
3168
3342
|
let localVarRequestOptions = {
|
|
@@ -3206,9 +3380,11 @@ class AvaConversionApi {
|
|
|
3206
3380
|
*
|
|
3207
3381
|
* @summary Converts Dangl.AVA projects to REB
|
|
3208
3382
|
* @param avaProject The Dangl.AVA project
|
|
3383
|
+
* @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
|
|
3384
|
+
* @param destinationRebType Defaults to D11
|
|
3209
3385
|
* @param {*} [options] Override http request options.
|
|
3210
3386
|
*/
|
|
3211
|
-
avaConversionConvertToReb(avaProject, options = {}) {
|
|
3387
|
+
avaConversionConvertToReb(avaProject, tryAutoGenerateItemNumbersAndSchema, destinationRebType, options = {}) {
|
|
3212
3388
|
const localVarPath = this.basePath + '/conversion/ava/reb';
|
|
3213
3389
|
let localVarQueryParameters = {};
|
|
3214
3390
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -3217,6 +3393,12 @@ class AvaConversionApi {
|
|
|
3217
3393
|
if (avaProject === null || avaProject === undefined) {
|
|
3218
3394
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToReb.');
|
|
3219
3395
|
}
|
|
3396
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
3397
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
3398
|
+
}
|
|
3399
|
+
if (destinationRebType !== undefined) {
|
|
3400
|
+
localVarQueryParameters['DestinationRebType'] = ObjectSerializer.serialize(destinationRebType, "'D11' | 'X31GaebXmlV32'");
|
|
3401
|
+
}
|
|
3220
3402
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3221
3403
|
let localVarUseFormData = false;
|
|
3222
3404
|
let localVarRequestOptions = {
|
|
@@ -3260,9 +3442,10 @@ class AvaConversionApi {
|
|
|
3260
3442
|
*
|
|
3261
3443
|
* @summary Converts Dangl.AVA projects to SIA 451
|
|
3262
3444
|
* @param avaProject The Dangl.AVA project
|
|
3445
|
+
* @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
|
|
3263
3446
|
* @param {*} [options] Override http request options.
|
|
3264
3447
|
*/
|
|
3265
|
-
avaConversionConvertToSia(avaProject, options = {}) {
|
|
3448
|
+
avaConversionConvertToSia(avaProject, tryAutoGenerateItemNumbersAndSchema, options = {}) {
|
|
3266
3449
|
const localVarPath = this.basePath + '/conversion/ava/sia';
|
|
3267
3450
|
let localVarQueryParameters = {};
|
|
3268
3451
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -3271,6 +3454,9 @@ class AvaConversionApi {
|
|
|
3271
3454
|
if (avaProject === null || avaProject === undefined) {
|
|
3272
3455
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToSia.');
|
|
3273
3456
|
}
|
|
3457
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
3458
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
3459
|
+
}
|
|
3274
3460
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3275
3461
|
let localVarUseFormData = false;
|
|
3276
3462
|
let localVarRequestOptions = {
|
|
@@ -3852,9 +4038,10 @@ class ExcelConversionApi {
|
|
|
3852
4038
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
3853
4039
|
* @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
4040
|
* @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.
|
|
4041
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3855
4042
|
* @param {*} [options] Override http request options.
|
|
3856
4043
|
*/
|
|
3857
|
-
excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
4044
|
+
excelConversionConvertToGaeb(excelFile, readNewElements, rebuildItemNumberSchema, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
|
|
3858
4045
|
const localVarPath = this.basePath + '/conversion/excel/gaeb';
|
|
3859
4046
|
let localVarQueryParameters = {};
|
|
3860
4047
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -3877,6 +4064,9 @@ class ExcelConversionApi {
|
|
|
3877
4064
|
if (exportQuantityDetermination !== undefined) {
|
|
3878
4065
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
3879
4066
|
}
|
|
4067
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4068
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4069
|
+
}
|
|
3880
4070
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3881
4071
|
let localVarUseFormData = false;
|
|
3882
4072
|
if (excelFile !== undefined) {
|
|
@@ -3927,9 +4117,10 @@ class ExcelConversionApi {
|
|
|
3927
4117
|
* @param destinationOenormType Defaults to Lv2015
|
|
3928
4118
|
* @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
4119
|
* @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.
|
|
4120
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3930
4121
|
* @param {*} [options] Override http request options.
|
|
3931
4122
|
*/
|
|
3932
|
-
excelConversionConvertToOenorm(excelFile, readNewElements, rebuildItemNumberSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
4123
|
+
excelConversionConvertToOenorm(excelFile, readNewElements, rebuildItemNumberSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|
|
3933
4124
|
const localVarPath = this.basePath + '/conversion/excel/oenorm';
|
|
3934
4125
|
let localVarQueryParameters = {};
|
|
3935
4126
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -3949,6 +4140,9 @@ class ExcelConversionApi {
|
|
|
3949
4140
|
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
3950
4141
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
3951
4142
|
}
|
|
4143
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4144
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4145
|
+
}
|
|
3952
4146
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3953
4147
|
let localVarUseFormData = false;
|
|
3954
4148
|
if (excelFile !== undefined) {
|
|
@@ -4037,15 +4231,19 @@ class GaebConversionApi {
|
|
|
4037
4231
|
*
|
|
4038
4232
|
* @summary Converts GAEB files to Dangl.AVA projects
|
|
4039
4233
|
* @param gaebFile The input file
|
|
4234
|
+
* @param supportSkippedItemNumberLevelsInPositions Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group levels and one position levels - but the ItemNumber of the position is just '01.02', then it will be displayed as '01.__.02' if this is set to true.
|
|
4040
4235
|
* @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
4041
4236
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
4042
4237
|
* @param {*} [options] Override http request options.
|
|
4043
4238
|
*/
|
|
4044
|
-
gaebConversionConvertToAva(gaebFile, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
|
|
4239
|
+
gaebConversionConvertToAva(gaebFile, supportSkippedItemNumberLevelsInPositions, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
|
|
4045
4240
|
const localVarPath = this.basePath + '/conversion/gaeb/ava';
|
|
4046
4241
|
let localVarQueryParameters = {};
|
|
4047
4242
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4048
4243
|
let localVarFormParams = {};
|
|
4244
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
4245
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
4246
|
+
}
|
|
4049
4247
|
if (removePlainTextLongTexts !== undefined) {
|
|
4050
4248
|
localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
|
|
4051
4249
|
}
|
|
@@ -4097,16 +4295,20 @@ class GaebConversionApi {
|
|
|
4097
4295
|
*
|
|
4098
4296
|
* @summary Converts GAEB files to Excel
|
|
4099
4297
|
* @param gaebFile The input file
|
|
4298
|
+
* @param supportSkippedItemNumberLevelsInPositions Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group levels and one position levels - but the ItemNumber of the position is just '01.02', then it will be displayed as '01.__.02' if this is set to true.
|
|
4100
4299
|
* @param writePrices Defaults to true
|
|
4101
4300
|
* @param writeLongTexts Defaults to true
|
|
4102
4301
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
4103
4302
|
* @param {*} [options] Override http request options.
|
|
4104
4303
|
*/
|
|
4105
|
-
gaebConversionConvertToExcel(gaebFile, writePrices, writeLongTexts, conversionCulture, options = {}) {
|
|
4304
|
+
gaebConversionConvertToExcel(gaebFile, supportSkippedItemNumberLevelsInPositions, writePrices, writeLongTexts, conversionCulture, options = {}) {
|
|
4106
4305
|
const localVarPath = this.basePath + '/conversion/gaeb/excel';
|
|
4107
4306
|
let localVarQueryParameters = {};
|
|
4108
4307
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4109
4308
|
let localVarFormParams = {};
|
|
4309
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
4310
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
4311
|
+
}
|
|
4110
4312
|
if (writePrices !== undefined) {
|
|
4111
4313
|
localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
|
|
4112
4314
|
}
|
|
@@ -4161,17 +4363,22 @@ class GaebConversionApi {
|
|
|
4161
4363
|
*
|
|
4162
4364
|
* @summary Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files.
|
|
4163
4365
|
* @param gaebFile The input file
|
|
4366
|
+
* @param supportSkippedItemNumberLevelsInPositions Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group levels and one position levels - but the ItemNumber of the position is just '01.02', then it will be displayed as '01.__.02' if this is set to true.
|
|
4164
4367
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
4165
4368
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4166
4369
|
* @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
4370
|
* @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.
|
|
4371
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
4168
4372
|
* @param {*} [options] Override http request options.
|
|
4169
4373
|
*/
|
|
4170
|
-
gaebConversionConvertToGaeb(gaebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
4374
|
+
gaebConversionConvertToGaeb(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
|
|
4171
4375
|
const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
|
|
4172
4376
|
let localVarQueryParameters = {};
|
|
4173
4377
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4174
4378
|
let localVarFormParams = {};
|
|
4379
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
4380
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
4381
|
+
}
|
|
4175
4382
|
if (destinationGaebType !== undefined) {
|
|
4176
4383
|
localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
|
|
4177
4384
|
}
|
|
@@ -4184,6 +4391,9 @@ class GaebConversionApi {
|
|
|
4184
4391
|
if (exportQuantityDetermination !== undefined) {
|
|
4185
4392
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4186
4393
|
}
|
|
4394
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4395
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4396
|
+
}
|
|
4187
4397
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4188
4398
|
let localVarUseFormData = false;
|
|
4189
4399
|
if (gaebFile !== undefined) {
|
|
@@ -4229,16 +4439,21 @@ class GaebConversionApi {
|
|
|
4229
4439
|
*
|
|
4230
4440
|
* @summary Converts GAEB files to Oenorm files
|
|
4231
4441
|
* @param gaebFile The input file
|
|
4442
|
+
* @param supportSkippedItemNumberLevelsInPositions Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group levels and one position levels - but the ItemNumber of the position is just '01.02', then it will be displayed as '01.__.02' if this is set to true.
|
|
4232
4443
|
* @param destinationOenormType Defaults to Lv2015
|
|
4233
4444
|
* @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
4445
|
* @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.
|
|
4446
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
4235
4447
|
* @param {*} [options] Override http request options.
|
|
4236
4448
|
*/
|
|
4237
|
-
gaebConversionConvertToOenorm(gaebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
4449
|
+
gaebConversionConvertToOenorm(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|
|
4238
4450
|
const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
|
|
4239
4451
|
let localVarQueryParameters = {};
|
|
4240
4452
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4241
4453
|
let localVarFormParams = {};
|
|
4454
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
4455
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
4456
|
+
}
|
|
4242
4457
|
if (destinationOenormType !== undefined) {
|
|
4243
4458
|
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
4244
4459
|
}
|
|
@@ -4248,6 +4463,9 @@ class GaebConversionApi {
|
|
|
4248
4463
|
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
4249
4464
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4250
4465
|
}
|
|
4466
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4467
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4468
|
+
}
|
|
4251
4469
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4252
4470
|
let localVarUseFormData = false;
|
|
4253
4471
|
if (gaebFile !== undefined) {
|
|
@@ -4464,9 +4682,10 @@ class OenormConversionApi {
|
|
|
4464
4682
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4465
4683
|
* @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
4684
|
* @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.
|
|
4685
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
4467
4686
|
* @param {*} [options] Override http request options.
|
|
4468
4687
|
*/
|
|
4469
|
-
oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
4688
|
+
oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
|
|
4470
4689
|
const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
|
|
4471
4690
|
let localVarQueryParameters = {};
|
|
4472
4691
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -4483,6 +4702,9 @@ class OenormConversionApi {
|
|
|
4483
4702
|
if (exportQuantityDetermination !== undefined) {
|
|
4484
4703
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4485
4704
|
}
|
|
4705
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4706
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4707
|
+
}
|
|
4486
4708
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4487
4709
|
let localVarUseFormData = false;
|
|
4488
4710
|
if (oenormFile !== undefined) {
|
|
@@ -4531,9 +4753,10 @@ class OenormConversionApi {
|
|
|
4531
4753
|
* @param destinationOenormType Defaults to Lv2015
|
|
4532
4754
|
* @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
4755
|
* @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.
|
|
4756
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
4534
4757
|
* @param {*} [options] Override http request options.
|
|
4535
4758
|
*/
|
|
4536
|
-
oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
4759
|
+
oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|
|
4537
4760
|
const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
|
|
4538
4761
|
let localVarQueryParameters = {};
|
|
4539
4762
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -4547,6 +4770,9 @@ class OenormConversionApi {
|
|
|
4547
4770
|
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
4548
4771
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4549
4772
|
}
|
|
4773
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4774
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4775
|
+
}
|
|
4550
4776
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4551
4777
|
let localVarUseFormData = false;
|
|
4552
4778
|
if (oenormFile !== undefined) {
|
|
@@ -4763,9 +4989,10 @@ class RebConversionApi {
|
|
|
4763
4989
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4764
4990
|
* @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
4991
|
* @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.
|
|
4992
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
4766
4993
|
* @param {*} [options] Override http request options.
|
|
4767
4994
|
*/
|
|
4768
|
-
rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
4995
|
+
rebConversionConvertToGaeb(rebFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
|
|
4769
4996
|
const localVarPath = this.basePath + '/conversion/reb/gaeb';
|
|
4770
4997
|
let localVarQueryParameters = {};
|
|
4771
4998
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -4782,6 +5009,9 @@ class RebConversionApi {
|
|
|
4782
5009
|
if (exportQuantityDetermination !== undefined) {
|
|
4783
5010
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4784
5011
|
}
|
|
5012
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
5013
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
5014
|
+
}
|
|
4785
5015
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4786
5016
|
let localVarUseFormData = false;
|
|
4787
5017
|
if (rebFile !== undefined) {
|
|
@@ -4830,9 +5060,10 @@ class RebConversionApi {
|
|
|
4830
5060
|
* @param destinationOenormType Defaults to Lv2015
|
|
4831
5061
|
* @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
5062
|
* @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.
|
|
5063
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
4833
5064
|
* @param {*} [options] Override http request options.
|
|
4834
5065
|
*/
|
|
4835
|
-
rebConversionConvertToOenorm(rebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
5066
|
+
rebConversionConvertToOenorm(rebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|
|
4836
5067
|
const localVarPath = this.basePath + '/conversion/reb/oenorm';
|
|
4837
5068
|
let localVarQueryParameters = {};
|
|
4838
5069
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -4846,6 +5077,9 @@ class RebConversionApi {
|
|
|
4846
5077
|
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
4847
5078
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4848
5079
|
}
|
|
5080
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
5081
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
5082
|
+
}
|
|
4849
5083
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4850
5084
|
let localVarUseFormData = false;
|
|
4851
5085
|
if (rebFile !== undefined) {
|
|
@@ -5062,9 +5296,10 @@ class SiaConversionApi {
|
|
|
5062
5296
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5063
5297
|
* @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
5298
|
* @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.
|
|
5299
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
5065
5300
|
* @param {*} [options] Override http request options.
|
|
5066
5301
|
*/
|
|
5067
|
-
siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, options = {}) {
|
|
5302
|
+
siaConversionConvertToGaeb(siaFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, options = {}) {
|
|
5068
5303
|
const localVarPath = this.basePath + '/conversion/sia/gaeb';
|
|
5069
5304
|
let localVarQueryParameters = {};
|
|
5070
5305
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -5081,6 +5316,9 @@ class SiaConversionApi {
|
|
|
5081
5316
|
if (exportQuantityDetermination !== undefined) {
|
|
5082
5317
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
5083
5318
|
}
|
|
5319
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
5320
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
5321
|
+
}
|
|
5084
5322
|
Object.assign(localVarHeaderParams, options.headers);
|
|
5085
5323
|
let localVarUseFormData = false;
|
|
5086
5324
|
if (siaFile !== undefined) {
|
|
@@ -5129,9 +5367,10 @@ class SiaConversionApi {
|
|
|
5129
5367
|
* @param destinationOenormType Defaults to Lv2015
|
|
5130
5368
|
* @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
5369
|
* @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.
|
|
5370
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
5132
5371
|
* @param {*} [options] Override http request options.
|
|
5133
5372
|
*/
|
|
5134
|
-
siaConversionConvertToOenorm(siaFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, options = {}) {
|
|
5373
|
+
siaConversionConvertToOenorm(siaFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|
|
5135
5374
|
const localVarPath = this.basePath + '/conversion/sia/oenorm';
|
|
5136
5375
|
let localVarQueryParameters = {};
|
|
5137
5376
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -5145,6 +5384,9 @@ class SiaConversionApi {
|
|
|
5145
5384
|
if (skipTryEnforceSchemaCompliantXmlOutput !== undefined) {
|
|
5146
5385
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
5147
5386
|
}
|
|
5387
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
5388
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
5389
|
+
}
|
|
5148
5390
|
Object.assign(localVarHeaderParams, options.headers);
|
|
5149
5391
|
let localVarUseFormData = false;
|
|
5150
5392
|
if (siaFile !== undefined) {
|