@dangl/avacloud-client-node 1.14.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.swagger-codegen/VERSION +1 -1
- package/LICENSE.md +1 -1
- package/api.d.ts +176 -28
- package/api.js +265 -23
- package/api.js.map +1 -1
- package/api.ts +380 -28
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AVACloud API 1.
|
|
2
|
+
* AVACloud API 1.29.0
|
|
3
3
|
* AVACloud API specification
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 1.
|
|
5
|
+
* OpenAPI spec version: 1.29.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
|
*/
|
|
@@ -452,7 +467,7 @@ export class CatalogueDto {
|
|
|
452
467
|
*/
|
|
453
468
|
'description'?: string;
|
|
454
469
|
/**
|
|
455
|
-
* If given,
|
|
470
|
+
* If given, this gives a classification for the contents of the catalogue
|
|
456
471
|
*/
|
|
457
472
|
'catalogueType': CatalogueTypeDto;
|
|
458
473
|
|
|
@@ -715,6 +730,21 @@ export class DestinationOenormType {
|
|
|
715
730
|
}
|
|
716
731
|
}
|
|
717
732
|
|
|
733
|
+
/**
|
|
734
|
+
* Represents valid REB target types
|
|
735
|
+
*/
|
|
736
|
+
export class DestinationRebType {
|
|
737
|
+
|
|
738
|
+
static discriminator: string | undefined = undefined;
|
|
739
|
+
|
|
740
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
741
|
+
];
|
|
742
|
+
|
|
743
|
+
static getAttributeTypeMap() {
|
|
744
|
+
return DestinationRebType.attributeTypeMap;
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
|
|
718
748
|
/**
|
|
719
749
|
* This enumeration represents the unit of a duration
|
|
720
750
|
*/
|
|
@@ -757,6 +787,10 @@ export class IElementDto {
|
|
|
757
787
|
* 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
788
|
*/
|
|
759
789
|
'gaebXmlId'?: string;
|
|
790
|
+
/**
|
|
791
|
+
* This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German.
|
|
792
|
+
*/
|
|
793
|
+
'addendumNumber'?: string;
|
|
760
794
|
'elementTypeDiscriminator': string;
|
|
761
795
|
|
|
762
796
|
static discriminator: string | undefined = "elementTypeDiscriminator";
|
|
@@ -772,6 +806,11 @@ export class IElementDto {
|
|
|
772
806
|
"baseName": "gaebXmlId",
|
|
773
807
|
"type": "string"
|
|
774
808
|
},
|
|
809
|
+
{
|
|
810
|
+
"name": "addendumNumber",
|
|
811
|
+
"baseName": "addendumNumber",
|
|
812
|
+
"type": "string"
|
|
813
|
+
},
|
|
775
814
|
{
|
|
776
815
|
"name": "elementTypeDiscriminator",
|
|
777
816
|
"baseName": "elementTypeDiscriminator",
|
|
@@ -1020,6 +1059,14 @@ export class ItemNumberDto {
|
|
|
1020
1059
|
* This indicates if this item number is at the lot level. Find out more about lots in the documentation.
|
|
1021
1060
|
*/
|
|
1022
1061
|
'isLot': boolean;
|
|
1062
|
+
/**
|
|
1063
|
+
* 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.
|
|
1064
|
+
*/
|
|
1065
|
+
'hierarchyLevel': number;
|
|
1066
|
+
/**
|
|
1067
|
+
* This property indicates if this ItemNumber is attached to an object of the Position type.
|
|
1068
|
+
*/
|
|
1069
|
+
'isAttachedToPosition': boolean;
|
|
1023
1070
|
|
|
1024
1071
|
static discriminator: string | undefined = undefined;
|
|
1025
1072
|
|
|
@@ -1053,6 +1100,16 @@ export class ItemNumberDto {
|
|
|
1053
1100
|
"name": "isLot",
|
|
1054
1101
|
"baseName": "isLot",
|
|
1055
1102
|
"type": "boolean"
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"name": "hierarchyLevel",
|
|
1106
|
+
"baseName": "hierarchyLevel",
|
|
1107
|
+
"type": "number"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "isAttachedToPosition",
|
|
1111
|
+
"baseName": "isAttachedToPosition",
|
|
1112
|
+
"type": "boolean"
|
|
1056
1113
|
} ];
|
|
1057
1114
|
|
|
1058
1115
|
static getAttributeTypeMap() {
|
|
@@ -1077,9 +1134,25 @@ export class ItemNumberSchemaDto {
|
|
|
1077
1134
|
*/
|
|
1078
1135
|
'separator'?: string;
|
|
1079
1136
|
/**
|
|
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
|
|
1137
|
+
* 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
1138
|
*/
|
|
1082
1139
|
'filler'?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* 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.
|
|
1142
|
+
*/
|
|
1143
|
+
'identifier'?: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* 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.
|
|
1146
|
+
*/
|
|
1147
|
+
'skipNonExistingLevelsInPositionItemNumbers': boolean;
|
|
1148
|
+
/**
|
|
1149
|
+
* 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.
|
|
1150
|
+
*/
|
|
1151
|
+
'skippedTiersFiller'?: string;
|
|
1152
|
+
/**
|
|
1153
|
+
* 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.
|
|
1154
|
+
*/
|
|
1155
|
+
'schemaIsCorrectlyDefined': boolean;
|
|
1083
1156
|
|
|
1084
1157
|
static discriminator: string | undefined = undefined;
|
|
1085
1158
|
|
|
@@ -1103,6 +1176,26 @@ export class ItemNumberSchemaDto {
|
|
|
1103
1176
|
"name": "filler",
|
|
1104
1177
|
"baseName": "filler",
|
|
1105
1178
|
"type": "string"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"name": "identifier",
|
|
1182
|
+
"baseName": "identifier",
|
|
1183
|
+
"type": "string"
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"name": "skipNonExistingLevelsInPositionItemNumbers",
|
|
1187
|
+
"baseName": "skipNonExistingLevelsInPositionItemNumbers",
|
|
1188
|
+
"type": "boolean"
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"name": "skippedTiersFiller",
|
|
1192
|
+
"baseName": "skippedTiersFiller",
|
|
1193
|
+
"type": "string"
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"name": "schemaIsCorrectlyDefined",
|
|
1197
|
+
"baseName": "schemaIsCorrectlyDefined",
|
|
1198
|
+
"type": "boolean"
|
|
1106
1199
|
} ];
|
|
1107
1200
|
|
|
1108
1201
|
static getAttributeTypeMap() {
|
|
@@ -1352,6 +1445,11 @@ export class NoteTextDto extends IElementDto {
|
|
|
1352
1445
|
* 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.
|
|
1353
1446
|
*/
|
|
1354
1447
|
'descriptionId'?: string;
|
|
1448
|
+
/**
|
|
1449
|
+
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
|
|
1450
|
+
*/
|
|
1451
|
+
'oenormNoteTextProperties'?: OenormNoteTextPropertiesDto;
|
|
1452
|
+
'hasBidderCommentInHtmlLongText': boolean;
|
|
1355
1453
|
|
|
1356
1454
|
static discriminator: string | undefined = undefined;
|
|
1357
1455
|
|
|
@@ -1405,6 +1503,16 @@ export class NoteTextDto extends IElementDto {
|
|
|
1405
1503
|
"name": "descriptionId",
|
|
1406
1504
|
"baseName": "descriptionId",
|
|
1407
1505
|
"type": "string"
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"name": "oenormNoteTextProperties",
|
|
1509
|
+
"baseName": "oenormNoteTextProperties",
|
|
1510
|
+
"type": "OenormNoteTextPropertiesDto"
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"name": "hasBidderCommentInHtmlLongText",
|
|
1514
|
+
"baseName": "hasBidderCommentInHtmlLongText",
|
|
1515
|
+
"type": "boolean"
|
|
1408
1516
|
} ];
|
|
1409
1517
|
|
|
1410
1518
|
static getAttributeTypeMap() {
|
|
@@ -1412,6 +1520,29 @@ export class NoteTextDto extends IElementDto {
|
|
|
1412
1520
|
}
|
|
1413
1521
|
}
|
|
1414
1522
|
|
|
1523
|
+
/**
|
|
1524
|
+
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
|
|
1525
|
+
*/
|
|
1526
|
+
export class OenormNoteTextPropertiesDto {
|
|
1527
|
+
/**
|
|
1528
|
+
* This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
|
|
1529
|
+
*/
|
|
1530
|
+
'originCode': OenormOriginCodeDto;
|
|
1531
|
+
|
|
1532
|
+
static discriminator: string | undefined = undefined;
|
|
1533
|
+
|
|
1534
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
1535
|
+
{
|
|
1536
|
+
"name": "originCode",
|
|
1537
|
+
"baseName": "originCode",
|
|
1538
|
+
"type": "OenormOriginCodeDto"
|
|
1539
|
+
} ];
|
|
1540
|
+
|
|
1541
|
+
static getAttributeTypeMap() {
|
|
1542
|
+
return OenormNoteTextPropertiesDto.attributeTypeMap;
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1415
1546
|
/**
|
|
1416
1547
|
* This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
|
|
1417
1548
|
*/
|
|
@@ -1443,6 +1574,10 @@ export class OenormPositionPropertiesDto {
|
|
|
1443
1574
|
* This indicates if the ÖNorm 'wesentliche position' mark is set
|
|
1444
1575
|
*/
|
|
1445
1576
|
'isMainPosition': boolean;
|
|
1577
|
+
/**
|
|
1578
|
+
* 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
|
|
1579
|
+
*/
|
|
1580
|
+
'isUndividedPosition': boolean;
|
|
1446
1581
|
|
|
1447
1582
|
static discriminator: string | undefined = undefined;
|
|
1448
1583
|
|
|
@@ -1461,6 +1596,11 @@ export class OenormPositionPropertiesDto {
|
|
|
1461
1596
|
"name": "isMainPosition",
|
|
1462
1597
|
"baseName": "isMainPosition",
|
|
1463
1598
|
"type": "boolean"
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"name": "isUndividedPosition",
|
|
1602
|
+
"baseName": "isUndividedPosition",
|
|
1603
|
+
"type": "boolean"
|
|
1464
1604
|
} ];
|
|
1465
1605
|
|
|
1466
1606
|
static getAttributeTypeMap() {
|
|
@@ -1883,6 +2023,15 @@ export class PositionDto extends IElementDto {
|
|
|
1883
2023
|
* 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.
|
|
1884
2024
|
*/
|
|
1885
2025
|
'descriptionId'?: string;
|
|
2026
|
+
/**
|
|
2027
|
+
* 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.
|
|
2028
|
+
*/
|
|
2029
|
+
'hierarchyLevel': number;
|
|
2030
|
+
/**
|
|
2031
|
+
* This indicates, if this element is part of an addendum an, if yes, with what status.
|
|
2032
|
+
*/
|
|
2033
|
+
'addendumStatus'?: AddendumStatusDto;
|
|
2034
|
+
'hasBidderCommentInHtmlLongText': boolean;
|
|
1886
2035
|
|
|
1887
2036
|
static discriminator: string | undefined = undefined;
|
|
1888
2037
|
|
|
@@ -2121,6 +2270,21 @@ export class PositionDto extends IElementDto {
|
|
|
2121
2270
|
"name": "descriptionId",
|
|
2122
2271
|
"baseName": "descriptionId",
|
|
2123
2272
|
"type": "string"
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
"name": "hierarchyLevel",
|
|
2276
|
+
"baseName": "hierarchyLevel",
|
|
2277
|
+
"type": "number"
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
"name": "addendumStatus",
|
|
2281
|
+
"baseName": "addendumStatus",
|
|
2282
|
+
"type": "AddendumStatusDto"
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
"name": "hasBidderCommentInHtmlLongText",
|
|
2286
|
+
"baseName": "hasBidderCommentInHtmlLongText",
|
|
2287
|
+
"type": "boolean"
|
|
2124
2288
|
} ];
|
|
2125
2289
|
|
|
2126
2290
|
static getAttributeTypeMap() {
|
|
@@ -2492,7 +2656,7 @@ export class ProjectInformationDto {
|
|
|
2492
2656
|
*/
|
|
2493
2657
|
'labourTimeLabel'?: string;
|
|
2494
2658
|
/**
|
|
2495
|
-
* Labels for the price components used in the project. Caution: Removal of a price component will trigger to have dependent price informations be deleted in IElements that use this property.
|
|
2659
|
+
* Labels for the price components used in the project. Caution: Removal of a price component will trigger to have dependent price informations be deleted in IElements that use this property. If this property is changed or altered after the project has already been used, it is strongly advised to do operations step by step, e.g. if renaming and reordering multiple price components, this should be done one by one. Otherwise, a combination of rename and reordering will not be correctly propagated downwards to child objects in this Project.
|
|
2496
2660
|
*/
|
|
2497
2661
|
'priceComponents'?: Array<string>;
|
|
2498
2662
|
/**
|
|
@@ -2874,6 +3038,10 @@ export class ServiceSpecificationDto {
|
|
|
2874
3038
|
*/
|
|
2875
3039
|
'deductionFactor': number;
|
|
2876
3040
|
/**
|
|
3041
|
+
* The exact amount of the discount as an absolute value. For backwards compatibility reasons, setting this value will also set a calculated value to DeductionFactor, which will also be updated in case the total price is changed to reflect a relative value of the absolute discount sum.
|
|
3042
|
+
*/
|
|
3043
|
+
'absoluteDeduction'?: number;
|
|
3044
|
+
/**
|
|
2877
3045
|
* Will return this ElementContainerBase's total price.
|
|
2878
3046
|
*/
|
|
2879
3047
|
'totalPrice': number;
|
|
@@ -2950,7 +3118,7 @@ export class ServiceSpecificationDto {
|
|
|
2950
3118
|
*/
|
|
2951
3119
|
'projectCatalogues'?: Array<CatalogueDto>;
|
|
2952
3120
|
/**
|
|
2953
|
-
* Referenced catalogues for this
|
|
3121
|
+
* Referenced catalogues for this ElementContainerBase.
|
|
2954
3122
|
*/
|
|
2955
3123
|
'catalogueReferences'?: Array<CatalogueReferenceDto>;
|
|
2956
3124
|
/**
|
|
@@ -2985,6 +3153,14 @@ export class ServiceSpecificationDto {
|
|
|
2985
3153
|
* This should specify how the approval is performed by the buyer. This matches \"AcceptType\" in GAEB
|
|
2986
3154
|
*/
|
|
2987
3155
|
'typeOfApproval'?: string;
|
|
3156
|
+
/**
|
|
3157
|
+
* This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German.
|
|
3158
|
+
*/
|
|
3159
|
+
'addendumNumber'?: string;
|
|
3160
|
+
/**
|
|
3161
|
+
* This indicates, if this element is part of an addendum an, if yes, with what status.
|
|
3162
|
+
*/
|
|
3163
|
+
'addendumStatus'?: AddendumStatusDto;
|
|
2988
3164
|
|
|
2989
3165
|
static discriminator: string | undefined = undefined;
|
|
2990
3166
|
|
|
@@ -3064,6 +3240,11 @@ export class ServiceSpecificationDto {
|
|
|
3064
3240
|
"baseName": "deductionFactor",
|
|
3065
3241
|
"type": "number"
|
|
3066
3242
|
},
|
|
3243
|
+
{
|
|
3244
|
+
"name": "absoluteDeduction",
|
|
3245
|
+
"baseName": "absoluteDeduction",
|
|
3246
|
+
"type": "number"
|
|
3247
|
+
},
|
|
3067
3248
|
{
|
|
3068
3249
|
"name": "totalPrice",
|
|
3069
3250
|
"baseName": "totalPrice",
|
|
@@ -3203,6 +3384,16 @@ export class ServiceSpecificationDto {
|
|
|
3203
3384
|
"name": "typeOfApproval",
|
|
3204
3385
|
"baseName": "typeOfApproval",
|
|
3205
3386
|
"type": "string"
|
|
3387
|
+
},
|
|
3388
|
+
{
|
|
3389
|
+
"name": "addendumNumber",
|
|
3390
|
+
"baseName": "addendumNumber",
|
|
3391
|
+
"type": "string"
|
|
3392
|
+
},
|
|
3393
|
+
{
|
|
3394
|
+
"name": "addendumStatus",
|
|
3395
|
+
"baseName": "addendumStatus",
|
|
3396
|
+
"type": "AddendumStatusDto"
|
|
3206
3397
|
} ];
|
|
3207
3398
|
|
|
3208
3399
|
static getAttributeTypeMap() {
|
|
@@ -3268,6 +3459,10 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3268
3459
|
*/
|
|
3269
3460
|
'deductionFactor': number;
|
|
3270
3461
|
/**
|
|
3462
|
+
* The exact amount of the discount as an absolute value. For backwards compatibility reasons, setting this value will also set a calculated value to DeductionFactor, which will also be updated in case the total price is changed to reflect a relative value of the absolute discount sum.
|
|
3463
|
+
*/
|
|
3464
|
+
'absoluteDeduction'?: number;
|
|
3465
|
+
/**
|
|
3271
3466
|
* Will return this ElementContainerBase's total price.
|
|
3272
3467
|
*/
|
|
3273
3468
|
'totalPrice': number;
|
|
@@ -3310,13 +3505,21 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3310
3505
|
*/
|
|
3311
3506
|
'projectCatalogues'?: Array<CatalogueDto>;
|
|
3312
3507
|
/**
|
|
3313
|
-
* Referenced catalogues for this
|
|
3508
|
+
* Referenced catalogues for this ElementContainerBase.
|
|
3314
3509
|
*/
|
|
3315
3510
|
'catalogueReferences'?: Array<CatalogueReferenceDto>;
|
|
3316
3511
|
/**
|
|
3317
3512
|
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
|
|
3318
3513
|
*/
|
|
3319
3514
|
'oenormProperties'?: OenormPropertiesDto;
|
|
3515
|
+
/**
|
|
3516
|
+
* 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.
|
|
3517
|
+
*/
|
|
3518
|
+
'hierarchyLevel': number;
|
|
3519
|
+
/**
|
|
3520
|
+
* This indicates, if this element is part of an addendum an, if yes, with what status.
|
|
3521
|
+
*/
|
|
3522
|
+
'addendumStatus'?: AddendumStatusDto;
|
|
3320
3523
|
|
|
3321
3524
|
static discriminator: string | undefined = undefined;
|
|
3322
3525
|
|
|
@@ -3391,6 +3594,11 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3391
3594
|
"baseName": "deductionFactor",
|
|
3392
3595
|
"type": "number"
|
|
3393
3596
|
},
|
|
3597
|
+
{
|
|
3598
|
+
"name": "absoluteDeduction",
|
|
3599
|
+
"baseName": "absoluteDeduction",
|
|
3600
|
+
"type": "number"
|
|
3601
|
+
},
|
|
3394
3602
|
{
|
|
3395
3603
|
"name": "totalPrice",
|
|
3396
3604
|
"baseName": "totalPrice",
|
|
@@ -3460,6 +3668,16 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3460
3668
|
"name": "oenormProperties",
|
|
3461
3669
|
"baseName": "oenormProperties",
|
|
3462
3670
|
"type": "OenormPropertiesDto"
|
|
3671
|
+
},
|
|
3672
|
+
{
|
|
3673
|
+
"name": "hierarchyLevel",
|
|
3674
|
+
"baseName": "hierarchyLevel",
|
|
3675
|
+
"type": "number"
|
|
3676
|
+
},
|
|
3677
|
+
{
|
|
3678
|
+
"name": "addendumStatus",
|
|
3679
|
+
"baseName": "addendumStatus",
|
|
3680
|
+
"type": "AddendumStatusDto"
|
|
3463
3681
|
} ];
|
|
3464
3682
|
|
|
3465
3683
|
static getAttributeTypeMap() {
|
|
@@ -3609,6 +3827,7 @@ export class SubDescriptionDto {
|
|
|
3609
3827
|
* 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.
|
|
3610
3828
|
*/
|
|
3611
3829
|
'descriptionId'?: string;
|
|
3830
|
+
'hasBidderCommentInHtmlLongText': boolean;
|
|
3612
3831
|
|
|
3613
3832
|
static discriminator: string | undefined = undefined;
|
|
3614
3833
|
|
|
@@ -3677,6 +3896,11 @@ export class SubDescriptionDto {
|
|
|
3677
3896
|
"name": "descriptionId",
|
|
3678
3897
|
"baseName": "descriptionId",
|
|
3679
3898
|
"type": "string"
|
|
3899
|
+
},
|
|
3900
|
+
{
|
|
3901
|
+
"name": "hasBidderCommentInHtmlLongText",
|
|
3902
|
+
"baseName": "hasBidderCommentInHtmlLongText",
|
|
3903
|
+
"type": "boolean"
|
|
3680
3904
|
} ];
|
|
3681
3905
|
|
|
3682
3906
|
static getAttributeTypeMap() {
|
|
@@ -3847,7 +4071,7 @@ export class TradeDiscountDto {
|
|
|
3847
4071
|
*/
|
|
3848
4072
|
export class WarrantyDurationDto {
|
|
3849
4073
|
/**
|
|
3850
|
-
* The scalar value of the duration. This value must be equal to or bigger than zero (
|
|
4074
|
+
* The scalar value of the duration. This value must be equal to or bigger than zero (>= 0). Negative values can not be set and will be ignored.
|
|
3851
4075
|
*/
|
|
3852
4076
|
'duration': number;
|
|
3853
4077
|
/**
|
|
@@ -3879,6 +4103,7 @@ let enumsMap: {[index: string]: any} = {
|
|
|
3879
4103
|
}
|
|
3880
4104
|
|
|
3881
4105
|
let typeMap: {[index: string]: any} = {
|
|
4106
|
+
"AddendumStatusDto": AddendumStatusDto,
|
|
3882
4107
|
"AdditionTypeDto": AdditionTypeDto,
|
|
3883
4108
|
"ApiError": ApiError,
|
|
3884
4109
|
"ArticleDataDto": ArticleDataDto,
|
|
@@ -3894,6 +4119,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
3894
4119
|
"DestinationGaebExchangePhase": DestinationGaebExchangePhase,
|
|
3895
4120
|
"DestinationGaebType": DestinationGaebType,
|
|
3896
4121
|
"DestinationOenormType": DestinationOenormType,
|
|
4122
|
+
"DestinationRebType": DestinationRebType,
|
|
3897
4123
|
"DurationUnitDto": DurationUnitDto,
|
|
3898
4124
|
"ExchangePhaseDto": ExchangePhaseDto,
|
|
3899
4125
|
"ExecutionDescriptionDto": ExecutionDescriptionDto,
|
|
@@ -3910,6 +4136,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
3910
4136
|
"LabourPriceComponentDto": LabourPriceComponentDto,
|
|
3911
4137
|
"LoginPost": LoginPost,
|
|
3912
4138
|
"NoteTextDto": NoteTextDto,
|
|
4139
|
+
"OenormNoteTextPropertiesDto": OenormNoteTextPropertiesDto,
|
|
3913
4140
|
"OenormOriginCodeDto": OenormOriginCodeDto,
|
|
3914
4141
|
"OenormPositionPropertiesDto": OenormPositionPropertiesDto,
|
|
3915
4142
|
"OenormPropertiesDto": OenormPropertiesDto,
|
|
@@ -4190,9 +4417,10 @@ export class AslvConversionApi {
|
|
|
4190
4417
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4191
4418
|
* @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.
|
|
4192
4419
|
* @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.
|
|
4420
|
+
* @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.
|
|
4193
4421
|
* @param {*} [options] Override http request options.
|
|
4194
4422
|
*/
|
|
4195
|
-
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; }> {
|
|
4423
|
+
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; }> {
|
|
4196
4424
|
const localVarPath = this.basePath + '/conversion/aslv/gaeb';
|
|
4197
4425
|
let localVarQueryParameters: any = {};
|
|
4198
4426
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4214,6 +4442,10 @@ export class AslvConversionApi {
|
|
|
4214
4442
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4215
4443
|
}
|
|
4216
4444
|
|
|
4445
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4446
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4447
|
+
}
|
|
4448
|
+
|
|
4217
4449
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4218
4450
|
|
|
4219
4451
|
let localVarUseFormData = false;
|
|
@@ -4265,9 +4497,10 @@ export class AslvConversionApi {
|
|
|
4265
4497
|
* @param destinationOenormType Defaults to Lv2015
|
|
4266
4498
|
* @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
|
|
4267
4499
|
* @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.
|
|
4500
|
+
* @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.
|
|
4268
4501
|
* @param {*} [options] Override http request options.
|
|
4269
4502
|
*/
|
|
4270
|
-
public aslvConversionConvertToOenorm (aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4503
|
+
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; }> {
|
|
4271
4504
|
const localVarPath = this.basePath + '/conversion/aslv/oenorm';
|
|
4272
4505
|
let localVarQueryParameters: any = {};
|
|
4273
4506
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4285,6 +4518,10 @@ export class AslvConversionApi {
|
|
|
4285
4518
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4286
4519
|
}
|
|
4287
4520
|
|
|
4521
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4522
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4523
|
+
}
|
|
4524
|
+
|
|
4288
4525
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4289
4526
|
|
|
4290
4527
|
let localVarUseFormData = false;
|
|
@@ -4383,11 +4620,12 @@ export class AvaConversionApi {
|
|
|
4383
4620
|
*
|
|
4384
4621
|
* @summary Converts Dangl.AVA projects to Dangl.AVA. This is useful when you want to generate the calculated properties.
|
|
4385
4622
|
* @param avaProject The Dangl.AVA project
|
|
4623
|
+
* @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.
|
|
4386
4624
|
* @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
4387
4625
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
4388
4626
|
* @param {*} [options] Override http request options.
|
|
4389
4627
|
*/
|
|
4390
|
-
public avaConversionConvertToAva (avaProject: ProjectDto, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
4628
|
+
public avaConversionConvertToAva (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
4391
4629
|
const localVarPath = this.basePath + '/conversion/ava/ava';
|
|
4392
4630
|
let localVarQueryParameters: any = {};
|
|
4393
4631
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4398,6 +4636,10 @@ export class AvaConversionApi {
|
|
|
4398
4636
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToAva.');
|
|
4399
4637
|
}
|
|
4400
4638
|
|
|
4639
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
4640
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
4641
|
+
}
|
|
4642
|
+
|
|
4401
4643
|
if (removePlainTextLongTexts !== undefined) {
|
|
4402
4644
|
localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
|
|
4403
4645
|
}
|
|
@@ -4450,12 +4692,13 @@ export class AvaConversionApi {
|
|
|
4450
4692
|
*
|
|
4451
4693
|
* @summary Converts Dangl.AVA projects to Excel
|
|
4452
4694
|
* @param avaProject The Dangl.AVA project
|
|
4695
|
+
* @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.
|
|
4453
4696
|
* @param writePrices Defaults to true
|
|
4454
4697
|
* @param writeLongTexts Defaults to true
|
|
4455
4698
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
4456
4699
|
* @param {*} [options] Override http request options.
|
|
4457
4700
|
*/
|
|
4458
|
-
public avaConversionConvertToExcel (avaProject: ProjectDto, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4701
|
+
public avaConversionConvertToExcel (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4459
4702
|
const localVarPath = this.basePath + '/conversion/ava/excel';
|
|
4460
4703
|
let localVarQueryParameters: any = {};
|
|
4461
4704
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4466,6 +4709,10 @@ export class AvaConversionApi {
|
|
|
4466
4709
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToExcel.');
|
|
4467
4710
|
}
|
|
4468
4711
|
|
|
4712
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
4713
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
4714
|
+
}
|
|
4715
|
+
|
|
4469
4716
|
if (writePrices !== undefined) {
|
|
4470
4717
|
localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
|
|
4471
4718
|
}
|
|
@@ -4523,13 +4770,15 @@ export class AvaConversionApi {
|
|
|
4523
4770
|
*
|
|
4524
4771
|
* @summary Converts Dangl.AVA projects to GAEB
|
|
4525
4772
|
* @param avaProject The Dangl.AVA project
|
|
4773
|
+
* @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.
|
|
4526
4774
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
4527
4775
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4528
4776
|
* @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.
|
|
4529
4777
|
* @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.
|
|
4778
|
+
* @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.
|
|
4530
4779
|
* @param {*} [options] Override http request options.
|
|
4531
4780
|
*/
|
|
4532
|
-
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; }> {
|
|
4781
|
+
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; }> {
|
|
4533
4782
|
const localVarPath = this.basePath + '/conversion/ava/gaeb';
|
|
4534
4783
|
let localVarQueryParameters: any = {};
|
|
4535
4784
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4540,6 +4789,10 @@ export class AvaConversionApi {
|
|
|
4540
4789
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToGaeb.');
|
|
4541
4790
|
}
|
|
4542
4791
|
|
|
4792
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
4793
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
4794
|
+
}
|
|
4795
|
+
|
|
4543
4796
|
if (destinationGaebType !== undefined) {
|
|
4544
4797
|
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'");
|
|
4545
4798
|
}
|
|
@@ -4556,6 +4809,10 @@ export class AvaConversionApi {
|
|
|
4556
4809
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4557
4810
|
}
|
|
4558
4811
|
|
|
4812
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4813
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4814
|
+
}
|
|
4815
|
+
|
|
4559
4816
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4560
4817
|
|
|
4561
4818
|
let localVarUseFormData = false;
|
|
@@ -4601,12 +4858,14 @@ export class AvaConversionApi {
|
|
|
4601
4858
|
*
|
|
4602
4859
|
* @summary Converts Dangl.AVA projects to Oenorm
|
|
4603
4860
|
* @param avaProject The Dangl.AVA project
|
|
4861
|
+
* @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.
|
|
4604
4862
|
* @param destinationOenormType Defaults to Lv2015
|
|
4605
4863
|
* @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
|
|
4606
4864
|
* @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.
|
|
4865
|
+
* @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.
|
|
4607
4866
|
* @param {*} [options] Override http request options.
|
|
4608
4867
|
*/
|
|
4609
|
-
public avaConversionConvertToOenorm (avaProject: ProjectDto, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4868
|
+
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; }> {
|
|
4610
4869
|
const localVarPath = this.basePath + '/conversion/ava/oenorm';
|
|
4611
4870
|
let localVarQueryParameters: any = {};
|
|
4612
4871
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4617,6 +4876,10 @@ export class AvaConversionApi {
|
|
|
4617
4876
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToOenorm.');
|
|
4618
4877
|
}
|
|
4619
4878
|
|
|
4879
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
4880
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
4881
|
+
}
|
|
4882
|
+
|
|
4620
4883
|
if (destinationOenormType !== undefined) {
|
|
4621
4884
|
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
4622
4885
|
}
|
|
@@ -4629,6 +4892,10 @@ export class AvaConversionApi {
|
|
|
4629
4892
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4630
4893
|
}
|
|
4631
4894
|
|
|
4895
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4896
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4897
|
+
}
|
|
4898
|
+
|
|
4632
4899
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4633
4900
|
|
|
4634
4901
|
let localVarUseFormData = false;
|
|
@@ -4674,9 +4941,11 @@ export class AvaConversionApi {
|
|
|
4674
4941
|
*
|
|
4675
4942
|
* @summary Converts Dangl.AVA projects to REB
|
|
4676
4943
|
* @param avaProject The Dangl.AVA project
|
|
4944
|
+
* @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.
|
|
4945
|
+
* @param destinationRebType Defaults to D11
|
|
4677
4946
|
* @param {*} [options] Override http request options.
|
|
4678
4947
|
*/
|
|
4679
|
-
public avaConversionConvertToReb (avaProject: ProjectDto, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4948
|
+
public avaConversionConvertToReb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationRebType?: 'D11' | 'X31GaebXmlV32', options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4680
4949
|
const localVarPath = this.basePath + '/conversion/ava/reb';
|
|
4681
4950
|
let localVarQueryParameters: any = {};
|
|
4682
4951
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4687,6 +4956,14 @@ export class AvaConversionApi {
|
|
|
4687
4956
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToReb.');
|
|
4688
4957
|
}
|
|
4689
4958
|
|
|
4959
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
4960
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
4961
|
+
}
|
|
4962
|
+
|
|
4963
|
+
if (destinationRebType !== undefined) {
|
|
4964
|
+
localVarQueryParameters['DestinationRebType'] = ObjectSerializer.serialize(destinationRebType, "'D11' | 'X31GaebXmlV32'");
|
|
4965
|
+
}
|
|
4966
|
+
|
|
4690
4967
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4691
4968
|
|
|
4692
4969
|
let localVarUseFormData = false;
|
|
@@ -4732,9 +5009,10 @@ export class AvaConversionApi {
|
|
|
4732
5009
|
*
|
|
4733
5010
|
* @summary Converts Dangl.AVA projects to SIA 451
|
|
4734
5011
|
* @param avaProject The Dangl.AVA project
|
|
5012
|
+
* @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.
|
|
4735
5013
|
* @param {*} [options] Override http request options.
|
|
4736
5014
|
*/
|
|
4737
|
-
public avaConversionConvertToSia (avaProject: ProjectDto, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5015
|
+
public avaConversionConvertToSia (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4738
5016
|
const localVarPath = this.basePath + '/conversion/ava/sia';
|
|
4739
5017
|
let localVarQueryParameters: any = {};
|
|
4740
5018
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4745,6 +5023,10 @@ export class AvaConversionApi {
|
|
|
4745
5023
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToSia.');
|
|
4746
5024
|
}
|
|
4747
5025
|
|
|
5026
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
5027
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
5028
|
+
}
|
|
5029
|
+
|
|
4748
5030
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4749
5031
|
|
|
4750
5032
|
let localVarUseFormData = false;
|
|
@@ -5383,9 +5665,10 @@ export class ExcelConversionApi {
|
|
|
5383
5665
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5384
5666
|
* @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.
|
|
5385
5667
|
* @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.
|
|
5668
|
+
* @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.
|
|
5386
5669
|
* @param {*} [options] Override http request options.
|
|
5387
5670
|
*/
|
|
5388
|
-
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; }> {
|
|
5671
|
+
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; }> {
|
|
5389
5672
|
const localVarPath = this.basePath + '/conversion/excel/gaeb';
|
|
5390
5673
|
let localVarQueryParameters: any = {};
|
|
5391
5674
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -5415,6 +5698,10 @@ export class ExcelConversionApi {
|
|
|
5415
5698
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
5416
5699
|
}
|
|
5417
5700
|
|
|
5701
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
5702
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
5703
|
+
}
|
|
5704
|
+
|
|
5418
5705
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5419
5706
|
|
|
5420
5707
|
let localVarUseFormData = false;
|
|
@@ -5468,9 +5755,10 @@ export class ExcelConversionApi {
|
|
|
5468
5755
|
* @param destinationOenormType Defaults to Lv2015
|
|
5469
5756
|
* @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
|
|
5470
5757
|
* @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.
|
|
5758
|
+
* @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.
|
|
5471
5759
|
* @param {*} [options] Override http request options.
|
|
5472
5760
|
*/
|
|
5473
|
-
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; }> {
|
|
5761
|
+
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; }> {
|
|
5474
5762
|
const localVarPath = this.basePath + '/conversion/excel/oenorm';
|
|
5475
5763
|
let localVarQueryParameters: any = {};
|
|
5476
5764
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -5496,6 +5784,10 @@ export class ExcelConversionApi {
|
|
|
5496
5784
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
5497
5785
|
}
|
|
5498
5786
|
|
|
5787
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
5788
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
5789
|
+
}
|
|
5790
|
+
|
|
5499
5791
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5500
5792
|
|
|
5501
5793
|
let localVarUseFormData = false;
|
|
@@ -5594,16 +5886,21 @@ export class GaebConversionApi {
|
|
|
5594
5886
|
*
|
|
5595
5887
|
* @summary Converts GAEB files to Dangl.AVA projects
|
|
5596
5888
|
* @param gaebFile The input file
|
|
5889
|
+
* @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.
|
|
5597
5890
|
* @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
5598
5891
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
5599
5892
|
* @param {*} [options] Override http request options.
|
|
5600
5893
|
*/
|
|
5601
|
-
public gaebConversionConvertToAva (gaebFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
5894
|
+
public gaebConversionConvertToAva (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
5602
5895
|
const localVarPath = this.basePath + '/conversion/gaeb/ava';
|
|
5603
5896
|
let localVarQueryParameters: any = {};
|
|
5604
5897
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5605
5898
|
let localVarFormParams: any = {};
|
|
5606
5899
|
|
|
5900
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
5901
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
5902
|
+
}
|
|
5903
|
+
|
|
5607
5904
|
if (removePlainTextLongTexts !== undefined) {
|
|
5608
5905
|
localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
|
|
5609
5906
|
}
|
|
@@ -5660,17 +5957,22 @@ export class GaebConversionApi {
|
|
|
5660
5957
|
*
|
|
5661
5958
|
* @summary Converts GAEB files to Excel
|
|
5662
5959
|
* @param gaebFile The input file
|
|
5960
|
+
* @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.
|
|
5663
5961
|
* @param writePrices Defaults to true
|
|
5664
5962
|
* @param writeLongTexts Defaults to true
|
|
5665
5963
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
5666
5964
|
* @param {*} [options] Override http request options.
|
|
5667
5965
|
*/
|
|
5668
|
-
public gaebConversionConvertToExcel (gaebFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5966
|
+
public gaebConversionConvertToExcel (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5669
5967
|
const localVarPath = this.basePath + '/conversion/gaeb/excel';
|
|
5670
5968
|
let localVarQueryParameters: any = {};
|
|
5671
5969
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5672
5970
|
let localVarFormParams: any = {};
|
|
5673
5971
|
|
|
5972
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
5973
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
5974
|
+
}
|
|
5975
|
+
|
|
5674
5976
|
if (writePrices !== undefined) {
|
|
5675
5977
|
localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
|
|
5676
5978
|
}
|
|
@@ -5731,18 +6033,24 @@ export class GaebConversionApi {
|
|
|
5731
6033
|
*
|
|
5732
6034
|
* @summary Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files.
|
|
5733
6035
|
* @param gaebFile The input file
|
|
6036
|
+
* @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.
|
|
5734
6037
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
5735
6038
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5736
6039
|
* @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.
|
|
5737
6040
|
* @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.
|
|
6041
|
+
* @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.
|
|
5738
6042
|
* @param {*} [options] Override http request options.
|
|
5739
6043
|
*/
|
|
5740
|
-
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; }> {
|
|
6044
|
+
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; }> {
|
|
5741
6045
|
const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
|
|
5742
6046
|
let localVarQueryParameters: any = {};
|
|
5743
6047
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5744
6048
|
let localVarFormParams: any = {};
|
|
5745
6049
|
|
|
6050
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
6051
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
6052
|
+
}
|
|
6053
|
+
|
|
5746
6054
|
if (destinationGaebType !== undefined) {
|
|
5747
6055
|
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'");
|
|
5748
6056
|
}
|
|
@@ -5759,6 +6067,10 @@ export class GaebConversionApi {
|
|
|
5759
6067
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
5760
6068
|
}
|
|
5761
6069
|
|
|
6070
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6071
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6072
|
+
}
|
|
6073
|
+
|
|
5762
6074
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5763
6075
|
|
|
5764
6076
|
let localVarUseFormData = false;
|
|
@@ -5807,17 +6119,23 @@ export class GaebConversionApi {
|
|
|
5807
6119
|
*
|
|
5808
6120
|
* @summary Converts GAEB files to Oenorm files
|
|
5809
6121
|
* @param gaebFile The input file
|
|
6122
|
+
* @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.
|
|
5810
6123
|
* @param destinationOenormType Defaults to Lv2015
|
|
5811
6124
|
* @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
|
|
5812
6125
|
* @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.
|
|
6126
|
+
* @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.
|
|
5813
6127
|
* @param {*} [options] Override http request options.
|
|
5814
6128
|
*/
|
|
5815
|
-
public gaebConversionConvertToOenorm (gaebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6129
|
+
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; }> {
|
|
5816
6130
|
const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
|
|
5817
6131
|
let localVarQueryParameters: any = {};
|
|
5818
6132
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5819
6133
|
let localVarFormParams: any = {};
|
|
5820
6134
|
|
|
6135
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
6136
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
6137
|
+
}
|
|
6138
|
+
|
|
5821
6139
|
if (destinationOenormType !== undefined) {
|
|
5822
6140
|
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
5823
6141
|
}
|
|
@@ -5830,6 +6148,10 @@ export class GaebConversionApi {
|
|
|
5830
6148
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
5831
6149
|
}
|
|
5832
6150
|
|
|
6151
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6152
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6153
|
+
}
|
|
6154
|
+
|
|
5833
6155
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5834
6156
|
|
|
5835
6157
|
let localVarUseFormData = false;
|
|
@@ -6069,9 +6391,10 @@ export class OenormConversionApi {
|
|
|
6069
6391
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
6070
6392
|
* @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.
|
|
6071
6393
|
* @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.
|
|
6394
|
+
* @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.
|
|
6072
6395
|
* @param {*} [options] Override http request options.
|
|
6073
6396
|
*/
|
|
6074
|
-
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; }> {
|
|
6397
|
+
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; }> {
|
|
6075
6398
|
const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
|
|
6076
6399
|
let localVarQueryParameters: any = {};
|
|
6077
6400
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6093,6 +6416,10 @@ export class OenormConversionApi {
|
|
|
6093
6416
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
6094
6417
|
}
|
|
6095
6418
|
|
|
6419
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6420
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6421
|
+
}
|
|
6422
|
+
|
|
6096
6423
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6097
6424
|
|
|
6098
6425
|
let localVarUseFormData = false;
|
|
@@ -6144,9 +6471,10 @@ export class OenormConversionApi {
|
|
|
6144
6471
|
* @param destinationOenormType Defaults to Lv2015
|
|
6145
6472
|
* @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
|
|
6146
6473
|
* @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.
|
|
6474
|
+
* @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.
|
|
6147
6475
|
* @param {*} [options] Override http request options.
|
|
6148
6476
|
*/
|
|
6149
|
-
public oenormConversionConvertToOenorm (oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6477
|
+
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; }> {
|
|
6150
6478
|
const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
|
|
6151
6479
|
let localVarQueryParameters: any = {};
|
|
6152
6480
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6164,6 +6492,10 @@ export class OenormConversionApi {
|
|
|
6164
6492
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
6165
6493
|
}
|
|
6166
6494
|
|
|
6495
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6496
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6497
|
+
}
|
|
6498
|
+
|
|
6167
6499
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6168
6500
|
|
|
6169
6501
|
let localVarUseFormData = false;
|
|
@@ -6403,9 +6735,10 @@ export class RebConversionApi {
|
|
|
6403
6735
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
6404
6736
|
* @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.
|
|
6405
6737
|
* @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.
|
|
6738
|
+
* @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.
|
|
6406
6739
|
* @param {*} [options] Override http request options.
|
|
6407
6740
|
*/
|
|
6408
|
-
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; }> {
|
|
6741
|
+
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; }> {
|
|
6409
6742
|
const localVarPath = this.basePath + '/conversion/reb/gaeb';
|
|
6410
6743
|
let localVarQueryParameters: any = {};
|
|
6411
6744
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6427,6 +6760,10 @@ export class RebConversionApi {
|
|
|
6427
6760
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
6428
6761
|
}
|
|
6429
6762
|
|
|
6763
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6764
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6765
|
+
}
|
|
6766
|
+
|
|
6430
6767
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6431
6768
|
|
|
6432
6769
|
let localVarUseFormData = false;
|
|
@@ -6478,9 +6815,10 @@ export class RebConversionApi {
|
|
|
6478
6815
|
* @param destinationOenormType Defaults to Lv2015
|
|
6479
6816
|
* @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
|
|
6480
6817
|
* @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.
|
|
6818
|
+
* @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.
|
|
6481
6819
|
* @param {*} [options] Override http request options.
|
|
6482
6820
|
*/
|
|
6483
|
-
public rebConversionConvertToOenorm (rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6821
|
+
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; }> {
|
|
6484
6822
|
const localVarPath = this.basePath + '/conversion/reb/oenorm';
|
|
6485
6823
|
let localVarQueryParameters: any = {};
|
|
6486
6824
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6498,6 +6836,10 @@ export class RebConversionApi {
|
|
|
6498
6836
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
6499
6837
|
}
|
|
6500
6838
|
|
|
6839
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6840
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6841
|
+
}
|
|
6842
|
+
|
|
6501
6843
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6502
6844
|
|
|
6503
6845
|
let localVarUseFormData = false;
|
|
@@ -6737,9 +7079,10 @@ export class SiaConversionApi {
|
|
|
6737
7079
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
6738
7080
|
* @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.
|
|
6739
7081
|
* @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.
|
|
7082
|
+
* @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.
|
|
6740
7083
|
* @param {*} [options] Override http request options.
|
|
6741
7084
|
*/
|
|
6742
|
-
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; }> {
|
|
7085
|
+
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; }> {
|
|
6743
7086
|
const localVarPath = this.basePath + '/conversion/sia/gaeb';
|
|
6744
7087
|
let localVarQueryParameters: any = {};
|
|
6745
7088
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6761,6 +7104,10 @@ export class SiaConversionApi {
|
|
|
6761
7104
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
6762
7105
|
}
|
|
6763
7106
|
|
|
7107
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
7108
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
7109
|
+
}
|
|
7110
|
+
|
|
6764
7111
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6765
7112
|
|
|
6766
7113
|
let localVarUseFormData = false;
|
|
@@ -6812,9 +7159,10 @@ export class SiaConversionApi {
|
|
|
6812
7159
|
* @param destinationOenormType Defaults to Lv2015
|
|
6813
7160
|
* @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
|
|
6814
7161
|
* @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.
|
|
7162
|
+
* @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.
|
|
6815
7163
|
* @param {*} [options] Override http request options.
|
|
6816
7164
|
*/
|
|
6817
|
-
public siaConversionConvertToOenorm (siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7165
|
+
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; }> {
|
|
6818
7166
|
const localVarPath = this.basePath + '/conversion/sia/oenorm';
|
|
6819
7167
|
let localVarQueryParameters: any = {};
|
|
6820
7168
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6832,6 +7180,10 @@ export class SiaConversionApi {
|
|
|
6832
7180
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
6833
7181
|
}
|
|
6834
7182
|
|
|
7183
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
7184
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
7185
|
+
}
|
|
7186
|
+
|
|
6835
7187
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6836
7188
|
|
|
6837
7189
|
let localVarUseFormData = false;
|