@dangl/avacloud-client-node 1.21.0 → 1.22.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 +172 -60
- package/api.js +161 -32
- package/api.js.map +1 -1
- package/api.ts +259 -64
- 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.40.0
|
|
4
4
|
* AVACloud API specification
|
|
5
5
|
*
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.40.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.ValidationApi = exports.ValidationApiApiKeys = exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = void 0;
|
|
14
|
+
exports.PostAvaSourceOptions = exports.PostAvaProjectValidationSourceOptions = exports.PositionTypeDto = exports.PositionHoldOutPropertiesDto = exports.PositionDto = exports.PositionComplementingTypeDto = exports.PartyInformationDto = exports.OriginDto = exports.OenormPropertiesDto = exports.OenormPositionPropertiesDto = exports.OenormOriginCodeDto = exports.OenormNoteTextPropertiesDto = exports.ObjectValidationCheckDetails = exports.NoteTextDto = exports.LoginPost = exports.LabourPriceComponentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.ItemNumberDto = exports.HttpStatusCode = exports.HoldOutTypeDto = exports.HoldOutDurationUnitDto = exports.GrossPriceComponentDto = exports.GetStatus = exports.ForgotPasswordPost = exports.FileValidationSourceType = exports.ExecutionDescriptionDto = exports.IElementDto = exports.ExchangePhaseDto = exports.DurationUnitDto = exports.DestinationRebType = exports.DestinationOenormType = exports.DestinationGaebType = exports.DestinationGaebExchangePhase = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.CommerceInquiryTypeDto = 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
|
+
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.XmlSchemaValidationCheckDetails = exports.WarrantyDurationDto = exports.ValidationType = exports.ValidationSeverity = exports.ValidationResult = exports.ValidationCheckType = exports.ValidationCheckResult = exports.TradeDiscountDto = exports.TokenResponseGet = exports.TokenRefreshPost = exports.TokenLoginPost = exports.SubDescriptionDto = exports.StandardizedDescriptionDto = exports.StandardReferenceTypeDto = exports.SpecialAwardKindDto = exports.ServiceTypeDto = exports.ServiceSpecificationGroupDto = exports.ServiceSpecificationDto = exports.ServiceSpecificationCommercePropertiesDto = exports.STLBReferenceDto = exports.STLBKeyDto = exports.ResponseErrorType = exports.RegisterPost = exports.QuantityAssignmentDto = exports.ProjectValidationCheckDetails = exports.ProjectInformationDto = exports.ProjectDto = exports.ProductDataDto = exports.PriceTypeDto = exports.PriceRoundingModeDto = exports.PriceInformationDto = exports.PriceComponentTypeDto = exports.PriceComponentDto = exports.PostOenormDestinationOptions = exports.PostGaebDestinationOptions = void 0;
|
|
16
|
+
exports.ValidationApi = exports.ValidationApiApiKeys = exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = exports.RebConversionApi = exports.RebConversionApiApiKeys = exports.OenormConversionApi = void 0;
|
|
17
17
|
const localVarRequest = require("request");
|
|
18
18
|
let defaultBasePath = 'https://avacloud-api.dangl-it.com';
|
|
19
19
|
// ===============================================
|
|
@@ -485,6 +485,11 @@ CommercePropertiesDto.attributeTypeMap = [
|
|
|
485
485
|
"name": "priceBasis",
|
|
486
486
|
"baseName": "priceBasis",
|
|
487
487
|
"type": "number"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"name": "subPositionIdentifier",
|
|
491
|
+
"baseName": "subPositionIdentifier",
|
|
492
|
+
"type": "string"
|
|
488
493
|
}
|
|
489
494
|
];
|
|
490
495
|
/**
|
|
@@ -756,6 +761,28 @@ GrossPriceComponentDto.attributeTypeMap = [
|
|
|
756
761
|
}
|
|
757
762
|
];
|
|
758
763
|
/**
|
|
764
|
+
* Duration used in retention positions
|
|
765
|
+
*/
|
|
766
|
+
class HoldOutDurationUnitDto {
|
|
767
|
+
static getAttributeTypeMap() {
|
|
768
|
+
return HoldOutDurationUnitDto.attributeTypeMap;
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
exports.HoldOutDurationUnitDto = HoldOutDurationUnitDto;
|
|
772
|
+
HoldOutDurationUnitDto.discriminator = undefined;
|
|
773
|
+
HoldOutDurationUnitDto.attributeTypeMap = [];
|
|
774
|
+
/**
|
|
775
|
+
* Types of retentions to be used in positions
|
|
776
|
+
*/
|
|
777
|
+
class HoldOutTypeDto {
|
|
778
|
+
static getAttributeTypeMap() {
|
|
779
|
+
return HoldOutTypeDto.attributeTypeMap;
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
exports.HoldOutTypeDto = HoldOutTypeDto;
|
|
783
|
+
HoldOutTypeDto.discriminator = undefined;
|
|
784
|
+
HoldOutTypeDto.attributeTypeMap = [];
|
|
785
|
+
/**
|
|
759
786
|
*
|
|
760
787
|
*/
|
|
761
788
|
class HttpStatusCode {
|
|
@@ -1579,6 +1606,48 @@ PositionDto.attributeTypeMap = [
|
|
|
1579
1606
|
"name": "gaebComplementingType",
|
|
1580
1607
|
"baseName": "gaebComplementingType",
|
|
1581
1608
|
"type": "PositionComplementingTypeDto"
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
"name": "holdOutProperties",
|
|
1612
|
+
"baseName": "holdOutProperties",
|
|
1613
|
+
"type": "PositionHoldOutPropertiesDto"
|
|
1614
|
+
}
|
|
1615
|
+
];
|
|
1616
|
+
/**
|
|
1617
|
+
* This class holds properties that describe retention types in position. Retention / hold out usually means that a service is provided and kept available for a specific amount of time, e.g. fences on a construction site
|
|
1618
|
+
*/
|
|
1619
|
+
class PositionHoldOutPropertiesDto {
|
|
1620
|
+
static getAttributeTypeMap() {
|
|
1621
|
+
return PositionHoldOutPropertiesDto.attributeTypeMap;
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1624
|
+
exports.PositionHoldOutPropertiesDto = PositionHoldOutPropertiesDto;
|
|
1625
|
+
PositionHoldOutPropertiesDto.discriminator = undefined;
|
|
1626
|
+
PositionHoldOutPropertiesDto.attributeTypeMap = [
|
|
1627
|
+
{
|
|
1628
|
+
"name": "id",
|
|
1629
|
+
"baseName": "id",
|
|
1630
|
+
"type": "string"
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"name": "holdOutType",
|
|
1634
|
+
"baseName": "holdOutType",
|
|
1635
|
+
"type": "HoldOutTypeDto"
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"name": "holdOutDuration",
|
|
1639
|
+
"baseName": "holdOutDuration",
|
|
1640
|
+
"type": "number"
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"name": "holdOutDurationUnit",
|
|
1644
|
+
"baseName": "holdOutDurationUnit",
|
|
1645
|
+
"type": "HoldOutDurationUnitDto"
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
"name": "basePositionReferences",
|
|
1649
|
+
"baseName": "basePositionReferences",
|
|
1650
|
+
"type": "Array<string>"
|
|
1582
1651
|
}
|
|
1583
1652
|
];
|
|
1584
1653
|
/**
|
|
@@ -2016,6 +2085,16 @@ ProjectInformationDto.attributeTypeMap = [
|
|
|
2016
2085
|
"name": "specialAwardKind",
|
|
2017
2086
|
"baseName": "specialAwardKind",
|
|
2018
2087
|
"type": "SpecialAwardKindDto"
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
"name": "requesters",
|
|
2091
|
+
"baseName": "requesters",
|
|
2092
|
+
"type": "Array<PartyInformationDto>"
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
"name": "notificationSites",
|
|
2096
|
+
"baseName": "notificationSites",
|
|
2097
|
+
"type": "Array<PartyInformationDto>"
|
|
2019
2098
|
}
|
|
2020
2099
|
];
|
|
2021
2100
|
/**
|
|
@@ -2409,6 +2488,21 @@ ServiceSpecificationDto.attributeTypeMap = [
|
|
|
2409
2488
|
"baseName": "decisionDate",
|
|
2410
2489
|
"type": "Date"
|
|
2411
2490
|
},
|
|
2491
|
+
{
|
|
2492
|
+
"name": "bidDate",
|
|
2493
|
+
"baseName": "bidDate",
|
|
2494
|
+
"type": "Date"
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"name": "warrantyBondPercentage",
|
|
2498
|
+
"baseName": "warrantyBondPercentage",
|
|
2499
|
+
"type": "number"
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
"name": "executionGuaranteePercentage",
|
|
2503
|
+
"baseName": "executionGuaranteePercentage",
|
|
2504
|
+
"type": "number"
|
|
2505
|
+
},
|
|
2412
2506
|
{
|
|
2413
2507
|
"name": "submissionLocation",
|
|
2414
2508
|
"baseName": "submissionLocation",
|
|
@@ -3108,6 +3202,8 @@ let typeMap = {
|
|
|
3108
3202
|
"ForgotPasswordPost": ForgotPasswordPost,
|
|
3109
3203
|
"GetStatus": GetStatus,
|
|
3110
3204
|
"GrossPriceComponentDto": GrossPriceComponentDto,
|
|
3205
|
+
"HoldOutDurationUnitDto": HoldOutDurationUnitDto,
|
|
3206
|
+
"HoldOutTypeDto": HoldOutTypeDto,
|
|
3111
3207
|
"HttpStatusCode": HttpStatusCode,
|
|
3112
3208
|
"IElementDto": IElementDto,
|
|
3113
3209
|
"ItemNumberDto": ItemNumberDto,
|
|
@@ -3127,6 +3223,7 @@ let typeMap = {
|
|
|
3127
3223
|
"PartyInformationDto": PartyInformationDto,
|
|
3128
3224
|
"PositionComplementingTypeDto": PositionComplementingTypeDto,
|
|
3129
3225
|
"PositionDto": PositionDto,
|
|
3226
|
+
"PositionHoldOutPropertiesDto": PositionHoldOutPropertiesDto,
|
|
3130
3227
|
"PositionTypeDto": PositionTypeDto,
|
|
3131
3228
|
"PostAvaProjectValidationSourceOptions": PostAvaProjectValidationSourceOptions,
|
|
3132
3229
|
"PostAvaSourceOptions": PostAvaSourceOptions,
|
|
@@ -3406,7 +3503,7 @@ class AslvConversionApi {
|
|
|
3406
3503
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
3407
3504
|
* @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.
|
|
3408
3505
|
* @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.
|
|
3409
|
-
* @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.
|
|
3506
|
+
* @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. Defaults to true.
|
|
3410
3507
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
3411
3508
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
3412
3509
|
* @param {*} [options] Override http request options.
|
|
@@ -3491,7 +3588,7 @@ class AslvConversionApi {
|
|
|
3491
3588
|
* @param destinationOenormType Defaults to Lv2015
|
|
3492
3589
|
* @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
|
|
3493
3590
|
* @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.
|
|
3494
|
-
* @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.
|
|
3591
|
+
* @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. Defaults to true.
|
|
3495
3592
|
* @param {*} [options] Override http request options.
|
|
3496
3593
|
*/
|
|
3497
3594
|
aslvConversionConvertToOenorm(aslvFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|
|
@@ -3757,7 +3854,7 @@ class AvaConversionApi {
|
|
|
3757
3854
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
3758
3855
|
* @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.
|
|
3759
3856
|
* @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.
|
|
3760
|
-
* @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.
|
|
3857
|
+
* @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. Defaults to true.
|
|
3761
3858
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
3762
3859
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
3763
3860
|
* @param {*} [options] Override http request options.
|
|
@@ -3848,7 +3945,7 @@ class AvaConversionApi {
|
|
|
3848
3945
|
* @param destinationOenormType Defaults to Lv2015
|
|
3849
3946
|
* @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
|
|
3850
3947
|
* @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.
|
|
3851
|
-
* @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.
|
|
3948
|
+
* @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. Defaults to true.
|
|
3852
3949
|
* @param {*} [options] Override http request options.
|
|
3853
3950
|
*/
|
|
3854
3951
|
avaConversionConvertToOenorm(avaProject, tryAutoGenerateItemNumbersAndSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|
|
@@ -3941,7 +4038,7 @@ class AvaConversionApi {
|
|
|
3941
4038
|
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
3942
4039
|
}
|
|
3943
4040
|
if (destinationRebType !== undefined) {
|
|
3944
|
-
localVarQueryParameters['DestinationRebType'] = ObjectSerializer.serialize(destinationRebType, "'D11' | 'X31GaebXmlV32'");
|
|
4041
|
+
localVarQueryParameters['DestinationRebType'] = ObjectSerializer.serialize(destinationRebType, "'D11' | 'X31GaebXmlV32' | 'X31GaebXmlV33'");
|
|
3945
4042
|
}
|
|
3946
4043
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3947
4044
|
let localVarUseFormData = false;
|
|
@@ -4612,7 +4709,7 @@ class ExcelConversionApi {
|
|
|
4612
4709
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4613
4710
|
* @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.
|
|
4614
4711
|
* @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.
|
|
4615
|
-
* @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.
|
|
4712
|
+
* @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. Defaults to true.
|
|
4616
4713
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
4617
4714
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
4618
4715
|
* @param {*} [options] Override http request options.
|
|
@@ -4705,7 +4802,7 @@ class ExcelConversionApi {
|
|
|
4705
4802
|
* @param destinationOenormType Defaults to Lv2015
|
|
4706
4803
|
* @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
|
|
4707
4804
|
* @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.
|
|
4708
|
-
* @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.
|
|
4805
|
+
* @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. Defaults to true.
|
|
4709
4806
|
* @param {*} [options] Override http request options.
|
|
4710
4807
|
*/
|
|
4711
4808
|
excelConversionConvertToOenorm(excelFile, readNewElements, rebuildItemNumberSchema, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|
|
@@ -4819,18 +4916,20 @@ class GaebConversionApi {
|
|
|
4819
4916
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
4820
4917
|
*/
|
|
4821
4918
|
gaebConversionConvertToAvaWithRequestObject(gaebFile, options) {
|
|
4822
|
-
return this.gaebConversionConvertToAva(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
|
|
4919
|
+
return this.gaebConversionConvertToAva(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.outputHtmlAsXml, options.keepEmptyHtmlText, options.options || {});
|
|
4823
4920
|
}
|
|
4824
4921
|
/**
|
|
4825
4922
|
*
|
|
4826
4923
|
* @summary Converts GAEB files to Dangl.AVA projects
|
|
4827
4924
|
* @param gaebFile The input file
|
|
4828
|
-
* @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
|
|
4925
|
+
* @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 level - but the ItemNumber of the position is just '01.02', then it will be displayed as '01.__.02' if this is set to true.
|
|
4829
4926
|
* @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
4830
4927
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
4928
|
+
* @param outputHtmlAsXml Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce '<br />' instead of '<br>'.
|
|
4929
|
+
* @param keepEmptyHtmlText Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
|
|
4831
4930
|
* @param {*} [options] Override http request options.
|
|
4832
4931
|
*/
|
|
4833
|
-
gaebConversionConvertToAva(gaebFile, supportSkippedItemNumberLevelsInPositions, removePlainTextLongTexts, removeHtmlLongTexts, options = {}) {
|
|
4932
|
+
gaebConversionConvertToAva(gaebFile, supportSkippedItemNumberLevelsInPositions, removePlainTextLongTexts, removeHtmlLongTexts, outputHtmlAsXml, keepEmptyHtmlText, options = {}) {
|
|
4834
4933
|
const localVarPath = this.basePath + '/conversion/gaeb/ava';
|
|
4835
4934
|
let localVarQueryParameters = {};
|
|
4836
4935
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -4844,6 +4943,12 @@ class GaebConversionApi {
|
|
|
4844
4943
|
if (removeHtmlLongTexts !== undefined) {
|
|
4845
4944
|
localVarQueryParameters['RemoveHtmlLongTexts'] = ObjectSerializer.serialize(removeHtmlLongTexts, "boolean");
|
|
4846
4945
|
}
|
|
4946
|
+
if (outputHtmlAsXml !== undefined) {
|
|
4947
|
+
localVarQueryParameters['OutputHtmlAsXml'] = ObjectSerializer.serialize(outputHtmlAsXml, "boolean");
|
|
4948
|
+
}
|
|
4949
|
+
if (keepEmptyHtmlText !== undefined) {
|
|
4950
|
+
localVarQueryParameters['KeepEmptyHtmlText'] = ObjectSerializer.serialize(keepEmptyHtmlText, "boolean");
|
|
4951
|
+
}
|
|
4847
4952
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4848
4953
|
let localVarUseFormData = false;
|
|
4849
4954
|
if (gaebFile !== undefined) {
|
|
@@ -4889,19 +4994,21 @@ class GaebConversionApi {
|
|
|
4889
4994
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
4890
4995
|
*/
|
|
4891
4996
|
gaebConversionConvertToExcelWithRequestObject(gaebFile, options) {
|
|
4892
|
-
return this.gaebConversionConvertToExcel(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
|
|
4997
|
+
return this.gaebConversionConvertToExcel(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.writePrices, options.writeLongTexts, options.conversionCulture, options.outputHtmlAsXml, options.keepEmptyHtmlText, options.options || {});
|
|
4893
4998
|
}
|
|
4894
4999
|
/**
|
|
4895
5000
|
*
|
|
4896
5001
|
* @summary Converts GAEB files to Excel
|
|
4897
5002
|
* @param gaebFile The input file
|
|
4898
|
-
* @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
|
|
5003
|
+
* @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 level - but the ItemNumber of the position is just '01.02', then it will be displayed as '01.__.02' if this is set to true.
|
|
4899
5004
|
* @param writePrices Defaults to true
|
|
4900
5005
|
* @param writeLongTexts Defaults to true
|
|
4901
5006
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
5007
|
+
* @param outputHtmlAsXml Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce '<br />' instead of '<br>'.
|
|
5008
|
+
* @param keepEmptyHtmlText Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
|
|
4902
5009
|
* @param {*} [options] Override http request options.
|
|
4903
5010
|
*/
|
|
4904
|
-
gaebConversionConvertToExcel(gaebFile, supportSkippedItemNumberLevelsInPositions, writePrices, writeLongTexts, conversionCulture, options = {}) {
|
|
5011
|
+
gaebConversionConvertToExcel(gaebFile, supportSkippedItemNumberLevelsInPositions, writePrices, writeLongTexts, conversionCulture, outputHtmlAsXml, keepEmptyHtmlText, options = {}) {
|
|
4905
5012
|
const localVarPath = this.basePath + '/conversion/gaeb/excel';
|
|
4906
5013
|
let localVarQueryParameters = {};
|
|
4907
5014
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -4918,6 +5025,12 @@ class GaebConversionApi {
|
|
|
4918
5025
|
if (conversionCulture !== undefined) {
|
|
4919
5026
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
4920
5027
|
}
|
|
5028
|
+
if (outputHtmlAsXml !== undefined) {
|
|
5029
|
+
localVarQueryParameters['OutputHtmlAsXml'] = ObjectSerializer.serialize(outputHtmlAsXml, "boolean");
|
|
5030
|
+
}
|
|
5031
|
+
if (keepEmptyHtmlText !== undefined) {
|
|
5032
|
+
localVarQueryParameters['KeepEmptyHtmlText'] = ObjectSerializer.serialize(keepEmptyHtmlText, "boolean");
|
|
5033
|
+
}
|
|
4921
5034
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4922
5035
|
let localVarUseFormData = false;
|
|
4923
5036
|
if (gaebFile !== undefined) {
|
|
@@ -4963,23 +5076,25 @@ class GaebConversionApi {
|
|
|
4963
5076
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
4964
5077
|
*/
|
|
4965
5078
|
gaebConversionConvertToGaebWithRequestObject(gaebFile, options) {
|
|
4966
|
-
return this.gaebConversionConvertToGaeb(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
|
|
5079
|
+
return this.gaebConversionConvertToGaeb(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.outputHtmlAsXml, options.keepEmptyHtmlText, options.options || {});
|
|
4967
5080
|
}
|
|
4968
5081
|
/**
|
|
4969
5082
|
*
|
|
4970
5083
|
* @summary Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files.
|
|
4971
5084
|
* @param gaebFile The input file
|
|
4972
|
-
* @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
|
|
5085
|
+
* @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 level - but the ItemNumber of the position is just '01.02', then it will be displayed as '01.__.02' if this is set to true.
|
|
4973
5086
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
4974
5087
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4975
5088
|
* @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.
|
|
4976
5089
|
* @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.
|
|
4977
|
-
* @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.
|
|
5090
|
+
* @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. Defaults to true.
|
|
4978
5091
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
4979
5092
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
5093
|
+
* @param outputHtmlAsXml Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce '<br />' instead of '<br>'.
|
|
5094
|
+
* @param keepEmptyHtmlText Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
|
|
4980
5095
|
* @param {*} [options] Override http request options.
|
|
4981
5096
|
*/
|
|
4982
|
-
gaebConversionConvertToGaeb(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, treatNullItemNumberSchemaAsInvalid, options = {}) {
|
|
5097
|
+
gaebConversionConvertToGaeb(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, treatNullItemNumberSchemaAsInvalid, outputHtmlAsXml, keepEmptyHtmlText, options = {}) {
|
|
4983
5098
|
const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
|
|
4984
5099
|
let localVarQueryParameters = {};
|
|
4985
5100
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -5008,6 +5123,12 @@ class GaebConversionApi {
|
|
|
5008
5123
|
if (treatNullItemNumberSchemaAsInvalid !== undefined) {
|
|
5009
5124
|
localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
|
|
5010
5125
|
}
|
|
5126
|
+
if (outputHtmlAsXml !== undefined) {
|
|
5127
|
+
localVarQueryParameters['OutputHtmlAsXml'] = ObjectSerializer.serialize(outputHtmlAsXml, "boolean");
|
|
5128
|
+
}
|
|
5129
|
+
if (keepEmptyHtmlText !== undefined) {
|
|
5130
|
+
localVarQueryParameters['KeepEmptyHtmlText'] = ObjectSerializer.serialize(keepEmptyHtmlText, "boolean");
|
|
5131
|
+
}
|
|
5011
5132
|
Object.assign(localVarHeaderParams, options.headers);
|
|
5012
5133
|
let localVarUseFormData = false;
|
|
5013
5134
|
if (gaebFile !== undefined) {
|
|
@@ -5053,20 +5174,22 @@ class GaebConversionApi {
|
|
|
5053
5174
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5054
5175
|
*/
|
|
5055
5176
|
gaebConversionConvertToOenormWithRequestObject(gaebFile, options) {
|
|
5056
|
-
return this.gaebConversionConvertToOenorm(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
|
|
5177
|
+
return this.gaebConversionConvertToOenorm(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.outputHtmlAsXml, options.keepEmptyHtmlText, options.options || {});
|
|
5057
5178
|
}
|
|
5058
5179
|
/**
|
|
5059
5180
|
*
|
|
5060
5181
|
* @summary Converts GAEB files to Oenorm files
|
|
5061
5182
|
* @param gaebFile The input file
|
|
5062
|
-
* @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
|
|
5183
|
+
* @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 level - but the ItemNumber of the position is just '01.02', then it will be displayed as '01.__.02' if this is set to true.
|
|
5063
5184
|
* @param destinationOenormType Defaults to Lv2015
|
|
5064
5185
|
* @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
|
|
5065
5186
|
* @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.
|
|
5066
|
-
* @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.
|
|
5187
|
+
* @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. Defaults to true.
|
|
5188
|
+
* @param outputHtmlAsXml Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce '<br />' instead of '<br>'.
|
|
5189
|
+
* @param keepEmptyHtmlText Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
|
|
5067
5190
|
* @param {*} [options] Override http request options.
|
|
5068
5191
|
*/
|
|
5069
|
-
gaebConversionConvertToOenorm(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|
|
5192
|
+
gaebConversionConvertToOenorm(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, outputHtmlAsXml, keepEmptyHtmlText, options = {}) {
|
|
5070
5193
|
const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
|
|
5071
5194
|
let localVarQueryParameters = {};
|
|
5072
5195
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -5086,6 +5209,12 @@ class GaebConversionApi {
|
|
|
5086
5209
|
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
5087
5210
|
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
5088
5211
|
}
|
|
5212
|
+
if (outputHtmlAsXml !== undefined) {
|
|
5213
|
+
localVarQueryParameters['OutputHtmlAsXml'] = ObjectSerializer.serialize(outputHtmlAsXml, "boolean");
|
|
5214
|
+
}
|
|
5215
|
+
if (keepEmptyHtmlText !== undefined) {
|
|
5216
|
+
localVarQueryParameters['KeepEmptyHtmlText'] = ObjectSerializer.serialize(keepEmptyHtmlText, "boolean");
|
|
5217
|
+
}
|
|
5089
5218
|
Object.assign(localVarHeaderParams, options.headers);
|
|
5090
5219
|
let localVarUseFormData = false;
|
|
5091
5220
|
if (gaebFile !== undefined) {
|
|
@@ -5320,7 +5449,7 @@ class OenormConversionApi {
|
|
|
5320
5449
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5321
5450
|
* @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.
|
|
5322
5451
|
* @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.
|
|
5323
|
-
* @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.
|
|
5452
|
+
* @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. Defaults to true.
|
|
5324
5453
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
5325
5454
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
5326
5455
|
* @param {*} [options] Override http request options.
|
|
@@ -5405,7 +5534,7 @@ class OenormConversionApi {
|
|
|
5405
5534
|
* @param destinationOenormType Defaults to Lv2015
|
|
5406
5535
|
* @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
|
|
5407
5536
|
* @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.
|
|
5408
|
-
* @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.
|
|
5537
|
+
* @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. Defaults to true.
|
|
5409
5538
|
* @param {*} [options] Override http request options.
|
|
5410
5539
|
*/
|
|
5411
5540
|
oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|
|
@@ -5659,7 +5788,7 @@ class RebConversionApi {
|
|
|
5659
5788
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5660
5789
|
* @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.
|
|
5661
5790
|
* @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.
|
|
5662
|
-
* @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.
|
|
5791
|
+
* @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. Defaults to true.
|
|
5663
5792
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
5664
5793
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
5665
5794
|
* @param {*} [options] Override http request options.
|
|
@@ -5744,7 +5873,7 @@ class RebConversionApi {
|
|
|
5744
5873
|
* @param destinationOenormType Defaults to Lv2015
|
|
5745
5874
|
* @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
|
|
5746
5875
|
* @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.
|
|
5747
|
-
* @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.
|
|
5876
|
+
* @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. Defaults to true.
|
|
5748
5877
|
* @param {*} [options] Override http request options.
|
|
5749
5878
|
*/
|
|
5750
5879
|
rebConversionConvertToOenorm(rebFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|
|
@@ -5998,7 +6127,7 @@ class SiaConversionApi {
|
|
|
5998
6127
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5999
6128
|
* @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.
|
|
6000
6129
|
* @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.
|
|
6001
|
-
* @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.
|
|
6130
|
+
* @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. Defaults to true.
|
|
6002
6131
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
6003
6132
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
6004
6133
|
* @param {*} [options] Override http request options.
|
|
@@ -6083,7 +6212,7 @@ class SiaConversionApi {
|
|
|
6083
6212
|
* @param destinationOenormType Defaults to Lv2015
|
|
6084
6213
|
* @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
|
|
6085
6214
|
* @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.
|
|
6086
|
-
* @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.
|
|
6215
|
+
* @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. Defaults to true.
|
|
6087
6216
|
* @param {*} [options] Override http request options.
|
|
6088
6217
|
*/
|
|
6089
6218
|
siaConversionConvertToOenorm(siaFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, options = {}) {
|