@dangl/avacloud-client-node 1.67.1-beta0046-avacloud-preview → 1.68.0-avacloud-preview
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/api.d.ts +39 -17
- package/api.js +56 -23
- package/api.js.map +1 -1
- package/api.ts +72 -39
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -15,14 +15,16 @@ export declare class AslvConversionApi {
|
|
|
15
15
|
aslvConversionConvertToAvaWithRequestObject(aslvFile: FileParameter | null | undefined, options?: {
|
|
16
16
|
removePlainTextLongTexts?: boolean | undefined;
|
|
17
17
|
removeHtmlLongTexts?: boolean | undefined;
|
|
18
|
+
preserveReferences?: boolean | null | undefined;
|
|
18
19
|
}): Promise<SwaggerResponse<ProjectDto>>;
|
|
19
20
|
/**
|
|
20
21
|
* Converts Aslv files to Dangl.AVA projects
|
|
21
22
|
* @param aslvFile (optional) The input file
|
|
22
23
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
23
24
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
25
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
24
26
|
*/
|
|
25
|
-
aslvConversionConvertToAva(aslvFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
27
|
+
aslvConversionConvertToAva(aslvFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, preserveReferences?: boolean | null | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
26
28
|
protected processAslvConversionConvertToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
|
|
27
29
|
/**
|
|
28
30
|
* Converts Aslv files to Dangl.AVA projects
|
|
@@ -145,6 +147,7 @@ export declare class AvaConversionApi {
|
|
|
145
147
|
tryAutoGenerateItemNumbersAndSchema?: boolean | undefined;
|
|
146
148
|
removePlainTextLongTexts?: boolean | undefined;
|
|
147
149
|
removeHtmlLongTexts?: boolean | undefined;
|
|
150
|
+
preserveReferences?: boolean | null | undefined;
|
|
148
151
|
}): Promise<SwaggerResponse<ProjectDto>>;
|
|
149
152
|
/**
|
|
150
153
|
* Converts Dangl.AVA projects to Dangl.AVA. This is useful when
|
|
@@ -156,8 +159,9 @@ export declare class AvaConversionApi {
|
|
|
156
159
|
is already present, or if any of the elements already has an item number.
|
|
157
160
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
158
161
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
162
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
159
163
|
*/
|
|
160
|
-
avaConversionConvertToAva(avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
164
|
+
avaConversionConvertToAva(avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, preserveReferences?: boolean | null | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
161
165
|
protected processAvaConversionConvertToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
|
|
162
166
|
/**
|
|
163
167
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -418,14 +422,16 @@ export declare class DatanormConversionApi {
|
|
|
418
422
|
datanormConversionConvertToAvaWithRequestObject(datanormFile: FileParameter | null | undefined, options?: {
|
|
419
423
|
removePlainTextLongTexts?: boolean | undefined;
|
|
420
424
|
removeHtmlLongTexts?: boolean | undefined;
|
|
425
|
+
preserveReferences?: boolean | null | undefined;
|
|
421
426
|
}): Promise<SwaggerResponse<ProjectDto>>;
|
|
422
427
|
/**
|
|
423
428
|
* Converts Datanorm files to Dangl.AVA projects
|
|
424
429
|
* @param datanormFile (optional) The input file
|
|
425
430
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
426
431
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
432
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
427
433
|
*/
|
|
428
|
-
datanormConversionConvertToAva(datanormFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
434
|
+
datanormConversionConvertToAva(datanormFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, preserveReferences?: boolean | null | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
429
435
|
protected processDatanormConversionConvertToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
|
|
430
436
|
/**
|
|
431
437
|
* Converts Datanorm files to Dangl.AVA projects
|
|
@@ -453,6 +459,7 @@ export declare class ExcelConversionApi {
|
|
|
453
459
|
rebuildItemNumberSchema?: boolean | undefined;
|
|
454
460
|
removePlainTextLongTexts?: boolean | undefined;
|
|
455
461
|
removeHtmlLongTexts?: boolean | undefined;
|
|
462
|
+
preserveReferences?: boolean | null | undefined;
|
|
456
463
|
}): Promise<SwaggerResponse<ProjectDto>>;
|
|
457
464
|
/**
|
|
458
465
|
* Converts Excel files to Dangl.AVA projects.
|
|
@@ -463,8 +470,9 @@ export declare class ExcelConversionApi {
|
|
|
463
470
|
the ItemNumberSchema. Defaults to false.
|
|
464
471
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
465
472
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
473
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
466
474
|
*/
|
|
467
|
-
excelConversionConvertToAva(excelFile: FileParameter | null | undefined, readNewElements?: boolean | undefined, rebuildItemNumberSchema?: boolean | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
475
|
+
excelConversionConvertToAva(excelFile: FileParameter | null | undefined, readNewElements?: boolean | undefined, rebuildItemNumberSchema?: boolean | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, preserveReferences?: boolean | null | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
468
476
|
protected processExcelConversionConvertToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
|
|
469
477
|
/**
|
|
470
478
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -618,6 +626,7 @@ export declare class FlatAvaConversionApi {
|
|
|
618
626
|
tryAutoGenerateItemNumbersAndSchema?: boolean | undefined;
|
|
619
627
|
removePlainTextLongTexts?: boolean | undefined;
|
|
620
628
|
removeHtmlLongTexts?: boolean | undefined;
|
|
629
|
+
preserveReferences?: boolean | null | undefined;
|
|
621
630
|
}): Promise<SwaggerResponse<ProjectDto>>;
|
|
622
631
|
/**
|
|
623
632
|
* Converts flat Dangl.AVA projects to Dangl.AVA. This is useful when
|
|
@@ -629,8 +638,9 @@ export declare class FlatAvaConversionApi {
|
|
|
629
638
|
is already present, or if any of the elements already has an item number.
|
|
630
639
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
631
640
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
641
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
632
642
|
*/
|
|
633
|
-
flatAvaConversionConvertToAva(flatAvaProject: FlatAvaProject, tryAutoGenerateItemNumbersAndSchema?: boolean | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
643
|
+
flatAvaConversionConvertToAva(flatAvaProject: FlatAvaProject, tryAutoGenerateItemNumbersAndSchema?: boolean | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, preserveReferences?: boolean | null | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
634
644
|
protected processFlatAvaConversionConvertToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
|
|
635
645
|
/**
|
|
636
646
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -877,6 +887,7 @@ export declare class GaebConversionApi {
|
|
|
877
887
|
allowUpperCaseItemNumbers?: boolean | undefined;
|
|
878
888
|
allowLumpSumItemsWithDifferingQuantities?: boolean | undefined;
|
|
879
889
|
disableItemNumberIdentifierTransformations?: boolean | undefined;
|
|
890
|
+
preserveReferences?: boolean | null | undefined;
|
|
880
891
|
}): Promise<SwaggerResponse<ProjectDto>>;
|
|
881
892
|
/**
|
|
882
893
|
* Converts GAEB files to Dangl.AVA projects
|
|
@@ -905,8 +916,9 @@ export declare class GaebConversionApi {
|
|
|
905
916
|
beginning. Defaults to 'false'. This can be used to preserve item numbers exactly
|
|
906
917
|
as they are in the source file, but it is not recommended to use this option since it
|
|
907
918
|
may also allow incorrect or non schema compliant item numbers to be imported.
|
|
919
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
908
920
|
*/
|
|
909
|
-
gaebConversionConvertToAva(gaebFile: FileParameter | null | undefined, supportSkippedItemNumberLevelsInPositions?: boolean | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, outputHtmlAsXml?: boolean | undefined, keepEmptyHtmlText?: boolean | undefined, allowUpperCaseItemNumbers?: boolean | undefined, allowLumpSumItemsWithDifferingQuantities?: boolean | undefined, disableItemNumberIdentifierTransformations?: boolean | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
921
|
+
gaebConversionConvertToAva(gaebFile: FileParameter | null | undefined, supportSkippedItemNumberLevelsInPositions?: boolean | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, outputHtmlAsXml?: boolean | undefined, keepEmptyHtmlText?: boolean | undefined, allowUpperCaseItemNumbers?: boolean | undefined, allowLumpSumItemsWithDifferingQuantities?: boolean | undefined, disableItemNumberIdentifierTransformations?: boolean | undefined, preserveReferences?: boolean | null | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
910
922
|
protected processGaebConversionConvertToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
|
|
911
923
|
/**
|
|
912
924
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -1146,14 +1158,16 @@ export declare class IdsConnectConversionApi {
|
|
|
1146
1158
|
idsConnectConversionConvertToAvaWithRequestObject(idsConnectFile: FileParameter | null | undefined, options?: {
|
|
1147
1159
|
removePlainTextLongTexts?: boolean | undefined;
|
|
1148
1160
|
removeHtmlLongTexts?: boolean | undefined;
|
|
1161
|
+
preserveReferences?: boolean | null | undefined;
|
|
1149
1162
|
}): Promise<SwaggerResponse<ProjectDto>>;
|
|
1150
1163
|
/**
|
|
1151
1164
|
* Converts IDS Connect files to Dangl.AVA projects
|
|
1152
1165
|
* @param idsConnectFile (optional) The input file
|
|
1153
1166
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
1154
1167
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
1168
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
1155
1169
|
*/
|
|
1156
|
-
idsConnectConversionConvertToAva(idsConnectFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
1170
|
+
idsConnectConversionConvertToAva(idsConnectFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, preserveReferences?: boolean | null | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
1157
1171
|
protected processIdsConnectConversionConvertToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
|
|
1158
1172
|
/**
|
|
1159
1173
|
* Converts IDS Connect files to Dangl.AVA projects
|
|
@@ -1180,6 +1194,7 @@ export declare class OenormConversionApi {
|
|
|
1180
1194
|
removePlainTextLongTexts?: boolean | undefined;
|
|
1181
1195
|
removeHtmlLongTexts?: boolean | undefined;
|
|
1182
1196
|
useOenormFileDeclarationForItemNumberSchema?: boolean | undefined;
|
|
1197
|
+
preserveReferences?: boolean | null | undefined;
|
|
1183
1198
|
}): Promise<SwaggerResponse<ProjectDto>>;
|
|
1184
1199
|
/**
|
|
1185
1200
|
* Converts ÖNorm files to Dangl.AVA projects
|
|
@@ -1189,8 +1204,9 @@ export declare class OenormConversionApi {
|
|
|
1189
1204
|
* @param useOenormFileDeclarationForItemNumberSchema (optional) If this is enabled, then the actual content structure inside the ÖNorm file is ignored. The item number
|
|
1190
1205
|
schema of the target will be built based on the top level structure definition of the ÖNorm file, even if the
|
|
1191
1206
|
file content itself might be different or empty. Defaults to true.
|
|
1207
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
1192
1208
|
*/
|
|
1193
|
-
oenormConversionConvertToAva(oenormFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, useOenormFileDeclarationForItemNumberSchema?: boolean | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
1209
|
+
oenormConversionConvertToAva(oenormFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, useOenormFileDeclarationForItemNumberSchema?: boolean | undefined, preserveReferences?: boolean | null | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
1194
1210
|
protected processOenormConversionConvertToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
|
|
1195
1211
|
/**
|
|
1196
1212
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -1334,6 +1350,7 @@ export declare class RebConversionApi {
|
|
|
1334
1350
|
removePlainTextLongTexts?: boolean | undefined;
|
|
1335
1351
|
removeHtmlLongTexts?: boolean | undefined;
|
|
1336
1352
|
supportSkippedItemNumberLevelsInPositions?: boolean | undefined;
|
|
1353
|
+
preserveReferences?: boolean | null | undefined;
|
|
1337
1354
|
}): Promise<SwaggerResponse<ProjectDto>>;
|
|
1338
1355
|
/**
|
|
1339
1356
|
* Converts REB files to Dangl.AVA projects
|
|
@@ -1345,8 +1362,9 @@ export declare class RebConversionApi {
|
|
|
1345
1362
|
levels and one position level - but the ItemNumber of the position is just '01.02', then it will be
|
|
1346
1363
|
displayed as '01.__.02' if this is set to true. This is only applicable for X31 files and has no
|
|
1347
1364
|
effect on D11 files.
|
|
1365
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
1348
1366
|
*/
|
|
1349
|
-
rebConversionConvertToAva(rebFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, supportSkippedItemNumberLevelsInPositions?: boolean | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
1367
|
+
rebConversionConvertToAva(rebFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, supportSkippedItemNumberLevelsInPositions?: boolean | undefined, preserveReferences?: boolean | null | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
1350
1368
|
protected processRebConversionConvertToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
|
|
1351
1369
|
/**
|
|
1352
1370
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -1497,14 +1515,16 @@ export declare class SiaConversionApi {
|
|
|
1497
1515
|
siaConversionConvertToAvaWithRequestObject(siaFile: FileParameter | null | undefined, options?: {
|
|
1498
1516
|
removePlainTextLongTexts?: boolean | undefined;
|
|
1499
1517
|
removeHtmlLongTexts?: boolean | undefined;
|
|
1518
|
+
preserveReferences?: boolean | null | undefined;
|
|
1500
1519
|
}): Promise<SwaggerResponse<ProjectDto>>;
|
|
1501
1520
|
/**
|
|
1502
1521
|
* Converts SIA 451 files to Dangl.AVA projects
|
|
1503
1522
|
* @param siaFile (optional) The input file
|
|
1504
1523
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
1505
1524
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
1525
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
1506
1526
|
*/
|
|
1507
|
-
siaConversionConvertToAva(siaFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
1527
|
+
siaConversionConvertToAva(siaFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, preserveReferences?: boolean | null | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
1508
1528
|
protected processSiaConversionConvertToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
|
|
1509
1529
|
/**
|
|
1510
1530
|
* Converts SIA 451 files to Dangl.AVA projects
|
|
@@ -1643,14 +1663,16 @@ export declare class UglConversionApi {
|
|
|
1643
1663
|
uglConversionConvertToAvaWithRequestObject(uglFile: FileParameter | null | undefined, options?: {
|
|
1644
1664
|
removePlainTextLongTexts?: boolean | undefined;
|
|
1645
1665
|
removeHtmlLongTexts?: boolean | undefined;
|
|
1666
|
+
preserveReferences?: boolean | null | undefined;
|
|
1646
1667
|
}): Promise<SwaggerResponse<ProjectDto>>;
|
|
1647
1668
|
/**
|
|
1648
1669
|
* Converts Ugl files to Dangl.AVA projects
|
|
1649
1670
|
* @param uglFile (optional) The input file
|
|
1650
1671
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
1651
1672
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
1673
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
1652
1674
|
*/
|
|
1653
|
-
uglConversionConvertToAva(uglFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
1675
|
+
uglConversionConvertToAva(uglFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, preserveReferences?: boolean | null | undefined): Promise<SwaggerResponse<ProjectDto>>;
|
|
1654
1676
|
protected processUglConversionConvertToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
|
|
1655
1677
|
/**
|
|
1656
1678
|
* Converts Ugl files to Dangl.AVA projects
|
|
@@ -4322,22 +4344,22 @@ export interface IGetProjectMergeResult {
|
|
|
4322
4344
|
/** Elements that were present in the target project, but could not be matched to any element in the source project. */
|
|
4323
4345
|
nonMatchedTargetElements?: IElementDto[] | undefined;
|
|
4324
4346
|
}
|
|
4325
|
-
/**
|
|
4347
|
+
/** Represents the source and target projects used to merge AVA service specifications. */
|
|
4326
4348
|
export declare class PostAvaProjectMerge implements IPostAvaProjectMerge {
|
|
4327
|
-
/** The source project
|
|
4349
|
+
/** The source project providing prices and text additions for the merge. */
|
|
4328
4350
|
sourceProject?: ProjectDto | undefined;
|
|
4329
|
-
/** The target project
|
|
4351
|
+
/** The target project whose structure is retained and whose first service specification is merged with the source project's first service specification. */
|
|
4330
4352
|
targetProject?: ProjectDto | undefined;
|
|
4331
4353
|
constructor(data?: IPostAvaProjectMerge);
|
|
4332
4354
|
init?(_data?: any): void;
|
|
4333
4355
|
static fromJS(data: any): PostAvaProjectMerge;
|
|
4334
4356
|
toJSON?(data?: any): any;
|
|
4335
4357
|
}
|
|
4336
|
-
/**
|
|
4358
|
+
/** Represents the source and target projects used to merge AVA service specifications. */
|
|
4337
4359
|
export interface IPostAvaProjectMerge {
|
|
4338
|
-
/** The source project
|
|
4360
|
+
/** The source project providing prices and text additions for the merge. */
|
|
4339
4361
|
sourceProject?: IProjectDto | undefined;
|
|
4340
|
-
/** The target project
|
|
4362
|
+
/** The target project whose structure is retained and whose first service specification is merged with the source project's first service specification. */
|
|
4341
4363
|
targetProject?: IProjectDto | undefined;
|
|
4342
4364
|
}
|
|
4343
4365
|
/** Indicates the status of the AVACloud service */
|
package/api.js
CHANGED
|
@@ -31,15 +31,16 @@ class AslvConversionApi {
|
|
|
31
31
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
32
32
|
*/
|
|
33
33
|
aslvConversionConvertToAvaWithRequestObject(aslvFile, options) {
|
|
34
|
-
return this.aslvConversionConvertToAva(aslvFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts);
|
|
34
|
+
return this.aslvConversionConvertToAva(aslvFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.preserveReferences);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* Converts Aslv files to Dangl.AVA projects
|
|
38
38
|
* @param aslvFile (optional) The input file
|
|
39
39
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
40
40
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
41
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
41
42
|
*/
|
|
42
|
-
aslvConversionConvertToAva(aslvFile, removePlainTextLongTexts, removeHtmlLongTexts) {
|
|
43
|
+
aslvConversionConvertToAva(aslvFile, removePlainTextLongTexts, removeHtmlLongTexts, preserveReferences) {
|
|
43
44
|
let url_ = this.baseUrl + "/conversion/aslv/ava?";
|
|
44
45
|
if (removePlainTextLongTexts === null)
|
|
45
46
|
throw new globalThis.Error("The parameter 'removePlainTextLongTexts' cannot be null.");
|
|
@@ -49,6 +50,8 @@ class AslvConversionApi {
|
|
|
49
50
|
throw new globalThis.Error("The parameter 'removeHtmlLongTexts' cannot be null.");
|
|
50
51
|
else if (removeHtmlLongTexts !== undefined)
|
|
51
52
|
url_ += "RemoveHtmlLongTexts=" + encodeURIComponent("" + removeHtmlLongTexts) + "&";
|
|
53
|
+
if (preserveReferences !== undefined && preserveReferences !== null)
|
|
54
|
+
url_ += "preserveReferences=" + encodeURIComponent("" + preserveReferences) + "&";
|
|
52
55
|
url_ = url_.replace(/[?&]$/, "");
|
|
53
56
|
const content_ = new FormData();
|
|
54
57
|
if (aslvFile !== null && aslvFile !== undefined)
|
|
@@ -485,7 +488,7 @@ class AvaConversionApi {
|
|
|
485
488
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
486
489
|
*/
|
|
487
490
|
avaConversionConvertToAvaWithRequestObject(avaProject, options) {
|
|
488
|
-
return this.avaConversionConvertToAva(avaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts);
|
|
491
|
+
return this.avaConversionConvertToAva(avaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.preserveReferences);
|
|
489
492
|
}
|
|
490
493
|
/**
|
|
491
494
|
* Converts Dangl.AVA projects to Dangl.AVA. This is useful when
|
|
@@ -497,8 +500,9 @@ class AvaConversionApi {
|
|
|
497
500
|
is already present, or if any of the elements already has an item number.
|
|
498
501
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
499
502
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
503
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
500
504
|
*/
|
|
501
|
-
avaConversionConvertToAva(avaProject, tryAutoGenerateItemNumbersAndSchema, removePlainTextLongTexts, removeHtmlLongTexts) {
|
|
505
|
+
avaConversionConvertToAva(avaProject, tryAutoGenerateItemNumbersAndSchema, removePlainTextLongTexts, removeHtmlLongTexts, preserveReferences) {
|
|
502
506
|
let url_ = this.baseUrl + "/conversion/ava/ava?";
|
|
503
507
|
if (tryAutoGenerateItemNumbersAndSchema === null)
|
|
504
508
|
throw new globalThis.Error("The parameter 'tryAutoGenerateItemNumbersAndSchema' cannot be null.");
|
|
@@ -512,6 +516,8 @@ class AvaConversionApi {
|
|
|
512
516
|
throw new globalThis.Error("The parameter 'removeHtmlLongTexts' cannot be null.");
|
|
513
517
|
else if (removeHtmlLongTexts !== undefined)
|
|
514
518
|
url_ += "RemoveHtmlLongTexts=" + encodeURIComponent("" + removeHtmlLongTexts) + "&";
|
|
519
|
+
if (preserveReferences !== undefined && preserveReferences !== null)
|
|
520
|
+
url_ += "preserveReferences=" + encodeURIComponent("" + preserveReferences) + "&";
|
|
515
521
|
url_ = url_.replace(/[?&]$/, "");
|
|
516
522
|
const content_ = JSON.stringify(avaProject);
|
|
517
523
|
let options_ = {
|
|
@@ -1450,15 +1456,16 @@ class DatanormConversionApi {
|
|
|
1450
1456
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
1451
1457
|
*/
|
|
1452
1458
|
datanormConversionConvertToAvaWithRequestObject(datanormFile, options) {
|
|
1453
|
-
return this.datanormConversionConvertToAva(datanormFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts);
|
|
1459
|
+
return this.datanormConversionConvertToAva(datanormFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.preserveReferences);
|
|
1454
1460
|
}
|
|
1455
1461
|
/**
|
|
1456
1462
|
* Converts Datanorm files to Dangl.AVA projects
|
|
1457
1463
|
* @param datanormFile (optional) The input file
|
|
1458
1464
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
1459
1465
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
1466
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
1460
1467
|
*/
|
|
1461
|
-
datanormConversionConvertToAva(datanormFile, removePlainTextLongTexts, removeHtmlLongTexts) {
|
|
1468
|
+
datanormConversionConvertToAva(datanormFile, removePlainTextLongTexts, removeHtmlLongTexts, preserveReferences) {
|
|
1462
1469
|
let url_ = this.baseUrl + "/conversion/datanorm/ava?";
|
|
1463
1470
|
if (removePlainTextLongTexts === null)
|
|
1464
1471
|
throw new globalThis.Error("The parameter 'removePlainTextLongTexts' cannot be null.");
|
|
@@ -1468,6 +1475,8 @@ class DatanormConversionApi {
|
|
|
1468
1475
|
throw new globalThis.Error("The parameter 'removeHtmlLongTexts' cannot be null.");
|
|
1469
1476
|
else if (removeHtmlLongTexts !== undefined)
|
|
1470
1477
|
url_ += "RemoveHtmlLongTexts=" + encodeURIComponent("" + removeHtmlLongTexts) + "&";
|
|
1478
|
+
if (preserveReferences !== undefined && preserveReferences !== null)
|
|
1479
|
+
url_ += "preserveReferences=" + encodeURIComponent("" + preserveReferences) + "&";
|
|
1471
1480
|
url_ = url_.replace(/[?&]$/, "");
|
|
1472
1481
|
const content_ = new FormData();
|
|
1473
1482
|
if (datanormFile !== null && datanormFile !== undefined)
|
|
@@ -1594,7 +1603,7 @@ class ExcelConversionApi {
|
|
|
1594
1603
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
1595
1604
|
*/
|
|
1596
1605
|
excelConversionConvertToAvaWithRequestObject(excelFile, options) {
|
|
1597
|
-
return this.excelConversionConvertToAva(excelFile, options === null || options === void 0 ? void 0 : options.readNewElements, options === null || options === void 0 ? void 0 : options.rebuildItemNumberSchema, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts);
|
|
1606
|
+
return this.excelConversionConvertToAva(excelFile, options === null || options === void 0 ? void 0 : options.readNewElements, options === null || options === void 0 ? void 0 : options.rebuildItemNumberSchema, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.preserveReferences);
|
|
1598
1607
|
}
|
|
1599
1608
|
/**
|
|
1600
1609
|
* Converts Excel files to Dangl.AVA projects.
|
|
@@ -1605,8 +1614,9 @@ class ExcelConversionApi {
|
|
|
1605
1614
|
the ItemNumberSchema. Defaults to false.
|
|
1606
1615
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
1607
1616
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
1617
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
1608
1618
|
*/
|
|
1609
|
-
excelConversionConvertToAva(excelFile, readNewElements, rebuildItemNumberSchema, removePlainTextLongTexts, removeHtmlLongTexts) {
|
|
1619
|
+
excelConversionConvertToAva(excelFile, readNewElements, rebuildItemNumberSchema, removePlainTextLongTexts, removeHtmlLongTexts, preserveReferences) {
|
|
1610
1620
|
let url_ = this.baseUrl + "/conversion/excel/ava?";
|
|
1611
1621
|
if (readNewElements === null)
|
|
1612
1622
|
throw new globalThis.Error("The parameter 'readNewElements' cannot be null.");
|
|
@@ -1624,6 +1634,8 @@ class ExcelConversionApi {
|
|
|
1624
1634
|
throw new globalThis.Error("The parameter 'removeHtmlLongTexts' cannot be null.");
|
|
1625
1635
|
else if (removeHtmlLongTexts !== undefined)
|
|
1626
1636
|
url_ += "RemoveHtmlLongTexts=" + encodeURIComponent("" + removeHtmlLongTexts) + "&";
|
|
1637
|
+
if (preserveReferences !== undefined && preserveReferences !== null)
|
|
1638
|
+
url_ += "preserveReferences=" + encodeURIComponent("" + preserveReferences) + "&";
|
|
1627
1639
|
url_ = url_.replace(/[?&]$/, "");
|
|
1628
1640
|
const content_ = new FormData();
|
|
1629
1641
|
if (excelFile !== null && excelFile !== undefined)
|
|
@@ -2116,7 +2128,7 @@ class FlatAvaConversionApi {
|
|
|
2116
2128
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
2117
2129
|
*/
|
|
2118
2130
|
flatAvaConversionConvertToAvaWithRequestObject(flatAvaProject, options) {
|
|
2119
|
-
return this.flatAvaConversionConvertToAva(flatAvaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts);
|
|
2131
|
+
return this.flatAvaConversionConvertToAva(flatAvaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.preserveReferences);
|
|
2120
2132
|
}
|
|
2121
2133
|
/**
|
|
2122
2134
|
* Converts flat Dangl.AVA projects to Dangl.AVA. This is useful when
|
|
@@ -2128,8 +2140,9 @@ class FlatAvaConversionApi {
|
|
|
2128
2140
|
is already present, or if any of the elements already has an item number.
|
|
2129
2141
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
2130
2142
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
2143
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
2131
2144
|
*/
|
|
2132
|
-
flatAvaConversionConvertToAva(flatAvaProject, tryAutoGenerateItemNumbersAndSchema, removePlainTextLongTexts, removeHtmlLongTexts) {
|
|
2145
|
+
flatAvaConversionConvertToAva(flatAvaProject, tryAutoGenerateItemNumbersAndSchema, removePlainTextLongTexts, removeHtmlLongTexts, preserveReferences) {
|
|
2133
2146
|
let url_ = this.baseUrl + "/conversion/flat-ava/ava?";
|
|
2134
2147
|
if (tryAutoGenerateItemNumbersAndSchema === null)
|
|
2135
2148
|
throw new globalThis.Error("The parameter 'tryAutoGenerateItemNumbersAndSchema' cannot be null.");
|
|
@@ -2143,6 +2156,8 @@ class FlatAvaConversionApi {
|
|
|
2143
2156
|
throw new globalThis.Error("The parameter 'removeHtmlLongTexts' cannot be null.");
|
|
2144
2157
|
else if (removeHtmlLongTexts !== undefined)
|
|
2145
2158
|
url_ += "RemoveHtmlLongTexts=" + encodeURIComponent("" + removeHtmlLongTexts) + "&";
|
|
2159
|
+
if (preserveReferences !== undefined && preserveReferences !== null)
|
|
2160
|
+
url_ += "preserveReferences=" + encodeURIComponent("" + preserveReferences) + "&";
|
|
2146
2161
|
url_ = url_.replace(/[?&]$/, "");
|
|
2147
2162
|
const content_ = JSON.stringify(flatAvaProject);
|
|
2148
2163
|
let options_ = {
|
|
@@ -3007,7 +3022,7 @@ class GaebConversionApi {
|
|
|
3007
3022
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3008
3023
|
*/
|
|
3009
3024
|
gaebConversionConvertToAvaWithRequestObject(gaebFile, options) {
|
|
3010
|
-
return this.gaebConversionConvertToAva(gaebFile, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.outputHtmlAsXml, options === null || options === void 0 ? void 0 : options.keepEmptyHtmlText, options === null || options === void 0 ? void 0 : options.allowUpperCaseItemNumbers, options === null || options === void 0 ? void 0 : options.allowLumpSumItemsWithDifferingQuantities, options === null || options === void 0 ? void 0 : options.disableItemNumberIdentifierTransformations);
|
|
3025
|
+
return this.gaebConversionConvertToAva(gaebFile, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.outputHtmlAsXml, options === null || options === void 0 ? void 0 : options.keepEmptyHtmlText, options === null || options === void 0 ? void 0 : options.allowUpperCaseItemNumbers, options === null || options === void 0 ? void 0 : options.allowLumpSumItemsWithDifferingQuantities, options === null || options === void 0 ? void 0 : options.disableItemNumberIdentifierTransformations, options === null || options === void 0 ? void 0 : options.preserveReferences);
|
|
3011
3026
|
}
|
|
3012
3027
|
/**
|
|
3013
3028
|
* Converts GAEB files to Dangl.AVA projects
|
|
@@ -3036,8 +3051,9 @@ class GaebConversionApi {
|
|
|
3036
3051
|
beginning. Defaults to 'false'. This can be used to preserve item numbers exactly
|
|
3037
3052
|
as they are in the source file, but it is not recommended to use this option since it
|
|
3038
3053
|
may also allow incorrect or non schema compliant item numbers to be imported.
|
|
3054
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
3039
3055
|
*/
|
|
3040
|
-
gaebConversionConvertToAva(gaebFile, supportSkippedItemNumberLevelsInPositions, removePlainTextLongTexts, removeHtmlLongTexts, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, disableItemNumberIdentifierTransformations) {
|
|
3056
|
+
gaebConversionConvertToAva(gaebFile, supportSkippedItemNumberLevelsInPositions, removePlainTextLongTexts, removeHtmlLongTexts, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, disableItemNumberIdentifierTransformations, preserveReferences) {
|
|
3041
3057
|
let url_ = this.baseUrl + "/conversion/gaeb/ava?";
|
|
3042
3058
|
if (supportSkippedItemNumberLevelsInPositions === null)
|
|
3043
3059
|
throw new globalThis.Error("The parameter 'supportSkippedItemNumberLevelsInPositions' cannot be null.");
|
|
@@ -3071,6 +3087,8 @@ class GaebConversionApi {
|
|
|
3071
3087
|
throw new globalThis.Error("The parameter 'disableItemNumberIdentifierTransformations' cannot be null.");
|
|
3072
3088
|
else if (disableItemNumberIdentifierTransformations !== undefined)
|
|
3073
3089
|
url_ += "DisableItemNumberIdentifierTransformations=" + encodeURIComponent("" + disableItemNumberIdentifierTransformations) + "&";
|
|
3090
|
+
if (preserveReferences !== undefined && preserveReferences !== null)
|
|
3091
|
+
url_ += "preserveReferences=" + encodeURIComponent("" + preserveReferences) + "&";
|
|
3074
3092
|
url_ = url_.replace(/[?&]$/, "");
|
|
3075
3093
|
const content_ = new FormData();
|
|
3076
3094
|
if (gaebFile !== null && gaebFile !== undefined)
|
|
@@ -3698,15 +3716,16 @@ class IdsConnectConversionApi {
|
|
|
3698
3716
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3699
3717
|
*/
|
|
3700
3718
|
idsConnectConversionConvertToAvaWithRequestObject(idsConnectFile, options) {
|
|
3701
|
-
return this.idsConnectConversionConvertToAva(idsConnectFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts);
|
|
3719
|
+
return this.idsConnectConversionConvertToAva(idsConnectFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.preserveReferences);
|
|
3702
3720
|
}
|
|
3703
3721
|
/**
|
|
3704
3722
|
* Converts IDS Connect files to Dangl.AVA projects
|
|
3705
3723
|
* @param idsConnectFile (optional) The input file
|
|
3706
3724
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
3707
3725
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
3726
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
3708
3727
|
*/
|
|
3709
|
-
idsConnectConversionConvertToAva(idsConnectFile, removePlainTextLongTexts, removeHtmlLongTexts) {
|
|
3728
|
+
idsConnectConversionConvertToAva(idsConnectFile, removePlainTextLongTexts, removeHtmlLongTexts, preserveReferences) {
|
|
3710
3729
|
let url_ = this.baseUrl + "/conversion/ids-connect/ava?";
|
|
3711
3730
|
if (removePlainTextLongTexts === null)
|
|
3712
3731
|
throw new globalThis.Error("The parameter 'removePlainTextLongTexts' cannot be null.");
|
|
@@ -3716,6 +3735,8 @@ class IdsConnectConversionApi {
|
|
|
3716
3735
|
throw new globalThis.Error("The parameter 'removeHtmlLongTexts' cannot be null.");
|
|
3717
3736
|
else if (removeHtmlLongTexts !== undefined)
|
|
3718
3737
|
url_ += "RemoveHtmlLongTexts=" + encodeURIComponent("" + removeHtmlLongTexts) + "&";
|
|
3738
|
+
if (preserveReferences !== undefined && preserveReferences !== null)
|
|
3739
|
+
url_ += "preserveReferences=" + encodeURIComponent("" + preserveReferences) + "&";
|
|
3719
3740
|
url_ = url_.replace(/[?&]$/, "");
|
|
3720
3741
|
const content_ = new FormData();
|
|
3721
3742
|
if (idsConnectFile !== null && idsConnectFile !== undefined)
|
|
@@ -3842,7 +3863,7 @@ class OenormConversionApi {
|
|
|
3842
3863
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3843
3864
|
*/
|
|
3844
3865
|
oenormConversionConvertToAvaWithRequestObject(oenormFile, options) {
|
|
3845
|
-
return this.oenormConversionConvertToAva(oenormFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.useOenormFileDeclarationForItemNumberSchema);
|
|
3866
|
+
return this.oenormConversionConvertToAva(oenormFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.useOenormFileDeclarationForItemNumberSchema, options === null || options === void 0 ? void 0 : options.preserveReferences);
|
|
3846
3867
|
}
|
|
3847
3868
|
/**
|
|
3848
3869
|
* Converts ÖNorm files to Dangl.AVA projects
|
|
@@ -3852,8 +3873,9 @@ class OenormConversionApi {
|
|
|
3852
3873
|
* @param useOenormFileDeclarationForItemNumberSchema (optional) If this is enabled, then the actual content structure inside the ÖNorm file is ignored. The item number
|
|
3853
3874
|
schema of the target will be built based on the top level structure definition of the ÖNorm file, even if the
|
|
3854
3875
|
file content itself might be different or empty. Defaults to true.
|
|
3876
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
3855
3877
|
*/
|
|
3856
|
-
oenormConversionConvertToAva(oenormFile, removePlainTextLongTexts, removeHtmlLongTexts, useOenormFileDeclarationForItemNumberSchema) {
|
|
3878
|
+
oenormConversionConvertToAva(oenormFile, removePlainTextLongTexts, removeHtmlLongTexts, useOenormFileDeclarationForItemNumberSchema, preserveReferences) {
|
|
3857
3879
|
let url_ = this.baseUrl + "/conversion/oenorm/ava?";
|
|
3858
3880
|
if (removePlainTextLongTexts === null)
|
|
3859
3881
|
throw new globalThis.Error("The parameter 'removePlainTextLongTexts' cannot be null.");
|
|
@@ -3867,6 +3889,8 @@ class OenormConversionApi {
|
|
|
3867
3889
|
throw new globalThis.Error("The parameter 'useOenormFileDeclarationForItemNumberSchema' cannot be null.");
|
|
3868
3890
|
else if (useOenormFileDeclarationForItemNumberSchema !== undefined)
|
|
3869
3891
|
url_ += "UseOenormFileDeclarationForItemNumberSchema=" + encodeURIComponent("" + useOenormFileDeclarationForItemNumberSchema) + "&";
|
|
3892
|
+
if (preserveReferences !== undefined && preserveReferences !== null)
|
|
3893
|
+
url_ += "preserveReferences=" + encodeURIComponent("" + preserveReferences) + "&";
|
|
3870
3894
|
url_ = url_.replace(/[?&]$/, "");
|
|
3871
3895
|
const content_ = new FormData();
|
|
3872
3896
|
if (oenormFile !== null && oenormFile !== undefined)
|
|
@@ -4337,7 +4361,7 @@ class RebConversionApi {
|
|
|
4337
4361
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
4338
4362
|
*/
|
|
4339
4363
|
rebConversionConvertToAvaWithRequestObject(rebFile, options) {
|
|
4340
|
-
return this.rebConversionConvertToAva(rebFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions);
|
|
4364
|
+
return this.rebConversionConvertToAva(rebFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions, options === null || options === void 0 ? void 0 : options.preserveReferences);
|
|
4341
4365
|
}
|
|
4342
4366
|
/**
|
|
4343
4367
|
* Converts REB files to Dangl.AVA projects
|
|
@@ -4349,8 +4373,9 @@ class RebConversionApi {
|
|
|
4349
4373
|
levels and one position level - but the ItemNumber of the position is just '01.02', then it will be
|
|
4350
4374
|
displayed as '01.__.02' if this is set to true. This is only applicable for X31 files and has no
|
|
4351
4375
|
effect on D11 files.
|
|
4376
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
4352
4377
|
*/
|
|
4353
|
-
rebConversionConvertToAva(rebFile, removePlainTextLongTexts, removeHtmlLongTexts, supportSkippedItemNumberLevelsInPositions) {
|
|
4378
|
+
rebConversionConvertToAva(rebFile, removePlainTextLongTexts, removeHtmlLongTexts, supportSkippedItemNumberLevelsInPositions, preserveReferences) {
|
|
4354
4379
|
let url_ = this.baseUrl + "/conversion/reb/ava?";
|
|
4355
4380
|
if (removePlainTextLongTexts === null)
|
|
4356
4381
|
throw new globalThis.Error("The parameter 'removePlainTextLongTexts' cannot be null.");
|
|
@@ -4364,6 +4389,8 @@ class RebConversionApi {
|
|
|
4364
4389
|
throw new globalThis.Error("The parameter 'supportSkippedItemNumberLevelsInPositions' cannot be null.");
|
|
4365
4390
|
else if (supportSkippedItemNumberLevelsInPositions !== undefined)
|
|
4366
4391
|
url_ += "SupportSkippedItemNumberLevelsInPositions=" + encodeURIComponent("" + supportSkippedItemNumberLevelsInPositions) + "&";
|
|
4392
|
+
if (preserveReferences !== undefined && preserveReferences !== null)
|
|
4393
|
+
url_ += "preserveReferences=" + encodeURIComponent("" + preserveReferences) + "&";
|
|
4367
4394
|
url_ = url_.replace(/[?&]$/, "");
|
|
4368
4395
|
const content_ = new FormData();
|
|
4369
4396
|
if (rebFile !== null && rebFile !== undefined)
|
|
@@ -4842,15 +4869,16 @@ class SiaConversionApi {
|
|
|
4842
4869
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
4843
4870
|
*/
|
|
4844
4871
|
siaConversionConvertToAvaWithRequestObject(siaFile, options) {
|
|
4845
|
-
return this.siaConversionConvertToAva(siaFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts);
|
|
4872
|
+
return this.siaConversionConvertToAva(siaFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.preserveReferences);
|
|
4846
4873
|
}
|
|
4847
4874
|
/**
|
|
4848
4875
|
* Converts SIA 451 files to Dangl.AVA projects
|
|
4849
4876
|
* @param siaFile (optional) The input file
|
|
4850
4877
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
4851
4878
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
4879
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
4852
4880
|
*/
|
|
4853
|
-
siaConversionConvertToAva(siaFile, removePlainTextLongTexts, removeHtmlLongTexts) {
|
|
4881
|
+
siaConversionConvertToAva(siaFile, removePlainTextLongTexts, removeHtmlLongTexts, preserveReferences) {
|
|
4854
4882
|
let url_ = this.baseUrl + "/conversion/sia/ava?";
|
|
4855
4883
|
if (removePlainTextLongTexts === null)
|
|
4856
4884
|
throw new globalThis.Error("The parameter 'removePlainTextLongTexts' cannot be null.");
|
|
@@ -4860,6 +4888,8 @@ class SiaConversionApi {
|
|
|
4860
4888
|
throw new globalThis.Error("The parameter 'removeHtmlLongTexts' cannot be null.");
|
|
4861
4889
|
else if (removeHtmlLongTexts !== undefined)
|
|
4862
4890
|
url_ += "RemoveHtmlLongTexts=" + encodeURIComponent("" + removeHtmlLongTexts) + "&";
|
|
4891
|
+
if (preserveReferences !== undefined && preserveReferences !== null)
|
|
4892
|
+
url_ += "preserveReferences=" + encodeURIComponent("" + preserveReferences) + "&";
|
|
4863
4893
|
url_ = url_.replace(/[?&]$/, "");
|
|
4864
4894
|
const content_ = new FormData();
|
|
4865
4895
|
if (siaFile !== null && siaFile !== undefined)
|
|
@@ -5356,15 +5386,16 @@ class UglConversionApi {
|
|
|
5356
5386
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5357
5387
|
*/
|
|
5358
5388
|
uglConversionConvertToAvaWithRequestObject(uglFile, options) {
|
|
5359
|
-
return this.uglConversionConvertToAva(uglFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts);
|
|
5389
|
+
return this.uglConversionConvertToAva(uglFile, options === null || options === void 0 ? void 0 : options.removePlainTextLongTexts, options === null || options === void 0 ? void 0 : options.removeHtmlLongTexts, options === null || options === void 0 ? void 0 : options.preserveReferences);
|
|
5360
5390
|
}
|
|
5361
5391
|
/**
|
|
5362
5392
|
* Converts Ugl files to Dangl.AVA projects
|
|
5363
5393
|
* @param uglFile (optional) The input file
|
|
5364
5394
|
* @param removePlainTextLongTexts (optional) If set to true, plain text long texts will be removed from the output to reduce response sizes
|
|
5365
5395
|
* @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
|
|
5396
|
+
* @param preserveReferences (optional) Opt in to compact JSON with $id/$ref metadata for shared objects. Clients must resolve references. Empty collections and null entries in Elements are omitted. ProjectPriceComponents on service specifications and groups are omitted; authoritative data remains in ProjectInformation.PriceComponents. ProjectCatalogues is omitted except on ServiceSpecificationDto. Child-specific overrides of omitted properties are not retained. Direct DTO deserialization leaves omitted properties unset; the normal DTO -> Dangl.AVA domain -> DTO conversion recalculates prices and restores propagated properties. Each IElement instance occurs only once; references primarily compact shared non-element data. Defaults to false, retaining the existing JSON representation.
|
|
5366
5397
|
*/
|
|
5367
|
-
uglConversionConvertToAva(uglFile, removePlainTextLongTexts, removeHtmlLongTexts) {
|
|
5398
|
+
uglConversionConvertToAva(uglFile, removePlainTextLongTexts, removeHtmlLongTexts, preserveReferences) {
|
|
5368
5399
|
let url_ = this.baseUrl + "/conversion/ugl/ava?";
|
|
5369
5400
|
if (removePlainTextLongTexts === null)
|
|
5370
5401
|
throw new globalThis.Error("The parameter 'removePlainTextLongTexts' cannot be null.");
|
|
@@ -5374,6 +5405,8 @@ class UglConversionApi {
|
|
|
5374
5405
|
throw new globalThis.Error("The parameter 'removeHtmlLongTexts' cannot be null.");
|
|
5375
5406
|
else if (removeHtmlLongTexts !== undefined)
|
|
5376
5407
|
url_ += "RemoveHtmlLongTexts=" + encodeURIComponent("" + removeHtmlLongTexts) + "&";
|
|
5408
|
+
if (preserveReferences !== undefined && preserveReferences !== null)
|
|
5409
|
+
url_ += "preserveReferences=" + encodeURIComponent("" + preserveReferences) + "&";
|
|
5377
5410
|
url_ = url_.replace(/[?&]$/, "");
|
|
5378
5411
|
const content_ = new FormData();
|
|
5379
5412
|
if (uglFile !== null && uglFile !== undefined)
|
|
@@ -9551,7 +9584,7 @@ class GetProjectMergeResult {
|
|
|
9551
9584
|
}
|
|
9552
9585
|
}
|
|
9553
9586
|
exports.GetProjectMergeResult = GetProjectMergeResult;
|
|
9554
|
-
/**
|
|
9587
|
+
/** Represents the source and target projects used to merge AVA service specifications. */
|
|
9555
9588
|
class PostAvaProjectMerge {
|
|
9556
9589
|
constructor(data) {
|
|
9557
9590
|
if (data) {
|