@dangl/avacloud-client-node 1.15.0 → 1.16.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 +139 -23
- package/api.js +219 -23
- package/api.js.map +1 -1
- package/api.ts +309 -23
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AVACloud API 1.
|
|
2
|
+
* AVACloud API 1.26.0
|
|
3
3
|
* AVACloud API specification
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 1.
|
|
5
|
+
* OpenAPI spec version: 1.26.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -138,6 +138,21 @@ class ObjectSerializer {
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
+
/**
|
|
142
|
+
* This enumeration represents the status of an addendum, 'Nachtrag' in German
|
|
143
|
+
*/
|
|
144
|
+
export class AddendumStatusDto {
|
|
145
|
+
|
|
146
|
+
static discriminator: string | undefined = undefined;
|
|
147
|
+
|
|
148
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
149
|
+
];
|
|
150
|
+
|
|
151
|
+
static getAttributeTypeMap() {
|
|
152
|
+
return AddendumStatusDto.attributeTypeMap;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
141
156
|
/**
|
|
142
157
|
* Indicates the origin of an element.
|
|
143
158
|
*/
|
|
@@ -757,6 +772,10 @@ export class IElementDto {
|
|
|
757
772
|
* This is used to store the GAEB XML Id within this IElement. This data is not used for any calculations or evaluations but only for GAEB serialization and deserialization.
|
|
758
773
|
*/
|
|
759
774
|
'gaebXmlId'?: string;
|
|
775
|
+
/**
|
|
776
|
+
* This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German.
|
|
777
|
+
*/
|
|
778
|
+
'addendumNumber'?: string;
|
|
760
779
|
'elementTypeDiscriminator': string;
|
|
761
780
|
|
|
762
781
|
static discriminator: string | undefined = "elementTypeDiscriminator";
|
|
@@ -772,6 +791,11 @@ export class IElementDto {
|
|
|
772
791
|
"baseName": "gaebXmlId",
|
|
773
792
|
"type": "string"
|
|
774
793
|
},
|
|
794
|
+
{
|
|
795
|
+
"name": "addendumNumber",
|
|
796
|
+
"baseName": "addendumNumber",
|
|
797
|
+
"type": "string"
|
|
798
|
+
},
|
|
775
799
|
{
|
|
776
800
|
"name": "elementTypeDiscriminator",
|
|
777
801
|
"baseName": "elementTypeDiscriminator",
|
|
@@ -1020,6 +1044,14 @@ export class ItemNumberDto {
|
|
|
1020
1044
|
* This indicates if this item number is at the lot level. Find out more about lots in the documentation.
|
|
1021
1045
|
*/
|
|
1022
1046
|
'isLot': boolean;
|
|
1047
|
+
/**
|
|
1048
|
+
* This is a zero based hierarchy level. It's set automatically when used in the context of a Project, and can be used to identify the hierarchy level of the current element.
|
|
1049
|
+
*/
|
|
1050
|
+
'hierarchyLevel': number;
|
|
1051
|
+
/**
|
|
1052
|
+
* This property indicates if this ItemNumber is attached to an object of the Position type.
|
|
1053
|
+
*/
|
|
1054
|
+
'isAttachedToPosition': boolean;
|
|
1023
1055
|
|
|
1024
1056
|
static discriminator: string | undefined = undefined;
|
|
1025
1057
|
|
|
@@ -1053,6 +1085,16 @@ export class ItemNumberDto {
|
|
|
1053
1085
|
"name": "isLot",
|
|
1054
1086
|
"baseName": "isLot",
|
|
1055
1087
|
"type": "boolean"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"name": "hierarchyLevel",
|
|
1091
|
+
"baseName": "hierarchyLevel",
|
|
1092
|
+
"type": "number"
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"name": "isAttachedToPosition",
|
|
1096
|
+
"baseName": "isAttachedToPosition",
|
|
1097
|
+
"type": "boolean"
|
|
1056
1098
|
} ];
|
|
1057
1099
|
|
|
1058
1100
|
static getAttributeTypeMap() {
|
|
@@ -1077,13 +1119,25 @@ export class ItemNumberSchemaDto {
|
|
|
1077
1119
|
*/
|
|
1078
1120
|
'separator'?: string;
|
|
1079
1121
|
/**
|
|
1080
|
-
* This string is used to fill (left-pad) item numbers. For example, if a tier has a length of '4' but the given item number is '12', with a Filler of '0', then the final item number will be represented as '0'. This must be a single character string, if a value is given where the Length property does not evaluate to '1', the DEFAULT_FILLER '0' is used. A space is fine to use. You should ensure that you use a value different than Separator, as that might produce unexpected results. No attempt is done by the code to recover from such ambiguous configurations
|
|
1122
|
+
* This string is used to fill (left-pad) item numbers. For example, if a tier has a length of '4' but the given item number is '12', with a Filler of '0', then the final item number will be represented as '0'. This must be a single character string, if a value is given where the Length property does not evaluate to '1', the DEFAULT_FILLER '0' is used. A space is fine to use. You should ensure that you use a value different than Separator, as that might produce unexpected results. No attempt is done by the code to recover from such ambiguous configurations.
|
|
1081
1123
|
*/
|
|
1082
1124
|
'filler'?: string;
|
|
1083
1125
|
/**
|
|
1084
1126
|
* This is just a string property that can optionally be used to store additional data for this ItemNumberSchema, e.g. an identification or a type. It does not have any influence over how item numbers are generated, and is not supported in most exchange formats. However, it is used to store ÖNorm service specification structure types.
|
|
1085
1127
|
*/
|
|
1086
1128
|
'identifier'?: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* This property indicates if ItemNumbers using this ItemNumberSchema should skip empty group levels. This is commonly only used in GAEB files, where there might be gaps in the hierarchy of elements and position identifiers should be placed at the end of the string representation.
|
|
1131
|
+
*/
|
|
1132
|
+
'skipNonExistingLevelsInPositionItemNumbers': boolean;
|
|
1133
|
+
/**
|
|
1134
|
+
* This string is used only when the property SkipNonExistingLevelsInPositionItemNumbers in this ItemNumberSchema is also set to true. It defaults to DEFAULT_SKIPPED_TIERS_FILLER, but can be set to any string with a lenght of one. Null values or values with a longer length will lead to this property reverting back to the default value. This is used to fill skipped tiers in item numbers where a position is placed in a higher hierarchy level than what would be defined in the Tiers. For example, it could produce an item number like '01.__.02', which would indicate a skipped second level. This should be using different values than Filler and Separator, since that could cause ambiguities in the code that generates the actual item numbers. No attempt is done by the code to recover from such ambiguous configurations.
|
|
1135
|
+
*/
|
|
1136
|
+
'skippedTiersFiller'?: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* This is a read-only property that indicates if this schema has a valid structure. It internally just returns the result from IsCorrectlyDefined. This will return if the ItemNumberSchema is correctly defined. For it to be correctly defined, the following conditions must be true: There may only be one lot group, if there is one, it must be at the top. Following lot levels, there may be at least one group level. After the group levels, there must be one position level. After the position level, there may be one index level. If no tiers are defined at all, this will also return false.
|
|
1139
|
+
*/
|
|
1140
|
+
'schemaIsCorrectlyDefined': boolean;
|
|
1087
1141
|
|
|
1088
1142
|
static discriminator: string | undefined = undefined;
|
|
1089
1143
|
|
|
@@ -1112,6 +1166,21 @@ export class ItemNumberSchemaDto {
|
|
|
1112
1166
|
"name": "identifier",
|
|
1113
1167
|
"baseName": "identifier",
|
|
1114
1168
|
"type": "string"
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"name": "skipNonExistingLevelsInPositionItemNumbers",
|
|
1172
|
+
"baseName": "skipNonExistingLevelsInPositionItemNumbers",
|
|
1173
|
+
"type": "boolean"
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"name": "skippedTiersFiller",
|
|
1177
|
+
"baseName": "skippedTiersFiller",
|
|
1178
|
+
"type": "string"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"name": "schemaIsCorrectlyDefined",
|
|
1182
|
+
"baseName": "schemaIsCorrectlyDefined",
|
|
1183
|
+
"type": "boolean"
|
|
1115
1184
|
} ];
|
|
1116
1185
|
|
|
1117
1186
|
static getAttributeTypeMap() {
|
|
@@ -1361,6 +1430,10 @@ export class NoteTextDto extends IElementDto {
|
|
|
1361
1430
|
* This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself.
|
|
1362
1431
|
*/
|
|
1363
1432
|
'descriptionId'?: string;
|
|
1433
|
+
/**
|
|
1434
|
+
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
|
|
1435
|
+
*/
|
|
1436
|
+
'oenormNoteTextProperties'?: OenormNoteTextPropertiesDto;
|
|
1364
1437
|
|
|
1365
1438
|
static discriminator: string | undefined = undefined;
|
|
1366
1439
|
|
|
@@ -1414,6 +1487,11 @@ export class NoteTextDto extends IElementDto {
|
|
|
1414
1487
|
"name": "descriptionId",
|
|
1415
1488
|
"baseName": "descriptionId",
|
|
1416
1489
|
"type": "string"
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"name": "oenormNoteTextProperties",
|
|
1493
|
+
"baseName": "oenormNoteTextProperties",
|
|
1494
|
+
"type": "OenormNoteTextPropertiesDto"
|
|
1417
1495
|
} ];
|
|
1418
1496
|
|
|
1419
1497
|
static getAttributeTypeMap() {
|
|
@@ -1421,6 +1499,29 @@ export class NoteTextDto extends IElementDto {
|
|
|
1421
1499
|
}
|
|
1422
1500
|
}
|
|
1423
1501
|
|
|
1502
|
+
/**
|
|
1503
|
+
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
|
|
1504
|
+
*/
|
|
1505
|
+
export class OenormNoteTextPropertiesDto {
|
|
1506
|
+
/**
|
|
1507
|
+
* This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
|
|
1508
|
+
*/
|
|
1509
|
+
'originCode': OenormOriginCodeDto;
|
|
1510
|
+
|
|
1511
|
+
static discriminator: string | undefined = undefined;
|
|
1512
|
+
|
|
1513
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
1514
|
+
{
|
|
1515
|
+
"name": "originCode",
|
|
1516
|
+
"baseName": "originCode",
|
|
1517
|
+
"type": "OenormOriginCodeDto"
|
|
1518
|
+
} ];
|
|
1519
|
+
|
|
1520
|
+
static getAttributeTypeMap() {
|
|
1521
|
+
return OenormNoteTextPropertiesDto.attributeTypeMap;
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1424
1525
|
/**
|
|
1425
1526
|
* This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
|
|
1426
1527
|
*/
|
|
@@ -1452,6 +1553,10 @@ export class OenormPositionPropertiesDto {
|
|
|
1452
1553
|
* This indicates if the ÖNorm 'wesentliche position' mark is set
|
|
1453
1554
|
*/
|
|
1454
1555
|
'isMainPosition': boolean;
|
|
1556
|
+
/**
|
|
1557
|
+
* This indicates if the ÖNorm position was a 'ungeteilteposition' (undivided position). This will only be taken into account when the position is also the sole element inside it's parent group
|
|
1558
|
+
*/
|
|
1559
|
+
'isUndividedPosition': boolean;
|
|
1455
1560
|
|
|
1456
1561
|
static discriminator: string | undefined = undefined;
|
|
1457
1562
|
|
|
@@ -1470,6 +1575,11 @@ export class OenormPositionPropertiesDto {
|
|
|
1470
1575
|
"name": "isMainPosition",
|
|
1471
1576
|
"baseName": "isMainPosition",
|
|
1472
1577
|
"type": "boolean"
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
"name": "isUndividedPosition",
|
|
1581
|
+
"baseName": "isUndividedPosition",
|
|
1582
|
+
"type": "boolean"
|
|
1473
1583
|
} ];
|
|
1474
1584
|
|
|
1475
1585
|
static getAttributeTypeMap() {
|
|
@@ -1892,6 +2002,14 @@ export class PositionDto extends IElementDto {
|
|
|
1892
2002
|
* This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself.
|
|
1893
2003
|
*/
|
|
1894
2004
|
'descriptionId'?: string;
|
|
2005
|
+
/**
|
|
2006
|
+
* This is a zero based hierarchy level. It's set automatically when used in the context of a Project, and can be used to identify the hierarchy level of the current element.
|
|
2007
|
+
*/
|
|
2008
|
+
'hierarchyLevel': number;
|
|
2009
|
+
/**
|
|
2010
|
+
* This indicates, if this element is part of an addendum an, if yes, with what status.
|
|
2011
|
+
*/
|
|
2012
|
+
'addendumStatus'?: AddendumStatusDto;
|
|
1895
2013
|
|
|
1896
2014
|
static discriminator: string | undefined = undefined;
|
|
1897
2015
|
|
|
@@ -2130,6 +2248,16 @@ export class PositionDto extends IElementDto {
|
|
|
2130
2248
|
"name": "descriptionId",
|
|
2131
2249
|
"baseName": "descriptionId",
|
|
2132
2250
|
"type": "string"
|
|
2251
|
+
},
|
|
2252
|
+
{
|
|
2253
|
+
"name": "hierarchyLevel",
|
|
2254
|
+
"baseName": "hierarchyLevel",
|
|
2255
|
+
"type": "number"
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"name": "addendumStatus",
|
|
2259
|
+
"baseName": "addendumStatus",
|
|
2260
|
+
"type": "AddendumStatusDto"
|
|
2133
2261
|
} ];
|
|
2134
2262
|
|
|
2135
2263
|
static getAttributeTypeMap() {
|
|
@@ -2994,6 +3122,14 @@ export class ServiceSpecificationDto {
|
|
|
2994
3122
|
* This should specify how the approval is performed by the buyer. This matches \"AcceptType\" in GAEB
|
|
2995
3123
|
*/
|
|
2996
3124
|
'typeOfApproval'?: string;
|
|
3125
|
+
/**
|
|
3126
|
+
* This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German.
|
|
3127
|
+
*/
|
|
3128
|
+
'addendumNumber'?: string;
|
|
3129
|
+
/**
|
|
3130
|
+
* This indicates, if this element is part of an addendum an, if yes, with what status.
|
|
3131
|
+
*/
|
|
3132
|
+
'addendumStatus'?: AddendumStatusDto;
|
|
2997
3133
|
|
|
2998
3134
|
static discriminator: string | undefined = undefined;
|
|
2999
3135
|
|
|
@@ -3212,6 +3348,16 @@ export class ServiceSpecificationDto {
|
|
|
3212
3348
|
"name": "typeOfApproval",
|
|
3213
3349
|
"baseName": "typeOfApproval",
|
|
3214
3350
|
"type": "string"
|
|
3351
|
+
},
|
|
3352
|
+
{
|
|
3353
|
+
"name": "addendumNumber",
|
|
3354
|
+
"baseName": "addendumNumber",
|
|
3355
|
+
"type": "string"
|
|
3356
|
+
},
|
|
3357
|
+
{
|
|
3358
|
+
"name": "addendumStatus",
|
|
3359
|
+
"baseName": "addendumStatus",
|
|
3360
|
+
"type": "AddendumStatusDto"
|
|
3215
3361
|
} ];
|
|
3216
3362
|
|
|
3217
3363
|
static getAttributeTypeMap() {
|
|
@@ -3326,6 +3472,14 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3326
3472
|
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
|
|
3327
3473
|
*/
|
|
3328
3474
|
'oenormProperties'?: OenormPropertiesDto;
|
|
3475
|
+
/**
|
|
3476
|
+
* This is a zero based hierarchy level. It's set automatically when used in the context of a Project, and can be used to identify the hierarchy level of the current element.
|
|
3477
|
+
*/
|
|
3478
|
+
'hierarchyLevel': number;
|
|
3479
|
+
/**
|
|
3480
|
+
* This indicates, if this element is part of an addendum an, if yes, with what status.
|
|
3481
|
+
*/
|
|
3482
|
+
'addendumStatus'?: AddendumStatusDto;
|
|
3329
3483
|
|
|
3330
3484
|
static discriminator: string | undefined = undefined;
|
|
3331
3485
|
|
|
@@ -3469,6 +3623,16 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3469
3623
|
"name": "oenormProperties",
|
|
3470
3624
|
"baseName": "oenormProperties",
|
|
3471
3625
|
"type": "OenormPropertiesDto"
|
|
3626
|
+
},
|
|
3627
|
+
{
|
|
3628
|
+
"name": "hierarchyLevel",
|
|
3629
|
+
"baseName": "hierarchyLevel",
|
|
3630
|
+
"type": "number"
|
|
3631
|
+
},
|
|
3632
|
+
{
|
|
3633
|
+
"name": "addendumStatus",
|
|
3634
|
+
"baseName": "addendumStatus",
|
|
3635
|
+
"type": "AddendumStatusDto"
|
|
3472
3636
|
} ];
|
|
3473
3637
|
|
|
3474
3638
|
static getAttributeTypeMap() {
|
|
@@ -3888,6 +4052,7 @@ let enumsMap: {[index: string]: any} = {
|
|
|
3888
4052
|
}
|
|
3889
4053
|
|
|
3890
4054
|
let typeMap: {[index: string]: any} = {
|
|
4055
|
+
"AddendumStatusDto": AddendumStatusDto,
|
|
3891
4056
|
"AdditionTypeDto": AdditionTypeDto,
|
|
3892
4057
|
"ApiError": ApiError,
|
|
3893
4058
|
"ArticleDataDto": ArticleDataDto,
|
|
@@ -3919,6 +4084,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
3919
4084
|
"LabourPriceComponentDto": LabourPriceComponentDto,
|
|
3920
4085
|
"LoginPost": LoginPost,
|
|
3921
4086
|
"NoteTextDto": NoteTextDto,
|
|
4087
|
+
"OenormNoteTextPropertiesDto": OenormNoteTextPropertiesDto,
|
|
3922
4088
|
"OenormOriginCodeDto": OenormOriginCodeDto,
|
|
3923
4089
|
"OenormPositionPropertiesDto": OenormPositionPropertiesDto,
|
|
3924
4090
|
"OenormPropertiesDto": OenormPropertiesDto,
|
|
@@ -4199,9 +4365,10 @@ export class AslvConversionApi {
|
|
|
4199
4365
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4200
4366
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
4201
4367
|
* @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.
|
|
4368
|
+
* @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.
|
|
4202
4369
|
* @param {*} [options] Override http request options.
|
|
4203
4370
|
*/
|
|
4204
|
-
public aslvConversionConvertToGaeb (aslvFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4371
|
+
public aslvConversionConvertToGaeb (aslvFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4205
4372
|
const localVarPath = this.basePath + '/conversion/aslv/gaeb';
|
|
4206
4373
|
let localVarQueryParameters: any = {};
|
|
4207
4374
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4223,6 +4390,10 @@ export class AslvConversionApi {
|
|
|
4223
4390
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4224
4391
|
}
|
|
4225
4392
|
|
|
4393
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4394
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4395
|
+
}
|
|
4396
|
+
|
|
4226
4397
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4227
4398
|
|
|
4228
4399
|
let localVarUseFormData = false;
|
|
@@ -4274,9 +4445,10 @@ export class AslvConversionApi {
|
|
|
4274
4445
|
* @param destinationOenormType Defaults to Lv2015
|
|
4275
4446
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
4276
4447
|
* @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.
|
|
4448
|
+
* @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.
|
|
4277
4449
|
* @param {*} [options] Override http request options.
|
|
4278
4450
|
*/
|
|
4279
|
-
public aslvConversionConvertToOenorm (aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4451
|
+
public aslvConversionConvertToOenorm (aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4280
4452
|
const localVarPath = this.basePath + '/conversion/aslv/oenorm';
|
|
4281
4453
|
let localVarQueryParameters: any = {};
|
|
4282
4454
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4294,6 +4466,10 @@ export class AslvConversionApi {
|
|
|
4294
4466
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4295
4467
|
}
|
|
4296
4468
|
|
|
4469
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4470
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4471
|
+
}
|
|
4472
|
+
|
|
4297
4473
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4298
4474
|
|
|
4299
4475
|
let localVarUseFormData = false;
|
|
@@ -4392,11 +4568,12 @@ export class AvaConversionApi {
|
|
|
4392
4568
|
*
|
|
4393
4569
|
* @summary Converts Dangl.AVA projects to Dangl.AVA. This is useful when you want to generate the calculated properties.
|
|
4394
4570
|
* @param avaProject The Dangl.AVA project
|
|
4571
|
+
* @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.
|
|
4395
4572
|
* @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
4396
4573
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
4397
4574
|
* @param {*} [options] Override http request options.
|
|
4398
4575
|
*/
|
|
4399
|
-
public avaConversionConvertToAva (avaProject: ProjectDto, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
4576
|
+
public avaConversionConvertToAva (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
4400
4577
|
const localVarPath = this.basePath + '/conversion/ava/ava';
|
|
4401
4578
|
let localVarQueryParameters: any = {};
|
|
4402
4579
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4407,6 +4584,10 @@ export class AvaConversionApi {
|
|
|
4407
4584
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToAva.');
|
|
4408
4585
|
}
|
|
4409
4586
|
|
|
4587
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
4588
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
4589
|
+
}
|
|
4590
|
+
|
|
4410
4591
|
if (removePlainTextLongTexts !== undefined) {
|
|
4411
4592
|
localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
|
|
4412
4593
|
}
|
|
@@ -4459,12 +4640,13 @@ export class AvaConversionApi {
|
|
|
4459
4640
|
*
|
|
4460
4641
|
* @summary Converts Dangl.AVA projects to Excel
|
|
4461
4642
|
* @param avaProject The Dangl.AVA project
|
|
4643
|
+
* @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.
|
|
4462
4644
|
* @param writePrices Defaults to true
|
|
4463
4645
|
* @param writeLongTexts Defaults to true
|
|
4464
4646
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
4465
4647
|
* @param {*} [options] Override http request options.
|
|
4466
4648
|
*/
|
|
4467
|
-
public avaConversionConvertToExcel (avaProject: ProjectDto, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4649
|
+
public avaConversionConvertToExcel (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4468
4650
|
const localVarPath = this.basePath + '/conversion/ava/excel';
|
|
4469
4651
|
let localVarQueryParameters: any = {};
|
|
4470
4652
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4475,6 +4657,10 @@ export class AvaConversionApi {
|
|
|
4475
4657
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToExcel.');
|
|
4476
4658
|
}
|
|
4477
4659
|
|
|
4660
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
4661
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
4662
|
+
}
|
|
4663
|
+
|
|
4478
4664
|
if (writePrices !== undefined) {
|
|
4479
4665
|
localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
|
|
4480
4666
|
}
|
|
@@ -4532,13 +4718,15 @@ export class AvaConversionApi {
|
|
|
4532
4718
|
*
|
|
4533
4719
|
* @summary Converts Dangl.AVA projects to GAEB
|
|
4534
4720
|
* @param avaProject The Dangl.AVA project
|
|
4721
|
+
* @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.
|
|
4535
4722
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
4536
4723
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4537
4724
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
4538
4725
|
* @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.
|
|
4726
|
+
* @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.
|
|
4539
4727
|
* @param {*} [options] Override http request options.
|
|
4540
4728
|
*/
|
|
4541
|
-
public avaConversionConvertToGaeb (avaProject: ProjectDto, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4729
|
+
public avaConversionConvertToGaeb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4542
4730
|
const localVarPath = this.basePath + '/conversion/ava/gaeb';
|
|
4543
4731
|
let localVarQueryParameters: any = {};
|
|
4544
4732
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4549,6 +4737,10 @@ export class AvaConversionApi {
|
|
|
4549
4737
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToGaeb.');
|
|
4550
4738
|
}
|
|
4551
4739
|
|
|
4740
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
4741
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
4742
|
+
}
|
|
4743
|
+
|
|
4552
4744
|
if (destinationGaebType !== undefined) {
|
|
4553
4745
|
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'");
|
|
4554
4746
|
}
|
|
@@ -4565,6 +4757,10 @@ export class AvaConversionApi {
|
|
|
4565
4757
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4566
4758
|
}
|
|
4567
4759
|
|
|
4760
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4761
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4762
|
+
}
|
|
4763
|
+
|
|
4568
4764
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4569
4765
|
|
|
4570
4766
|
let localVarUseFormData = false;
|
|
@@ -4610,12 +4806,14 @@ export class AvaConversionApi {
|
|
|
4610
4806
|
*
|
|
4611
4807
|
* @summary Converts Dangl.AVA projects to Oenorm
|
|
4612
4808
|
* @param avaProject The Dangl.AVA project
|
|
4809
|
+
* @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.
|
|
4613
4810
|
* @param destinationOenormType Defaults to Lv2015
|
|
4614
4811
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
4615
4812
|
* @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.
|
|
4813
|
+
* @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.
|
|
4616
4814
|
* @param {*} [options] Override http request options.
|
|
4617
4815
|
*/
|
|
4618
|
-
public avaConversionConvertToOenorm (avaProject: ProjectDto, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4816
|
+
public avaConversionConvertToOenorm (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4619
4817
|
const localVarPath = this.basePath + '/conversion/ava/oenorm';
|
|
4620
4818
|
let localVarQueryParameters: any = {};
|
|
4621
4819
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4626,6 +4824,10 @@ export class AvaConversionApi {
|
|
|
4626
4824
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToOenorm.');
|
|
4627
4825
|
}
|
|
4628
4826
|
|
|
4827
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
4828
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
4829
|
+
}
|
|
4830
|
+
|
|
4629
4831
|
if (destinationOenormType !== undefined) {
|
|
4630
4832
|
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
4631
4833
|
}
|
|
@@ -4638,6 +4840,10 @@ export class AvaConversionApi {
|
|
|
4638
4840
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4639
4841
|
}
|
|
4640
4842
|
|
|
4843
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4844
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4845
|
+
}
|
|
4846
|
+
|
|
4641
4847
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4642
4848
|
|
|
4643
4849
|
let localVarUseFormData = false;
|
|
@@ -4683,9 +4889,10 @@ export class AvaConversionApi {
|
|
|
4683
4889
|
*
|
|
4684
4890
|
* @summary Converts Dangl.AVA projects to REB
|
|
4685
4891
|
* @param avaProject The Dangl.AVA project
|
|
4892
|
+
* @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.
|
|
4686
4893
|
* @param {*} [options] Override http request options.
|
|
4687
4894
|
*/
|
|
4688
|
-
public avaConversionConvertToReb (avaProject: ProjectDto, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4895
|
+
public avaConversionConvertToReb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4689
4896
|
const localVarPath = this.basePath + '/conversion/ava/reb';
|
|
4690
4897
|
let localVarQueryParameters: any = {};
|
|
4691
4898
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4696,6 +4903,10 @@ export class AvaConversionApi {
|
|
|
4696
4903
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToReb.');
|
|
4697
4904
|
}
|
|
4698
4905
|
|
|
4906
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
4907
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
4908
|
+
}
|
|
4909
|
+
|
|
4699
4910
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4700
4911
|
|
|
4701
4912
|
let localVarUseFormData = false;
|
|
@@ -4741,9 +4952,10 @@ export class AvaConversionApi {
|
|
|
4741
4952
|
*
|
|
4742
4953
|
* @summary Converts Dangl.AVA projects to SIA 451
|
|
4743
4954
|
* @param avaProject The Dangl.AVA project
|
|
4955
|
+
* @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.
|
|
4744
4956
|
* @param {*} [options] Override http request options.
|
|
4745
4957
|
*/
|
|
4746
|
-
public avaConversionConvertToSia (avaProject: ProjectDto, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4958
|
+
public avaConversionConvertToSia (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4747
4959
|
const localVarPath = this.basePath + '/conversion/ava/sia';
|
|
4748
4960
|
let localVarQueryParameters: any = {};
|
|
4749
4961
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4754,6 +4966,10 @@ export class AvaConversionApi {
|
|
|
4754
4966
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToSia.');
|
|
4755
4967
|
}
|
|
4756
4968
|
|
|
4969
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
4970
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
4971
|
+
}
|
|
4972
|
+
|
|
4757
4973
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4758
4974
|
|
|
4759
4975
|
let localVarUseFormData = false;
|
|
@@ -5392,9 +5608,10 @@ export class ExcelConversionApi {
|
|
|
5392
5608
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5393
5609
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
5394
5610
|
* @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.
|
|
5611
|
+
* @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.
|
|
5395
5612
|
* @param {*} [options] Override http request options.
|
|
5396
5613
|
*/
|
|
5397
|
-
public excelConversionConvertToGaeb (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5614
|
+
public excelConversionConvertToGaeb (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5398
5615
|
const localVarPath = this.basePath + '/conversion/excel/gaeb';
|
|
5399
5616
|
let localVarQueryParameters: any = {};
|
|
5400
5617
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -5424,6 +5641,10 @@ export class ExcelConversionApi {
|
|
|
5424
5641
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
5425
5642
|
}
|
|
5426
5643
|
|
|
5644
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
5645
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
5646
|
+
}
|
|
5647
|
+
|
|
5427
5648
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5428
5649
|
|
|
5429
5650
|
let localVarUseFormData = false;
|
|
@@ -5477,9 +5698,10 @@ export class ExcelConversionApi {
|
|
|
5477
5698
|
* @param destinationOenormType Defaults to Lv2015
|
|
5478
5699
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
5479
5700
|
* @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.
|
|
5701
|
+
* @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.
|
|
5480
5702
|
* @param {*} [options] Override http request options.
|
|
5481
5703
|
*/
|
|
5482
|
-
public excelConversionConvertToOenorm (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5704
|
+
public excelConversionConvertToOenorm (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5483
5705
|
const localVarPath = this.basePath + '/conversion/excel/oenorm';
|
|
5484
5706
|
let localVarQueryParameters: any = {};
|
|
5485
5707
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -5505,6 +5727,10 @@ export class ExcelConversionApi {
|
|
|
5505
5727
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
5506
5728
|
}
|
|
5507
5729
|
|
|
5730
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
5731
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
5732
|
+
}
|
|
5733
|
+
|
|
5508
5734
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5509
5735
|
|
|
5510
5736
|
let localVarUseFormData = false;
|
|
@@ -5603,16 +5829,21 @@ export class GaebConversionApi {
|
|
|
5603
5829
|
*
|
|
5604
5830
|
* @summary Converts GAEB files to Dangl.AVA projects
|
|
5605
5831
|
* @param gaebFile The input file
|
|
5832
|
+
* @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.
|
|
5606
5833
|
* @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
5607
5834
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
5608
5835
|
* @param {*} [options] Override http request options.
|
|
5609
5836
|
*/
|
|
5610
|
-
public gaebConversionConvertToAva (gaebFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
5837
|
+
public gaebConversionConvertToAva (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
5611
5838
|
const localVarPath = this.basePath + '/conversion/gaeb/ava';
|
|
5612
5839
|
let localVarQueryParameters: any = {};
|
|
5613
5840
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5614
5841
|
let localVarFormParams: any = {};
|
|
5615
5842
|
|
|
5843
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
5844
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
5845
|
+
}
|
|
5846
|
+
|
|
5616
5847
|
if (removePlainTextLongTexts !== undefined) {
|
|
5617
5848
|
localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
|
|
5618
5849
|
}
|
|
@@ -5669,17 +5900,22 @@ export class GaebConversionApi {
|
|
|
5669
5900
|
*
|
|
5670
5901
|
* @summary Converts GAEB files to Excel
|
|
5671
5902
|
* @param gaebFile The input file
|
|
5903
|
+
* @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.
|
|
5672
5904
|
* @param writePrices Defaults to true
|
|
5673
5905
|
* @param writeLongTexts Defaults to true
|
|
5674
5906
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
5675
5907
|
* @param {*} [options] Override http request options.
|
|
5676
5908
|
*/
|
|
5677
|
-
public gaebConversionConvertToExcel (gaebFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5909
|
+
public gaebConversionConvertToExcel (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5678
5910
|
const localVarPath = this.basePath + '/conversion/gaeb/excel';
|
|
5679
5911
|
let localVarQueryParameters: any = {};
|
|
5680
5912
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5681
5913
|
let localVarFormParams: any = {};
|
|
5682
5914
|
|
|
5915
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
5916
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
5917
|
+
}
|
|
5918
|
+
|
|
5683
5919
|
if (writePrices !== undefined) {
|
|
5684
5920
|
localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
|
|
5685
5921
|
}
|
|
@@ -5740,18 +5976,24 @@ export class GaebConversionApi {
|
|
|
5740
5976
|
*
|
|
5741
5977
|
* @summary Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files.
|
|
5742
5978
|
* @param gaebFile The input file
|
|
5979
|
+
* @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.
|
|
5743
5980
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
5744
5981
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5745
5982
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
5746
5983
|
* @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.
|
|
5984
|
+
* @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.
|
|
5747
5985
|
* @param {*} [options] Override http request options.
|
|
5748
5986
|
*/
|
|
5749
|
-
public gaebConversionConvertToGaeb (gaebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5987
|
+
public gaebConversionConvertToGaeb (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5750
5988
|
const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
|
|
5751
5989
|
let localVarQueryParameters: any = {};
|
|
5752
5990
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5753
5991
|
let localVarFormParams: any = {};
|
|
5754
5992
|
|
|
5993
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
5994
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
5995
|
+
}
|
|
5996
|
+
|
|
5755
5997
|
if (destinationGaebType !== undefined) {
|
|
5756
5998
|
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'");
|
|
5757
5999
|
}
|
|
@@ -5768,6 +6010,10 @@ export class GaebConversionApi {
|
|
|
5768
6010
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
5769
6011
|
}
|
|
5770
6012
|
|
|
6013
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6014
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6015
|
+
}
|
|
6016
|
+
|
|
5771
6017
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5772
6018
|
|
|
5773
6019
|
let localVarUseFormData = false;
|
|
@@ -5816,17 +6062,23 @@ export class GaebConversionApi {
|
|
|
5816
6062
|
*
|
|
5817
6063
|
* @summary Converts GAEB files to Oenorm files
|
|
5818
6064
|
* @param gaebFile The input file
|
|
6065
|
+
* @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.
|
|
5819
6066
|
* @param destinationOenormType Defaults to Lv2015
|
|
5820
6067
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
5821
6068
|
* @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.
|
|
6069
|
+
* @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.
|
|
5822
6070
|
* @param {*} [options] Override http request options.
|
|
5823
6071
|
*/
|
|
5824
|
-
public gaebConversionConvertToOenorm (gaebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6072
|
+
public gaebConversionConvertToOenorm (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5825
6073
|
const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
|
|
5826
6074
|
let localVarQueryParameters: any = {};
|
|
5827
6075
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5828
6076
|
let localVarFormParams: any = {};
|
|
5829
6077
|
|
|
6078
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
6079
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
6080
|
+
}
|
|
6081
|
+
|
|
5830
6082
|
if (destinationOenormType !== undefined) {
|
|
5831
6083
|
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
5832
6084
|
}
|
|
@@ -5839,6 +6091,10 @@ export class GaebConversionApi {
|
|
|
5839
6091
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
5840
6092
|
}
|
|
5841
6093
|
|
|
6094
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6095
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6096
|
+
}
|
|
6097
|
+
|
|
5842
6098
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5843
6099
|
|
|
5844
6100
|
let localVarUseFormData = false;
|
|
@@ -6078,9 +6334,10 @@ export class OenormConversionApi {
|
|
|
6078
6334
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
6079
6335
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
6080
6336
|
* @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.
|
|
6337
|
+
* @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.
|
|
6081
6338
|
* @param {*} [options] Override http request options.
|
|
6082
6339
|
*/
|
|
6083
|
-
public oenormConversionConvertToGaeb (oenormFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6340
|
+
public oenormConversionConvertToGaeb (oenormFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6084
6341
|
const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
|
|
6085
6342
|
let localVarQueryParameters: any = {};
|
|
6086
6343
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6102,6 +6359,10 @@ export class OenormConversionApi {
|
|
|
6102
6359
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
6103
6360
|
}
|
|
6104
6361
|
|
|
6362
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6363
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6364
|
+
}
|
|
6365
|
+
|
|
6105
6366
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6106
6367
|
|
|
6107
6368
|
let localVarUseFormData = false;
|
|
@@ -6153,9 +6414,10 @@ export class OenormConversionApi {
|
|
|
6153
6414
|
* @param destinationOenormType Defaults to Lv2015
|
|
6154
6415
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
6155
6416
|
* @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.
|
|
6417
|
+
* @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.
|
|
6156
6418
|
* @param {*} [options] Override http request options.
|
|
6157
6419
|
*/
|
|
6158
|
-
public oenormConversionConvertToOenorm (oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6420
|
+
public oenormConversionConvertToOenorm (oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6159
6421
|
const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
|
|
6160
6422
|
let localVarQueryParameters: any = {};
|
|
6161
6423
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6173,6 +6435,10 @@ export class OenormConversionApi {
|
|
|
6173
6435
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
6174
6436
|
}
|
|
6175
6437
|
|
|
6438
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6439
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6440
|
+
}
|
|
6441
|
+
|
|
6176
6442
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6177
6443
|
|
|
6178
6444
|
let localVarUseFormData = false;
|
|
@@ -6412,9 +6678,10 @@ export class RebConversionApi {
|
|
|
6412
6678
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
6413
6679
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
6414
6680
|
* @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.
|
|
6681
|
+
* @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.
|
|
6415
6682
|
* @param {*} [options] Override http request options.
|
|
6416
6683
|
*/
|
|
6417
|
-
public rebConversionConvertToGaeb (rebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6684
|
+
public rebConversionConvertToGaeb (rebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6418
6685
|
const localVarPath = this.basePath + '/conversion/reb/gaeb';
|
|
6419
6686
|
let localVarQueryParameters: any = {};
|
|
6420
6687
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6436,6 +6703,10 @@ export class RebConversionApi {
|
|
|
6436
6703
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
6437
6704
|
}
|
|
6438
6705
|
|
|
6706
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6707
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6708
|
+
}
|
|
6709
|
+
|
|
6439
6710
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6440
6711
|
|
|
6441
6712
|
let localVarUseFormData = false;
|
|
@@ -6487,9 +6758,10 @@ export class RebConversionApi {
|
|
|
6487
6758
|
* @param destinationOenormType Defaults to Lv2015
|
|
6488
6759
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
6489
6760
|
* @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.
|
|
6761
|
+
* @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.
|
|
6490
6762
|
* @param {*} [options] Override http request options.
|
|
6491
6763
|
*/
|
|
6492
|
-
public rebConversionConvertToOenorm (rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6764
|
+
public rebConversionConvertToOenorm (rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6493
6765
|
const localVarPath = this.basePath + '/conversion/reb/oenorm';
|
|
6494
6766
|
let localVarQueryParameters: any = {};
|
|
6495
6767
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6507,6 +6779,10 @@ export class RebConversionApi {
|
|
|
6507
6779
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
6508
6780
|
}
|
|
6509
6781
|
|
|
6782
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6783
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6784
|
+
}
|
|
6785
|
+
|
|
6510
6786
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6511
6787
|
|
|
6512
6788
|
let localVarUseFormData = false;
|
|
@@ -6746,9 +7022,10 @@ export class SiaConversionApi {
|
|
|
6746
7022
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
6747
7023
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
6748
7024
|
* @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.
|
|
7025
|
+
* @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.
|
|
6749
7026
|
* @param {*} [options] Override http request options.
|
|
6750
7027
|
*/
|
|
6751
|
-
public siaConversionConvertToGaeb (siaFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7028
|
+
public siaConversionConvertToGaeb (siaFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6752
7029
|
const localVarPath = this.basePath + '/conversion/sia/gaeb';
|
|
6753
7030
|
let localVarQueryParameters: any = {};
|
|
6754
7031
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6770,6 +7047,10 @@ export class SiaConversionApi {
|
|
|
6770
7047
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
6771
7048
|
}
|
|
6772
7049
|
|
|
7050
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
7051
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
7052
|
+
}
|
|
7053
|
+
|
|
6773
7054
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6774
7055
|
|
|
6775
7056
|
let localVarUseFormData = false;
|
|
@@ -6821,9 +7102,10 @@ export class SiaConversionApi {
|
|
|
6821
7102
|
* @param destinationOenormType Defaults to Lv2015
|
|
6822
7103
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
6823
7104
|
* @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.
|
|
7105
|
+
* @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.
|
|
6824
7106
|
* @param {*} [options] Override http request options.
|
|
6825
7107
|
*/
|
|
6826
|
-
public siaConversionConvertToOenorm (siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7108
|
+
public siaConversionConvertToOenorm (siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6827
7109
|
const localVarPath = this.basePath + '/conversion/sia/oenorm';
|
|
6828
7110
|
let localVarQueryParameters: any = {};
|
|
6829
7111
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6841,6 +7123,10 @@ export class SiaConversionApi {
|
|
|
6841
7123
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
6842
7124
|
}
|
|
6843
7125
|
|
|
7126
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
7127
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
7128
|
+
}
|
|
7129
|
+
|
|
6844
7130
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6845
7131
|
|
|
6846
7132
|
let localVarUseFormData = false;
|