@dangl/avacloud-client-node 1.17.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.swagger-codegen/VERSION +1 -1
- package/api.d.ts +414 -25
- package/api.js +578 -30
- package/api.js.map +1 -1
- package/api.ts +804 -64
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AVACloud API 1.
|
|
2
|
+
* AVACloud API 1.31.1
|
|
3
3
|
* AVACloud API specification
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 1.
|
|
5
|
+
* OpenAPI spec version: 1.31.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -791,6 +791,8 @@ export class IElementDto {
|
|
|
791
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
792
|
*/
|
|
793
793
|
'addendumNumber'?: string;
|
|
794
|
+
'projectCatalogues'?: Array<CatalogueDto>;
|
|
795
|
+
'catalogueReferences'?: Array<CatalogueReferenceDto>;
|
|
794
796
|
'elementTypeDiscriminator': string;
|
|
795
797
|
|
|
796
798
|
static discriminator: string | undefined = "elementTypeDiscriminator";
|
|
@@ -811,6 +813,16 @@ export class IElementDto {
|
|
|
811
813
|
"baseName": "addendumNumber",
|
|
812
814
|
"type": "string"
|
|
813
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
|
+
},
|
|
814
826
|
{
|
|
815
827
|
"name": "elementTypeDiscriminator",
|
|
816
828
|
"baseName": "elementTypeDiscriminator",
|
|
@@ -866,6 +878,21 @@ export class ExecutionDescriptionDto extends IElementDto {
|
|
|
866
878
|
}
|
|
867
879
|
}
|
|
868
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
|
+
|
|
869
896
|
export class ForgotPasswordPost {
|
|
870
897
|
'identifier': string;
|
|
871
898
|
'preferredLanguages'?: Array<string>;
|
|
@@ -1520,6 +1547,29 @@ export class NoteTextDto extends IElementDto {
|
|
|
1520
1547
|
}
|
|
1521
1548
|
}
|
|
1522
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
|
+
|
|
1523
1573
|
/**
|
|
1524
1574
|
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts.
|
|
1525
1575
|
*/
|
|
@@ -1990,14 +2040,6 @@ export class PositionDto extends IElementDto {
|
|
|
1990
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
|
|
1991
2041
|
*/
|
|
1992
2042
|
'repetitionTo'?: string;
|
|
1993
|
-
/**
|
|
1994
|
-
* 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.
|
|
1995
|
-
*/
|
|
1996
|
-
'projectCatalogues'?: Array<CatalogueDto>;
|
|
1997
|
-
/**
|
|
1998
|
-
* Referenced catalogues for this Position.
|
|
1999
|
-
*/
|
|
2000
|
-
'catalogueReferences'?: Array<CatalogueReferenceDto>;
|
|
2001
2043
|
'type'?: string;
|
|
2002
2044
|
/**
|
|
2003
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.
|
|
@@ -2226,16 +2268,6 @@ export class PositionDto extends IElementDto {
|
|
|
2226
2268
|
"baseName": "repetitionTo",
|
|
2227
2269
|
"type": "string"
|
|
2228
2270
|
},
|
|
2229
|
-
{
|
|
2230
|
-
"name": "projectCatalogues",
|
|
2231
|
-
"baseName": "projectCatalogues",
|
|
2232
|
-
"type": "Array<CatalogueDto>"
|
|
2233
|
-
},
|
|
2234
|
-
{
|
|
2235
|
-
"name": "catalogueReferences",
|
|
2236
|
-
"baseName": "catalogueReferences",
|
|
2237
|
-
"type": "Array<CatalogueReferenceDto>"
|
|
2238
|
-
},
|
|
2239
2271
|
{
|
|
2240
2272
|
"name": "type",
|
|
2241
2273
|
"baseName": "type",
|
|
@@ -2307,6 +2339,233 @@ export class PositionTypeDto {
|
|
|
2307
2339
|
}
|
|
2308
2340
|
}
|
|
2309
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
|
+
* When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
2472
|
+
*/
|
|
2473
|
+
'treatNullItemNumberSchemaAsInvalid': boolean;
|
|
2474
|
+
|
|
2475
|
+
static discriminator: string | undefined = undefined;
|
|
2476
|
+
|
|
2477
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
2478
|
+
{
|
|
2479
|
+
"name": "destinationGaebType",
|
|
2480
|
+
"baseName": "destinationGaebType",
|
|
2481
|
+
"type": "DestinationGaebType"
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
"name": "targetExchangePhaseTransform",
|
|
2485
|
+
"baseName": "targetExchangePhaseTransform",
|
|
2486
|
+
"type": "DestinationGaebExchangePhase"
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
"name": "enforceStrictOfferPhaseLongTextOutput",
|
|
2490
|
+
"baseName": "enforceStrictOfferPhaseLongTextOutput",
|
|
2491
|
+
"type": "boolean"
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
"name": "exportQuantityDetermination",
|
|
2495
|
+
"baseName": "exportQuantityDetermination",
|
|
2496
|
+
"type": "boolean"
|
|
2497
|
+
},
|
|
2498
|
+
{
|
|
2499
|
+
"name": "removeUnprintableCharactersFromTexts",
|
|
2500
|
+
"baseName": "removeUnprintableCharactersFromTexts",
|
|
2501
|
+
"type": "boolean"
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
"name": "forceIncludeDescriptions",
|
|
2505
|
+
"baseName": "forceIncludeDescriptions",
|
|
2506
|
+
"type": "boolean"
|
|
2507
|
+
},
|
|
2508
|
+
{
|
|
2509
|
+
"name": "treatNullItemNumberSchemaAsInvalid",
|
|
2510
|
+
"baseName": "treatNullItemNumberSchemaAsInvalid",
|
|
2511
|
+
"type": "boolean"
|
|
2512
|
+
} ];
|
|
2513
|
+
|
|
2514
|
+
static getAttributeTypeMap() {
|
|
2515
|
+
return PostGaebDestinationOptions.attributeTypeMap;
|
|
2516
|
+
}
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
/**
|
|
2520
|
+
* Options for conversions to Oenorm
|
|
2521
|
+
*/
|
|
2522
|
+
export class PostOenormDestinationOptions {
|
|
2523
|
+
/**
|
|
2524
|
+
* Defaults to Lv2015
|
|
2525
|
+
*/
|
|
2526
|
+
'destinationOenormType': DestinationOenormType;
|
|
2527
|
+
/**
|
|
2528
|
+
* 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
|
|
2529
|
+
*/
|
|
2530
|
+
'tryRepairProjectStructure': boolean;
|
|
2531
|
+
/**
|
|
2532
|
+
* 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.
|
|
2533
|
+
*/
|
|
2534
|
+
'skipTryEnforceSchemaCompliantXmlOutput': boolean;
|
|
2535
|
+
/**
|
|
2536
|
+
* 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.
|
|
2537
|
+
*/
|
|
2538
|
+
'removeUnprintableCharactersFromTexts': boolean;
|
|
2539
|
+
|
|
2540
|
+
static discriminator: string | undefined = undefined;
|
|
2541
|
+
|
|
2542
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
2543
|
+
{
|
|
2544
|
+
"name": "destinationOenormType",
|
|
2545
|
+
"baseName": "destinationOenormType",
|
|
2546
|
+
"type": "DestinationOenormType"
|
|
2547
|
+
},
|
|
2548
|
+
{
|
|
2549
|
+
"name": "tryRepairProjectStructure",
|
|
2550
|
+
"baseName": "tryRepairProjectStructure",
|
|
2551
|
+
"type": "boolean"
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
"name": "skipTryEnforceSchemaCompliantXmlOutput",
|
|
2555
|
+
"baseName": "skipTryEnforceSchemaCompliantXmlOutput",
|
|
2556
|
+
"type": "boolean"
|
|
2557
|
+
},
|
|
2558
|
+
{
|
|
2559
|
+
"name": "removeUnprintableCharactersFromTexts",
|
|
2560
|
+
"baseName": "removeUnprintableCharactersFromTexts",
|
|
2561
|
+
"type": "boolean"
|
|
2562
|
+
} ];
|
|
2563
|
+
|
|
2564
|
+
static getAttributeTypeMap() {
|
|
2565
|
+
return PostOenormDestinationOptions.attributeTypeMap;
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2310
2569
|
/**
|
|
2311
2570
|
* 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.
|
|
2312
2571
|
*/
|
|
@@ -2764,6 +3023,29 @@ export class ProjectInformationDto {
|
|
|
2764
3023
|
}
|
|
2765
3024
|
}
|
|
2766
3025
|
|
|
3026
|
+
/**
|
|
3027
|
+
* Check details specificly for checking ProjectDto objects
|
|
3028
|
+
*/
|
|
3029
|
+
export class ProjectValidationCheckDetails {
|
|
3030
|
+
/**
|
|
3031
|
+
* The id of the element
|
|
3032
|
+
*/
|
|
3033
|
+
'elementId': string;
|
|
3034
|
+
|
|
3035
|
+
static discriminator: string | undefined = undefined;
|
|
3036
|
+
|
|
3037
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
3038
|
+
{
|
|
3039
|
+
"name": "elementId",
|
|
3040
|
+
"baseName": "elementId",
|
|
3041
|
+
"type": "string"
|
|
3042
|
+
} ];
|
|
3043
|
+
|
|
3044
|
+
static getAttributeTypeMap() {
|
|
3045
|
+
return ProjectValidationCheckDetails.attributeTypeMap;
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
3048
|
+
|
|
2767
3049
|
/**
|
|
2768
3050
|
* 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.
|
|
2769
3051
|
*/
|
|
@@ -3501,14 +3783,6 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3501
3783
|
'alternativeTo'?: string;
|
|
3502
3784
|
'type'?: string;
|
|
3503
3785
|
/**
|
|
3504
|
-
* These are Catalogue that are used within this ElementContainerBase. Catalogue references 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.
|
|
3505
|
-
*/
|
|
3506
|
-
'projectCatalogues'?: Array<CatalogueDto>;
|
|
3507
|
-
/**
|
|
3508
|
-
* Referenced catalogues for this ElementContainerBase.
|
|
3509
|
-
*/
|
|
3510
|
-
'catalogueReferences'?: Array<CatalogueReferenceDto>;
|
|
3511
|
-
/**
|
|
3512
3786
|
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
|
|
3513
3787
|
*/
|
|
3514
3788
|
'oenormProperties'?: OenormPropertiesDto;
|
|
@@ -3654,16 +3928,6 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3654
3928
|
"baseName": "type",
|
|
3655
3929
|
"type": "string"
|
|
3656
3930
|
},
|
|
3657
|
-
{
|
|
3658
|
-
"name": "projectCatalogues",
|
|
3659
|
-
"baseName": "projectCatalogues",
|
|
3660
|
-
"type": "Array<CatalogueDto>"
|
|
3661
|
-
},
|
|
3662
|
-
{
|
|
3663
|
-
"name": "catalogueReferences",
|
|
3664
|
-
"baseName": "catalogueReferences",
|
|
3665
|
-
"type": "Array<CatalogueReferenceDto>"
|
|
3666
|
-
},
|
|
3667
3931
|
{
|
|
3668
3932
|
"name": "oenormProperties",
|
|
3669
3933
|
"baseName": "oenormProperties",
|
|
@@ -3784,6 +4048,10 @@ export class SubDescriptionDto {
|
|
|
3784
4048
|
*/
|
|
3785
4049
|
'quantity': number;
|
|
3786
4050
|
/**
|
|
4051
|
+
* You can use this property to directly set the quantity for this sub description. This will override any given QuantityComponents
|
|
4052
|
+
*/
|
|
4053
|
+
'quantityOverride'?: number;
|
|
4054
|
+
/**
|
|
3787
4055
|
* Holds quantity information for this sub description. Quantity is listening to changes here and is reporting the total sum of all quantity components.
|
|
3788
4056
|
*/
|
|
3789
4057
|
'quantityComponents'?: Array<CalculationDto>;
|
|
@@ -3804,6 +4072,10 @@ export class SubDescriptionDto {
|
|
|
3804
4072
|
*/
|
|
3805
4073
|
'longText'?: string;
|
|
3806
4074
|
/**
|
|
4075
|
+
* If this is given, then the sub description has a different unit tag than the parent position.
|
|
4076
|
+
*/
|
|
4077
|
+
'unitTag'?: string;
|
|
4078
|
+
/**
|
|
3807
4079
|
* This contains the Html representation of the Longtext. When the LongText is set, this is automatically overwritten and filled with the appropriate Html representation of the plaintext. Vice versa, setting this property overrides the LongText. GAEB 90 and GAEB 2000 exports do not support any image functionality. In GAEB XML, only images that use an embedded Base64 data uri are exported, regular url references are cleared before written out.
|
|
3808
4080
|
*/
|
|
3809
4081
|
'htmlLongText'?: string;
|
|
@@ -3828,6 +4100,8 @@ export class SubDescriptionDto {
|
|
|
3828
4100
|
*/
|
|
3829
4101
|
'descriptionId'?: string;
|
|
3830
4102
|
'hasBidderCommentInHtmlLongText': boolean;
|
|
4103
|
+
'elementType'?: string;
|
|
4104
|
+
'elementTypeDiscriminator'?: string;
|
|
3831
4105
|
|
|
3832
4106
|
static discriminator: string | undefined = undefined;
|
|
3833
4107
|
|
|
@@ -3842,6 +4116,11 @@ export class SubDescriptionDto {
|
|
|
3842
4116
|
"baseName": "quantity",
|
|
3843
4117
|
"type": "number"
|
|
3844
4118
|
},
|
|
4119
|
+
{
|
|
4120
|
+
"name": "quantityOverride",
|
|
4121
|
+
"baseName": "quantityOverride",
|
|
4122
|
+
"type": "number"
|
|
4123
|
+
},
|
|
3845
4124
|
{
|
|
3846
4125
|
"name": "quantityComponents",
|
|
3847
4126
|
"baseName": "quantityComponents",
|
|
@@ -3867,6 +4146,11 @@ export class SubDescriptionDto {
|
|
|
3867
4146
|
"baseName": "longText",
|
|
3868
4147
|
"type": "string"
|
|
3869
4148
|
},
|
|
4149
|
+
{
|
|
4150
|
+
"name": "unitTag",
|
|
4151
|
+
"baseName": "unitTag",
|
|
4152
|
+
"type": "string"
|
|
4153
|
+
},
|
|
3870
4154
|
{
|
|
3871
4155
|
"name": "htmlLongText",
|
|
3872
4156
|
"baseName": "htmlLongText",
|
|
@@ -3901,6 +4185,16 @@ export class SubDescriptionDto {
|
|
|
3901
4185
|
"name": "hasBidderCommentInHtmlLongText",
|
|
3902
4186
|
"baseName": "hasBidderCommentInHtmlLongText",
|
|
3903
4187
|
"type": "boolean"
|
|
4188
|
+
},
|
|
4189
|
+
{
|
|
4190
|
+
"name": "elementType",
|
|
4191
|
+
"baseName": "elementType",
|
|
4192
|
+
"type": "string"
|
|
4193
|
+
},
|
|
4194
|
+
{
|
|
4195
|
+
"name": "elementTypeDiscriminator",
|
|
4196
|
+
"baseName": "elementTypeDiscriminator",
|
|
4197
|
+
"type": "string"
|
|
3904
4198
|
} ];
|
|
3905
4199
|
|
|
3906
4200
|
static getAttributeTypeMap() {
|
|
@@ -4021,48 +4315,211 @@ export class TokenResponseGet {
|
|
|
4021
4315
|
} ];
|
|
4022
4316
|
|
|
4023
4317
|
static getAttributeTypeMap() {
|
|
4024
|
-
return TokenResponseGet.attributeTypeMap;
|
|
4318
|
+
return TokenResponseGet.attributeTypeMap;
|
|
4319
|
+
}
|
|
4320
|
+
}
|
|
4321
|
+
|
|
4322
|
+
/**
|
|
4323
|
+
* This class holds information about offered trade discounts (Skonto in German)
|
|
4324
|
+
*/
|
|
4325
|
+
export class TradeDiscountDto {
|
|
4326
|
+
/**
|
|
4327
|
+
* Elements GUID identifier.
|
|
4328
|
+
*/
|
|
4329
|
+
'id': string;
|
|
4330
|
+
/**
|
|
4331
|
+
* 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.
|
|
4332
|
+
*/
|
|
4333
|
+
'deadline': number;
|
|
4334
|
+
/**
|
|
4335
|
+
* The rate of the trade discount.
|
|
4336
|
+
*/
|
|
4337
|
+
'rate': number;
|
|
4338
|
+
|
|
4339
|
+
static discriminator: string | undefined = undefined;
|
|
4340
|
+
|
|
4341
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4342
|
+
{
|
|
4343
|
+
"name": "id",
|
|
4344
|
+
"baseName": "id",
|
|
4345
|
+
"type": "string"
|
|
4346
|
+
},
|
|
4347
|
+
{
|
|
4348
|
+
"name": "deadline",
|
|
4349
|
+
"baseName": "deadline",
|
|
4350
|
+
"type": "number"
|
|
4351
|
+
},
|
|
4352
|
+
{
|
|
4353
|
+
"name": "rate",
|
|
4354
|
+
"baseName": "rate",
|
|
4355
|
+
"type": "number"
|
|
4356
|
+
} ];
|
|
4357
|
+
|
|
4358
|
+
static getAttributeTypeMap() {
|
|
4359
|
+
return TradeDiscountDto.attributeTypeMap;
|
|
4360
|
+
}
|
|
4361
|
+
}
|
|
4362
|
+
|
|
4363
|
+
/**
|
|
4364
|
+
* This class models the results of a single check performed during a validation action
|
|
4365
|
+
*/
|
|
4366
|
+
export class ValidationCheckResult {
|
|
4367
|
+
/**
|
|
4368
|
+
* The severity for this check. Usually, low severity checks do not impact data exchange with third party applications
|
|
4369
|
+
*/
|
|
4370
|
+
'severity': ValidationSeverity;
|
|
4371
|
+
/**
|
|
4372
|
+
* The actual check that is represented by this result. Additional information may be found in other properties of this class, depending on the check.
|
|
4373
|
+
*/
|
|
4374
|
+
'checkType': ValidationCheckType;
|
|
4375
|
+
/**
|
|
4376
|
+
* A human readable message describing the result of the check.
|
|
4377
|
+
*/
|
|
4378
|
+
'message'?: string;
|
|
4379
|
+
/**
|
|
4380
|
+
* For CheckType of types ObjectValidation
|
|
4381
|
+
*/
|
|
4382
|
+
'objectValidationCheckDetails'?: ObjectValidationCheckDetails;
|
|
4383
|
+
/**
|
|
4384
|
+
* For CheckType of types XmlSchemaCheck
|
|
4385
|
+
*/
|
|
4386
|
+
'xmlSchemaValidationCheckDetails'?: XmlSchemaValidationCheckDetails;
|
|
4387
|
+
/**
|
|
4388
|
+
* For CheckType of types ProjectValidation
|
|
4389
|
+
*/
|
|
4390
|
+
'projectValidationCheckDetails'?: ProjectValidationCheckDetails;
|
|
4391
|
+
|
|
4392
|
+
static discriminator: string | undefined = undefined;
|
|
4393
|
+
|
|
4394
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4395
|
+
{
|
|
4396
|
+
"name": "severity",
|
|
4397
|
+
"baseName": "severity",
|
|
4398
|
+
"type": "ValidationSeverity"
|
|
4399
|
+
},
|
|
4400
|
+
{
|
|
4401
|
+
"name": "checkType",
|
|
4402
|
+
"baseName": "checkType",
|
|
4403
|
+
"type": "ValidationCheckType"
|
|
4404
|
+
},
|
|
4405
|
+
{
|
|
4406
|
+
"name": "message",
|
|
4407
|
+
"baseName": "message",
|
|
4408
|
+
"type": "string"
|
|
4409
|
+
},
|
|
4410
|
+
{
|
|
4411
|
+
"name": "objectValidationCheckDetails",
|
|
4412
|
+
"baseName": "objectValidationCheckDetails",
|
|
4413
|
+
"type": "ObjectValidationCheckDetails"
|
|
4414
|
+
},
|
|
4415
|
+
{
|
|
4416
|
+
"name": "xmlSchemaValidationCheckDetails",
|
|
4417
|
+
"baseName": "xmlSchemaValidationCheckDetails",
|
|
4418
|
+
"type": "XmlSchemaValidationCheckDetails"
|
|
4419
|
+
},
|
|
4420
|
+
{
|
|
4421
|
+
"name": "projectValidationCheckDetails",
|
|
4422
|
+
"baseName": "projectValidationCheckDetails",
|
|
4423
|
+
"type": "ProjectValidationCheckDetails"
|
|
4424
|
+
} ];
|
|
4425
|
+
|
|
4426
|
+
static getAttributeTypeMap() {
|
|
4427
|
+
return ValidationCheckResult.attributeTypeMap;
|
|
4025
4428
|
}
|
|
4026
4429
|
}
|
|
4027
4430
|
|
|
4028
4431
|
/**
|
|
4029
|
-
*
|
|
4432
|
+
* Enumeration for the different types of checks performed
|
|
4030
4433
|
*/
|
|
4031
|
-
export class
|
|
4434
|
+
export class ValidationCheckType {
|
|
4435
|
+
|
|
4436
|
+
static discriminator: string | undefined = undefined;
|
|
4437
|
+
|
|
4438
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4439
|
+
];
|
|
4440
|
+
|
|
4441
|
+
static getAttributeTypeMap() {
|
|
4442
|
+
return ValidationCheckType.attributeTypeMap;
|
|
4443
|
+
}
|
|
4444
|
+
}
|
|
4445
|
+
|
|
4446
|
+
/**
|
|
4447
|
+
* This class represents the result of a validation operation
|
|
4448
|
+
*/
|
|
4449
|
+
export class ValidationResult {
|
|
4032
4450
|
/**
|
|
4033
|
-
*
|
|
4451
|
+
* Indicates if the validation produced no errors
|
|
4034
4452
|
*/
|
|
4035
|
-
'
|
|
4453
|
+
'isSchemaCompliant': boolean;
|
|
4036
4454
|
/**
|
|
4037
|
-
*
|
|
4455
|
+
* List of validation check results, which are usually errors
|
|
4038
4456
|
*/
|
|
4039
|
-
'
|
|
4457
|
+
'checkResults'?: Array<ValidationCheckResult>;
|
|
4040
4458
|
/**
|
|
4041
|
-
* The
|
|
4459
|
+
* The type of the validation that was performed
|
|
4042
4460
|
*/
|
|
4043
|
-
'
|
|
4461
|
+
'validationType': ValidationType;
|
|
4462
|
+
/**
|
|
4463
|
+
* Name of the validated file
|
|
4464
|
+
*/
|
|
4465
|
+
'fileName'?: string;
|
|
4044
4466
|
|
|
4045
4467
|
static discriminator: string | undefined = undefined;
|
|
4046
4468
|
|
|
4047
4469
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4048
4470
|
{
|
|
4049
|
-
"name": "
|
|
4050
|
-
"baseName": "
|
|
4051
|
-
"type": "
|
|
4471
|
+
"name": "isSchemaCompliant",
|
|
4472
|
+
"baseName": "isSchemaCompliant",
|
|
4473
|
+
"type": "boolean"
|
|
4052
4474
|
},
|
|
4053
4475
|
{
|
|
4054
|
-
"name": "
|
|
4055
|
-
"baseName": "
|
|
4056
|
-
"type": "
|
|
4476
|
+
"name": "checkResults",
|
|
4477
|
+
"baseName": "checkResults",
|
|
4478
|
+
"type": "Array<ValidationCheckResult>"
|
|
4057
4479
|
},
|
|
4058
4480
|
{
|
|
4059
|
-
"name": "
|
|
4060
|
-
"baseName": "
|
|
4061
|
-
"type": "
|
|
4481
|
+
"name": "validationType",
|
|
4482
|
+
"baseName": "validationType",
|
|
4483
|
+
"type": "ValidationType"
|
|
4484
|
+
},
|
|
4485
|
+
{
|
|
4486
|
+
"name": "fileName",
|
|
4487
|
+
"baseName": "fileName",
|
|
4488
|
+
"type": "string"
|
|
4062
4489
|
} ];
|
|
4063
4490
|
|
|
4064
4491
|
static getAttributeTypeMap() {
|
|
4065
|
-
return
|
|
4492
|
+
return ValidationResult.attributeTypeMap;
|
|
4493
|
+
}
|
|
4494
|
+
}
|
|
4495
|
+
|
|
4496
|
+
/**
|
|
4497
|
+
* Indicates the severity of a check
|
|
4498
|
+
*/
|
|
4499
|
+
export class ValidationSeverity {
|
|
4500
|
+
|
|
4501
|
+
static discriminator: string | undefined = undefined;
|
|
4502
|
+
|
|
4503
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4504
|
+
];
|
|
4505
|
+
|
|
4506
|
+
static getAttributeTypeMap() {
|
|
4507
|
+
return ValidationSeverity.attributeTypeMap;
|
|
4508
|
+
}
|
|
4509
|
+
}
|
|
4510
|
+
|
|
4511
|
+
/**
|
|
4512
|
+
* This enumeration represents the possible conversion targets when performing a validation
|
|
4513
|
+
*/
|
|
4514
|
+
export class ValidationType {
|
|
4515
|
+
|
|
4516
|
+
static discriminator: string | undefined = undefined;
|
|
4517
|
+
|
|
4518
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4519
|
+
];
|
|
4520
|
+
|
|
4521
|
+
static getAttributeTypeMap() {
|
|
4522
|
+
return ValidationType.attributeTypeMap;
|
|
4066
4523
|
}
|
|
4067
4524
|
}
|
|
4068
4525
|
|
|
@@ -4098,6 +4555,38 @@ export class WarrantyDurationDto {
|
|
|
4098
4555
|
}
|
|
4099
4556
|
}
|
|
4100
4557
|
|
|
4558
|
+
/**
|
|
4559
|
+
* Check details for an XML schema validation result
|
|
4560
|
+
*/
|
|
4561
|
+
export class XmlSchemaValidationCheckDetails {
|
|
4562
|
+
/**
|
|
4563
|
+
* The line number on which the validation happened
|
|
4564
|
+
*/
|
|
4565
|
+
'lineNumber': number;
|
|
4566
|
+
/**
|
|
4567
|
+
* The position in the line
|
|
4568
|
+
*/
|
|
4569
|
+
'linePosition': number;
|
|
4570
|
+
|
|
4571
|
+
static discriminator: string | undefined = undefined;
|
|
4572
|
+
|
|
4573
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4574
|
+
{
|
|
4575
|
+
"name": "lineNumber",
|
|
4576
|
+
"baseName": "lineNumber",
|
|
4577
|
+
"type": "number"
|
|
4578
|
+
},
|
|
4579
|
+
{
|
|
4580
|
+
"name": "linePosition",
|
|
4581
|
+
"baseName": "linePosition",
|
|
4582
|
+
"type": "number"
|
|
4583
|
+
} ];
|
|
4584
|
+
|
|
4585
|
+
static getAttributeTypeMap() {
|
|
4586
|
+
return XmlSchemaValidationCheckDetails.attributeTypeMap;
|
|
4587
|
+
}
|
|
4588
|
+
}
|
|
4589
|
+
|
|
4101
4590
|
|
|
4102
4591
|
let enumsMap: {[index: string]: any} = {
|
|
4103
4592
|
}
|
|
@@ -4123,6 +4612,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
4123
4612
|
"DurationUnitDto": DurationUnitDto,
|
|
4124
4613
|
"ExchangePhaseDto": ExchangePhaseDto,
|
|
4125
4614
|
"ExecutionDescriptionDto": ExecutionDescriptionDto,
|
|
4615
|
+
"FileValidationSourceType": FileValidationSourceType,
|
|
4126
4616
|
"ForgotPasswordPost": ForgotPasswordPost,
|
|
4127
4617
|
"GetStatus": GetStatus,
|
|
4128
4618
|
"GrossPriceComponentDto": GrossPriceComponentDto,
|
|
@@ -4136,6 +4626,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
4136
4626
|
"LabourPriceComponentDto": LabourPriceComponentDto,
|
|
4137
4627
|
"LoginPost": LoginPost,
|
|
4138
4628
|
"NoteTextDto": NoteTextDto,
|
|
4629
|
+
"ObjectValidationCheckDetails": ObjectValidationCheckDetails,
|
|
4139
4630
|
"OenormNoteTextPropertiesDto": OenormNoteTextPropertiesDto,
|
|
4140
4631
|
"OenormOriginCodeDto": OenormOriginCodeDto,
|
|
4141
4632
|
"OenormPositionPropertiesDto": OenormPositionPropertiesDto,
|
|
@@ -4144,6 +4635,10 @@ let typeMap: {[index: string]: any} = {
|
|
|
4144
4635
|
"PartyInformationDto": PartyInformationDto,
|
|
4145
4636
|
"PositionDto": PositionDto,
|
|
4146
4637
|
"PositionTypeDto": PositionTypeDto,
|
|
4638
|
+
"PostAvaProjectValidationSourceOptions": PostAvaProjectValidationSourceOptions,
|
|
4639
|
+
"PostAvaSourceOptions": PostAvaSourceOptions,
|
|
4640
|
+
"PostGaebDestinationOptions": PostGaebDestinationOptions,
|
|
4641
|
+
"PostOenormDestinationOptions": PostOenormDestinationOptions,
|
|
4147
4642
|
"PriceComponentDto": PriceComponentDto,
|
|
4148
4643
|
"PriceComponentTypeDto": PriceComponentTypeDto,
|
|
4149
4644
|
"PriceInformationDto": PriceInformationDto,
|
|
@@ -4152,6 +4647,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
4152
4647
|
"ProductDataDto": ProductDataDto,
|
|
4153
4648
|
"ProjectDto": ProjectDto,
|
|
4154
4649
|
"ProjectInformationDto": ProjectInformationDto,
|
|
4650
|
+
"ProjectValidationCheckDetails": ProjectValidationCheckDetails,
|
|
4155
4651
|
"QuantityAssignmentDto": QuantityAssignmentDto,
|
|
4156
4652
|
"RegisterPost": RegisterPost,
|
|
4157
4653
|
"ResponseErrorType": ResponseErrorType,
|
|
@@ -4168,7 +4664,13 @@ let typeMap: {[index: string]: any} = {
|
|
|
4168
4664
|
"TokenRefreshPost": TokenRefreshPost,
|
|
4169
4665
|
"TokenResponseGet": TokenResponseGet,
|
|
4170
4666
|
"TradeDiscountDto": TradeDiscountDto,
|
|
4667
|
+
"ValidationCheckResult": ValidationCheckResult,
|
|
4668
|
+
"ValidationCheckType": ValidationCheckType,
|
|
4669
|
+
"ValidationResult": ValidationResult,
|
|
4670
|
+
"ValidationSeverity": ValidationSeverity,
|
|
4671
|
+
"ValidationType": ValidationType,
|
|
4171
4672
|
"WarrantyDurationDto": WarrantyDurationDto,
|
|
4673
|
+
"XmlSchemaValidationCheckDetails": XmlSchemaValidationCheckDetails,
|
|
4172
4674
|
}
|
|
4173
4675
|
|
|
4174
4676
|
export interface Authentication {
|
|
@@ -4418,9 +4920,11 @@ export class AslvConversionApi {
|
|
|
4418
4920
|
* @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.
|
|
4419
4921
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
4420
4922
|
* @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.
|
|
4923
|
+
* @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.
|
|
4924
|
+
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
4421
4925
|
* @param {*} [options] Override http request options.
|
|
4422
4926
|
*/
|
|
4423
|
-
public aslvConversionConvertToGaeb (aslvFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4927
|
+
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, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4424
4928
|
const localVarPath = this.basePath + '/conversion/aslv/gaeb';
|
|
4425
4929
|
let localVarQueryParameters: any = {};
|
|
4426
4930
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4446,6 +4950,14 @@ export class AslvConversionApi {
|
|
|
4446
4950
|
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4447
4951
|
}
|
|
4448
4952
|
|
|
4953
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
4954
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
4955
|
+
}
|
|
4956
|
+
|
|
4957
|
+
if (treatNullItemNumberSchemaAsInvalid !== undefined) {
|
|
4958
|
+
localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
|
|
4959
|
+
}
|
|
4960
|
+
|
|
4449
4961
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4450
4962
|
|
|
4451
4963
|
let localVarUseFormData = false;
|
|
@@ -4776,9 +5288,11 @@ export class AvaConversionApi {
|
|
|
4776
5288
|
* @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.
|
|
4777
5289
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
4778
5290
|
* @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.
|
|
5291
|
+
* @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.
|
|
5292
|
+
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
4779
5293
|
* @param {*} [options] Override http request options.
|
|
4780
5294
|
*/
|
|
4781
|
-
public avaConversionConvertToGaeb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5295
|
+
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, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4782
5296
|
const localVarPath = this.basePath + '/conversion/ava/gaeb';
|
|
4783
5297
|
let localVarQueryParameters: any = {};
|
|
4784
5298
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -4813,6 +5327,14 @@ export class AvaConversionApi {
|
|
|
4813
5327
|
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
4814
5328
|
}
|
|
4815
5329
|
|
|
5330
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
5331
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
5332
|
+
}
|
|
5333
|
+
|
|
5334
|
+
if (treatNullItemNumberSchemaAsInvalid !== undefined) {
|
|
5335
|
+
localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
|
|
5336
|
+
}
|
|
5337
|
+
|
|
4816
5338
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
4817
5339
|
|
|
4818
5340
|
let localVarUseFormData = false;
|
|
@@ -5666,9 +6188,11 @@ export class ExcelConversionApi {
|
|
|
5666
6188
|
* @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.
|
|
5667
6189
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
5668
6190
|
* @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.
|
|
6191
|
+
* @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.
|
|
6192
|
+
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
5669
6193
|
* @param {*} [options] Override http request options.
|
|
5670
6194
|
*/
|
|
5671
|
-
public excelConversionConvertToGaeb (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6195
|
+
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, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5672
6196
|
const localVarPath = this.basePath + '/conversion/excel/gaeb';
|
|
5673
6197
|
let localVarQueryParameters: any = {};
|
|
5674
6198
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -5702,6 +6226,14 @@ export class ExcelConversionApi {
|
|
|
5702
6226
|
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
5703
6227
|
}
|
|
5704
6228
|
|
|
6229
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
6230
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
6231
|
+
}
|
|
6232
|
+
|
|
6233
|
+
if (treatNullItemNumberSchemaAsInvalid !== undefined) {
|
|
6234
|
+
localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
|
|
6235
|
+
}
|
|
6236
|
+
|
|
5705
6237
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5706
6238
|
|
|
5707
6239
|
let localVarUseFormData = false;
|
|
@@ -6039,9 +6571,11 @@ export class GaebConversionApi {
|
|
|
6039
6571
|
* @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.
|
|
6040
6572
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
6041
6573
|
* @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.
|
|
6574
|
+
* @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.
|
|
6575
|
+
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
6042
6576
|
* @param {*} [options] Override http request options.
|
|
6043
6577
|
*/
|
|
6044
|
-
public gaebConversionConvertToGaeb (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6578
|
+
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, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6045
6579
|
const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
|
|
6046
6580
|
let localVarQueryParameters: any = {};
|
|
6047
6581
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6071,6 +6605,14 @@ export class GaebConversionApi {
|
|
|
6071
6605
|
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6072
6606
|
}
|
|
6073
6607
|
|
|
6608
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
6609
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
6610
|
+
}
|
|
6611
|
+
|
|
6612
|
+
if (treatNullItemNumberSchemaAsInvalid !== undefined) {
|
|
6613
|
+
localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
|
|
6614
|
+
}
|
|
6615
|
+
|
|
6074
6616
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6075
6617
|
|
|
6076
6618
|
let localVarUseFormData = false;
|
|
@@ -6392,9 +6934,11 @@ export class OenormConversionApi {
|
|
|
6392
6934
|
* @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.
|
|
6393
6935
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
6394
6936
|
* @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.
|
|
6937
|
+
* @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.
|
|
6938
|
+
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
6395
6939
|
* @param {*} [options] Override http request options.
|
|
6396
6940
|
*/
|
|
6397
|
-
public oenormConversionConvertToGaeb (oenormFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6941
|
+
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, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6398
6942
|
const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
|
|
6399
6943
|
let localVarQueryParameters: any = {};
|
|
6400
6944
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6420,6 +6964,14 @@ export class OenormConversionApi {
|
|
|
6420
6964
|
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6421
6965
|
}
|
|
6422
6966
|
|
|
6967
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
6968
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
6969
|
+
}
|
|
6970
|
+
|
|
6971
|
+
if (treatNullItemNumberSchemaAsInvalid !== undefined) {
|
|
6972
|
+
localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
|
|
6973
|
+
}
|
|
6974
|
+
|
|
6423
6975
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6424
6976
|
|
|
6425
6977
|
let localVarUseFormData = false;
|
|
@@ -6736,9 +7288,11 @@ export class RebConversionApi {
|
|
|
6736
7288
|
* @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.
|
|
6737
7289
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
6738
7290
|
* @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.
|
|
7291
|
+
* @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.
|
|
7292
|
+
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
6739
7293
|
* @param {*} [options] Override http request options.
|
|
6740
7294
|
*/
|
|
6741
|
-
public rebConversionConvertToGaeb (rebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7295
|
+
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, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6742
7296
|
const localVarPath = this.basePath + '/conversion/reb/gaeb';
|
|
6743
7297
|
let localVarQueryParameters: any = {};
|
|
6744
7298
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -6764,6 +7318,14 @@ export class RebConversionApi {
|
|
|
6764
7318
|
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
6765
7319
|
}
|
|
6766
7320
|
|
|
7321
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
7322
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
7323
|
+
}
|
|
7324
|
+
|
|
7325
|
+
if (treatNullItemNumberSchemaAsInvalid !== undefined) {
|
|
7326
|
+
localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
|
|
7327
|
+
}
|
|
7328
|
+
|
|
6767
7329
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6768
7330
|
|
|
6769
7331
|
let localVarUseFormData = false;
|
|
@@ -7080,9 +7642,11 @@ export class SiaConversionApi {
|
|
|
7080
7642
|
* @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.
|
|
7081
7643
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
7082
7644
|
* @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.
|
|
7645
|
+
* @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.
|
|
7646
|
+
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
7083
7647
|
* @param {*} [options] Override http request options.
|
|
7084
7648
|
*/
|
|
7085
|
-
public siaConversionConvertToGaeb (siaFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7649
|
+
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, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7086
7650
|
const localVarPath = this.basePath + '/conversion/sia/gaeb';
|
|
7087
7651
|
let localVarQueryParameters: any = {};
|
|
7088
7652
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
@@ -7108,6 +7672,14 @@ export class SiaConversionApi {
|
|
|
7108
7672
|
localVarQueryParameters['RemoveUnprintableCharactersFromTexts'] = ObjectSerializer.serialize(removeUnprintableCharactersFromTexts, "boolean");
|
|
7109
7673
|
}
|
|
7110
7674
|
|
|
7675
|
+
if (forceIncludeDescriptions !== undefined) {
|
|
7676
|
+
localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
|
|
7677
|
+
}
|
|
7678
|
+
|
|
7679
|
+
if (treatNullItemNumberSchemaAsInvalid !== undefined) {
|
|
7680
|
+
localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
|
|
7681
|
+
}
|
|
7682
|
+
|
|
7111
7683
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
7112
7684
|
|
|
7113
7685
|
let localVarUseFormData = false;
|
|
@@ -7329,6 +7901,174 @@ export class StatusApi {
|
|
|
7329
7901
|
});
|
|
7330
7902
|
}
|
|
7331
7903
|
}
|
|
7904
|
+
export enum ValidationApiApiKeys {
|
|
7905
|
+
}
|
|
7906
|
+
|
|
7907
|
+
export class ValidationApi {
|
|
7908
|
+
protected _basePath = defaultBasePath;
|
|
7909
|
+
protected defaultHeaders : any = {};
|
|
7910
|
+
protected _useQuerystring : boolean = false;
|
|
7911
|
+
|
|
7912
|
+
protected authentications = {
|
|
7913
|
+
'default': <Authentication>new VoidAuth(),
|
|
7914
|
+
'Dangl.Identity': new OAuth(),
|
|
7915
|
+
}
|
|
7916
|
+
|
|
7917
|
+
constructor(basePath?: string);
|
|
7918
|
+
constructor(basePathOrUsername: string, password?: string, basePath?: string) {
|
|
7919
|
+
if (password) {
|
|
7920
|
+
if (basePath) {
|
|
7921
|
+
this.basePath = basePath;
|
|
7922
|
+
}
|
|
7923
|
+
} else {
|
|
7924
|
+
if (basePathOrUsername) {
|
|
7925
|
+
this.basePath = basePathOrUsername
|
|
7926
|
+
}
|
|
7927
|
+
}
|
|
7928
|
+
}
|
|
7929
|
+
|
|
7930
|
+
set useQuerystring(value: boolean) {
|
|
7931
|
+
this._useQuerystring = value;
|
|
7932
|
+
}
|
|
7933
|
+
|
|
7934
|
+
set basePath(basePath: string) {
|
|
7935
|
+
this._basePath = basePath;
|
|
7936
|
+
}
|
|
7937
|
+
|
|
7938
|
+
get basePath() {
|
|
7939
|
+
return this._basePath;
|
|
7940
|
+
}
|
|
7941
|
+
|
|
7942
|
+
public setDefaultAuthentication(auth: Authentication) {
|
|
7943
|
+
this.authentications.default = auth;
|
|
7944
|
+
}
|
|
7945
|
+
|
|
7946
|
+
public setApiKey(key: ValidationApiApiKeys, value: string) {
|
|
7947
|
+
(this.authentications as any)[ValidationApiApiKeys[key]].apiKey = value;
|
|
7948
|
+
}
|
|
7949
|
+
|
|
7950
|
+
set accessToken(token: string) {
|
|
7951
|
+
this.authentications['Dangl.Identity'].accessToken = token;
|
|
7952
|
+
}
|
|
7953
|
+
/**
|
|
7954
|
+
*
|
|
7955
|
+
* @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.
|
|
7956
|
+
* @param avaFile The file to validate
|
|
7957
|
+
* @param fileValidationSourceType You need to indicate which type of file is being provided, there is no auto detection mechanism
|
|
7958
|
+
* @param {*} [options] Override http request options.
|
|
7959
|
+
*/
|
|
7960
|
+
public validationValidateFile (avaFile: FileParameter, fileValidationSourceType?: 'Gaeb' | 'Oenorm', options: any = {}) : Promise<{ response: http.IncomingMessage; body: ValidationResult; }> {
|
|
7961
|
+
const localVarPath = this.basePath + '/validation/file';
|
|
7962
|
+
let localVarQueryParameters: any = {};
|
|
7963
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7964
|
+
let localVarFormParams: any = {};
|
|
7965
|
+
|
|
7966
|
+
if (fileValidationSourceType !== undefined) {
|
|
7967
|
+
localVarQueryParameters['fileValidationSourceType'] = ObjectSerializer.serialize(fileValidationSourceType, "'Gaeb' | 'Oenorm'");
|
|
7968
|
+
}
|
|
7969
|
+
|
|
7970
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
7971
|
+
|
|
7972
|
+
let localVarUseFormData = false;
|
|
7973
|
+
|
|
7974
|
+
if (avaFile !== undefined) {
|
|
7975
|
+
localVarFormParams['avaFile'] = avaFile;
|
|
7976
|
+
}
|
|
7977
|
+
localVarUseFormData = true;
|
|
7978
|
+
|
|
7979
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
7980
|
+
method: 'POST',
|
|
7981
|
+
qs: localVarQueryParameters,
|
|
7982
|
+
headers: localVarHeaderParams,
|
|
7983
|
+
uri: localVarPath,
|
|
7984
|
+
useQuerystring: this._useQuerystring,
|
|
7985
|
+
json: true,
|
|
7986
|
+
};
|
|
7987
|
+
|
|
7988
|
+
this.authentications['Dangl.Identity'].applyToRequest(localVarRequestOptions);
|
|
7989
|
+
|
|
7990
|
+
this.authentications.default.applyToRequest(localVarRequestOptions);
|
|
7991
|
+
|
|
7992
|
+
if (Object.keys(localVarFormParams).length) {
|
|
7993
|
+
if (localVarUseFormData) {
|
|
7994
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
7995
|
+
} else {
|
|
7996
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
7997
|
+
}
|
|
7998
|
+
}
|
|
7999
|
+
return new Promise<{ response: http.IncomingMessage; body: ValidationResult; }>((resolve, reject) => {
|
|
8000
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
8001
|
+
if (error) {
|
|
8002
|
+
reject(error);
|
|
8003
|
+
} else {
|
|
8004
|
+
body = ObjectSerializer.deserialize(body, "ValidationResult");
|
|
8005
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
8006
|
+
resolve({ response: response, body: body });
|
|
8007
|
+
} else {
|
|
8008
|
+
reject({ response: response, body: body });
|
|
8009
|
+
}
|
|
8010
|
+
}
|
|
8011
|
+
});
|
|
8012
|
+
});
|
|
8013
|
+
}
|
|
8014
|
+
/**
|
|
8015
|
+
*
|
|
8016
|
+
* @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.
|
|
8017
|
+
* @param avaProjectValidationSourceOptions The options used for the validation operation
|
|
8018
|
+
* @param {*} [options] Override http request options.
|
|
8019
|
+
*/
|
|
8020
|
+
public validationValidateProject (avaProjectValidationSourceOptions: PostAvaProjectValidationSourceOptions, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ValidationResult; }> {
|
|
8021
|
+
const localVarPath = this.basePath + '/validation/project';
|
|
8022
|
+
let localVarQueryParameters: any = {};
|
|
8023
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
8024
|
+
let localVarFormParams: any = {};
|
|
8025
|
+
|
|
8026
|
+
// verify required parameter 'avaProjectValidationSourceOptions' is not null or undefined
|
|
8027
|
+
if (avaProjectValidationSourceOptions === null || avaProjectValidationSourceOptions === undefined) {
|
|
8028
|
+
throw new Error('Required parameter avaProjectValidationSourceOptions was null or undefined when calling validationValidateProject.');
|
|
8029
|
+
}
|
|
8030
|
+
|
|
8031
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
8032
|
+
|
|
8033
|
+
let localVarUseFormData = false;
|
|
8034
|
+
|
|
8035
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
8036
|
+
method: 'POST',
|
|
8037
|
+
qs: localVarQueryParameters,
|
|
8038
|
+
headers: localVarHeaderParams,
|
|
8039
|
+
uri: localVarPath,
|
|
8040
|
+
useQuerystring: this._useQuerystring,
|
|
8041
|
+
json: true,
|
|
8042
|
+
body: ObjectSerializer.serialize(avaProjectValidationSourceOptions, "PostAvaProjectValidationSourceOptions")
|
|
8043
|
+
};
|
|
8044
|
+
|
|
8045
|
+
this.authentications['Dangl.Identity'].applyToRequest(localVarRequestOptions);
|
|
8046
|
+
|
|
8047
|
+
this.authentications.default.applyToRequest(localVarRequestOptions);
|
|
8048
|
+
|
|
8049
|
+
if (Object.keys(localVarFormParams).length) {
|
|
8050
|
+
if (localVarUseFormData) {
|
|
8051
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
8052
|
+
} else {
|
|
8053
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
8054
|
+
}
|
|
8055
|
+
}
|
|
8056
|
+
return new Promise<{ response: http.IncomingMessage; body: ValidationResult; }>((resolve, reject) => {
|
|
8057
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
8058
|
+
if (error) {
|
|
8059
|
+
reject(error);
|
|
8060
|
+
} else {
|
|
8061
|
+
body = ObjectSerializer.deserialize(body, "ValidationResult");
|
|
8062
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
8063
|
+
resolve({ response: response, body: body });
|
|
8064
|
+
} else {
|
|
8065
|
+
reject({ response: response, body: body });
|
|
8066
|
+
}
|
|
8067
|
+
}
|
|
8068
|
+
});
|
|
8069
|
+
});
|
|
8070
|
+
}
|
|
8071
|
+
}
|
|
7332
8072
|
|
|
7333
8073
|
|
|
7334
8074
|
export interface FileParameter {
|