@dangl/avacloud-client-node 1.15.0 → 1.18.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 +552 -40
- package/api.js +774 -42
- package/api.js.map +1 -1
- package/api.ts +1102 -93
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AVACloud API 1.
|
|
2
|
+
* AVACloud API 1.30.0
|
|
3
3
|
* AVACloud API specification
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 1.
|
|
5
|
+
* OpenAPI spec version: 1.30.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,12 @@ 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;
|
|
794
|
+
'projectCatalogues'?: Array<CatalogueDto>;
|
|
795
|
+
'catalogueReferences'?: Array<CatalogueReferenceDto>;
|
|
760
796
|
'elementTypeDiscriminator': string;
|
|
761
797
|
|
|
762
798
|
static discriminator: string | undefined = "elementTypeDiscriminator";
|
|
@@ -772,6 +808,21 @@ export class IElementDto {
|
|
|
772
808
|
"baseName": "gaebXmlId",
|
|
773
809
|
"type": "string"
|
|
774
810
|
},
|
|
811
|
+
{
|
|
812
|
+
"name": "addendumNumber",
|
|
813
|
+
"baseName": "addendumNumber",
|
|
814
|
+
"type": "string"
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"name": "projectCatalogues",
|
|
818
|
+
"baseName": "projectCatalogues",
|
|
819
|
+
"type": "Array<CatalogueDto>"
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"name": "catalogueReferences",
|
|
823
|
+
"baseName": "catalogueReferences",
|
|
824
|
+
"type": "Array<CatalogueReferenceDto>"
|
|
825
|
+
},
|
|
775
826
|
{
|
|
776
827
|
"name": "elementTypeDiscriminator",
|
|
777
828
|
"baseName": "elementTypeDiscriminator",
|
|
@@ -827,6 +878,21 @@ export class ExecutionDescriptionDto extends IElementDto {
|
|
|
827
878
|
}
|
|
828
879
|
}
|
|
829
880
|
|
|
881
|
+
/**
|
|
882
|
+
* This enum represents the source type for a file based validation operation
|
|
883
|
+
*/
|
|
884
|
+
export class FileValidationSourceType {
|
|
885
|
+
|
|
886
|
+
static discriminator: string | undefined = undefined;
|
|
887
|
+
|
|
888
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
889
|
+
];
|
|
890
|
+
|
|
891
|
+
static getAttributeTypeMap() {
|
|
892
|
+
return FileValidationSourceType.attributeTypeMap;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
|
|
830
896
|
export class ForgotPasswordPost {
|
|
831
897
|
'identifier': string;
|
|
832
898
|
'preferredLanguages'?: Array<string>;
|
|
@@ -1020,6 +1086,14 @@ export class ItemNumberDto {
|
|
|
1020
1086
|
* This indicates if this item number is at the lot level. Find out more about lots in the documentation.
|
|
1021
1087
|
*/
|
|
1022
1088
|
'isLot': boolean;
|
|
1089
|
+
/**
|
|
1090
|
+
* 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.
|
|
1091
|
+
*/
|
|
1092
|
+
'hierarchyLevel': number;
|
|
1093
|
+
/**
|
|
1094
|
+
* This property indicates if this ItemNumber is attached to an object of the Position type.
|
|
1095
|
+
*/
|
|
1096
|
+
'isAttachedToPosition': boolean;
|
|
1023
1097
|
|
|
1024
1098
|
static discriminator: string | undefined = undefined;
|
|
1025
1099
|
|
|
@@ -1053,6 +1127,16 @@ export class ItemNumberDto {
|
|
|
1053
1127
|
"name": "isLot",
|
|
1054
1128
|
"baseName": "isLot",
|
|
1055
1129
|
"type": "boolean"
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"name": "hierarchyLevel",
|
|
1133
|
+
"baseName": "hierarchyLevel",
|
|
1134
|
+
"type": "number"
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"name": "isAttachedToPosition",
|
|
1138
|
+
"baseName": "isAttachedToPosition",
|
|
1139
|
+
"type": "boolean"
|
|
1056
1140
|
} ];
|
|
1057
1141
|
|
|
1058
1142
|
static getAttributeTypeMap() {
|
|
@@ -1077,13 +1161,25 @@ export class ItemNumberSchemaDto {
|
|
|
1077
1161
|
*/
|
|
1078
1162
|
'separator'?: string;
|
|
1079
1163
|
/**
|
|
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
|
|
1164
|
+
* 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
1165
|
*/
|
|
1082
1166
|
'filler'?: string;
|
|
1083
1167
|
/**
|
|
1084
1168
|
* 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
1169
|
*/
|
|
1086
1170
|
'identifier'?: string;
|
|
1171
|
+
/**
|
|
1172
|
+
* 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.
|
|
1173
|
+
*/
|
|
1174
|
+
'skipNonExistingLevelsInPositionItemNumbers': boolean;
|
|
1175
|
+
/**
|
|
1176
|
+
* 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.
|
|
1177
|
+
*/
|
|
1178
|
+
'skippedTiersFiller'?: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* 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.
|
|
1181
|
+
*/
|
|
1182
|
+
'schemaIsCorrectlyDefined': boolean;
|
|
1087
1183
|
|
|
1088
1184
|
static discriminator: string | undefined = undefined;
|
|
1089
1185
|
|
|
@@ -1112,6 +1208,21 @@ export class ItemNumberSchemaDto {
|
|
|
1112
1208
|
"name": "identifier",
|
|
1113
1209
|
"baseName": "identifier",
|
|
1114
1210
|
"type": "string"
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"name": "skipNonExistingLevelsInPositionItemNumbers",
|
|
1214
|
+
"baseName": "skipNonExistingLevelsInPositionItemNumbers",
|
|
1215
|
+
"type": "boolean"
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"name": "skippedTiersFiller",
|
|
1219
|
+
"baseName": "skippedTiersFiller",
|
|
1220
|
+
"type": "string"
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"name": "schemaIsCorrectlyDefined",
|
|
1224
|
+
"baseName": "schemaIsCorrectlyDefined",
|
|
1225
|
+
"type": "boolean"
|
|
1115
1226
|
} ];
|
|
1116
1227
|
|
|
1117
1228
|
static getAttributeTypeMap() {
|
|
@@ -1361,6 +1472,11 @@ export class NoteTextDto extends IElementDto {
|
|
|
1361
1472
|
* 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
1473
|
*/
|
|
1363
1474
|
'descriptionId'?: string;
|
|
1475
|
+
/**
|
|
1476
|
+
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
|
|
1477
|
+
*/
|
|
1478
|
+
'oenormNoteTextProperties'?: OenormNoteTextPropertiesDto;
|
|
1479
|
+
'hasBidderCommentInHtmlLongText': boolean;
|
|
1364
1480
|
|
|
1365
1481
|
static discriminator: string | undefined = undefined;
|
|
1366
1482
|
|
|
@@ -1414,6 +1530,16 @@ export class NoteTextDto extends IElementDto {
|
|
|
1414
1530
|
"name": "descriptionId",
|
|
1415
1531
|
"baseName": "descriptionId",
|
|
1416
1532
|
"type": "string"
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"name": "oenormNoteTextProperties",
|
|
1536
|
+
"baseName": "oenormNoteTextProperties",
|
|
1537
|
+
"type": "OenormNoteTextPropertiesDto"
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"name": "hasBidderCommentInHtmlLongText",
|
|
1541
|
+
"baseName": "hasBidderCommentInHtmlLongText",
|
|
1542
|
+
"type": "boolean"
|
|
1417
1543
|
} ];
|
|
1418
1544
|
|
|
1419
1545
|
static getAttributeTypeMap() {
|
|
@@ -1421,6 +1547,52 @@ export class NoteTextDto extends IElementDto {
|
|
|
1421
1547
|
}
|
|
1422
1548
|
}
|
|
1423
1549
|
|
|
1550
|
+
/**
|
|
1551
|
+
* Basic information about Object check validation details, commonly used when checking GAEB 2000 files
|
|
1552
|
+
*/
|
|
1553
|
+
export class ObjectValidationCheckDetails {
|
|
1554
|
+
/**
|
|
1555
|
+
* The path under which the element with error was found.
|
|
1556
|
+
*/
|
|
1557
|
+
'elementPath'?: string;
|
|
1558
|
+
|
|
1559
|
+
static discriminator: string | undefined = undefined;
|
|
1560
|
+
|
|
1561
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
1562
|
+
{
|
|
1563
|
+
"name": "elementPath",
|
|
1564
|
+
"baseName": "elementPath",
|
|
1565
|
+
"type": "string"
|
|
1566
|
+
} ];
|
|
1567
|
+
|
|
1568
|
+
static getAttributeTypeMap() {
|
|
1569
|
+
return ObjectValidationCheckDetails.attributeTypeMap;
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
/**
|
|
1574
|
+
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
|
|
1575
|
+
*/
|
|
1576
|
+
export class OenormNoteTextPropertiesDto {
|
|
1577
|
+
/**
|
|
1578
|
+
* This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
|
|
1579
|
+
*/
|
|
1580
|
+
'originCode': OenormOriginCodeDto;
|
|
1581
|
+
|
|
1582
|
+
static discriminator: string | undefined = undefined;
|
|
1583
|
+
|
|
1584
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
1585
|
+
{
|
|
1586
|
+
"name": "originCode",
|
|
1587
|
+
"baseName": "originCode",
|
|
1588
|
+
"type": "OenormOriginCodeDto"
|
|
1589
|
+
} ];
|
|
1590
|
+
|
|
1591
|
+
static getAttributeTypeMap() {
|
|
1592
|
+
return OenormNoteTextPropertiesDto.attributeTypeMap;
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1424
1596
|
/**
|
|
1425
1597
|
* This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm
|
|
1426
1598
|
*/
|
|
@@ -1452,6 +1624,10 @@ export class OenormPositionPropertiesDto {
|
|
|
1452
1624
|
* This indicates if the ÖNorm 'wesentliche position' mark is set
|
|
1453
1625
|
*/
|
|
1454
1626
|
'isMainPosition': boolean;
|
|
1627
|
+
/**
|
|
1628
|
+
* 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
|
|
1629
|
+
*/
|
|
1630
|
+
'isUndividedPosition': boolean;
|
|
1455
1631
|
|
|
1456
1632
|
static discriminator: string | undefined = undefined;
|
|
1457
1633
|
|
|
@@ -1470,6 +1646,11 @@ export class OenormPositionPropertiesDto {
|
|
|
1470
1646
|
"name": "isMainPosition",
|
|
1471
1647
|
"baseName": "isMainPosition",
|
|
1472
1648
|
"type": "boolean"
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"name": "isUndividedPosition",
|
|
1652
|
+
"baseName": "isUndividedPosition",
|
|
1653
|
+
"type": "boolean"
|
|
1473
1654
|
} ];
|
|
1474
1655
|
|
|
1475
1656
|
static getAttributeTypeMap() {
|
|
@@ -1859,14 +2040,6 @@ export class PositionDto extends IElementDto {
|
|
|
1859
2040
|
* This identifier can be used to point to the Id of a position in the same ServiceSpecification that acts as a base position. It matches \"Bezugsposition\" in GAEB. This can be used for positions that repeat partially or are linked together
|
|
1860
2041
|
*/
|
|
1861
2042
|
'repetitionTo'?: string;
|
|
1862
|
-
/**
|
|
1863
|
-
* These are Catalogues that are used within this Position. Catalogues are used to describe catalogues, or collections, that can be used to describe elements with commonly known properties. For example, QuantityAssignments use these to categorize themselves. They are propagate to all child elements, e.g. other containers and QuantityAssignments. In the context of a ServiceSpecification, all elements share the same instance of the collection.
|
|
1864
|
-
*/
|
|
1865
|
-
'projectCatalogues'?: Array<CatalogueDto>;
|
|
1866
|
-
/**
|
|
1867
|
-
* Referenced catalogues for this Position.
|
|
1868
|
-
*/
|
|
1869
|
-
'catalogueReferences'?: Array<CatalogueReferenceDto>;
|
|
1870
2043
|
'type'?: string;
|
|
1871
2044
|
/**
|
|
1872
2045
|
* This represents a standardized description. This means that instead of solely relying on texts to describe a service, external standards and definitions are referenced for a common understanding.
|
|
@@ -1892,6 +2065,15 @@ export class PositionDto extends IElementDto {
|
|
|
1892
2065
|
* 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
2066
|
*/
|
|
1894
2067
|
'descriptionId'?: string;
|
|
2068
|
+
/**
|
|
2069
|
+
* 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.
|
|
2070
|
+
*/
|
|
2071
|
+
'hierarchyLevel': number;
|
|
2072
|
+
/**
|
|
2073
|
+
* This indicates, if this element is part of an addendum an, if yes, with what status.
|
|
2074
|
+
*/
|
|
2075
|
+
'addendumStatus'?: AddendumStatusDto;
|
|
2076
|
+
'hasBidderCommentInHtmlLongText': boolean;
|
|
1895
2077
|
|
|
1896
2078
|
static discriminator: string | undefined = undefined;
|
|
1897
2079
|
|
|
@@ -2086,16 +2268,6 @@ export class PositionDto extends IElementDto {
|
|
|
2086
2268
|
"baseName": "repetitionTo",
|
|
2087
2269
|
"type": "string"
|
|
2088
2270
|
},
|
|
2089
|
-
{
|
|
2090
|
-
"name": "projectCatalogues",
|
|
2091
|
-
"baseName": "projectCatalogues",
|
|
2092
|
-
"type": "Array<CatalogueDto>"
|
|
2093
|
-
},
|
|
2094
|
-
{
|
|
2095
|
-
"name": "catalogueReferences",
|
|
2096
|
-
"baseName": "catalogueReferences",
|
|
2097
|
-
"type": "Array<CatalogueReferenceDto>"
|
|
2098
|
-
},
|
|
2099
2271
|
{
|
|
2100
2272
|
"name": "type",
|
|
2101
2273
|
"baseName": "type",
|
|
@@ -2130,6 +2302,21 @@ export class PositionDto extends IElementDto {
|
|
|
2130
2302
|
"name": "descriptionId",
|
|
2131
2303
|
"baseName": "descriptionId",
|
|
2132
2304
|
"type": "string"
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
"name": "hierarchyLevel",
|
|
2308
|
+
"baseName": "hierarchyLevel",
|
|
2309
|
+
"type": "number"
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"name": "addendumStatus",
|
|
2313
|
+
"baseName": "addendumStatus",
|
|
2314
|
+
"type": "AddendumStatusDto"
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"name": "hasBidderCommentInHtmlLongText",
|
|
2318
|
+
"baseName": "hasBidderCommentInHtmlLongText",
|
|
2319
|
+
"type": "boolean"
|
|
2133
2320
|
} ];
|
|
2134
2321
|
|
|
2135
2322
|
static getAttributeTypeMap() {
|
|
@@ -2152,6 +2339,224 @@ export class PositionTypeDto {
|
|
|
2152
2339
|
}
|
|
2153
2340
|
}
|
|
2154
2341
|
|
|
2342
|
+
/**
|
|
2343
|
+
* Options for validating an AVA project
|
|
2344
|
+
*/
|
|
2345
|
+
export class PostAvaProjectValidationSourceOptions {
|
|
2346
|
+
/**
|
|
2347
|
+
* The project that should be validated
|
|
2348
|
+
*/
|
|
2349
|
+
'avaProject': ProjectDto;
|
|
2350
|
+
/**
|
|
2351
|
+
* The index of the ServiceSpecification that should be validated. If not given, will default to the first one in the project.
|
|
2352
|
+
*/
|
|
2353
|
+
'serviceSpecificationIndex'?: number;
|
|
2354
|
+
/**
|
|
2355
|
+
* This can optionally be specified to simulate a conversion to a specific target.
|
|
2356
|
+
*/
|
|
2357
|
+
'validationType': ValidationType;
|
|
2358
|
+
/**
|
|
2359
|
+
* This can optionally be supplied to test for a specific exchange phase. For example, missing prices will only trigger errors in some specific exchange phases. Please note: If a conversion to a specific format, e.g. GAEB or ÖNorm, is given, this parameter is not applied to the internal conversion. The converter options must be set in the appropriate properties as well.
|
|
2360
|
+
*/
|
|
2361
|
+
'exchangePhase'?: ExchangePhaseDto;
|
|
2362
|
+
/**
|
|
2363
|
+
* Options for importing the AVA project
|
|
2364
|
+
*/
|
|
2365
|
+
'avaSourceOptions'?: PostAvaSourceOptions;
|
|
2366
|
+
/**
|
|
2367
|
+
* Options for conversion to Oenorm. Should be given if ValidationType is set to Oenorm.
|
|
2368
|
+
*/
|
|
2369
|
+
'oenormDestinationOptions'?: PostOenormDestinationOptions;
|
|
2370
|
+
/**
|
|
2371
|
+
* Options for conversion to GAEB. Should be given if ValidationType is set to GAEB.
|
|
2372
|
+
*/
|
|
2373
|
+
'gaebDestinationOptions'?: PostGaebDestinationOptions;
|
|
2374
|
+
|
|
2375
|
+
static discriminator: string | undefined = undefined;
|
|
2376
|
+
|
|
2377
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
2378
|
+
{
|
|
2379
|
+
"name": "avaProject",
|
|
2380
|
+
"baseName": "avaProject",
|
|
2381
|
+
"type": "ProjectDto"
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
"name": "serviceSpecificationIndex",
|
|
2385
|
+
"baseName": "serviceSpecificationIndex",
|
|
2386
|
+
"type": "number"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "validationType",
|
|
2390
|
+
"baseName": "validationType",
|
|
2391
|
+
"type": "ValidationType"
|
|
2392
|
+
},
|
|
2393
|
+
{
|
|
2394
|
+
"name": "exchangePhase",
|
|
2395
|
+
"baseName": "exchangePhase",
|
|
2396
|
+
"type": "ExchangePhaseDto"
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
"name": "avaSourceOptions",
|
|
2400
|
+
"baseName": "avaSourceOptions",
|
|
2401
|
+
"type": "PostAvaSourceOptions"
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"name": "oenormDestinationOptions",
|
|
2405
|
+
"baseName": "oenormDestinationOptions",
|
|
2406
|
+
"type": "PostOenormDestinationOptions"
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
"name": "gaebDestinationOptions",
|
|
2410
|
+
"baseName": "gaebDestinationOptions",
|
|
2411
|
+
"type": "PostGaebDestinationOptions"
|
|
2412
|
+
} ];
|
|
2413
|
+
|
|
2414
|
+
static getAttributeTypeMap() {
|
|
2415
|
+
return PostAvaProjectValidationSourceOptions.attributeTypeMap;
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
|
|
2419
|
+
/**
|
|
2420
|
+
* Options for conversions from AVA
|
|
2421
|
+
*/
|
|
2422
|
+
export class PostAvaSourceOptions {
|
|
2423
|
+
/**
|
|
2424
|
+
* 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.
|
|
2425
|
+
*/
|
|
2426
|
+
'tryAutoGenerateItemNumbersAndSchema': boolean;
|
|
2427
|
+
|
|
2428
|
+
static discriminator: string | undefined = undefined;
|
|
2429
|
+
|
|
2430
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
2431
|
+
{
|
|
2432
|
+
"name": "tryAutoGenerateItemNumbersAndSchema",
|
|
2433
|
+
"baseName": "tryAutoGenerateItemNumbersAndSchema",
|
|
2434
|
+
"type": "boolean"
|
|
2435
|
+
} ];
|
|
2436
|
+
|
|
2437
|
+
static getAttributeTypeMap() {
|
|
2438
|
+
return PostAvaSourceOptions.attributeTypeMap;
|
|
2439
|
+
}
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
/**
|
|
2443
|
+
* Options for conversions to GAEB
|
|
2444
|
+
*/
|
|
2445
|
+
export class PostGaebDestinationOptions {
|
|
2446
|
+
/**
|
|
2447
|
+
* Defaults to GAEB XML V3.2
|
|
2448
|
+
*/
|
|
2449
|
+
'destinationGaebType': DestinationGaebType;
|
|
2450
|
+
/**
|
|
2451
|
+
* Defaults to none, meaning no transformation will be done
|
|
2452
|
+
*/
|
|
2453
|
+
'targetExchangePhaseTransform': DestinationGaebExchangePhase;
|
|
2454
|
+
/**
|
|
2455
|
+
* 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.
|
|
2456
|
+
*/
|
|
2457
|
+
'enforceStrictOfferPhaseLongTextOutput': boolean;
|
|
2458
|
+
/**
|
|
2459
|
+
* 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.
|
|
2460
|
+
*/
|
|
2461
|
+
'exportQuantityDetermination': boolean;
|
|
2462
|
+
/**
|
|
2463
|
+
* 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.
|
|
2464
|
+
*/
|
|
2465
|
+
'removeUnprintableCharactersFromTexts': boolean;
|
|
2466
|
+
/**
|
|
2467
|
+
* If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
2468
|
+
*/
|
|
2469
|
+
'forceIncludeDescriptions': boolean;
|
|
2470
|
+
|
|
2471
|
+
static discriminator: string | undefined = undefined;
|
|
2472
|
+
|
|
2473
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
2474
|
+
{
|
|
2475
|
+
"name": "destinationGaebType",
|
|
2476
|
+
"baseName": "destinationGaebType",
|
|
2477
|
+
"type": "DestinationGaebType"
|
|
2478
|
+
},
|
|
2479
|
+
{
|
|
2480
|
+
"name": "targetExchangePhaseTransform",
|
|
2481
|
+
"baseName": "targetExchangePhaseTransform",
|
|
2482
|
+
"type": "DestinationGaebExchangePhase"
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
"name": "enforceStrictOfferPhaseLongTextOutput",
|
|
2486
|
+
"baseName": "enforceStrictOfferPhaseLongTextOutput",
|
|
2487
|
+
"type": "boolean"
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
"name": "exportQuantityDetermination",
|
|
2491
|
+
"baseName": "exportQuantityDetermination",
|
|
2492
|
+
"type": "boolean"
|
|
2493
|
+
},
|
|
2494
|
+
{
|
|
2495
|
+
"name": "removeUnprintableCharactersFromTexts",
|
|
2496
|
+
"baseName": "removeUnprintableCharactersFromTexts",
|
|
2497
|
+
"type": "boolean"
|
|
2498
|
+
},
|
|
2499
|
+
{
|
|
2500
|
+
"name": "forceIncludeDescriptions",
|
|
2501
|
+
"baseName": "forceIncludeDescriptions",
|
|
2502
|
+
"type": "boolean"
|
|
2503
|
+
} ];
|
|
2504
|
+
|
|
2505
|
+
static getAttributeTypeMap() {
|
|
2506
|
+
return PostGaebDestinationOptions.attributeTypeMap;
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
|
|
2510
|
+
/**
|
|
2511
|
+
* Options for conversions to Oenorm
|
|
2512
|
+
*/
|
|
2513
|
+
export class PostOenormDestinationOptions {
|
|
2514
|
+
/**
|
|
2515
|
+
* Defaults to Lv2015
|
|
2516
|
+
*/
|
|
2517
|
+
'destinationOenormType': DestinationOenormType;
|
|
2518
|
+
/**
|
|
2519
|
+
* 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
|
|
2520
|
+
*/
|
|
2521
|
+
'tryRepairProjectStructure': boolean;
|
|
2522
|
+
/**
|
|
2523
|
+
* 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.
|
|
2524
|
+
*/
|
|
2525
|
+
'skipTryEnforceSchemaCompliantXmlOutput': boolean;
|
|
2526
|
+
/**
|
|
2527
|
+
* 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.
|
|
2528
|
+
*/
|
|
2529
|
+
'removeUnprintableCharactersFromTexts': boolean;
|
|
2530
|
+
|
|
2531
|
+
static discriminator: string | undefined = undefined;
|
|
2532
|
+
|
|
2533
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
2534
|
+
{
|
|
2535
|
+
"name": "destinationOenormType",
|
|
2536
|
+
"baseName": "destinationOenormType",
|
|
2537
|
+
"type": "DestinationOenormType"
|
|
2538
|
+
},
|
|
2539
|
+
{
|
|
2540
|
+
"name": "tryRepairProjectStructure",
|
|
2541
|
+
"baseName": "tryRepairProjectStructure",
|
|
2542
|
+
"type": "boolean"
|
|
2543
|
+
},
|
|
2544
|
+
{
|
|
2545
|
+
"name": "skipTryEnforceSchemaCompliantXmlOutput",
|
|
2546
|
+
"baseName": "skipTryEnforceSchemaCompliantXmlOutput",
|
|
2547
|
+
"type": "boolean"
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
"name": "removeUnprintableCharactersFromTexts",
|
|
2551
|
+
"baseName": "removeUnprintableCharactersFromTexts",
|
|
2552
|
+
"type": "boolean"
|
|
2553
|
+
} ];
|
|
2554
|
+
|
|
2555
|
+
static getAttributeTypeMap() {
|
|
2556
|
+
return PostOenormDestinationOptions.attributeTypeMap;
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2155
2560
|
/**
|
|
2156
2561
|
* This class provides means to store information about a price and it's composition. Note that this is referencing to a single price component, so for example a Position would have a list of PriceComponents, one for Material, one for Labour etc.
|
|
2157
2562
|
*/
|
|
@@ -2501,7 +2906,7 @@ export class ProjectInformationDto {
|
|
|
2501
2906
|
*/
|
|
2502
2907
|
'labourTimeLabel'?: string;
|
|
2503
2908
|
/**
|
|
2504
|
-
* 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.
|
|
2909
|
+
* 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.
|
|
2505
2910
|
*/
|
|
2506
2911
|
'priceComponents'?: Array<string>;
|
|
2507
2912
|
/**
|
|
@@ -2609,6 +3014,29 @@ export class ProjectInformationDto {
|
|
|
2609
3014
|
}
|
|
2610
3015
|
}
|
|
2611
3016
|
|
|
3017
|
+
/**
|
|
3018
|
+
* Check details specificly for checking ProjectDto objects
|
|
3019
|
+
*/
|
|
3020
|
+
export class ProjectValidationCheckDetails {
|
|
3021
|
+
/**
|
|
3022
|
+
* The id of the element
|
|
3023
|
+
*/
|
|
3024
|
+
'elementId': string;
|
|
3025
|
+
|
|
3026
|
+
static discriminator: string | undefined = undefined;
|
|
3027
|
+
|
|
3028
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
3029
|
+
{
|
|
3030
|
+
"name": "elementId",
|
|
3031
|
+
"baseName": "elementId",
|
|
3032
|
+
"type": "string"
|
|
3033
|
+
} ];
|
|
3034
|
+
|
|
3035
|
+
static getAttributeTypeMap() {
|
|
3036
|
+
return ProjectValidationCheckDetails.attributeTypeMap;
|
|
3037
|
+
}
|
|
3038
|
+
}
|
|
3039
|
+
|
|
2612
3040
|
/**
|
|
2613
3041
|
* Quantity assignments are, in contrast to SubDescriptions, used to categorize parts of their parent Position. For example, it could be categorized by cost group - e.g. a Position describing concrete walls could follow the German DIN 276 Cost Groups Standard and specify that of the total 1.000m² wall, 500m² are classified as exterior walls and 500m² are classified as interior walls. They would then have different cost groups associated, e.g. for accounting purposes.
|
|
2614
3042
|
*/
|
|
@@ -2883,6 +3311,10 @@ export class ServiceSpecificationDto {
|
|
|
2883
3311
|
*/
|
|
2884
3312
|
'deductionFactor': number;
|
|
2885
3313
|
/**
|
|
3314
|
+
* 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.
|
|
3315
|
+
*/
|
|
3316
|
+
'absoluteDeduction'?: number;
|
|
3317
|
+
/**
|
|
2886
3318
|
* Will return this ElementContainerBase's total price.
|
|
2887
3319
|
*/
|
|
2888
3320
|
'totalPrice': number;
|
|
@@ -2959,7 +3391,7 @@ export class ServiceSpecificationDto {
|
|
|
2959
3391
|
*/
|
|
2960
3392
|
'projectCatalogues'?: Array<CatalogueDto>;
|
|
2961
3393
|
/**
|
|
2962
|
-
* Referenced catalogues for this
|
|
3394
|
+
* Referenced catalogues for this ElementContainerBase.
|
|
2963
3395
|
*/
|
|
2964
3396
|
'catalogueReferences'?: Array<CatalogueReferenceDto>;
|
|
2965
3397
|
/**
|
|
@@ -2994,6 +3426,14 @@ export class ServiceSpecificationDto {
|
|
|
2994
3426
|
* This should specify how the approval is performed by the buyer. This matches \"AcceptType\" in GAEB
|
|
2995
3427
|
*/
|
|
2996
3428
|
'typeOfApproval'?: string;
|
|
3429
|
+
/**
|
|
3430
|
+
* This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German.
|
|
3431
|
+
*/
|
|
3432
|
+
'addendumNumber'?: string;
|
|
3433
|
+
/**
|
|
3434
|
+
* This indicates, if this element is part of an addendum an, if yes, with what status.
|
|
3435
|
+
*/
|
|
3436
|
+
'addendumStatus'?: AddendumStatusDto;
|
|
2997
3437
|
|
|
2998
3438
|
static discriminator: string | undefined = undefined;
|
|
2999
3439
|
|
|
@@ -3073,6 +3513,11 @@ export class ServiceSpecificationDto {
|
|
|
3073
3513
|
"baseName": "deductionFactor",
|
|
3074
3514
|
"type": "number"
|
|
3075
3515
|
},
|
|
3516
|
+
{
|
|
3517
|
+
"name": "absoluteDeduction",
|
|
3518
|
+
"baseName": "absoluteDeduction",
|
|
3519
|
+
"type": "number"
|
|
3520
|
+
},
|
|
3076
3521
|
{
|
|
3077
3522
|
"name": "totalPrice",
|
|
3078
3523
|
"baseName": "totalPrice",
|
|
@@ -3212,6 +3657,16 @@ export class ServiceSpecificationDto {
|
|
|
3212
3657
|
"name": "typeOfApproval",
|
|
3213
3658
|
"baseName": "typeOfApproval",
|
|
3214
3659
|
"type": "string"
|
|
3660
|
+
},
|
|
3661
|
+
{
|
|
3662
|
+
"name": "addendumNumber",
|
|
3663
|
+
"baseName": "addendumNumber",
|
|
3664
|
+
"type": "string"
|
|
3665
|
+
},
|
|
3666
|
+
{
|
|
3667
|
+
"name": "addendumStatus",
|
|
3668
|
+
"baseName": "addendumStatus",
|
|
3669
|
+
"type": "AddendumStatusDto"
|
|
3215
3670
|
} ];
|
|
3216
3671
|
|
|
3217
3672
|
static getAttributeTypeMap() {
|
|
@@ -3277,6 +3732,10 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3277
3732
|
*/
|
|
3278
3733
|
'deductionFactor': number;
|
|
3279
3734
|
/**
|
|
3735
|
+
* 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.
|
|
3736
|
+
*/
|
|
3737
|
+
'absoluteDeduction'?: number;
|
|
3738
|
+
/**
|
|
3280
3739
|
* Will return this ElementContainerBase's total price.
|
|
3281
3740
|
*/
|
|
3282
3741
|
'totalPrice': number;
|
|
@@ -3315,17 +3774,17 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3315
3774
|
'alternativeTo'?: string;
|
|
3316
3775
|
'type'?: string;
|
|
3317
3776
|
/**
|
|
3318
|
-
*
|
|
3777
|
+
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
|
|
3319
3778
|
*/
|
|
3320
|
-
'
|
|
3779
|
+
'oenormProperties'?: OenormPropertiesDto;
|
|
3321
3780
|
/**
|
|
3322
|
-
*
|
|
3781
|
+
* 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.
|
|
3323
3782
|
*/
|
|
3324
|
-
'
|
|
3783
|
+
'hierarchyLevel': number;
|
|
3325
3784
|
/**
|
|
3326
|
-
* This
|
|
3785
|
+
* This indicates, if this element is part of an addendum an, if yes, with what status.
|
|
3327
3786
|
*/
|
|
3328
|
-
'
|
|
3787
|
+
'addendumStatus'?: AddendumStatusDto;
|
|
3329
3788
|
|
|
3330
3789
|
static discriminator: string | undefined = undefined;
|
|
3331
3790
|
|
|
@@ -3400,6 +3859,11 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3400
3859
|
"baseName": "deductionFactor",
|
|
3401
3860
|
"type": "number"
|
|
3402
3861
|
},
|
|
3862
|
+
{
|
|
3863
|
+
"name": "absoluteDeduction",
|
|
3864
|
+
"baseName": "absoluteDeduction",
|
|
3865
|
+
"type": "number"
|
|
3866
|
+
},
|
|
3403
3867
|
{
|
|
3404
3868
|
"name": "totalPrice",
|
|
3405
3869
|
"baseName": "totalPrice",
|
|
@@ -3456,19 +3920,19 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3456
3920
|
"type": "string"
|
|
3457
3921
|
},
|
|
3458
3922
|
{
|
|
3459
|
-
"name": "
|
|
3460
|
-
"baseName": "
|
|
3461
|
-
"type": "
|
|
3923
|
+
"name": "oenormProperties",
|
|
3924
|
+
"baseName": "oenormProperties",
|
|
3925
|
+
"type": "OenormPropertiesDto"
|
|
3462
3926
|
},
|
|
3463
3927
|
{
|
|
3464
|
-
"name": "
|
|
3465
|
-
"baseName": "
|
|
3466
|
-
"type": "
|
|
3928
|
+
"name": "hierarchyLevel",
|
|
3929
|
+
"baseName": "hierarchyLevel",
|
|
3930
|
+
"type": "number"
|
|
3467
3931
|
},
|
|
3468
3932
|
{
|
|
3469
|
-
"name": "
|
|
3470
|
-
"baseName": "
|
|
3471
|
-
"type": "
|
|
3933
|
+
"name": "addendumStatus",
|
|
3934
|
+
"baseName": "addendumStatus",
|
|
3935
|
+
"type": "AddendumStatusDto"
|
|
3472
3936
|
} ];
|
|
3473
3937
|
|
|
3474
3938
|
static getAttributeTypeMap() {
|
|
@@ -3618,6 +4082,7 @@ export class SubDescriptionDto {
|
|
|
3618
4082
|
* 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.
|
|
3619
4083
|
*/
|
|
3620
4084
|
'descriptionId'?: string;
|
|
4085
|
+
'hasBidderCommentInHtmlLongText': boolean;
|
|
3621
4086
|
|
|
3622
4087
|
static discriminator: string | undefined = undefined;
|
|
3623
4088
|
|
|
@@ -3686,6 +4151,11 @@ export class SubDescriptionDto {
|
|
|
3686
4151
|
"name": "descriptionId",
|
|
3687
4152
|
"baseName": "descriptionId",
|
|
3688
4153
|
"type": "string"
|
|
4154
|
+
},
|
|
4155
|
+
{
|
|
4156
|
+
"name": "hasBidderCommentInHtmlLongText",
|
|
4157
|
+
"baseName": "hasBidderCommentInHtmlLongText",
|
|
4158
|
+
"type": "boolean"
|
|
3689
4159
|
} ];
|
|
3690
4160
|
|
|
3691
4161
|
static getAttributeTypeMap() {
|
|
@@ -3806,80 +4276,275 @@ export class TokenResponseGet {
|
|
|
3806
4276
|
} ];
|
|
3807
4277
|
|
|
3808
4278
|
static getAttributeTypeMap() {
|
|
3809
|
-
return TokenResponseGet.attributeTypeMap;
|
|
4279
|
+
return TokenResponseGet.attributeTypeMap;
|
|
4280
|
+
}
|
|
4281
|
+
}
|
|
4282
|
+
|
|
4283
|
+
/**
|
|
4284
|
+
* This class holds information about offered trade discounts (Skonto in German)
|
|
4285
|
+
*/
|
|
4286
|
+
export class TradeDiscountDto {
|
|
4287
|
+
/**
|
|
4288
|
+
* Elements GUID identifier.
|
|
4289
|
+
*/
|
|
4290
|
+
'id': string;
|
|
4291
|
+
/**
|
|
4292
|
+
* The amount of days for how long a declared trade discount applies. Must be a positive number, negative values will be ignored and not set.
|
|
4293
|
+
*/
|
|
4294
|
+
'deadline': number;
|
|
4295
|
+
/**
|
|
4296
|
+
* The rate of the trade discount.
|
|
4297
|
+
*/
|
|
4298
|
+
'rate': number;
|
|
4299
|
+
|
|
4300
|
+
static discriminator: string | undefined = undefined;
|
|
4301
|
+
|
|
4302
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4303
|
+
{
|
|
4304
|
+
"name": "id",
|
|
4305
|
+
"baseName": "id",
|
|
4306
|
+
"type": "string"
|
|
4307
|
+
},
|
|
4308
|
+
{
|
|
4309
|
+
"name": "deadline",
|
|
4310
|
+
"baseName": "deadline",
|
|
4311
|
+
"type": "number"
|
|
4312
|
+
},
|
|
4313
|
+
{
|
|
4314
|
+
"name": "rate",
|
|
4315
|
+
"baseName": "rate",
|
|
4316
|
+
"type": "number"
|
|
4317
|
+
} ];
|
|
4318
|
+
|
|
4319
|
+
static getAttributeTypeMap() {
|
|
4320
|
+
return TradeDiscountDto.attributeTypeMap;
|
|
4321
|
+
}
|
|
4322
|
+
}
|
|
4323
|
+
|
|
4324
|
+
/**
|
|
4325
|
+
* This class models the results of a single check performed during a validation action
|
|
4326
|
+
*/
|
|
4327
|
+
export class ValidationCheckResult {
|
|
4328
|
+
/**
|
|
4329
|
+
* The severity for this check. Usually, low severity checks do not impact data exchange with third party applications
|
|
4330
|
+
*/
|
|
4331
|
+
'severity': ValidationSeverity;
|
|
4332
|
+
/**
|
|
4333
|
+
* The actual check that is represented by this result. Additional information may be found in other properties of this class, depending on the check.
|
|
4334
|
+
*/
|
|
4335
|
+
'checkType': ValidationCheckType;
|
|
4336
|
+
/**
|
|
4337
|
+
* A human readable message describing the result of the check.
|
|
4338
|
+
*/
|
|
4339
|
+
'message'?: string;
|
|
4340
|
+
/**
|
|
4341
|
+
* For CheckType of types ObjectValidation
|
|
4342
|
+
*/
|
|
4343
|
+
'objectValidationCheckDetails'?: ObjectValidationCheckDetails;
|
|
4344
|
+
/**
|
|
4345
|
+
* For CheckType of types XmlSchemaCheck
|
|
4346
|
+
*/
|
|
4347
|
+
'xmlSchemaValidationCheckDetails'?: XmlSchemaValidationCheckDetails;
|
|
4348
|
+
/**
|
|
4349
|
+
* For CheckType of types ProjectValidation
|
|
4350
|
+
*/
|
|
4351
|
+
'projectValidationCheckDetails'?: ProjectValidationCheckDetails;
|
|
4352
|
+
|
|
4353
|
+
static discriminator: string | undefined = undefined;
|
|
4354
|
+
|
|
4355
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4356
|
+
{
|
|
4357
|
+
"name": "severity",
|
|
4358
|
+
"baseName": "severity",
|
|
4359
|
+
"type": "ValidationSeverity"
|
|
4360
|
+
},
|
|
4361
|
+
{
|
|
4362
|
+
"name": "checkType",
|
|
4363
|
+
"baseName": "checkType",
|
|
4364
|
+
"type": "ValidationCheckType"
|
|
4365
|
+
},
|
|
4366
|
+
{
|
|
4367
|
+
"name": "message",
|
|
4368
|
+
"baseName": "message",
|
|
4369
|
+
"type": "string"
|
|
4370
|
+
},
|
|
4371
|
+
{
|
|
4372
|
+
"name": "objectValidationCheckDetails",
|
|
4373
|
+
"baseName": "objectValidationCheckDetails",
|
|
4374
|
+
"type": "ObjectValidationCheckDetails"
|
|
4375
|
+
},
|
|
4376
|
+
{
|
|
4377
|
+
"name": "xmlSchemaValidationCheckDetails",
|
|
4378
|
+
"baseName": "xmlSchemaValidationCheckDetails",
|
|
4379
|
+
"type": "XmlSchemaValidationCheckDetails"
|
|
4380
|
+
},
|
|
4381
|
+
{
|
|
4382
|
+
"name": "projectValidationCheckDetails",
|
|
4383
|
+
"baseName": "projectValidationCheckDetails",
|
|
4384
|
+
"type": "ProjectValidationCheckDetails"
|
|
4385
|
+
} ];
|
|
4386
|
+
|
|
4387
|
+
static getAttributeTypeMap() {
|
|
4388
|
+
return ValidationCheckResult.attributeTypeMap;
|
|
4389
|
+
}
|
|
4390
|
+
}
|
|
4391
|
+
|
|
4392
|
+
/**
|
|
4393
|
+
* Enumeration for the different types of checks performed
|
|
4394
|
+
*/
|
|
4395
|
+
export class ValidationCheckType {
|
|
4396
|
+
|
|
4397
|
+
static discriminator: string | undefined = undefined;
|
|
4398
|
+
|
|
4399
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4400
|
+
];
|
|
4401
|
+
|
|
4402
|
+
static getAttributeTypeMap() {
|
|
4403
|
+
return ValidationCheckType.attributeTypeMap;
|
|
4404
|
+
}
|
|
4405
|
+
}
|
|
4406
|
+
|
|
4407
|
+
/**
|
|
4408
|
+
* This class represents the result of a validation operation
|
|
4409
|
+
*/
|
|
4410
|
+
export class ValidationResult {
|
|
4411
|
+
/**
|
|
4412
|
+
* Indicates if the validation produced no errors
|
|
4413
|
+
*/
|
|
4414
|
+
'isSchemaCompliant': boolean;
|
|
4415
|
+
/**
|
|
4416
|
+
* List of validation check results, which are usually errors
|
|
4417
|
+
*/
|
|
4418
|
+
'checkResults'?: Array<ValidationCheckResult>;
|
|
4419
|
+
/**
|
|
4420
|
+
* The type of the validation that was performed
|
|
4421
|
+
*/
|
|
4422
|
+
'validationType': ValidationType;
|
|
4423
|
+
/**
|
|
4424
|
+
* Name of the validated file
|
|
4425
|
+
*/
|
|
4426
|
+
'fileName'?: string;
|
|
4427
|
+
|
|
4428
|
+
static discriminator: string | undefined = undefined;
|
|
4429
|
+
|
|
4430
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4431
|
+
{
|
|
4432
|
+
"name": "isSchemaCompliant",
|
|
4433
|
+
"baseName": "isSchemaCompliant",
|
|
4434
|
+
"type": "boolean"
|
|
4435
|
+
},
|
|
4436
|
+
{
|
|
4437
|
+
"name": "checkResults",
|
|
4438
|
+
"baseName": "checkResults",
|
|
4439
|
+
"type": "Array<ValidationCheckResult>"
|
|
4440
|
+
},
|
|
4441
|
+
{
|
|
4442
|
+
"name": "validationType",
|
|
4443
|
+
"baseName": "validationType",
|
|
4444
|
+
"type": "ValidationType"
|
|
4445
|
+
},
|
|
4446
|
+
{
|
|
4447
|
+
"name": "fileName",
|
|
4448
|
+
"baseName": "fileName",
|
|
4449
|
+
"type": "string"
|
|
4450
|
+
} ];
|
|
4451
|
+
|
|
4452
|
+
static getAttributeTypeMap() {
|
|
4453
|
+
return ValidationResult.attributeTypeMap;
|
|
4454
|
+
}
|
|
4455
|
+
}
|
|
4456
|
+
|
|
4457
|
+
/**
|
|
4458
|
+
* Indicates the severity of a check
|
|
4459
|
+
*/
|
|
4460
|
+
export class ValidationSeverity {
|
|
4461
|
+
|
|
4462
|
+
static discriminator: string | undefined = undefined;
|
|
4463
|
+
|
|
4464
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4465
|
+
];
|
|
4466
|
+
|
|
4467
|
+
static getAttributeTypeMap() {
|
|
4468
|
+
return ValidationSeverity.attributeTypeMap;
|
|
4469
|
+
}
|
|
4470
|
+
}
|
|
4471
|
+
|
|
4472
|
+
/**
|
|
4473
|
+
* This enumeration represents the possible conversion targets when performing a validation
|
|
4474
|
+
*/
|
|
4475
|
+
export class ValidationType {
|
|
4476
|
+
|
|
4477
|
+
static discriminator: string | undefined = undefined;
|
|
4478
|
+
|
|
4479
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4480
|
+
];
|
|
4481
|
+
|
|
4482
|
+
static getAttributeTypeMap() {
|
|
4483
|
+
return ValidationType.attributeTypeMap;
|
|
3810
4484
|
}
|
|
3811
4485
|
}
|
|
3812
4486
|
|
|
3813
4487
|
/**
|
|
3814
|
-
* This class
|
|
4488
|
+
* This class does not represent a typical `TimeSpan` but has a scalar value int Duration and a DurationUnit Unit to represent durations as typically used in contracts, e.g. 5 Months
|
|
3815
4489
|
*/
|
|
3816
|
-
export class
|
|
3817
|
-
/**
|
|
3818
|
-
* Elements GUID identifier.
|
|
3819
|
-
*/
|
|
3820
|
-
'id': string;
|
|
4490
|
+
export class WarrantyDurationDto {
|
|
3821
4491
|
/**
|
|
3822
|
-
* The
|
|
4492
|
+
* 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.
|
|
3823
4493
|
*/
|
|
3824
|
-
'
|
|
4494
|
+
'duration': number;
|
|
3825
4495
|
/**
|
|
3826
|
-
* The
|
|
4496
|
+
* The unit of the duration
|
|
3827
4497
|
*/
|
|
3828
|
-
'
|
|
4498
|
+
'unit': DurationUnitDto;
|
|
3829
4499
|
|
|
3830
4500
|
static discriminator: string | undefined = undefined;
|
|
3831
4501
|
|
|
3832
4502
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
3833
4503
|
{
|
|
3834
|
-
"name": "
|
|
3835
|
-
"baseName": "
|
|
3836
|
-
"type": "string"
|
|
3837
|
-
},
|
|
3838
|
-
{
|
|
3839
|
-
"name": "deadline",
|
|
3840
|
-
"baseName": "deadline",
|
|
4504
|
+
"name": "duration",
|
|
4505
|
+
"baseName": "duration",
|
|
3841
4506
|
"type": "number"
|
|
3842
4507
|
},
|
|
3843
4508
|
{
|
|
3844
|
-
"name": "
|
|
3845
|
-
"baseName": "
|
|
3846
|
-
"type": "
|
|
4509
|
+
"name": "unit",
|
|
4510
|
+
"baseName": "unit",
|
|
4511
|
+
"type": "DurationUnitDto"
|
|
3847
4512
|
} ];
|
|
3848
4513
|
|
|
3849
4514
|
static getAttributeTypeMap() {
|
|
3850
|
-
return
|
|
4515
|
+
return WarrantyDurationDto.attributeTypeMap;
|
|
3851
4516
|
}
|
|
3852
4517
|
}
|
|
3853
4518
|
|
|
3854
4519
|
/**
|
|
3855
|
-
*
|
|
4520
|
+
* Check details for an XML schema validation result
|
|
3856
4521
|
*/
|
|
3857
|
-
export class
|
|
4522
|
+
export class XmlSchemaValidationCheckDetails {
|
|
3858
4523
|
/**
|
|
3859
|
-
* The
|
|
4524
|
+
* The line number on which the validation happened
|
|
3860
4525
|
*/
|
|
3861
|
-
'
|
|
4526
|
+
'lineNumber': number;
|
|
3862
4527
|
/**
|
|
3863
|
-
* The
|
|
4528
|
+
* The position in the line
|
|
3864
4529
|
*/
|
|
3865
|
-
'
|
|
4530
|
+
'linePosition': number;
|
|
3866
4531
|
|
|
3867
4532
|
static discriminator: string | undefined = undefined;
|
|
3868
4533
|
|
|
3869
4534
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
3870
4535
|
{
|
|
3871
|
-
"name": "
|
|
3872
|
-
"baseName": "
|
|
4536
|
+
"name": "lineNumber",
|
|
4537
|
+
"baseName": "lineNumber",
|
|
3873
4538
|
"type": "number"
|
|
3874
4539
|
},
|
|
3875
4540
|
{
|
|
3876
|
-
"name": "
|
|
3877
|
-
"baseName": "
|
|
3878
|
-
"type": "
|
|
4541
|
+
"name": "linePosition",
|
|
4542
|
+
"baseName": "linePosition",
|
|
4543
|
+
"type": "number"
|
|
3879
4544
|
} ];
|
|
3880
4545
|
|
|
3881
4546
|
static getAttributeTypeMap() {
|
|
3882
|
-
return
|
|
4547
|
+
return XmlSchemaValidationCheckDetails.attributeTypeMap;
|
|
3883
4548
|
}
|
|
3884
4549
|
}
|
|
3885
4550
|
|
|
@@ -3888,6 +4553,7 @@ let enumsMap: {[index: string]: any} = {
|
|
|
3888
4553
|
}
|
|
3889
4554
|
|
|
3890
4555
|
let typeMap: {[index: string]: any} = {
|
|
4556
|
+
"AddendumStatusDto": AddendumStatusDto,
|
|
3891
4557
|
"AdditionTypeDto": AdditionTypeDto,
|
|
3892
4558
|
"ApiError": ApiError,
|
|
3893
4559
|
"ArticleDataDto": ArticleDataDto,
|
|
@@ -3903,9 +4569,11 @@ let typeMap: {[index: string]: any} = {
|
|
|
3903
4569
|
"DestinationGaebExchangePhase": DestinationGaebExchangePhase,
|
|
3904
4570
|
"DestinationGaebType": DestinationGaebType,
|
|
3905
4571
|
"DestinationOenormType": DestinationOenormType,
|
|
4572
|
+
"DestinationRebType": DestinationRebType,
|
|
3906
4573
|
"DurationUnitDto": DurationUnitDto,
|
|
3907
4574
|
"ExchangePhaseDto": ExchangePhaseDto,
|
|
3908
4575
|
"ExecutionDescriptionDto": ExecutionDescriptionDto,
|
|
4576
|
+
"FileValidationSourceType": FileValidationSourceType,
|
|
3909
4577
|
"ForgotPasswordPost": ForgotPasswordPost,
|
|
3910
4578
|
"GetStatus": GetStatus,
|
|
3911
4579
|
"GrossPriceComponentDto": GrossPriceComponentDto,
|
|
@@ -3919,6 +4587,8 @@ let typeMap: {[index: string]: any} = {
|
|
|
3919
4587
|
"LabourPriceComponentDto": LabourPriceComponentDto,
|
|
3920
4588
|
"LoginPost": LoginPost,
|
|
3921
4589
|
"NoteTextDto": NoteTextDto,
|
|
4590
|
+
"ObjectValidationCheckDetails": ObjectValidationCheckDetails,
|
|
4591
|
+
"OenormNoteTextPropertiesDto": OenormNoteTextPropertiesDto,
|
|
3922
4592
|
"OenormOriginCodeDto": OenormOriginCodeDto,
|
|
3923
4593
|
"OenormPositionPropertiesDto": OenormPositionPropertiesDto,
|
|
3924
4594
|
"OenormPropertiesDto": OenormPropertiesDto,
|
|
@@ -3926,6 +4596,10 @@ let typeMap: {[index: string]: any} = {
|
|
|
3926
4596
|
"PartyInformationDto": PartyInformationDto,
|
|
3927
4597
|
"PositionDto": PositionDto,
|
|
3928
4598
|
"PositionTypeDto": PositionTypeDto,
|
|
4599
|
+
"PostAvaProjectValidationSourceOptions": PostAvaProjectValidationSourceOptions,
|
|
4600
|
+
"PostAvaSourceOptions": PostAvaSourceOptions,
|
|
4601
|
+
"PostGaebDestinationOptions": PostGaebDestinationOptions,
|
|
4602
|
+
"PostOenormDestinationOptions": PostOenormDestinationOptions,
|
|
3929
4603
|
"PriceComponentDto": PriceComponentDto,
|
|
3930
4604
|
"PriceComponentTypeDto": PriceComponentTypeDto,
|
|
3931
4605
|
"PriceInformationDto": PriceInformationDto,
|
|
@@ -3934,6 +4608,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
3934
4608
|
"ProductDataDto": ProductDataDto,
|
|
3935
4609
|
"ProjectDto": ProjectDto,
|
|
3936
4610
|
"ProjectInformationDto": ProjectInformationDto,
|
|
4611
|
+
"ProjectValidationCheckDetails": ProjectValidationCheckDetails,
|
|
3937
4612
|
"QuantityAssignmentDto": QuantityAssignmentDto,
|
|
3938
4613
|
"RegisterPost": RegisterPost,
|
|
3939
4614
|
"ResponseErrorType": ResponseErrorType,
|
|
@@ -3950,7 +4625,13 @@ let typeMap: {[index: string]: any} = {
|
|
|
3950
4625
|
"TokenRefreshPost": TokenRefreshPost,
|
|
3951
4626
|
"TokenResponseGet": TokenResponseGet,
|
|
3952
4627
|
"TradeDiscountDto": TradeDiscountDto,
|
|
4628
|
+
"ValidationCheckResult": ValidationCheckResult,
|
|
4629
|
+
"ValidationCheckType": ValidationCheckType,
|
|
4630
|
+
"ValidationResult": ValidationResult,
|
|
4631
|
+
"ValidationSeverity": ValidationSeverity,
|
|
4632
|
+
"ValidationType": ValidationType,
|
|
3953
4633
|
"WarrantyDurationDto": WarrantyDurationDto,
|
|
4634
|
+
"XmlSchemaValidationCheckDetails": XmlSchemaValidationCheckDetails,
|
|
3954
4635
|
}
|
|
3955
4636
|
|
|
3956
4637
|
export interface Authentication {
|
|
@@ -4199,9 +4880,11 @@ export class AslvConversionApi {
|
|
|
4199
4880
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4200
4881
|
* @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
4882
|
* @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.
|
|
4883
|
+
* @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.
|
|
4884
|
+
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
4202
4885
|
* @param {*} [options] Override http request options.
|
|
4203
4886
|
*/
|
|
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; }> {
|
|
4887
|
+
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, forceIncludeDescriptions?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4205
4888
|
const localVarPath = this.basePath + '/conversion/aslv/gaeb';
|
|
4206
4889
|
let localVarQueryParameters: any = {};
|
|
4207
4890
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4223,6 +4906,14 @@ export class AslvConversionApi {
|
|
|
4223
4906
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4224
4907
|
}
|
|
4225
4908
|
|
|
4909
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4910
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4911
|
+
}
|
|
4912
|
+
|
|
4913
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
4914
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
4915
|
+
}
|
|
4916
|
+
|
|
4226
4917
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4227
4918
|
|
|
4228
4919
|
let localVarUseFormData = false;
|
|
@@ -4274,9 +4965,10 @@ export class AslvConversionApi {
|
|
|
4274
4965
|
* @param destinationOenormType Defaults to Lv2015
|
|
4275
4966
|
* @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
4967
|
* @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.
|
|
4968
|
+
* @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
4969
|
* @param {*} [options] Override http request options.
|
|
4278
4970
|
*/
|
|
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; }> {
|
|
4971
|
+
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
4972
|
const localVarPath = this.basePath + '/conversion/aslv/oenorm';
|
|
4281
4973
|
let localVarQueryParameters: any = {};
|
|
4282
4974
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4294,6 +4986,10 @@ export class AslvConversionApi {
|
|
|
4294
4986
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4295
4987
|
}
|
|
4296
4988
|
|
|
4989
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
4990
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4991
|
+
}
|
|
4992
|
+
|
|
4297
4993
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4298
4994
|
|
|
4299
4995
|
let localVarUseFormData = false;
|
|
@@ -4392,11 +5088,12 @@ export class AvaConversionApi {
|
|
|
4392
5088
|
*
|
|
4393
5089
|
* @summary Converts Dangl.AVA projects to Dangl.AVA. This is useful when you want to generate the calculated properties.
|
|
4394
5090
|
* @param avaProject The Dangl.AVA project
|
|
5091
|
+
* @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
5092
|
* @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
4396
5093
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
4397
5094
|
* @param {*} [options] Override http request options.
|
|
4398
5095
|
*/
|
|
4399
|
-
public avaConversionConvertToAva (avaProject: ProjectDto, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
5096
|
+
public avaConversionConvertToAva (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
4400
5097
|
const localVarPath = this.basePath + '/conversion/ava/ava';
|
|
4401
5098
|
let localVarQueryParameters: any = {};
|
|
4402
5099
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4407,6 +5104,10 @@ export class AvaConversionApi {
|
|
|
4407
5104
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToAva.');
|
|
4408
5105
|
}
|
|
4409
5106
|
|
|
5107
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
5108
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
5109
|
+
}
|
|
5110
|
+
|
|
4410
5111
|
if (removePlainTextLongTexts !== undefined) {
|
|
4411
5112
|
localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
|
|
4412
5113
|
}
|
|
@@ -4459,12 +5160,13 @@ export class AvaConversionApi {
|
|
|
4459
5160
|
*
|
|
4460
5161
|
* @summary Converts Dangl.AVA projects to Excel
|
|
4461
5162
|
* @param avaProject The Dangl.AVA project
|
|
5163
|
+
* @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
5164
|
* @param writePrices Defaults to true
|
|
4463
5165
|
* @param writeLongTexts Defaults to true
|
|
4464
5166
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
4465
5167
|
* @param {*} [options] Override http request options.
|
|
4466
5168
|
*/
|
|
4467
|
-
public avaConversionConvertToExcel (avaProject: ProjectDto, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5169
|
+
public avaConversionConvertToExcel (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4468
5170
|
const localVarPath = this.basePath + '/conversion/ava/excel';
|
|
4469
5171
|
let localVarQueryParameters: any = {};
|
|
4470
5172
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4475,6 +5177,10 @@ export class AvaConversionApi {
|
|
|
4475
5177
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToExcel.');
|
|
4476
5178
|
}
|
|
4477
5179
|
|
|
5180
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
5181
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
5182
|
+
}
|
|
5183
|
+
|
|
4478
5184
|
if (writePrices !== undefined) {
|
|
4479
5185
|
localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
|
|
4480
5186
|
}
|
|
@@ -4532,13 +5238,16 @@ export class AvaConversionApi {
|
|
|
4532
5238
|
*
|
|
4533
5239
|
* @summary Converts Dangl.AVA projects to GAEB
|
|
4534
5240
|
* @param avaProject The Dangl.AVA project
|
|
5241
|
+
* @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
5242
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
4536
5243
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
4537
5244
|
* @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
5245
|
* @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.
|
|
5246
|
+
* @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.
|
|
5247
|
+
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
4539
5248
|
* @param {*} [options] Override http request options.
|
|
4540
5249
|
*/
|
|
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; }> {
|
|
5250
|
+
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, forceIncludeDescriptions?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4542
5251
|
const localVarPath = this.basePath + '/conversion/ava/gaeb';
|
|
4543
5252
|
let localVarQueryParameters: any = {};
|
|
4544
5253
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4549,6 +5258,10 @@ export class AvaConversionApi {
|
|
|
4549
5258
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToGaeb.');
|
|
4550
5259
|
}
|
|
4551
5260
|
|
|
5261
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
5262
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
5263
|
+
}
|
|
5264
|
+
|
|
4552
5265
|
if (destinationGaebType !== undefined) {
|
|
4553
5266
|
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
5267
|
}
|
|
@@ -4565,6 +5278,14 @@ export class AvaConversionApi {
|
|
|
4565
5278
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
4566
5279
|
}
|
|
4567
5280
|
|
|
5281
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
5282
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
5283
|
+
}
|
|
5284
|
+
|
|
5285
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
5286
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
5287
|
+
}
|
|
5288
|
+
|
|
4568
5289
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4569
5290
|
|
|
4570
5291
|
let localVarUseFormData = false;
|
|
@@ -4610,12 +5331,14 @@ export class AvaConversionApi {
|
|
|
4610
5331
|
*
|
|
4611
5332
|
* @summary Converts Dangl.AVA projects to Oenorm
|
|
4612
5333
|
* @param avaProject The Dangl.AVA project
|
|
5334
|
+
* @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
5335
|
* @param destinationOenormType Defaults to Lv2015
|
|
4614
5336
|
* @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
5337
|
* @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.
|
|
5338
|
+
* @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
5339
|
* @param {*} [options] Override http request options.
|
|
4617
5340
|
*/
|
|
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; }> {
|
|
5341
|
+
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
5342
|
const localVarPath = this.basePath + '/conversion/ava/oenorm';
|
|
4620
5343
|
let localVarQueryParameters: any = {};
|
|
4621
5344
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4626,6 +5349,10 @@ export class AvaConversionApi {
|
|
|
4626
5349
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToOenorm.');
|
|
4627
5350
|
}
|
|
4628
5351
|
|
|
5352
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
5353
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
5354
|
+
}
|
|
5355
|
+
|
|
4629
5356
|
if (destinationOenormType !== undefined) {
|
|
4630
5357
|
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
4631
5358
|
}
|
|
@@ -4638,6 +5365,10 @@ export class AvaConversionApi {
|
|
|
4638
5365
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
4639
5366
|
}
|
|
4640
5367
|
|
|
5368
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
5369
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
5370
|
+
}
|
|
5371
|
+
|
|
4641
5372
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4642
5373
|
|
|
4643
5374
|
let localVarUseFormData = false;
|
|
@@ -4683,9 +5414,11 @@ export class AvaConversionApi {
|
|
|
4683
5414
|
*
|
|
4684
5415
|
* @summary Converts Dangl.AVA projects to REB
|
|
4685
5416
|
* @param avaProject The Dangl.AVA project
|
|
5417
|
+
* @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.
|
|
5418
|
+
* @param destinationRebType Defaults to D11
|
|
4686
5419
|
* @param {*} [options] Override http request options.
|
|
4687
5420
|
*/
|
|
4688
|
-
public avaConversionConvertToReb (avaProject: ProjectDto, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5421
|
+
public avaConversionConvertToReb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationRebType?: 'D11' | 'X31GaebXmlV32', options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4689
5422
|
const localVarPath = this.basePath + '/conversion/ava/reb';
|
|
4690
5423
|
let localVarQueryParameters: any = {};
|
|
4691
5424
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4696,6 +5429,14 @@ export class AvaConversionApi {
|
|
|
4696
5429
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToReb.');
|
|
4697
5430
|
}
|
|
4698
5431
|
|
|
5432
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
5433
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
5434
|
+
}
|
|
5435
|
+
|
|
5436
|
+
if (destinationRebType !== undefined) {
|
|
5437
|
+
localVarQueryParameters['DestinationRebType'] = ObjectSerializer.serialize(destinationRebType, "'D11' | 'X31GaebXmlV32'");
|
|
5438
|
+
}
|
|
5439
|
+
|
|
4699
5440
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4700
5441
|
|
|
4701
5442
|
let localVarUseFormData = false;
|
|
@@ -4741,9 +5482,10 @@ export class AvaConversionApi {
|
|
|
4741
5482
|
*
|
|
4742
5483
|
* @summary Converts Dangl.AVA projects to SIA 451
|
|
4743
5484
|
* @param avaProject The Dangl.AVA project
|
|
5485
|
+
* @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
5486
|
* @param {*} [options] Override http request options.
|
|
4745
5487
|
*/
|
|
4746
|
-
public avaConversionConvertToSia (avaProject: ProjectDto, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5488
|
+
public avaConversionConvertToSia (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4747
5489
|
const localVarPath = this.basePath + '/conversion/ava/sia';
|
|
4748
5490
|
let localVarQueryParameters: any = {};
|
|
4749
5491
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4754,6 +5496,10 @@ export class AvaConversionApi {
|
|
|
4754
5496
|
throw new Error('Required parameter avaProject was null or undefined when calling avaConversionConvertToSia.');
|
|
4755
5497
|
}
|
|
4756
5498
|
|
|
5499
|
+
if (tryAutoGenerateItemNumbersAndSchema !== undefined) {
|
|
5500
|
+
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
5501
|
+
}
|
|
5502
|
+
|
|
4757
5503
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4758
5504
|
|
|
4759
5505
|
let localVarUseFormData = false;
|
|
@@ -5392,9 +6138,11 @@ export class ExcelConversionApi {
|
|
|
5392
6138
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5393
6139
|
* @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
6140
|
* @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.
|
|
6141
|
+
* @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.
|
|
6142
|
+
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
5395
6143
|
* @param {*} [options] Override http request options.
|
|
5396
6144
|
*/
|
|
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; }> {
|
|
6145
|
+
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, forceIncludeDescriptions?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5398
6146
|
const localVarPath = this.basePath + '/conversion/excel/gaeb';
|
|
5399
6147
|
let localVarQueryParameters: any = {};
|
|
5400
6148
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -5424,6 +6172,14 @@ export class ExcelConversionApi {
|
|
|
5424
6172
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
5425
6173
|
}
|
|
5426
6174
|
|
|
6175
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6176
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6177
|
+
}
|
|
6178
|
+
|
|
6179
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
6180
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
6181
|
+
}
|
|
6182
|
+
|
|
5427
6183
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5428
6184
|
|
|
5429
6185
|
let localVarUseFormData = false;
|
|
@@ -5477,9 +6233,10 @@ export class ExcelConversionApi {
|
|
|
5477
6233
|
* @param destinationOenormType Defaults to Lv2015
|
|
5478
6234
|
* @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
6235
|
* @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.
|
|
6236
|
+
* @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
6237
|
* @param {*} [options] Override http request options.
|
|
5481
6238
|
*/
|
|
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; }> {
|
|
6239
|
+
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
6240
|
const localVarPath = this.basePath + '/conversion/excel/oenorm';
|
|
5484
6241
|
let localVarQueryParameters: any = {};
|
|
5485
6242
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -5505,6 +6262,10 @@ export class ExcelConversionApi {
|
|
|
5505
6262
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
5506
6263
|
}
|
|
5507
6264
|
|
|
6265
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6266
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6267
|
+
}
|
|
6268
|
+
|
|
5508
6269
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5509
6270
|
|
|
5510
6271
|
let localVarUseFormData = false;
|
|
@@ -5603,16 +6364,21 @@ export class GaebConversionApi {
|
|
|
5603
6364
|
*
|
|
5604
6365
|
* @summary Converts GAEB files to Dangl.AVA projects
|
|
5605
6366
|
* @param gaebFile The input file
|
|
6367
|
+
* @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
6368
|
* @param removePlainTextLongTexts If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
5607
6369
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
5608
6370
|
* @param {*} [options] Override http request options.
|
|
5609
6371
|
*/
|
|
5610
|
-
public gaebConversionConvertToAva (gaebFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
6372
|
+
public gaebConversionConvertToAva (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
5611
6373
|
const localVarPath = this.basePath + '/conversion/gaeb/ava';
|
|
5612
6374
|
let localVarQueryParameters: any = {};
|
|
5613
6375
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5614
6376
|
let localVarFormParams: any = {};
|
|
5615
6377
|
|
|
6378
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
6379
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
6380
|
+
}
|
|
6381
|
+
|
|
5616
6382
|
if (removePlainTextLongTexts !== undefined) {
|
|
5617
6383
|
localVarQueryParameters['RemovePlainTextLongTexts'] = ObjectSerializer.serialize(removePlainTextLongTexts, "boolean");
|
|
5618
6384
|
}
|
|
@@ -5669,17 +6435,22 @@ export class GaebConversionApi {
|
|
|
5669
6435
|
*
|
|
5670
6436
|
* @summary Converts GAEB files to Excel
|
|
5671
6437
|
* @param gaebFile The input file
|
|
6438
|
+
* @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
6439
|
* @param writePrices Defaults to true
|
|
5673
6440
|
* @param writeLongTexts Defaults to true
|
|
5674
6441
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
5675
6442
|
* @param {*} [options] Override http request options.
|
|
5676
6443
|
*/
|
|
5677
|
-
public gaebConversionConvertToExcel (gaebFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6444
|
+
public gaebConversionConvertToExcel (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5678
6445
|
const localVarPath = this.basePath + '/conversion/gaeb/excel';
|
|
5679
6446
|
let localVarQueryParameters: any = {};
|
|
5680
6447
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5681
6448
|
let localVarFormParams: any = {};
|
|
5682
6449
|
|
|
6450
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
6451
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
6452
|
+
}
|
|
6453
|
+
|
|
5683
6454
|
if (writePrices !== undefined) {
|
|
5684
6455
|
localVarQueryParameters['WritePrices'] = ObjectSerializer.serialize(writePrices, "boolean");
|
|
5685
6456
|
}
|
|
@@ -5740,18 +6511,25 @@ export class GaebConversionApi {
|
|
|
5740
6511
|
*
|
|
5741
6512
|
* @summary Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files.
|
|
5742
6513
|
* @param gaebFile The input file
|
|
6514
|
+
* @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
6515
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
5744
6516
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5745
6517
|
* @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
6518
|
* @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.
|
|
6519
|
+
* @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.
|
|
6520
|
+
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
5747
6521
|
* @param {*} [options] Override http request options.
|
|
5748
6522
|
*/
|
|
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; }> {
|
|
6523
|
+
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, forceIncludeDescriptions?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5750
6524
|
const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
|
|
5751
6525
|
let localVarQueryParameters: any = {};
|
|
5752
6526
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5753
6527
|
let localVarFormParams: any = {};
|
|
5754
6528
|
|
|
6529
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
6530
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
6531
|
+
}
|
|
6532
|
+
|
|
5755
6533
|
if (destinationGaebType !== undefined) {
|
|
5756
6534
|
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
6535
|
}
|
|
@@ -5768,6 +6546,14 @@ export class GaebConversionApi {
|
|
|
5768
6546
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
5769
6547
|
}
|
|
5770
6548
|
|
|
6549
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6550
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6551
|
+
}
|
|
6552
|
+
|
|
6553
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
6554
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
6555
|
+
}
|
|
6556
|
+
|
|
5771
6557
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5772
6558
|
|
|
5773
6559
|
let localVarUseFormData = false;
|
|
@@ -5816,17 +6602,23 @@ export class GaebConversionApi {
|
|
|
5816
6602
|
*
|
|
5817
6603
|
* @summary Converts GAEB files to Oenorm files
|
|
5818
6604
|
* @param gaebFile The input file
|
|
6605
|
+
* @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
6606
|
* @param destinationOenormType Defaults to Lv2015
|
|
5820
6607
|
* @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
6608
|
* @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.
|
|
6609
|
+
* @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
6610
|
* @param {*} [options] Override http request options.
|
|
5823
6611
|
*/
|
|
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; }> {
|
|
6612
|
+
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
6613
|
const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
|
|
5826
6614
|
let localVarQueryParameters: any = {};
|
|
5827
6615
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5828
6616
|
let localVarFormParams: any = {};
|
|
5829
6617
|
|
|
6618
|
+
if (supportSkippedItemNumberLevelsInPositions !== undefined) {
|
|
6619
|
+
localVarQueryParameters['SupportSkippedItemNumberLevelsInPositions'] = ObjectSerializer.serialize(supportSkippedItemNumberLevelsInPositions, "boolean");
|
|
6620
|
+
}
|
|
6621
|
+
|
|
5830
6622
|
if (destinationOenormType !== undefined) {
|
|
5831
6623
|
localVarQueryParameters['DestinationOenormType'] = ObjectSerializer.serialize(destinationOenormType, "'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021'");
|
|
5832
6624
|
}
|
|
@@ -5839,6 +6631,10 @@ export class GaebConversionApi {
|
|
|
5839
6631
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
5840
6632
|
}
|
|
5841
6633
|
|
|
6634
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6635
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6636
|
+
}
|
|
6637
|
+
|
|
5842
6638
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5843
6639
|
|
|
5844
6640
|
let localVarUseFormData = false;
|
|
@@ -6078,9 +6874,11 @@ export class OenormConversionApi {
|
|
|
6078
6874
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
6079
6875
|
* @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
6876
|
* @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.
|
|
6877
|
+
* @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.
|
|
6878
|
+
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
6081
6879
|
* @param {*} [options] Override http request options.
|
|
6082
6880
|
*/
|
|
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; }> {
|
|
6881
|
+
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, forceIncludeDescriptions?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6084
6882
|
const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
|
|
6085
6883
|
let localVarQueryParameters: any = {};
|
|
6086
6884
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6102,6 +6900,14 @@ export class OenormConversionApi {
|
|
|
6102
6900
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
6103
6901
|
}
|
|
6104
6902
|
|
|
6903
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6904
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6905
|
+
}
|
|
6906
|
+
|
|
6907
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
6908
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
6909
|
+
}
|
|
6910
|
+
|
|
6105
6911
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6106
6912
|
|
|
6107
6913
|
let localVarUseFormData = false;
|
|
@@ -6153,9 +6959,10 @@ export class OenormConversionApi {
|
|
|
6153
6959
|
* @param destinationOenormType Defaults to Lv2015
|
|
6154
6960
|
* @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
6961
|
* @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.
|
|
6962
|
+
* @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
6963
|
* @param {*} [options] Override http request options.
|
|
6157
6964
|
*/
|
|
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; }> {
|
|
6965
|
+
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
6966
|
const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
|
|
6160
6967
|
let localVarQueryParameters: any = {};
|
|
6161
6968
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6173,6 +6980,10 @@ export class OenormConversionApi {
|
|
|
6173
6980
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
6174
6981
|
}
|
|
6175
6982
|
|
|
6983
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
6984
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6985
|
+
}
|
|
6986
|
+
|
|
6176
6987
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6177
6988
|
|
|
6178
6989
|
let localVarUseFormData = false;
|
|
@@ -6412,9 +7223,11 @@ export class RebConversionApi {
|
|
|
6412
7223
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
6413
7224
|
* @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
7225
|
* @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.
|
|
7226
|
+
* @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.
|
|
7227
|
+
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
6415
7228
|
* @param {*} [options] Override http request options.
|
|
6416
7229
|
*/
|
|
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; }> {
|
|
7230
|
+
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, forceIncludeDescriptions?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6418
7231
|
const localVarPath = this.basePath + '/conversion/reb/gaeb';
|
|
6419
7232
|
let localVarQueryParameters: any = {};
|
|
6420
7233
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6436,6 +7249,14 @@ export class RebConversionApi {
|
|
|
6436
7249
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
6437
7250
|
}
|
|
6438
7251
|
|
|
7252
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
7253
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
7254
|
+
}
|
|
7255
|
+
|
|
7256
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
7257
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
7258
|
+
}
|
|
7259
|
+
|
|
6439
7260
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6440
7261
|
|
|
6441
7262
|
let localVarUseFormData = false;
|
|
@@ -6487,9 +7308,10 @@ export class RebConversionApi {
|
|
|
6487
7308
|
* @param destinationOenormType Defaults to Lv2015
|
|
6488
7309
|
* @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
7310
|
* @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.
|
|
7311
|
+
* @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
7312
|
* @param {*} [options] Override http request options.
|
|
6491
7313
|
*/
|
|
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; }> {
|
|
7314
|
+
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
7315
|
const localVarPath = this.basePath + '/conversion/reb/oenorm';
|
|
6494
7316
|
let localVarQueryParameters: any = {};
|
|
6495
7317
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6507,6 +7329,10 @@ export class RebConversionApi {
|
|
|
6507
7329
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
6508
7330
|
}
|
|
6509
7331
|
|
|
7332
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
7333
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
7334
|
+
}
|
|
7335
|
+
|
|
6510
7336
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6511
7337
|
|
|
6512
7338
|
let localVarUseFormData = false;
|
|
@@ -6746,9 +7572,11 @@ export class SiaConversionApi {
|
|
|
6746
7572
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
6747
7573
|
* @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
7574
|
* @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.
|
|
7575
|
+
* @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.
|
|
7576
|
+
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
6749
7577
|
* @param {*} [options] Override http request options.
|
|
6750
7578
|
*/
|
|
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; }> {
|
|
7579
|
+
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, forceIncludeDescriptions?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6752
7580
|
const localVarPath = this.basePath + '/conversion/sia/gaeb';
|
|
6753
7581
|
let localVarQueryParameters: any = {};
|
|
6754
7582
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6770,6 +7598,14 @@ export class SiaConversionApi {
|
|
|
6770
7598
|
localVarQueryParameters['ExportQuantityDetermination'] = ObjectSerializer.serialize(exportQuantityDetermination, "boolean");
|
|
6771
7599
|
}
|
|
6772
7600
|
|
|
7601
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
7602
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
7603
|
+
}
|
|
7604
|
+
|
|
7605
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
7606
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
7607
|
+
}
|
|
7608
|
+
|
|
6773
7609
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6774
7610
|
|
|
6775
7611
|
let localVarUseFormData = false;
|
|
@@ -6821,9 +7657,10 @@ export class SiaConversionApi {
|
|
|
6821
7657
|
* @param destinationOenormType Defaults to Lv2015
|
|
6822
7658
|
* @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
7659
|
* @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.
|
|
7660
|
+
* @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
7661
|
* @param {*} [options] Override http request options.
|
|
6825
7662
|
*/
|
|
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; }> {
|
|
7663
|
+
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
7664
|
const localVarPath = this.basePath + '/conversion/sia/oenorm';
|
|
6828
7665
|
let localVarQueryParameters: any = {};
|
|
6829
7666
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6841,6 +7678,10 @@ export class SiaConversionApi {
|
|
|
6841
7678
|
localVarQueryParameters['SkipTryEnforceSchemaCompliantXmlOutput'] = ObjectSerializer.serialize(skipTryEnforceSchemaCompliantXmlOutput, "boolean");
|
|
6842
7679
|
}
|
|
6843
7680
|
|
|
7681
|
+
if (removeUnprintableCharactersFromTexts !== undefined) {
|
|
7682
|
+
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
7683
|
+
}
|
|
7684
|
+
|
|
6844
7685
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6845
7686
|
|
|
6846
7687
|
let localVarUseFormData = false;
|
|
@@ -6986,6 +7827,174 @@ export class StatusApi {
|
|
|
6986
7827
|
});
|
|
6987
7828
|
}
|
|
6988
7829
|
}
|
|
7830
|
+
export enum ValidationApiApiKeys {
|
|
7831
|
+
}
|
|
7832
|
+
|
|
7833
|
+
export class ValidationApi {
|
|
7834
|
+
protected _basePath = defaultBasePath;
|
|
7835
|
+
protected defaultHeaders : any = {};
|
|
7836
|
+
protected _useQuerystring : boolean = false;
|
|
7837
|
+
|
|
7838
|
+
protected authentications = {
|
|
7839
|
+
'default': <Authentication>new VoidAuth(),
|
|
7840
|
+
'Dangl.Identity': new OAuth(),
|
|
7841
|
+
}
|
|
7842
|
+
|
|
7843
|
+
constructor(basePath?: string);
|
|
7844
|
+
constructor(basePathOrUsername: string, password?: string, basePath?: string) {
|
|
7845
|
+
if (password) {
|
|
7846
|
+
if (basePath) {
|
|
7847
|
+
this.basePath = basePath;
|
|
7848
|
+
}
|
|
7849
|
+
} else {
|
|
7850
|
+
if (basePathOrUsername) {
|
|
7851
|
+
this.basePath = basePathOrUsername
|
|
7852
|
+
}
|
|
7853
|
+
}
|
|
7854
|
+
}
|
|
7855
|
+
|
|
7856
|
+
set useQuerystring(value: boolean) {
|
|
7857
|
+
this._useQuerystring = value;
|
|
7858
|
+
}
|
|
7859
|
+
|
|
7860
|
+
set basePath(basePath: string) {
|
|
7861
|
+
this._basePath = basePath;
|
|
7862
|
+
}
|
|
7863
|
+
|
|
7864
|
+
get basePath() {
|
|
7865
|
+
return this._basePath;
|
|
7866
|
+
}
|
|
7867
|
+
|
|
7868
|
+
public setDefaultAuthentication(auth: Authentication) {
|
|
7869
|
+
this.authentications.default = auth;
|
|
7870
|
+
}
|
|
7871
|
+
|
|
7872
|
+
public setApiKey(key: ValidationApiApiKeys, value: string) {
|
|
7873
|
+
(this.authentications as any)[ValidationApiApiKeys[key]].apiKey = value;
|
|
7874
|
+
}
|
|
7875
|
+
|
|
7876
|
+
set accessToken(token: string) {
|
|
7877
|
+
this.authentications['Dangl.Identity'].accessToken = token;
|
|
7878
|
+
}
|
|
7879
|
+
/**
|
|
7880
|
+
*
|
|
7881
|
+
* @summary This endpoint validates AVA files, typically GAEB or ÖNorm. The type of file needs to be provided as a query parameter, since there is no auto detection of the uploaded file type.
|
|
7882
|
+
* @param avaFile The file to validate
|
|
7883
|
+
* @param fileValidationSourceType You need to indicate which type of file is being provided, there is no auto detection mechanism
|
|
7884
|
+
* @param {*} [options] Override http request options.
|
|
7885
|
+
*/
|
|
7886
|
+
public validationValidateFile (avaFile: FileParameter, fileValidationSourceType?: 'Gaeb' | 'Oenorm', options: any = {}) : Promise<{ response: http.IncomingMessage; body: ValidationResult; }> {
|
|
7887
|
+
const localVarPath = this.basePath + '/validation/file';
|
|
7888
|
+
let localVarQueryParameters: any = {};
|
|
7889
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7890
|
+
let localVarFormParams: any = {};
|
|
7891
|
+
|
|
7892
|
+
if (fileValidationSourceType !== undefined) {
|
|
7893
|
+
localVarQueryParameters['fileValidationSourceType'] = ObjectSerializer.serialize(fileValidationSourceType, "'Gaeb' | 'Oenorm'");
|
|
7894
|
+
}
|
|
7895
|
+
|
|
7896
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
7897
|
+
|
|
7898
|
+
let localVarUseFormData = false;
|
|
7899
|
+
|
|
7900
|
+
if (avaFile !== undefined) {
|
|
7901
|
+
localVarFormParams['avaFile'] = avaFile;
|
|
7902
|
+
}
|
|
7903
|
+
localVarUseFormData = true;
|
|
7904
|
+
|
|
7905
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
7906
|
+
method: 'POST',
|
|
7907
|
+
qs: localVarQueryParameters,
|
|
7908
|
+
headers: localVarHeaderParams,
|
|
7909
|
+
uri: localVarPath,
|
|
7910
|
+
useQuerystring: this._useQuerystring,
|
|
7911
|
+
json: true,
|
|
7912
|
+
};
|
|
7913
|
+
|
|
7914
|
+
this.authentications['Dangl.Identity'].applyToRequest(localVarRequestOptions);
|
|
7915
|
+
|
|
7916
|
+
this.authentications.default.applyToRequest(localVarRequestOptions);
|
|
7917
|
+
|
|
7918
|
+
if (Object.keys(localVarFormParams).length) {
|
|
7919
|
+
if (localVarUseFormData) {
|
|
7920
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
7921
|
+
} else {
|
|
7922
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
7923
|
+
}
|
|
7924
|
+
}
|
|
7925
|
+
return new Promise<{ response: http.IncomingMessage; body: ValidationResult; }>((resolve, reject) => {
|
|
7926
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
7927
|
+
if (error) {
|
|
7928
|
+
reject(error);
|
|
7929
|
+
} else {
|
|
7930
|
+
body = ObjectSerializer.deserialize(body, "ValidationResult");
|
|
7931
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
7932
|
+
resolve({ response: response, body: body });
|
|
7933
|
+
} else {
|
|
7934
|
+
reject({ response: response, body: body });
|
|
7935
|
+
}
|
|
7936
|
+
}
|
|
7937
|
+
});
|
|
7938
|
+
});
|
|
7939
|
+
}
|
|
7940
|
+
/**
|
|
7941
|
+
*
|
|
7942
|
+
* @summary This endpoint provides a full validation of a provided ProjectDto. It will take the given exchange phase into account and do some general project validation. Optionally, a conversion to a desired target can also be done, in which case the target file will also be validated.
|
|
7943
|
+
* @param avaProjectValidationSourceOptions The options used for the validation operation
|
|
7944
|
+
* @param {*} [options] Override http request options.
|
|
7945
|
+
*/
|
|
7946
|
+
public validationValidateProject (avaProjectValidationSourceOptions: PostAvaProjectValidationSourceOptions, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ValidationResult; }> {
|
|
7947
|
+
const localVarPath = this.basePath + '/validation/project';
|
|
7948
|
+
let localVarQueryParameters: any = {};
|
|
7949
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7950
|
+
let localVarFormParams: any = {};
|
|
7951
|
+
|
|
7952
|
+
// verify required parameter 'avaProjectValidationSourceOptions' is not null or undefined
|
|
7953
|
+
if (avaProjectValidationSourceOptions === null || avaProjectValidationSourceOptions === undefined) {
|
|
7954
|
+
throw new Error('Required parameter avaProjectValidationSourceOptions was null or undefined when calling validationValidateProject.');
|
|
7955
|
+
}
|
|
7956
|
+
|
|
7957
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
7958
|
+
|
|
7959
|
+
let localVarUseFormData = false;
|
|
7960
|
+
|
|
7961
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
7962
|
+
method: 'POST',
|
|
7963
|
+
qs: localVarQueryParameters,
|
|
7964
|
+
headers: localVarHeaderParams,
|
|
7965
|
+
uri: localVarPath,
|
|
7966
|
+
useQuerystring: this._useQuerystring,
|
|
7967
|
+
json: true,
|
|
7968
|
+
body: ObjectSerializer.serialize(avaProjectValidationSourceOptions, "PostAvaProjectValidationSourceOptions")
|
|
7969
|
+
};
|
|
7970
|
+
|
|
7971
|
+
this.authentications['Dangl.Identity'].applyToRequest(localVarRequestOptions);
|
|
7972
|
+
|
|
7973
|
+
this.authentications.default.applyToRequest(localVarRequestOptions);
|
|
7974
|
+
|
|
7975
|
+
if (Object.keys(localVarFormParams).length) {
|
|
7976
|
+
if (localVarUseFormData) {
|
|
7977
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
7978
|
+
} else {
|
|
7979
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
7980
|
+
}
|
|
7981
|
+
}
|
|
7982
|
+
return new Promise<{ response: http.IncomingMessage; body: ValidationResult; }>((resolve, reject) => {
|
|
7983
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
7984
|
+
if (error) {
|
|
7985
|
+
reject(error);
|
|
7986
|
+
} else {
|
|
7987
|
+
body = ObjectSerializer.deserialize(body, "ValidationResult");
|
|
7988
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
7989
|
+
resolve({ response: response, body: body });
|
|
7990
|
+
} else {
|
|
7991
|
+
reject({ response: response, body: body });
|
|
7992
|
+
}
|
|
7993
|
+
}
|
|
7994
|
+
});
|
|
7995
|
+
});
|
|
7996
|
+
}
|
|
7997
|
+
}
|
|
6989
7998
|
|
|
6990
7999
|
|
|
6991
8000
|
export interface FileParameter {
|