@dangl/avacloud-client-node 1.25.0 → 1.27.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 +170 -60
- package/api.js +209 -61
- package/api.js.map +1 -1
- package/api.ts +318 -98
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AVACloud API 1.
|
|
2
|
+
* AVACloud API 1.45.0
|
|
3
3
|
* AVACloud API specification
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 1.
|
|
5
|
+
* OpenAPI spec version: 1.45.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -470,6 +470,10 @@ export class CatalogueDto {
|
|
|
470
470
|
* If given, this gives a classification for the contents of the catalogue
|
|
471
471
|
*/
|
|
472
472
|
'catalogueType': CatalogueTypeDto;
|
|
473
|
+
/**
|
|
474
|
+
* This property may hold additional information about the catalogue type. It is currently only used in GAEB XML exchange to carry detailed information about a catalogue type, but it's otherwise just a free text field.
|
|
475
|
+
*/
|
|
476
|
+
'catalogueTypeDetail'?: string;
|
|
473
477
|
|
|
474
478
|
static discriminator: string | undefined = undefined;
|
|
475
479
|
|
|
@@ -498,6 +502,11 @@ export class CatalogueDto {
|
|
|
498
502
|
"name": "catalogueType",
|
|
499
503
|
"baseName": "catalogueType",
|
|
500
504
|
"type": "CatalogueTypeDto"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"name": "catalogueTypeDetail",
|
|
508
|
+
"baseName": "catalogueTypeDetail",
|
|
509
|
+
"type": "string"
|
|
501
510
|
} ];
|
|
502
511
|
|
|
503
512
|
static getAttributeTypeMap() {
|
|
@@ -641,6 +650,10 @@ export class CommercePropertiesDto {
|
|
|
641
650
|
* This optional property can be used to indicate a sub position identifier specific for the commerce exchange
|
|
642
651
|
*/
|
|
643
652
|
'subPositionIdentifier'?: string;
|
|
653
|
+
/**
|
|
654
|
+
* In a commerce exchange, this property is usually used to reference the base item number of an underlying phase 83 exchange file
|
|
655
|
+
*/
|
|
656
|
+
'customerBaseItemNumber'?: string;
|
|
644
657
|
|
|
645
658
|
static discriminator: string | undefined = undefined;
|
|
646
659
|
|
|
@@ -679,6 +692,11 @@ export class CommercePropertiesDto {
|
|
|
679
692
|
"name": "subPositionIdentifier",
|
|
680
693
|
"baseName": "subPositionIdentifier",
|
|
681
694
|
"type": "string"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"name": "customerBaseItemNumber",
|
|
698
|
+
"baseName": "customerBaseItemNumber",
|
|
699
|
+
"type": "string"
|
|
682
700
|
} ];
|
|
683
701
|
|
|
684
702
|
static getAttributeTypeMap() {
|
|
@@ -734,7 +752,7 @@ export class DatanormDestinationVersion {
|
|
|
734
752
|
}
|
|
735
753
|
|
|
736
754
|
/**
|
|
737
|
-
* The GAEB exchange phase to transform to
|
|
755
|
+
* The GAEB exchange phase to transform to. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
|
|
738
756
|
*/
|
|
739
757
|
export class DestinationGaebExchangePhase {
|
|
740
758
|
|
|
@@ -944,6 +962,7 @@ export class FileValidationSourceType {
|
|
|
944
962
|
export class ForgotPasswordPost {
|
|
945
963
|
'identifier': string;
|
|
946
964
|
'preferredLanguages'?: Array<string>;
|
|
965
|
+
'serviceLoginRedirectUri'?: string;
|
|
947
966
|
|
|
948
967
|
static discriminator: string | undefined = undefined;
|
|
949
968
|
|
|
@@ -957,6 +976,11 @@ export class ForgotPasswordPost {
|
|
|
957
976
|
"name": "preferredLanguages",
|
|
958
977
|
"baseName": "preferredLanguages",
|
|
959
978
|
"type": "Array<string>"
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"name": "serviceLoginRedirectUri",
|
|
982
|
+
"baseName": "serviceLoginRedirectUri",
|
|
983
|
+
"type": "string"
|
|
960
984
|
} ];
|
|
961
985
|
|
|
962
986
|
static getAttributeTypeMap() {
|
|
@@ -2236,6 +2260,14 @@ export class PositionDto extends IElementDto {
|
|
|
2236
2260
|
* This is an informational property, which directly holds a numerical value for an estimated quantity. It is not used for any price calculations.
|
|
2237
2261
|
*/
|
|
2238
2262
|
'estimatedQuantity'?: number;
|
|
2263
|
+
/**
|
|
2264
|
+
* This is an optional property that holds price catalogue data. These are prices that may represent an estimate, and they typically come from a price catalogue.
|
|
2265
|
+
*/
|
|
2266
|
+
'priceCatalogueData'?: PriceCatalogueDataDto;
|
|
2267
|
+
/**
|
|
2268
|
+
* If this is set to true, the ProjectCatalogues property will not be propagated to child elements. This is useful in mapping scenarios, where you want to disable propagation for multiple changes, and only enable it once you have mapped all properties.
|
|
2269
|
+
*/
|
|
2270
|
+
'ignoreProjectCataloguePropagation': boolean;
|
|
2239
2271
|
|
|
2240
2272
|
static discriminator: string | undefined = undefined;
|
|
2241
2273
|
|
|
@@ -2509,6 +2541,16 @@ export class PositionDto extends IElementDto {
|
|
|
2509
2541
|
"name": "estimatedQuantity",
|
|
2510
2542
|
"baseName": "estimatedQuantity",
|
|
2511
2543
|
"type": "number"
|
|
2544
|
+
},
|
|
2545
|
+
{
|
|
2546
|
+
"name": "priceCatalogueData",
|
|
2547
|
+
"baseName": "priceCatalogueData",
|
|
2548
|
+
"type": "PriceCatalogueDataDto"
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
"name": "ignoreProjectCataloguePropagation",
|
|
2552
|
+
"baseName": "ignoreProjectCataloguePropagation",
|
|
2553
|
+
"type": "boolean"
|
|
2512
2554
|
} ];
|
|
2513
2555
|
|
|
2514
2556
|
static getAttributeTypeMap() {
|
|
@@ -2699,7 +2741,7 @@ export class PostGaebDestinationOptions {
|
|
|
2699
2741
|
*/
|
|
2700
2742
|
'destinationGaebType': DestinationGaebType;
|
|
2701
2743
|
/**
|
|
2702
|
-
* Defaults to none, meaning no transformation will be done
|
|
2744
|
+
* Defaults to none, meaning no transformation will be done. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
|
|
2703
2745
|
*/
|
|
2704
2746
|
'targetExchangePhaseTransform': DestinationGaebExchangePhase;
|
|
2705
2747
|
/**
|
|
@@ -2817,6 +2859,83 @@ export class PostOenormDestinationOptions {
|
|
|
2817
2859
|
}
|
|
2818
2860
|
}
|
|
2819
2861
|
|
|
2862
|
+
/**
|
|
2863
|
+
* Price catalogue data represents assumed or estimated prices from a catalogue source
|
|
2864
|
+
*/
|
|
2865
|
+
export class PriceCatalogueDataDto {
|
|
2866
|
+
/**
|
|
2867
|
+
* Elements GUID identifier.
|
|
2868
|
+
*/
|
|
2869
|
+
'id': string;
|
|
2870
|
+
/**
|
|
2871
|
+
* The lower bound of the unit price
|
|
2872
|
+
*/
|
|
2873
|
+
'unitPriceFrom'?: number;
|
|
2874
|
+
/**
|
|
2875
|
+
* The upper bound of the unit price
|
|
2876
|
+
*/
|
|
2877
|
+
'unitPriceTo'?: number;
|
|
2878
|
+
/**
|
|
2879
|
+
* The average unit price
|
|
2880
|
+
*/
|
|
2881
|
+
'unitPriceAverage'?: number;
|
|
2882
|
+
/**
|
|
2883
|
+
* The lower bound of the wage price
|
|
2884
|
+
*/
|
|
2885
|
+
'wagePriceFrom'?: number;
|
|
2886
|
+
/**
|
|
2887
|
+
* The upper bound of the wage price
|
|
2888
|
+
*/
|
|
2889
|
+
'wagePriceTo'?: number;
|
|
2890
|
+
/**
|
|
2891
|
+
* The average wage price
|
|
2892
|
+
*/
|
|
2893
|
+
'wagePriceAverage'?: number;
|
|
2894
|
+
|
|
2895
|
+
static discriminator: string | undefined = undefined;
|
|
2896
|
+
|
|
2897
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
2898
|
+
{
|
|
2899
|
+
"name": "id",
|
|
2900
|
+
"baseName": "id",
|
|
2901
|
+
"type": "string"
|
|
2902
|
+
},
|
|
2903
|
+
{
|
|
2904
|
+
"name": "unitPriceFrom",
|
|
2905
|
+
"baseName": "unitPriceFrom",
|
|
2906
|
+
"type": "number"
|
|
2907
|
+
},
|
|
2908
|
+
{
|
|
2909
|
+
"name": "unitPriceTo",
|
|
2910
|
+
"baseName": "unitPriceTo",
|
|
2911
|
+
"type": "number"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"name": "unitPriceAverage",
|
|
2915
|
+
"baseName": "unitPriceAverage",
|
|
2916
|
+
"type": "number"
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"name": "wagePriceFrom",
|
|
2920
|
+
"baseName": "wagePriceFrom",
|
|
2921
|
+
"type": "number"
|
|
2922
|
+
},
|
|
2923
|
+
{
|
|
2924
|
+
"name": "wagePriceTo",
|
|
2925
|
+
"baseName": "wagePriceTo",
|
|
2926
|
+
"type": "number"
|
|
2927
|
+
},
|
|
2928
|
+
{
|
|
2929
|
+
"name": "wagePriceAverage",
|
|
2930
|
+
"baseName": "wagePriceAverage",
|
|
2931
|
+
"type": "number"
|
|
2932
|
+
} ];
|
|
2933
|
+
|
|
2934
|
+
static getAttributeTypeMap() {
|
|
2935
|
+
return PriceCatalogueDataDto.attributeTypeMap;
|
|
2936
|
+
}
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2820
2939
|
/**
|
|
2821
2940
|
* 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.
|
|
2822
2941
|
*/
|
|
@@ -3379,6 +3498,7 @@ export class RegisterPost {
|
|
|
3379
3498
|
'email': string;
|
|
3380
3499
|
'password': string;
|
|
3381
3500
|
'preferredLanguages'?: Array<string>;
|
|
3501
|
+
'serviceLoginRedirectUri'?: string;
|
|
3382
3502
|
|
|
3383
3503
|
static discriminator: string | undefined = undefined;
|
|
3384
3504
|
|
|
@@ -3402,6 +3522,11 @@ export class RegisterPost {
|
|
|
3402
3522
|
"name": "preferredLanguages",
|
|
3403
3523
|
"baseName": "preferredLanguages",
|
|
3404
3524
|
"type": "Array<string>"
|
|
3525
|
+
},
|
|
3526
|
+
{
|
|
3527
|
+
"name": "serviceLoginRedirectUri",
|
|
3528
|
+
"baseName": "serviceLoginRedirectUri",
|
|
3529
|
+
"type": "string"
|
|
3405
3530
|
} ];
|
|
3406
3531
|
|
|
3407
3532
|
static getAttributeTypeMap() {
|
|
@@ -3700,6 +3825,10 @@ export class ServiceSpecificationDto {
|
|
|
3700
3825
|
*/
|
|
3701
3826
|
'ignoreDuplicateItemNumbers': boolean;
|
|
3702
3827
|
/**
|
|
3828
|
+
* If this is set to true, the ProjectCatalogues property will not be propagated to child elements. This is useful in mapping scenarios, where you want to disable propagation for multiple changes, and only enable it once you have mapped all properties
|
|
3829
|
+
*/
|
|
3830
|
+
'ignoreProjectCataloguePropagation': boolean;
|
|
3831
|
+
/**
|
|
3703
3832
|
* Indicate if duplicated Ids within child elements are to be ignored. Will not perform checks for duplicates if yes.
|
|
3704
3833
|
*/
|
|
3705
3834
|
'ignoreDuplicateElementIds': boolean;
|
|
@@ -3913,6 +4042,11 @@ export class ServiceSpecificationDto {
|
|
|
3913
4042
|
"baseName": "ignoreDuplicateItemNumbers",
|
|
3914
4043
|
"type": "boolean"
|
|
3915
4044
|
},
|
|
4045
|
+
{
|
|
4046
|
+
"name": "ignoreProjectCataloguePropagation",
|
|
4047
|
+
"baseName": "ignoreProjectCataloguePropagation",
|
|
4048
|
+
"type": "boolean"
|
|
4049
|
+
},
|
|
3916
4050
|
{
|
|
3917
4051
|
"name": "ignoreDuplicateElementIds",
|
|
3918
4052
|
"baseName": "ignoreDuplicateElementIds",
|
|
@@ -4157,6 +4291,10 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
4157
4291
|
*/
|
|
4158
4292
|
'ignoreDuplicateItemNumbers': boolean;
|
|
4159
4293
|
/**
|
|
4294
|
+
* If this is set to true, the ProjectCatalogues property will not be propagated to child elements. This is useful in mapping scenarios, where you want to disable propagation for multiple changes, and only enable it once you have mapped all properties
|
|
4295
|
+
*/
|
|
4296
|
+
'ignoreProjectCataloguePropagation': boolean;
|
|
4297
|
+
/**
|
|
4160
4298
|
* Indicate if duplicated Ids within child elements are to be ignored. Will not perform checks for duplicates if yes.
|
|
4161
4299
|
*/
|
|
4162
4300
|
'ignoreDuplicateElementIds': boolean;
|
|
@@ -4286,6 +4424,11 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
4286
4424
|
"baseName": "ignoreDuplicateItemNumbers",
|
|
4287
4425
|
"type": "boolean"
|
|
4288
4426
|
},
|
|
4427
|
+
{
|
|
4428
|
+
"name": "ignoreProjectCataloguePropagation",
|
|
4429
|
+
"baseName": "ignoreProjectCataloguePropagation",
|
|
4430
|
+
"type": "boolean"
|
|
4431
|
+
},
|
|
4289
4432
|
{
|
|
4290
4433
|
"name": "ignoreDuplicateElementIds",
|
|
4291
4434
|
"baseName": "ignoreDuplicateElementIds",
|
|
@@ -4412,6 +4555,21 @@ export class ServiceTypeDto {
|
|
|
4412
4555
|
}
|
|
4413
4556
|
}
|
|
4414
4557
|
|
|
4558
|
+
/**
|
|
4559
|
+
* Represents valid SIA destination types
|
|
4560
|
+
*/
|
|
4561
|
+
export class SiaDestinationType {
|
|
4562
|
+
|
|
4563
|
+
static discriminator: string | undefined = undefined;
|
|
4564
|
+
|
|
4565
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4566
|
+
];
|
|
4567
|
+
|
|
4568
|
+
static getAttributeTypeMap() {
|
|
4569
|
+
return SiaDestinationType.attributeTypeMap;
|
|
4570
|
+
}
|
|
4571
|
+
}
|
|
4572
|
+
|
|
4415
4573
|
/**
|
|
4416
4574
|
* This enumeration describes awards for project that are not just a regular procurement. For example, it can be used to describe recurring maintenance or an outline contract (German: Rahmenvertrag) which just specifies services and prices but may be requested on demand when necessary
|
|
4417
4575
|
*/
|
|
@@ -5109,6 +5267,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
5109
5267
|
"PostAvaSourceOptions": PostAvaSourceOptions,
|
|
5110
5268
|
"PostGaebDestinationOptions": PostGaebDestinationOptions,
|
|
5111
5269
|
"PostOenormDestinationOptions": PostOenormDestinationOptions,
|
|
5270
|
+
"PriceCatalogueDataDto": PriceCatalogueDataDto,
|
|
5112
5271
|
"PriceComponentDto": PriceComponentDto,
|
|
5113
5272
|
"PriceComponentTypeDto": PriceComponentTypeDto,
|
|
5114
5273
|
"PriceInformationDto": PriceInformationDto,
|
|
@@ -5127,6 +5286,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
5127
5286
|
"ServiceSpecificationDto": ServiceSpecificationDto,
|
|
5128
5287
|
"ServiceSpecificationGroupDto": ServiceSpecificationGroupDto,
|
|
5129
5288
|
"ServiceTypeDto": ServiceTypeDto,
|
|
5289
|
+
"SiaDestinationType": SiaDestinationType,
|
|
5130
5290
|
"SpecialAwardKindDto": SpecialAwardKindDto,
|
|
5131
5291
|
"StandardReferenceTypeDto": StandardReferenceTypeDto,
|
|
5132
5292
|
"StandardizedDescriptionDto": StandardizedDescriptionDto,
|
|
@@ -5249,8 +5409,8 @@ export class AslvConversionApi {
|
|
|
5249
5409
|
/**
|
|
5250
5410
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5251
5411
|
*/
|
|
5252
|
-
public aslvConversionConvertToAvaWithRequestObject(aslvFile: FileParameter, options
|
|
5253
|
-
return this.aslvConversionConvertToAva(aslvFile, options
|
|
5412
|
+
public aslvConversionConvertToAvaWithRequestObject(aslvFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
5413
|
+
return this.aslvConversionConvertToAva(aslvFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
5254
5414
|
}
|
|
5255
5415
|
|
|
5256
5416
|
/**
|
|
@@ -5321,8 +5481,8 @@ export class AslvConversionApi {
|
|
|
5321
5481
|
/**
|
|
5322
5482
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5323
5483
|
*/
|
|
5324
|
-
public aslvConversionConvertToExcelWithRequestObject(aslvFile: FileParameter, options
|
|
5325
|
-
return this.aslvConversionConvertToExcel(aslvFile, options
|
|
5484
|
+
public aslvConversionConvertToExcelWithRequestObject(aslvFile: FileParameter, options?: { writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5485
|
+
return this.aslvConversionConvertToExcel(aslvFile, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.options || {});
|
|
5326
5486
|
}
|
|
5327
5487
|
|
|
5328
5488
|
/**
|
|
@@ -5332,9 +5492,10 @@ export class AslvConversionApi {
|
|
|
5332
5492
|
* @param writePrices Defaults to true
|
|
5333
5493
|
* @param writeLongTexts Defaults to true
|
|
5334
5494
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
5495
|
+
* @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from 'position.commerceProperties.articleNumber'
|
|
5335
5496
|
* @param {*} [options] Override http request options.
|
|
5336
5497
|
*/
|
|
5337
|
-
public aslvConversionConvertToExcel (aslvFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/aslv/excel';
|
|
5498
|
+
public aslvConversionConvertToExcel (aslvFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/aslv/excel';
|
|
5338
5499
|
let localVarQueryParameters: any = {};
|
|
5339
5500
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5340
5501
|
let localVarFormParams: any = {};
|
|
@@ -5351,6 +5512,10 @@ export class AslvConversionApi {
|
|
|
5351
5512
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
5352
5513
|
}
|
|
5353
5514
|
|
|
5515
|
+
if (includeArticleNumbers !== undefined) {
|
|
5516
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
5517
|
+
}
|
|
5518
|
+
|
|
5354
5519
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5355
5520
|
|
|
5356
5521
|
let localVarUseFormData = false;
|
|
@@ -5398,8 +5563,8 @@ export class AslvConversionApi {
|
|
|
5398
5563
|
/**
|
|
5399
5564
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5400
5565
|
*/
|
|
5401
|
-
public aslvConversionConvertToGaebWithRequestObject(aslvFile: FileParameter, options
|
|
5402
|
-
return this.aslvConversionConvertToGaeb(aslvFile, options
|
|
5566
|
+
public aslvConversionConvertToGaebWithRequestObject(aslvFile: FileParameter, options?: { destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_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; }> {
|
|
5567
|
+
return this.aslvConversionConvertToGaeb(aslvFile, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.options || {});
|
|
5403
5568
|
}
|
|
5404
5569
|
|
|
5405
5570
|
/**
|
|
@@ -5407,7 +5572,7 @@ export class AslvConversionApi {
|
|
|
5407
5572
|
* @summary Converts Aslv files to GAEB files
|
|
5408
5573
|
* @param aslvFile The input file
|
|
5409
5574
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
5410
|
-
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
5575
|
+
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
|
|
5411
5576
|
* @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.
|
|
5412
5577
|
* @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.
|
|
5413
5578
|
* @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. Defaults to true.
|
|
@@ -5495,8 +5660,8 @@ export class AslvConversionApi {
|
|
|
5495
5660
|
/**
|
|
5496
5661
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5497
5662
|
*/
|
|
5498
|
-
public aslvConversionConvertToOenormWithRequestObject(aslvFile: FileParameter, options
|
|
5499
|
-
return this.aslvConversionConvertToOenorm(aslvFile, options
|
|
5663
|
+
public aslvConversionConvertToOenormWithRequestObject(aslvFile: FileParameter, options?: { destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5664
|
+
return this.aslvConversionConvertToOenorm(aslvFile, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.options || {});
|
|
5500
5665
|
}
|
|
5501
5666
|
|
|
5502
5667
|
/**
|
|
@@ -5627,8 +5792,8 @@ export class AvaConversionApi {
|
|
|
5627
5792
|
/**
|
|
5628
5793
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5629
5794
|
*/
|
|
5630
|
-
public avaConversionConvertToAvaWithRequestObject(avaProject: ProjectDto, options
|
|
5631
|
-
return this.avaConversionConvertToAva(avaProject, options
|
|
5795
|
+
public avaConversionConvertToAvaWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
5796
|
+
return this.avaConversionConvertToAva(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
5632
5797
|
}
|
|
5633
5798
|
|
|
5634
5799
|
/**
|
|
@@ -5705,8 +5870,8 @@ export class AvaConversionApi {
|
|
|
5705
5870
|
/**
|
|
5706
5871
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5707
5872
|
*/
|
|
5708
|
-
public avaConversionConvertToDatanormWithRequestObject(avaProject: ProjectDto, options
|
|
5709
|
-
return this.avaConversionConvertToDatanorm(avaProject, options
|
|
5873
|
+
public avaConversionConvertToDatanormWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, datanormDestinationVersion?: 'V4' | 'V5', options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5874
|
+
return this.avaConversionConvertToDatanorm(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.datanormDestinationVersion, options?.options || {});
|
|
5710
5875
|
}
|
|
5711
5876
|
|
|
5712
5877
|
/**
|
|
@@ -5779,8 +5944,8 @@ export class AvaConversionApi {
|
|
|
5779
5944
|
/**
|
|
5780
5945
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5781
5946
|
*/
|
|
5782
|
-
public avaConversionConvertToExcelWithRequestObject(avaProject: ProjectDto, options
|
|
5783
|
-
return this.avaConversionConvertToExcel(avaProject, options
|
|
5947
|
+
public avaConversionConvertToExcelWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5948
|
+
return this.avaConversionConvertToExcel(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.options || {});
|
|
5784
5949
|
}
|
|
5785
5950
|
|
|
5786
5951
|
/**
|
|
@@ -5791,9 +5956,10 @@ export class AvaConversionApi {
|
|
|
5791
5956
|
* @param writePrices Defaults to true
|
|
5792
5957
|
* @param writeLongTexts Defaults to true
|
|
5793
5958
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
5959
|
+
* @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from 'position.commerceProperties.articleNumber'
|
|
5794
5960
|
* @param {*} [options] Override http request options.
|
|
5795
5961
|
*/
|
|
5796
|
-
public avaConversionConvertToExcel (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/ava/excel';
|
|
5962
|
+
public avaConversionConvertToExcel (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/ava/excel';
|
|
5797
5963
|
let localVarQueryParameters: any = {};
|
|
5798
5964
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5799
5965
|
let localVarFormParams: any = {};
|
|
@@ -5819,6 +5985,10 @@ export class AvaConversionApi {
|
|
|
5819
5985
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
5820
5986
|
}
|
|
5821
5987
|
|
|
5988
|
+
if (includeArticleNumbers !== undefined) {
|
|
5989
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
5990
|
+
}
|
|
5991
|
+
|
|
5822
5992
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5823
5993
|
|
|
5824
5994
|
let localVarUseFormData = false;
|
|
@@ -5863,8 +6033,8 @@ export class AvaConversionApi {
|
|
|
5863
6033
|
/**
|
|
5864
6034
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5865
6035
|
*/
|
|
5866
|
-
public avaConversionConvertToGaebWithRequestObject(avaProject: ProjectDto, options
|
|
5867
|
-
return this.avaConversionConvertToGaeb(avaProject, options
|
|
6036
|
+
public avaConversionConvertToGaebWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_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; }> {
|
|
6037
|
+
return this.avaConversionConvertToGaeb(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.options || {});
|
|
5868
6038
|
}
|
|
5869
6039
|
|
|
5870
6040
|
/**
|
|
@@ -5873,7 +6043,7 @@ export class AvaConversionApi {
|
|
|
5873
6043
|
* @param avaProject The Dangl.AVA project
|
|
5874
6044
|
* @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
|
|
5875
6045
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
5876
|
-
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
6046
|
+
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
|
|
5877
6047
|
* @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.
|
|
5878
6048
|
* @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.
|
|
5879
6049
|
* @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. Defaults to true.
|
|
@@ -5967,8 +6137,8 @@ export class AvaConversionApi {
|
|
|
5967
6137
|
/**
|
|
5968
6138
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5969
6139
|
*/
|
|
5970
|
-
public avaConversionConvertToIdsConnectWithRequestObject(avaProject: ProjectDto, options
|
|
5971
|
-
return this.avaConversionConvertToIdsConnect(avaProject, options
|
|
6140
|
+
public avaConversionConvertToIdsConnectWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, version?: 'V2_5', options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6141
|
+
return this.avaConversionConvertToIdsConnect(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.version, options?.options || {});
|
|
5972
6142
|
}
|
|
5973
6143
|
|
|
5974
6144
|
/**
|
|
@@ -6041,8 +6211,8 @@ export class AvaConversionApi {
|
|
|
6041
6211
|
/**
|
|
6042
6212
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6043
6213
|
*/
|
|
6044
|
-
public avaConversionConvertToOenormWithRequestObject(avaProject: ProjectDto, options
|
|
6045
|
-
return this.avaConversionConvertToOenorm(avaProject, options
|
|
6214
|
+
public avaConversionConvertToOenormWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6215
|
+
return this.avaConversionConvertToOenorm(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.options || {});
|
|
6046
6216
|
}
|
|
6047
6217
|
|
|
6048
6218
|
/**
|
|
@@ -6130,8 +6300,8 @@ export class AvaConversionApi {
|
|
|
6130
6300
|
/**
|
|
6131
6301
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6132
6302
|
*/
|
|
6133
|
-
public avaConversionConvertToRebWithRequestObject(avaProject: ProjectDto, options
|
|
6134
|
-
return this.avaConversionConvertToReb(avaProject, options
|
|
6303
|
+
public avaConversionConvertToRebWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, destinationRebType?: 'D11' | 'X31GaebXmlV32' | 'X31GaebXmlV33', options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6304
|
+
return this.avaConversionConvertToReb(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.destinationRebType, options?.options || {});
|
|
6135
6305
|
}
|
|
6136
6306
|
|
|
6137
6307
|
/**
|
|
@@ -6204,8 +6374,8 @@ export class AvaConversionApi {
|
|
|
6204
6374
|
/**
|
|
6205
6375
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6206
6376
|
*/
|
|
6207
|
-
public avaConversionConvertToSiaWithRequestObject(avaProject: ProjectDto, options
|
|
6208
|
-
return this.avaConversionConvertToSia(avaProject, options
|
|
6377
|
+
public avaConversionConvertToSiaWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, siaDestinationType?: 'Sia451' | 'Ifa18', options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6378
|
+
return this.avaConversionConvertToSia(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.siaDestinationType, options?.options || {});
|
|
6209
6379
|
}
|
|
6210
6380
|
|
|
6211
6381
|
/**
|
|
@@ -6213,9 +6383,10 @@ export class AvaConversionApi {
|
|
|
6213
6383
|
* @summary Converts Dangl.AVA projects to SIA 451
|
|
6214
6384
|
* @param avaProject The Dangl.AVA project
|
|
6215
6385
|
* @param tryAutoGenerateItemNumbersAndSchema If this is set to true, AVACloud will try to generate item numbers and an item number schema automatically for the input project. The operation will not have any effect if either an item number schema is already present, or if any of the elements already has an item number.
|
|
6386
|
+
* @param siaDestinationType Defaults to Sia451
|
|
6216
6387
|
* @param {*} [options] Override http request options.
|
|
6217
6388
|
*/
|
|
6218
|
-
public avaConversionConvertToSia (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/ava/sia';
|
|
6389
|
+
public avaConversionConvertToSia (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, siaDestinationType?: 'Sia451' | 'Ifa18', options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/ava/sia';
|
|
6219
6390
|
let localVarQueryParameters: any = {};
|
|
6220
6391
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6221
6392
|
let localVarFormParams: any = {};
|
|
@@ -6229,6 +6400,10 @@ export class AvaConversionApi {
|
|
|
6229
6400
|
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
6230
6401
|
}
|
|
6231
6402
|
|
|
6403
|
+
if (siaDestinationType !== undefined) {
|
|
6404
|
+
localVarQueryParameters['SiaDestinationType'] = ObjectSerializer.serialize(siaDestinationType, "'Sia451' | 'Ifa18'");
|
|
6405
|
+
}
|
|
6406
|
+
|
|
6232
6407
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6233
6408
|
|
|
6234
6409
|
let localVarUseFormData = false;
|
|
@@ -6273,8 +6448,8 @@ export class AvaConversionApi {
|
|
|
6273
6448
|
/**
|
|
6274
6449
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6275
6450
|
*/
|
|
6276
|
-
public avaConversionConvertToUglWithRequestObject(avaProject: ProjectDto, options
|
|
6277
|
-
return this.avaConversionConvertToUgl(avaProject, options
|
|
6451
|
+
public avaConversionConvertToUglWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, uglDestinationVersion?: 'V4' | 'V5', options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6452
|
+
return this.avaConversionConvertToUgl(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.uglDestinationVersion, options?.options || {});
|
|
6278
6453
|
}
|
|
6279
6454
|
|
|
6280
6455
|
/**
|
|
@@ -6453,8 +6628,8 @@ export class DanglIdentityApi {
|
|
|
6453
6628
|
/**
|
|
6454
6629
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6455
6630
|
*/
|
|
6456
|
-
public danglIdentityLoginWithCookieWithRequestObject(model: LoginPost, options
|
|
6457
|
-
return this.danglIdentityLoginWithCookie(model, options
|
|
6631
|
+
public danglIdentityLoginWithCookieWithRequestObject(model: LoginPost, options?: { redirectUrl?: string, options?: any }): Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
6632
|
+
return this.danglIdentityLoginWithCookie(model, options?.redirectUrl, options?.options || {});
|
|
6458
6633
|
}
|
|
6459
6634
|
|
|
6460
6635
|
/**
|
|
@@ -6783,8 +6958,8 @@ export class DatanormConversionApi {
|
|
|
6783
6958
|
/**
|
|
6784
6959
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6785
6960
|
*/
|
|
6786
|
-
public datanormConversionConvertToAvaWithRequestObject(datanormFile: FileParameter, options
|
|
6787
|
-
return this.datanormConversionConvertToAva(datanormFile, options
|
|
6961
|
+
public datanormConversionConvertToAvaWithRequestObject(datanormFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
6962
|
+
return this.datanormConversionConvertToAva(datanormFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
6788
6963
|
}
|
|
6789
6964
|
|
|
6790
6965
|
/**
|
|
@@ -6905,8 +7080,8 @@ export class ExcelConversionApi {
|
|
|
6905
7080
|
/**
|
|
6906
7081
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6907
7082
|
*/
|
|
6908
|
-
public excelConversionConvertToAvaWithRequestObject(excelFile: FileParameter, options
|
|
6909
|
-
return this.excelConversionConvertToAva(excelFile, options
|
|
7083
|
+
public excelConversionConvertToAvaWithRequestObject(excelFile: FileParameter, options?: { readNewElements?: boolean, rebuildItemNumberSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
7084
|
+
return this.excelConversionConvertToAva(excelFile, options?.readNewElements, options?.rebuildItemNumberSchema, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
6910
7085
|
}
|
|
6911
7086
|
|
|
6912
7087
|
/**
|
|
@@ -6987,8 +7162,8 @@ export class ExcelConversionApi {
|
|
|
6987
7162
|
/**
|
|
6988
7163
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6989
7164
|
*/
|
|
6990
|
-
public excelConversionConvertToExcelWithRequestObject(excelFile: FileParameter, options
|
|
6991
|
-
return this.excelConversionConvertToExcel(excelFile, options
|
|
7165
|
+
public excelConversionConvertToExcelWithRequestObject(excelFile: FileParameter, options?: { readNewElements?: boolean, rebuildItemNumberSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7166
|
+
return this.excelConversionConvertToExcel(excelFile, options?.readNewElements, options?.rebuildItemNumberSchema, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.options || {});
|
|
6992
7167
|
}
|
|
6993
7168
|
|
|
6994
7169
|
/**
|
|
@@ -7000,9 +7175,10 @@ export class ExcelConversionApi {
|
|
|
7000
7175
|
* @param writePrices Defaults to true
|
|
7001
7176
|
* @param writeLongTexts Defaults to true
|
|
7002
7177
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
7178
|
+
* @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from 'position.commerceProperties.articleNumber'
|
|
7003
7179
|
* @param {*} [options] Override http request options.
|
|
7004
7180
|
*/
|
|
7005
|
-
public excelConversionConvertToExcel (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/excel/excel';
|
|
7181
|
+
public excelConversionConvertToExcel (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/excel/excel';
|
|
7006
7182
|
let localVarQueryParameters: any = {};
|
|
7007
7183
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7008
7184
|
let localVarFormParams: any = {};
|
|
@@ -7027,6 +7203,10 @@ export class ExcelConversionApi {
|
|
|
7027
7203
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
7028
7204
|
}
|
|
7029
7205
|
|
|
7206
|
+
if (includeArticleNumbers !== undefined) {
|
|
7207
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
7208
|
+
}
|
|
7209
|
+
|
|
7030
7210
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
7031
7211
|
|
|
7032
7212
|
let localVarUseFormData = false;
|
|
@@ -7074,8 +7254,8 @@ export class ExcelConversionApi {
|
|
|
7074
7254
|
/**
|
|
7075
7255
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7076
7256
|
*/
|
|
7077
|
-
public excelConversionConvertToGaebWithRequestObject(excelFile: FileParameter, options
|
|
7078
|
-
return this.excelConversionConvertToGaeb(excelFile, options
|
|
7257
|
+
public excelConversionConvertToGaebWithRequestObject(excelFile: FileParameter, options?: { 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' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_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; }> {
|
|
7258
|
+
return this.excelConversionConvertToGaeb(excelFile, options?.readNewElements, options?.rebuildItemNumberSchema, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.options || {});
|
|
7079
7259
|
}
|
|
7080
7260
|
|
|
7081
7261
|
/**
|
|
@@ -7085,7 +7265,7 @@ export class ExcelConversionApi {
|
|
|
7085
7265
|
* @param readNewElements Defaults to false
|
|
7086
7266
|
* @param rebuildItemNumberSchema When importing new elements from Excel, sometimes the ItemNumberSchema in the file is not in compliance with the GAEB requirements. Enabling this option tries to repair the ItemNumberSchema. Defaults to false.
|
|
7087
7267
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
7088
|
-
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
7268
|
+
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
|
|
7089
7269
|
* @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.
|
|
7090
7270
|
* @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.
|
|
7091
7271
|
* @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. Defaults to true.
|
|
@@ -7181,8 +7361,8 @@ export class ExcelConversionApi {
|
|
|
7181
7361
|
/**
|
|
7182
7362
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7183
7363
|
*/
|
|
7184
|
-
public excelConversionConvertToOenormWithRequestObject(excelFile: FileParameter, options
|
|
7185
|
-
return this.excelConversionConvertToOenorm(excelFile, options
|
|
7364
|
+
public excelConversionConvertToOenormWithRequestObject(excelFile: FileParameter, options?: { readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7365
|
+
return this.excelConversionConvertToOenorm(excelFile, options?.readNewElements, options?.rebuildItemNumberSchema, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.options || {});
|
|
7186
7366
|
}
|
|
7187
7367
|
|
|
7188
7368
|
/**
|
|
@@ -7323,8 +7503,8 @@ export class GaebConversionApi {
|
|
|
7323
7503
|
/**
|
|
7324
7504
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7325
7505
|
*/
|
|
7326
|
-
public gaebConversionConvertToAvaWithRequestObject(gaebFile: FileParameter, options
|
|
7327
|
-
return this.gaebConversionConvertToAva(gaebFile, options
|
|
7506
|
+
public gaebConversionConvertToAvaWithRequestObject(gaebFile: FileParameter, options?: { supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
7507
|
+
return this.gaebConversionConvertToAva(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.allowLumpSumItemsWithDifferingQuantities, options?.options || {});
|
|
7328
7508
|
}
|
|
7329
7509
|
|
|
7330
7510
|
/**
|
|
@@ -7337,9 +7517,10 @@ export class GaebConversionApi {
|
|
|
7337
7517
|
* @param outputHtmlAsXml Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce '<br />' instead of '<br>'.
|
|
7338
7518
|
* @param keepEmptyHtmlText Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
|
|
7339
7519
|
* @param allowUpperCaseItemNumbers Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase format if the source file has them. By default, all item numbers will be converted to lowercase, but this option will enable the option to support uppercase item numbers as well.
|
|
7520
|
+
* @param allowLumpSumItemsWithDifferingQuantities Defaults to 'false'. By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then differing quantities will be kept during the import.
|
|
7340
7521
|
* @param {*} [options] Override http request options.
|
|
7341
7522
|
*/
|
|
7342
|
-
public gaebConversionConvertToAva (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> { const localVarPath = this.basePath + '/conversion/gaeb/ava';
|
|
7523
|
+
public gaebConversionConvertToAva (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> { const localVarPath = this.basePath + '/conversion/gaeb/ava';
|
|
7343
7524
|
let localVarQueryParameters: any = {};
|
|
7344
7525
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7345
7526
|
let localVarFormParams: any = {};
|
|
@@ -7368,6 +7549,10 @@ export class GaebConversionApi {
|
|
|
7368
7549
|
localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
|
|
7369
7550
|
}
|
|
7370
7551
|
|
|
7552
|
+
if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
|
|
7553
|
+
localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
|
|
7554
|
+
}
|
|
7555
|
+
|
|
7371
7556
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
7372
7557
|
|
|
7373
7558
|
let localVarUseFormData = false;
|
|
@@ -7415,8 +7600,8 @@ export class GaebConversionApi {
|
|
|
7415
7600
|
/**
|
|
7416
7601
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7417
7602
|
*/
|
|
7418
|
-
public gaebConversionConvertToExcelWithRequestObject(gaebFile: FileParameter, options
|
|
7419
|
-
return this.gaebConversionConvertToExcel(gaebFile, options
|
|
7603
|
+
public gaebConversionConvertToExcelWithRequestObject(gaebFile: FileParameter, options?: { supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7604
|
+
return this.gaebConversionConvertToExcel(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.allowLumpSumItemsWithDifferingQuantities, options?.options || {});
|
|
7420
7605
|
}
|
|
7421
7606
|
|
|
7422
7607
|
/**
|
|
@@ -7427,12 +7612,14 @@ export class GaebConversionApi {
|
|
|
7427
7612
|
* @param writePrices Defaults to true
|
|
7428
7613
|
* @param writeLongTexts Defaults to true
|
|
7429
7614
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
7615
|
+
* @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from 'position.commerceProperties.articleNumber'
|
|
7430
7616
|
* @param outputHtmlAsXml Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce '<br />' instead of '<br>'.
|
|
7431
7617
|
* @param keepEmptyHtmlText Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
|
|
7432
7618
|
* @param allowUpperCaseItemNumbers Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase format if the source file has them. By default, all item numbers will be converted to lowercase, but this option will enable the option to support uppercase item numbers as well.
|
|
7619
|
+
* @param allowLumpSumItemsWithDifferingQuantities Defaults to 'false'. By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then differing quantities will be kept during the import.
|
|
7433
7620
|
* @param {*} [options] Override http request options.
|
|
7434
7621
|
*/
|
|
7435
|
-
public gaebConversionConvertToExcel (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/excel';
|
|
7622
|
+
public gaebConversionConvertToExcel (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/excel';
|
|
7436
7623
|
let localVarQueryParameters: any = {};
|
|
7437
7624
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7438
7625
|
let localVarFormParams: any = {};
|
|
@@ -7453,6 +7640,10 @@ export class GaebConversionApi {
|
|
|
7453
7640
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
7454
7641
|
}
|
|
7455
7642
|
|
|
7643
|
+
if (includeArticleNumbers !== undefined) {
|
|
7644
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
7645
|
+
}
|
|
7646
|
+
|
|
7456
7647
|
if (outputHtmlAsXml !== undefined) {
|
|
7457
7648
|
localVarQueryParameters['OutputHtmlAsXml'] = ObjectSerializer.serialize(outputHtmlAsXml, "boolean");
|
|
7458
7649
|
}
|
|
@@ -7465,6 +7656,10 @@ export class GaebConversionApi {
|
|
|
7465
7656
|
localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
|
|
7466
7657
|
}
|
|
7467
7658
|
|
|
7659
|
+
if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
|
|
7660
|
+
localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
|
|
7661
|
+
}
|
|
7662
|
+
|
|
7468
7663
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
7469
7664
|
|
|
7470
7665
|
let localVarUseFormData = false;
|
|
@@ -7512,8 +7707,8 @@ export class GaebConversionApi {
|
|
|
7512
7707
|
/**
|
|
7513
7708
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7514
7709
|
*/
|
|
7515
|
-
public gaebConversionConvertToGaebWithRequestObject(gaebFile: FileParameter, options
|
|
7516
|
-
return this.gaebConversionConvertToGaeb(gaebFile, options
|
|
7710
|
+
public gaebConversionConvertToGaebWithRequestObject(gaebFile: FileParameter, options?: { supportSkippedItemNumberLevelsInPositions?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7711
|
+
return this.gaebConversionConvertToGaeb(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.allowLumpSumItemsWithDifferingQuantities, options?.options || {});
|
|
7517
7712
|
}
|
|
7518
7713
|
|
|
7519
7714
|
/**
|
|
@@ -7522,7 +7717,7 @@ export class GaebConversionApi {
|
|
|
7522
7717
|
* @param gaebFile The input file
|
|
7523
7718
|
* @param supportSkippedItemNumberLevelsInPositions Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group levels and one position level - but the ItemNumber of the position is just '01.02', then it will be displayed as '01.__.02' if this is set to true.
|
|
7524
7719
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
7525
|
-
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
7720
|
+
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
|
|
7526
7721
|
* @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.
|
|
7527
7722
|
* @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.
|
|
7528
7723
|
* @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. Defaults to true.
|
|
@@ -7531,9 +7726,10 @@ export class GaebConversionApi {
|
|
|
7531
7726
|
* @param outputHtmlAsXml Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce '<br />' instead of '<br>'.
|
|
7532
7727
|
* @param keepEmptyHtmlText Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
|
|
7533
7728
|
* @param allowUpperCaseItemNumbers Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase format if the source file has them. By default, all item numbers will be converted to lowercase, but this option will enable the option to support uppercase item numbers as well.
|
|
7729
|
+
* @param allowLumpSumItemsWithDifferingQuantities Defaults to 'false'. By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then differing quantities will be kept during the import.
|
|
7534
7730
|
* @param {*} [options] Override http request options.
|
|
7535
7731
|
*/
|
|
7536
|
-
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' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
|
|
7732
|
+
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' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
|
|
7537
7733
|
let localVarQueryParameters: any = {};
|
|
7538
7734
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7539
7735
|
let localVarFormParams: any = {};
|
|
@@ -7582,6 +7778,10 @@ export class GaebConversionApi {
|
|
|
7582
7778
|
localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
|
|
7583
7779
|
}
|
|
7584
7780
|
|
|
7781
|
+
if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
|
|
7782
|
+
localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
|
|
7783
|
+
}
|
|
7784
|
+
|
|
7585
7785
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
7586
7786
|
|
|
7587
7787
|
let localVarUseFormData = false;
|
|
@@ -7629,8 +7829,8 @@ export class GaebConversionApi {
|
|
|
7629
7829
|
/**
|
|
7630
7830
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7631
7831
|
*/
|
|
7632
|
-
public gaebConversionConvertToOenormWithRequestObject(gaebFile: FileParameter, options
|
|
7633
|
-
return this.gaebConversionConvertToOenorm(gaebFile, options
|
|
7832
|
+
public gaebConversionConvertToOenormWithRequestObject(gaebFile: FileParameter, options?: { supportSkippedItemNumberLevelsInPositions?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7833
|
+
return this.gaebConversionConvertToOenorm(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.allowLumpSumItemsWithDifferingQuantities, options?.options || {});
|
|
7634
7834
|
}
|
|
7635
7835
|
|
|
7636
7836
|
/**
|
|
@@ -7645,9 +7845,10 @@ export class GaebConversionApi {
|
|
|
7645
7845
|
* @param outputHtmlAsXml Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output. This means that e.g. void Html tags will always be output with their closing tag, e.g. it will produce '<br />' instead of '<br>'.
|
|
7646
7846
|
* @param keepEmptyHtmlText Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output. Otherwise, Html text without any plain text will be removed. This is useful for example if you want to keep texts that only consist of empty paragraphs in the output.
|
|
7647
7847
|
* @param allowUpperCaseItemNumbers Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase format if the source file has them. By default, all item numbers will be converted to lowercase, but this option will enable the option to support uppercase item numbers as well.
|
|
7848
|
+
* @param allowLumpSumItemsWithDifferingQuantities Defaults to 'false'. By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then differing quantities will be kept during the import.
|
|
7648
7849
|
* @param {*} [options] Override http request options.
|
|
7649
7850
|
*/
|
|
7650
|
-
public gaebConversionConvertToOenorm (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
|
|
7851
|
+
public gaebConversionConvertToOenorm (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, allowLumpSumItemsWithDifferingQuantities?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
|
|
7651
7852
|
let localVarQueryParameters: any = {};
|
|
7652
7853
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7653
7854
|
let localVarFormParams: any = {};
|
|
@@ -7684,6 +7885,10 @@ export class GaebConversionApi {
|
|
|
7684
7885
|
localVarQueryParameters['AllowUpperCaseItemNumbers'] = ObjectSerializer.serialize(allowUpperCaseItemNumbers, "boolean");
|
|
7685
7886
|
}
|
|
7686
7887
|
|
|
7888
|
+
if (allowLumpSumItemsWithDifferingQuantities !== undefined) {
|
|
7889
|
+
localVarQueryParameters['AllowLumpSumItemsWithDifferingQuantities'] = ObjectSerializer.serialize(allowLumpSumItemsWithDifferingQuantities, "boolean");
|
|
7890
|
+
}
|
|
7891
|
+
|
|
7687
7892
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
7688
7893
|
|
|
7689
7894
|
let localVarUseFormData = false;
|
|
@@ -7781,8 +7986,8 @@ export class IdsConnectConversionApi {
|
|
|
7781
7986
|
/**
|
|
7782
7987
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7783
7988
|
*/
|
|
7784
|
-
public idsConnectConversionConvertToAvaWithRequestObject(idsConnectFile: FileParameter, options
|
|
7785
|
-
return this.idsConnectConversionConvertToAva(idsConnectFile, options
|
|
7989
|
+
public idsConnectConversionConvertToAvaWithRequestObject(idsConnectFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
7990
|
+
return this.idsConnectConversionConvertToAva(idsConnectFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
7786
7991
|
}
|
|
7787
7992
|
|
|
7788
7993
|
/**
|
|
@@ -7903,8 +8108,8 @@ export class OenormConversionApi {
|
|
|
7903
8108
|
/**
|
|
7904
8109
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7905
8110
|
*/
|
|
7906
|
-
public oenormConversionConvertToAvaWithRequestObject(oenormFile: FileParameter, options
|
|
7907
|
-
return this.oenormConversionConvertToAva(oenormFile, options
|
|
8111
|
+
public oenormConversionConvertToAvaWithRequestObject(oenormFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
8112
|
+
return this.oenormConversionConvertToAva(oenormFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
7908
8113
|
}
|
|
7909
8114
|
|
|
7910
8115
|
/**
|
|
@@ -7975,8 +8180,8 @@ export class OenormConversionApi {
|
|
|
7975
8180
|
/**
|
|
7976
8181
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7977
8182
|
*/
|
|
7978
|
-
public oenormConversionConvertToExcelWithRequestObject(oenormFile: FileParameter, options
|
|
7979
|
-
return this.oenormConversionConvertToExcel(oenormFile, options
|
|
8183
|
+
public oenormConversionConvertToExcelWithRequestObject(oenormFile: FileParameter, options?: { writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
8184
|
+
return this.oenormConversionConvertToExcel(oenormFile, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.options || {});
|
|
7980
8185
|
}
|
|
7981
8186
|
|
|
7982
8187
|
/**
|
|
@@ -7986,9 +8191,10 @@ export class OenormConversionApi {
|
|
|
7986
8191
|
* @param writePrices Defaults to true
|
|
7987
8192
|
* @param writeLongTexts Defaults to true
|
|
7988
8193
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
8194
|
+
* @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from 'position.commerceProperties.articleNumber'
|
|
7989
8195
|
* @param {*} [options] Override http request options.
|
|
7990
8196
|
*/
|
|
7991
|
-
public oenormConversionConvertToExcel (oenormFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/oenorm/excel';
|
|
8197
|
+
public oenormConversionConvertToExcel (oenormFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/oenorm/excel';
|
|
7992
8198
|
let localVarQueryParameters: any = {};
|
|
7993
8199
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7994
8200
|
let localVarFormParams: any = {};
|
|
@@ -8005,6 +8211,10 @@ export class OenormConversionApi {
|
|
|
8005
8211
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
8006
8212
|
}
|
|
8007
8213
|
|
|
8214
|
+
if (includeArticleNumbers !== undefined) {
|
|
8215
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
8216
|
+
}
|
|
8217
|
+
|
|
8008
8218
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
8009
8219
|
|
|
8010
8220
|
let localVarUseFormData = false;
|
|
@@ -8052,8 +8262,8 @@ export class OenormConversionApi {
|
|
|
8052
8262
|
/**
|
|
8053
8263
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8054
8264
|
*/
|
|
8055
|
-
public oenormConversionConvertToGaebWithRequestObject(oenormFile: FileParameter, options
|
|
8056
|
-
return this.oenormConversionConvertToGaeb(oenormFile, options
|
|
8265
|
+
public oenormConversionConvertToGaebWithRequestObject(oenormFile: FileParameter, options?: { destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_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; }> {
|
|
8266
|
+
return this.oenormConversionConvertToGaeb(oenormFile, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.options || {});
|
|
8057
8267
|
}
|
|
8058
8268
|
|
|
8059
8269
|
/**
|
|
@@ -8061,7 +8271,7 @@ export class OenormConversionApi {
|
|
|
8061
8271
|
* @summary Converts ÖNorm files to GAEB files.
|
|
8062
8272
|
* @param oenormFile The input file
|
|
8063
8273
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
8064
|
-
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
8274
|
+
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
|
|
8065
8275
|
* @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.
|
|
8066
8276
|
* @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.
|
|
8067
8277
|
* @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. Defaults to true.
|
|
@@ -8149,8 +8359,8 @@ export class OenormConversionApi {
|
|
|
8149
8359
|
/**
|
|
8150
8360
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8151
8361
|
*/
|
|
8152
|
-
public oenormConversionConvertToOenormWithRequestObject(oenormFile: FileParameter, options
|
|
8153
|
-
return this.oenormConversionConvertToOenorm(oenormFile, options
|
|
8362
|
+
public oenormConversionConvertToOenormWithRequestObject(oenormFile: FileParameter, options?: { destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
8363
|
+
return this.oenormConversionConvertToOenorm(oenormFile, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.options || {});
|
|
8154
8364
|
}
|
|
8155
8365
|
|
|
8156
8366
|
/**
|
|
@@ -8281,8 +8491,8 @@ export class RebConversionApi {
|
|
|
8281
8491
|
/**
|
|
8282
8492
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8283
8493
|
*/
|
|
8284
|
-
public rebConversionConvertToAvaWithRequestObject(rebFile: FileParameter, options
|
|
8285
|
-
return this.rebConversionConvertToAva(rebFile, options
|
|
8494
|
+
public rebConversionConvertToAvaWithRequestObject(rebFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
8495
|
+
return this.rebConversionConvertToAva(rebFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
8286
8496
|
}
|
|
8287
8497
|
|
|
8288
8498
|
/**
|
|
@@ -8353,8 +8563,8 @@ export class RebConversionApi {
|
|
|
8353
8563
|
/**
|
|
8354
8564
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8355
8565
|
*/
|
|
8356
|
-
public rebConversionConvertToExcelWithRequestObject(rebFile: FileParameter, options
|
|
8357
|
-
return this.rebConversionConvertToExcel(rebFile, options
|
|
8566
|
+
public rebConversionConvertToExcelWithRequestObject(rebFile: FileParameter, options?: { writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
8567
|
+
return this.rebConversionConvertToExcel(rebFile, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.options || {});
|
|
8358
8568
|
}
|
|
8359
8569
|
|
|
8360
8570
|
/**
|
|
@@ -8364,9 +8574,10 @@ export class RebConversionApi {
|
|
|
8364
8574
|
* @param writePrices Defaults to true
|
|
8365
8575
|
* @param writeLongTexts Defaults to true
|
|
8366
8576
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
8577
|
+
* @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from 'position.commerceProperties.articleNumber'
|
|
8367
8578
|
* @param {*} [options] Override http request options.
|
|
8368
8579
|
*/
|
|
8369
|
-
public rebConversionConvertToExcel (rebFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/reb/excel';
|
|
8580
|
+
public rebConversionConvertToExcel (rebFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/reb/excel';
|
|
8370
8581
|
let localVarQueryParameters: any = {};
|
|
8371
8582
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
8372
8583
|
let localVarFormParams: any = {};
|
|
@@ -8383,6 +8594,10 @@ export class RebConversionApi {
|
|
|
8383
8594
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
8384
8595
|
}
|
|
8385
8596
|
|
|
8597
|
+
if (includeArticleNumbers !== undefined) {
|
|
8598
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
8599
|
+
}
|
|
8600
|
+
|
|
8386
8601
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
8387
8602
|
|
|
8388
8603
|
let localVarUseFormData = false;
|
|
@@ -8430,8 +8645,8 @@ export class RebConversionApi {
|
|
|
8430
8645
|
/**
|
|
8431
8646
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8432
8647
|
*/
|
|
8433
|
-
public rebConversionConvertToGaebWithRequestObject(rebFile: FileParameter, options
|
|
8434
|
-
return this.rebConversionConvertToGaeb(rebFile, options
|
|
8648
|
+
public rebConversionConvertToGaebWithRequestObject(rebFile: FileParameter, options?: { destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_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; }> {
|
|
8649
|
+
return this.rebConversionConvertToGaeb(rebFile, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.options || {});
|
|
8435
8650
|
}
|
|
8436
8651
|
|
|
8437
8652
|
/**
|
|
@@ -8439,7 +8654,7 @@ export class RebConversionApi {
|
|
|
8439
8654
|
* @summary Converts REB files to GAEB files
|
|
8440
8655
|
* @param rebFile The input file
|
|
8441
8656
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
8442
|
-
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
8657
|
+
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
|
|
8443
8658
|
* @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.
|
|
8444
8659
|
* @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.
|
|
8445
8660
|
* @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. Defaults to true.
|
|
@@ -8527,8 +8742,8 @@ export class RebConversionApi {
|
|
|
8527
8742
|
/**
|
|
8528
8743
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8529
8744
|
*/
|
|
8530
|
-
public rebConversionConvertToOenormWithRequestObject(rebFile: FileParameter, options
|
|
8531
|
-
return this.rebConversionConvertToOenorm(rebFile, options
|
|
8745
|
+
public rebConversionConvertToOenormWithRequestObject(rebFile: FileParameter, options?: { destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
8746
|
+
return this.rebConversionConvertToOenorm(rebFile, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.options || {});
|
|
8532
8747
|
}
|
|
8533
8748
|
|
|
8534
8749
|
/**
|
|
@@ -8659,8 +8874,8 @@ export class SiaConversionApi {
|
|
|
8659
8874
|
/**
|
|
8660
8875
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8661
8876
|
*/
|
|
8662
|
-
public siaConversionConvertToAvaWithRequestObject(siaFile: FileParameter, options
|
|
8663
|
-
return this.siaConversionConvertToAva(siaFile, options
|
|
8877
|
+
public siaConversionConvertToAvaWithRequestObject(siaFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
8878
|
+
return this.siaConversionConvertToAva(siaFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
8664
8879
|
}
|
|
8665
8880
|
|
|
8666
8881
|
/**
|
|
@@ -8731,8 +8946,8 @@ export class SiaConversionApi {
|
|
|
8731
8946
|
/**
|
|
8732
8947
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8733
8948
|
*/
|
|
8734
|
-
public siaConversionConvertToExcelWithRequestObject(siaFile: FileParameter, options
|
|
8735
|
-
return this.siaConversionConvertToExcel(siaFile, options
|
|
8949
|
+
public siaConversionConvertToExcelWithRequestObject(siaFile: FileParameter, options?: { writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
8950
|
+
return this.siaConversionConvertToExcel(siaFile, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.options || {});
|
|
8736
8951
|
}
|
|
8737
8952
|
|
|
8738
8953
|
/**
|
|
@@ -8742,9 +8957,10 @@ export class SiaConversionApi {
|
|
|
8742
8957
|
* @param writePrices Defaults to true
|
|
8743
8958
|
* @param writeLongTexts Defaults to true
|
|
8744
8959
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
8960
|
+
* @param includeArticleNumbers If this is enabled, then a new column will be created in the overview worksheet that contains the article numbers for positions. Article numbers will be read from 'position.commerceProperties.articleNumber'
|
|
8745
8961
|
* @param {*} [options] Override http request options.
|
|
8746
8962
|
*/
|
|
8747
|
-
public siaConversionConvertToExcel (siaFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/sia/excel';
|
|
8963
|
+
public siaConversionConvertToExcel (siaFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/sia/excel';
|
|
8748
8964
|
let localVarQueryParameters: any = {};
|
|
8749
8965
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
8750
8966
|
let localVarFormParams: any = {};
|
|
@@ -8761,6 +8977,10 @@ export class SiaConversionApi {
|
|
|
8761
8977
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
8762
8978
|
}
|
|
8763
8979
|
|
|
8980
|
+
if (includeArticleNumbers !== undefined) {
|
|
8981
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
8982
|
+
}
|
|
8983
|
+
|
|
8764
8984
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
8765
8985
|
|
|
8766
8986
|
let localVarUseFormData = false;
|
|
@@ -8808,8 +9028,8 @@ export class SiaConversionApi {
|
|
|
8808
9028
|
/**
|
|
8809
9029
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8810
9030
|
*/
|
|
8811
|
-
public siaConversionConvertToGaebWithRequestObject(siaFile: FileParameter, options
|
|
8812
|
-
return this.siaConversionConvertToGaeb(siaFile, options
|
|
9031
|
+
public siaConversionConvertToGaebWithRequestObject(siaFile: FileParameter, options?: { destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_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; }> {
|
|
9032
|
+
return this.siaConversionConvertToGaeb(siaFile, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.options || {});
|
|
8813
9033
|
}
|
|
8814
9034
|
|
|
8815
9035
|
/**
|
|
@@ -8817,7 +9037,7 @@ export class SiaConversionApi {
|
|
|
8817
9037
|
* @summary Converts SIA 451 files to GAEB files
|
|
8818
9038
|
* @param siaFile The input file
|
|
8819
9039
|
* @param destinationGaebType Defaults to GAEB XML V3.2
|
|
8820
|
-
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
9040
|
+
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86
|
|
8821
9041
|
* @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.
|
|
8822
9042
|
* @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.
|
|
8823
9043
|
* @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. Defaults to true.
|
|
@@ -8905,8 +9125,8 @@ export class SiaConversionApi {
|
|
|
8905
9125
|
/**
|
|
8906
9126
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8907
9127
|
*/
|
|
8908
|
-
public siaConversionConvertToOenormWithRequestObject(siaFile: FileParameter, options
|
|
8909
|
-
return this.siaConversionConvertToOenorm(siaFile, options
|
|
9128
|
+
public siaConversionConvertToOenormWithRequestObject(siaFile: FileParameter, options?: { destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
9129
|
+
return this.siaConversionConvertToOenorm(siaFile, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.options || {});
|
|
8910
9130
|
}
|
|
8911
9131
|
|
|
8912
9132
|
/**
|
|
@@ -9137,8 +9357,8 @@ export class UglConversionApi {
|
|
|
9137
9357
|
/**
|
|
9138
9358
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
9139
9359
|
*/
|
|
9140
|
-
public uglConversionConvertToAvaWithRequestObject(uglFile: FileParameter, options
|
|
9141
|
-
return this.uglConversionConvertToAva(uglFile, options
|
|
9360
|
+
public uglConversionConvertToAvaWithRequestObject(uglFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
9361
|
+
return this.uglConversionConvertToAva(uglFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
9142
9362
|
}
|
|
9143
9363
|
|
|
9144
9364
|
/**
|
|
@@ -9259,8 +9479,8 @@ export class ValidationApi {
|
|
|
9259
9479
|
/**
|
|
9260
9480
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
9261
9481
|
*/
|
|
9262
|
-
public validationValidateFileWithRequestObject(avaFile: FileParameter, options
|
|
9263
|
-
return this.validationValidateFile(avaFile, options
|
|
9482
|
+
public validationValidateFileWithRequestObject(avaFile: FileParameter, options?: { fileValidationSourceType?: 'Gaeb' | 'Oenorm', options?: any }): Promise<{ response: http.IncomingMessage; body: ValidationResult; }> {
|
|
9483
|
+
return this.validationValidateFile(avaFile, options?.fileValidationSourceType, options?.options || {});
|
|
9264
9484
|
}
|
|
9265
9485
|
|
|
9266
9486
|
/**
|