@dangl/avacloud-client-node 1.25.0-beta0001 → 1.26.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/api.d.ts +138 -48
- package/api.js +168 -51
- package/api.js.map +1 -1
- package/api.ts +260 -87
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AVACloud API 1.
|
|
2
|
+
* AVACloud API 1.44.0
|
|
3
3
|
* AVACloud API specification
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 1.
|
|
5
|
+
* OpenAPI spec version: 1.44.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import localVarRequest = require('request');
|
|
14
14
|
import http = require('http');
|
|
15
15
|
|
|
16
|
-
let defaultBasePath = 'https://avacloud-api
|
|
16
|
+
let defaultBasePath = 'https://avacloud-api.dangl-it.com';
|
|
17
17
|
|
|
18
18
|
// ===============================================
|
|
19
19
|
// This file is autogenerated - Please do not edit
|
|
@@ -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() {
|
|
@@ -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,10 @@ 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;
|
|
2239
2267
|
|
|
2240
2268
|
static discriminator: string | undefined = undefined;
|
|
2241
2269
|
|
|
@@ -2509,6 +2537,11 @@ export class PositionDto extends IElementDto {
|
|
|
2509
2537
|
"name": "estimatedQuantity",
|
|
2510
2538
|
"baseName": "estimatedQuantity",
|
|
2511
2539
|
"type": "number"
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
"name": "priceCatalogueData",
|
|
2543
|
+
"baseName": "priceCatalogueData",
|
|
2544
|
+
"type": "PriceCatalogueDataDto"
|
|
2512
2545
|
} ];
|
|
2513
2546
|
|
|
2514
2547
|
static getAttributeTypeMap() {
|
|
@@ -2817,6 +2850,83 @@ export class PostOenormDestinationOptions {
|
|
|
2817
2850
|
}
|
|
2818
2851
|
}
|
|
2819
2852
|
|
|
2853
|
+
/**
|
|
2854
|
+
* Price catalogue data represents assumed or estimated prices from a catalogue source
|
|
2855
|
+
*/
|
|
2856
|
+
export class PriceCatalogueDataDto {
|
|
2857
|
+
/**
|
|
2858
|
+
* Elements GUID identifier.
|
|
2859
|
+
*/
|
|
2860
|
+
'id': string;
|
|
2861
|
+
/**
|
|
2862
|
+
* The lower bound of the unit price
|
|
2863
|
+
*/
|
|
2864
|
+
'unitPriceFrom'?: number;
|
|
2865
|
+
/**
|
|
2866
|
+
* The upper bound of the unit price
|
|
2867
|
+
*/
|
|
2868
|
+
'unitPriceTo'?: number;
|
|
2869
|
+
/**
|
|
2870
|
+
* The average unit price
|
|
2871
|
+
*/
|
|
2872
|
+
'unitPriceAverage'?: number;
|
|
2873
|
+
/**
|
|
2874
|
+
* The lower bound of the wage price
|
|
2875
|
+
*/
|
|
2876
|
+
'wagePriceFrom'?: number;
|
|
2877
|
+
/**
|
|
2878
|
+
* The upper bound of the wage price
|
|
2879
|
+
*/
|
|
2880
|
+
'wagePriceTo'?: number;
|
|
2881
|
+
/**
|
|
2882
|
+
* The average wage price
|
|
2883
|
+
*/
|
|
2884
|
+
'wagePriceAverage'?: number;
|
|
2885
|
+
|
|
2886
|
+
static discriminator: string | undefined = undefined;
|
|
2887
|
+
|
|
2888
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
2889
|
+
{
|
|
2890
|
+
"name": "id",
|
|
2891
|
+
"baseName": "id",
|
|
2892
|
+
"type": "string"
|
|
2893
|
+
},
|
|
2894
|
+
{
|
|
2895
|
+
"name": "unitPriceFrom",
|
|
2896
|
+
"baseName": "unitPriceFrom",
|
|
2897
|
+
"type": "number"
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
"name": "unitPriceTo",
|
|
2901
|
+
"baseName": "unitPriceTo",
|
|
2902
|
+
"type": "number"
|
|
2903
|
+
},
|
|
2904
|
+
{
|
|
2905
|
+
"name": "unitPriceAverage",
|
|
2906
|
+
"baseName": "unitPriceAverage",
|
|
2907
|
+
"type": "number"
|
|
2908
|
+
},
|
|
2909
|
+
{
|
|
2910
|
+
"name": "wagePriceFrom",
|
|
2911
|
+
"baseName": "wagePriceFrom",
|
|
2912
|
+
"type": "number"
|
|
2913
|
+
},
|
|
2914
|
+
{
|
|
2915
|
+
"name": "wagePriceTo",
|
|
2916
|
+
"baseName": "wagePriceTo",
|
|
2917
|
+
"type": "number"
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"name": "wagePriceAverage",
|
|
2921
|
+
"baseName": "wagePriceAverage",
|
|
2922
|
+
"type": "number"
|
|
2923
|
+
} ];
|
|
2924
|
+
|
|
2925
|
+
static getAttributeTypeMap() {
|
|
2926
|
+
return PriceCatalogueDataDto.attributeTypeMap;
|
|
2927
|
+
}
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2820
2930
|
/**
|
|
2821
2931
|
* 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
2932
|
*/
|
|
@@ -3379,6 +3489,7 @@ export class RegisterPost {
|
|
|
3379
3489
|
'email': string;
|
|
3380
3490
|
'password': string;
|
|
3381
3491
|
'preferredLanguages'?: Array<string>;
|
|
3492
|
+
'serviceLoginRedirectUri'?: string;
|
|
3382
3493
|
|
|
3383
3494
|
static discriminator: string | undefined = undefined;
|
|
3384
3495
|
|
|
@@ -3402,6 +3513,11 @@ export class RegisterPost {
|
|
|
3402
3513
|
"name": "preferredLanguages",
|
|
3403
3514
|
"baseName": "preferredLanguages",
|
|
3404
3515
|
"type": "Array<string>"
|
|
3516
|
+
},
|
|
3517
|
+
{
|
|
3518
|
+
"name": "serviceLoginRedirectUri",
|
|
3519
|
+
"baseName": "serviceLoginRedirectUri",
|
|
3520
|
+
"type": "string"
|
|
3405
3521
|
} ];
|
|
3406
3522
|
|
|
3407
3523
|
static getAttributeTypeMap() {
|
|
@@ -4412,6 +4528,21 @@ export class ServiceTypeDto {
|
|
|
4412
4528
|
}
|
|
4413
4529
|
}
|
|
4414
4530
|
|
|
4531
|
+
/**
|
|
4532
|
+
* Represents valid SIA destination types
|
|
4533
|
+
*/
|
|
4534
|
+
export class SiaDestinationType {
|
|
4535
|
+
|
|
4536
|
+
static discriminator: string | undefined = undefined;
|
|
4537
|
+
|
|
4538
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
4539
|
+
];
|
|
4540
|
+
|
|
4541
|
+
static getAttributeTypeMap() {
|
|
4542
|
+
return SiaDestinationType.attributeTypeMap;
|
|
4543
|
+
}
|
|
4544
|
+
}
|
|
4545
|
+
|
|
4415
4546
|
/**
|
|
4416
4547
|
* 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
4548
|
*/
|
|
@@ -5109,6 +5240,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
5109
5240
|
"PostAvaSourceOptions": PostAvaSourceOptions,
|
|
5110
5241
|
"PostGaebDestinationOptions": PostGaebDestinationOptions,
|
|
5111
5242
|
"PostOenormDestinationOptions": PostOenormDestinationOptions,
|
|
5243
|
+
"PriceCatalogueDataDto": PriceCatalogueDataDto,
|
|
5112
5244
|
"PriceComponentDto": PriceComponentDto,
|
|
5113
5245
|
"PriceComponentTypeDto": PriceComponentTypeDto,
|
|
5114
5246
|
"PriceInformationDto": PriceInformationDto,
|
|
@@ -5127,6 +5259,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
5127
5259
|
"ServiceSpecificationDto": ServiceSpecificationDto,
|
|
5128
5260
|
"ServiceSpecificationGroupDto": ServiceSpecificationGroupDto,
|
|
5129
5261
|
"ServiceTypeDto": ServiceTypeDto,
|
|
5262
|
+
"SiaDestinationType": SiaDestinationType,
|
|
5130
5263
|
"SpecialAwardKindDto": SpecialAwardKindDto,
|
|
5131
5264
|
"StandardReferenceTypeDto": StandardReferenceTypeDto,
|
|
5132
5265
|
"StandardizedDescriptionDto": StandardizedDescriptionDto,
|
|
@@ -5249,8 +5382,8 @@ export class AslvConversionApi {
|
|
|
5249
5382
|
/**
|
|
5250
5383
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5251
5384
|
*/
|
|
5252
|
-
public aslvConversionConvertToAvaWithRequestObject(aslvFile: FileParameter, options
|
|
5253
|
-
return this.aslvConversionConvertToAva(aslvFile, options
|
|
5385
|
+
public aslvConversionConvertToAvaWithRequestObject(aslvFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
5386
|
+
return this.aslvConversionConvertToAva(aslvFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
5254
5387
|
}
|
|
5255
5388
|
|
|
5256
5389
|
/**
|
|
@@ -5321,8 +5454,8 @@ export class AslvConversionApi {
|
|
|
5321
5454
|
/**
|
|
5322
5455
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5323
5456
|
*/
|
|
5324
|
-
public aslvConversionConvertToExcelWithRequestObject(aslvFile: FileParameter, options
|
|
5325
|
-
return this.aslvConversionConvertToExcel(aslvFile, options
|
|
5457
|
+
public aslvConversionConvertToExcelWithRequestObject(aslvFile: FileParameter, options?: { writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5458
|
+
return this.aslvConversionConvertToExcel(aslvFile, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.options || {});
|
|
5326
5459
|
}
|
|
5327
5460
|
|
|
5328
5461
|
/**
|
|
@@ -5332,9 +5465,10 @@ export class AslvConversionApi {
|
|
|
5332
5465
|
* @param writePrices Defaults to true
|
|
5333
5466
|
* @param writeLongTexts Defaults to true
|
|
5334
5467
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
5468
|
+
* @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
5469
|
* @param {*} [options] Override http request options.
|
|
5336
5470
|
*/
|
|
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';
|
|
5471
|
+
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
5472
|
let localVarQueryParameters: any = {};
|
|
5339
5473
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5340
5474
|
let localVarFormParams: any = {};
|
|
@@ -5351,6 +5485,10 @@ export class AslvConversionApi {
|
|
|
5351
5485
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
5352
5486
|
}
|
|
5353
5487
|
|
|
5488
|
+
if (includeArticleNumbers !== undefined) {
|
|
5489
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
5490
|
+
}
|
|
5491
|
+
|
|
5354
5492
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5355
5493
|
|
|
5356
5494
|
let localVarUseFormData = false;
|
|
@@ -5398,8 +5536,8 @@ export class AslvConversionApi {
|
|
|
5398
5536
|
/**
|
|
5399
5537
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5400
5538
|
*/
|
|
5401
|
-
public aslvConversionConvertToGaebWithRequestObject(aslvFile: FileParameter, options
|
|
5402
|
-
return this.aslvConversionConvertToGaeb(aslvFile, options
|
|
5539
|
+
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; }> {
|
|
5540
|
+
return this.aslvConversionConvertToGaeb(aslvFile, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.options || {});
|
|
5403
5541
|
}
|
|
5404
5542
|
|
|
5405
5543
|
/**
|
|
@@ -5495,8 +5633,8 @@ export class AslvConversionApi {
|
|
|
5495
5633
|
/**
|
|
5496
5634
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5497
5635
|
*/
|
|
5498
|
-
public aslvConversionConvertToOenormWithRequestObject(aslvFile: FileParameter, options
|
|
5499
|
-
return this.aslvConversionConvertToOenorm(aslvFile, options
|
|
5636
|
+
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; }> {
|
|
5637
|
+
return this.aslvConversionConvertToOenorm(aslvFile, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.options || {});
|
|
5500
5638
|
}
|
|
5501
5639
|
|
|
5502
5640
|
/**
|
|
@@ -5627,8 +5765,8 @@ export class AvaConversionApi {
|
|
|
5627
5765
|
/**
|
|
5628
5766
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5629
5767
|
*/
|
|
5630
|
-
public avaConversionConvertToAvaWithRequestObject(avaProject: ProjectDto, options
|
|
5631
|
-
return this.avaConversionConvertToAva(avaProject, options
|
|
5768
|
+
public avaConversionConvertToAvaWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
5769
|
+
return this.avaConversionConvertToAva(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
5632
5770
|
}
|
|
5633
5771
|
|
|
5634
5772
|
/**
|
|
@@ -5705,8 +5843,8 @@ export class AvaConversionApi {
|
|
|
5705
5843
|
/**
|
|
5706
5844
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5707
5845
|
*/
|
|
5708
|
-
public avaConversionConvertToDatanormWithRequestObject(avaProject: ProjectDto, options
|
|
5709
|
-
return this.avaConversionConvertToDatanorm(avaProject, options
|
|
5846
|
+
public avaConversionConvertToDatanormWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, datanormDestinationVersion?: 'V4' | 'V5', options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5847
|
+
return this.avaConversionConvertToDatanorm(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.datanormDestinationVersion, options?.options || {});
|
|
5710
5848
|
}
|
|
5711
5849
|
|
|
5712
5850
|
/**
|
|
@@ -5779,8 +5917,8 @@ export class AvaConversionApi {
|
|
|
5779
5917
|
/**
|
|
5780
5918
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5781
5919
|
*/
|
|
5782
|
-
public avaConversionConvertToExcelWithRequestObject(avaProject: ProjectDto, options
|
|
5783
|
-
return this.avaConversionConvertToExcel(avaProject, options
|
|
5920
|
+
public avaConversionConvertToExcelWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5921
|
+
return this.avaConversionConvertToExcel(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.options || {});
|
|
5784
5922
|
}
|
|
5785
5923
|
|
|
5786
5924
|
/**
|
|
@@ -5791,9 +5929,10 @@ export class AvaConversionApi {
|
|
|
5791
5929
|
* @param writePrices Defaults to true
|
|
5792
5930
|
* @param writeLongTexts Defaults to true
|
|
5793
5931
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
5932
|
+
* @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
5933
|
* @param {*} [options] Override http request options.
|
|
5795
5934
|
*/
|
|
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';
|
|
5935
|
+
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
5936
|
let localVarQueryParameters: any = {};
|
|
5798
5937
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5799
5938
|
let localVarFormParams: any = {};
|
|
@@ -5819,6 +5958,10 @@ export class AvaConversionApi {
|
|
|
5819
5958
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
5820
5959
|
}
|
|
5821
5960
|
|
|
5961
|
+
if (includeArticleNumbers !== undefined) {
|
|
5962
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
5963
|
+
}
|
|
5964
|
+
|
|
5822
5965
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
5823
5966
|
|
|
5824
5967
|
let localVarUseFormData = false;
|
|
@@ -5863,8 +6006,8 @@ export class AvaConversionApi {
|
|
|
5863
6006
|
/**
|
|
5864
6007
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5865
6008
|
*/
|
|
5866
|
-
public avaConversionConvertToGaebWithRequestObject(avaProject: ProjectDto, options
|
|
5867
|
-
return this.avaConversionConvertToGaeb(avaProject, options
|
|
6009
|
+
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; }> {
|
|
6010
|
+
return this.avaConversionConvertToGaeb(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.options || {});
|
|
5868
6011
|
}
|
|
5869
6012
|
|
|
5870
6013
|
/**
|
|
@@ -5967,8 +6110,8 @@ export class AvaConversionApi {
|
|
|
5967
6110
|
/**
|
|
5968
6111
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
5969
6112
|
*/
|
|
5970
|
-
public avaConversionConvertToIdsConnectWithRequestObject(avaProject: ProjectDto, options
|
|
5971
|
-
return this.avaConversionConvertToIdsConnect(avaProject, options
|
|
6113
|
+
public avaConversionConvertToIdsConnectWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, version?: 'V2_5', options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6114
|
+
return this.avaConversionConvertToIdsConnect(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.version, options?.options || {});
|
|
5972
6115
|
}
|
|
5973
6116
|
|
|
5974
6117
|
/**
|
|
@@ -6041,8 +6184,8 @@ export class AvaConversionApi {
|
|
|
6041
6184
|
/**
|
|
6042
6185
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6043
6186
|
*/
|
|
6044
|
-
public avaConversionConvertToOenormWithRequestObject(avaProject: ProjectDto, options
|
|
6045
|
-
return this.avaConversionConvertToOenorm(avaProject, options
|
|
6187
|
+
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; }> {
|
|
6188
|
+
return this.avaConversionConvertToOenorm(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.options || {});
|
|
6046
6189
|
}
|
|
6047
6190
|
|
|
6048
6191
|
/**
|
|
@@ -6130,8 +6273,8 @@ export class AvaConversionApi {
|
|
|
6130
6273
|
/**
|
|
6131
6274
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6132
6275
|
*/
|
|
6133
|
-
public avaConversionConvertToRebWithRequestObject(avaProject: ProjectDto, options
|
|
6134
|
-
return this.avaConversionConvertToReb(avaProject, options
|
|
6276
|
+
public avaConversionConvertToRebWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, destinationRebType?: 'D11' | 'X31GaebXmlV32' | 'X31GaebXmlV33', options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6277
|
+
return this.avaConversionConvertToReb(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.destinationRebType, options?.options || {});
|
|
6135
6278
|
}
|
|
6136
6279
|
|
|
6137
6280
|
/**
|
|
@@ -6204,8 +6347,8 @@ export class AvaConversionApi {
|
|
|
6204
6347
|
/**
|
|
6205
6348
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6206
6349
|
*/
|
|
6207
|
-
public avaConversionConvertToSiaWithRequestObject(avaProject: ProjectDto, options
|
|
6208
|
-
return this.avaConversionConvertToSia(avaProject, options
|
|
6350
|
+
public avaConversionConvertToSiaWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, siaDestinationType?: 'Sia451' | 'Ifa18', options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6351
|
+
return this.avaConversionConvertToSia(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.siaDestinationType, options?.options || {});
|
|
6209
6352
|
}
|
|
6210
6353
|
|
|
6211
6354
|
/**
|
|
@@ -6213,9 +6356,10 @@ export class AvaConversionApi {
|
|
|
6213
6356
|
* @summary Converts Dangl.AVA projects to SIA 451
|
|
6214
6357
|
* @param avaProject The Dangl.AVA project
|
|
6215
6358
|
* @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.
|
|
6359
|
+
* @param siaDestinationType Defaults to Sia451
|
|
6216
6360
|
* @param {*} [options] Override http request options.
|
|
6217
6361
|
*/
|
|
6218
|
-
public avaConversionConvertToSia (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/ava/sia';
|
|
6362
|
+
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
6363
|
let localVarQueryParameters: any = {};
|
|
6220
6364
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6221
6365
|
let localVarFormParams: any = {};
|
|
@@ -6229,6 +6373,10 @@ export class AvaConversionApi {
|
|
|
6229
6373
|
localVarQueryParameters['TryAutoGenerateItemNumbersAndSchema'] = ObjectSerializer.serialize(tryAutoGenerateItemNumbersAndSchema, "boolean");
|
|
6230
6374
|
}
|
|
6231
6375
|
|
|
6376
|
+
if (siaDestinationType !== undefined) {
|
|
6377
|
+
localVarQueryParameters['SiaDestinationType'] = ObjectSerializer.serialize(siaDestinationType, "'Sia451' | 'Ifa18'");
|
|
6378
|
+
}
|
|
6379
|
+
|
|
6232
6380
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
6233
6381
|
|
|
6234
6382
|
let localVarUseFormData = false;
|
|
@@ -6273,8 +6421,8 @@ export class AvaConversionApi {
|
|
|
6273
6421
|
/**
|
|
6274
6422
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6275
6423
|
*/
|
|
6276
|
-
public avaConversionConvertToUglWithRequestObject(avaProject: ProjectDto, options
|
|
6277
|
-
return this.avaConversionConvertToUgl(avaProject, options
|
|
6424
|
+
public avaConversionConvertToUglWithRequestObject(avaProject: ProjectDto, options?: { tryAutoGenerateItemNumbersAndSchema?: boolean, uglDestinationVersion?: 'V4' | 'V5', options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6425
|
+
return this.avaConversionConvertToUgl(avaProject, options?.tryAutoGenerateItemNumbersAndSchema, options?.uglDestinationVersion, options?.options || {});
|
|
6278
6426
|
}
|
|
6279
6427
|
|
|
6280
6428
|
/**
|
|
@@ -6453,8 +6601,8 @@ export class DanglIdentityApi {
|
|
|
6453
6601
|
/**
|
|
6454
6602
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6455
6603
|
*/
|
|
6456
|
-
public danglIdentityLoginWithCookieWithRequestObject(model: LoginPost, options
|
|
6457
|
-
return this.danglIdentityLoginWithCookie(model, options
|
|
6604
|
+
public danglIdentityLoginWithCookieWithRequestObject(model: LoginPost, options?: { redirectUrl?: string, options?: any }): Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
6605
|
+
return this.danglIdentityLoginWithCookie(model, options?.redirectUrl, options?.options || {});
|
|
6458
6606
|
}
|
|
6459
6607
|
|
|
6460
6608
|
/**
|
|
@@ -6783,8 +6931,8 @@ export class DatanormConversionApi {
|
|
|
6783
6931
|
/**
|
|
6784
6932
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6785
6933
|
*/
|
|
6786
|
-
public datanormConversionConvertToAvaWithRequestObject(datanormFile: FileParameter, options
|
|
6787
|
-
return this.datanormConversionConvertToAva(datanormFile, options
|
|
6934
|
+
public datanormConversionConvertToAvaWithRequestObject(datanormFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
6935
|
+
return this.datanormConversionConvertToAva(datanormFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
6788
6936
|
}
|
|
6789
6937
|
|
|
6790
6938
|
/**
|
|
@@ -6905,8 +7053,8 @@ export class ExcelConversionApi {
|
|
|
6905
7053
|
/**
|
|
6906
7054
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6907
7055
|
*/
|
|
6908
|
-
public excelConversionConvertToAvaWithRequestObject(excelFile: FileParameter, options
|
|
6909
|
-
return this.excelConversionConvertToAva(excelFile, options
|
|
7056
|
+
public excelConversionConvertToAvaWithRequestObject(excelFile: FileParameter, options?: { readNewElements?: boolean, rebuildItemNumberSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
7057
|
+
return this.excelConversionConvertToAva(excelFile, options?.readNewElements, options?.rebuildItemNumberSchema, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
6910
7058
|
}
|
|
6911
7059
|
|
|
6912
7060
|
/**
|
|
@@ -6987,8 +7135,8 @@ export class ExcelConversionApi {
|
|
|
6987
7135
|
/**
|
|
6988
7136
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
6989
7137
|
*/
|
|
6990
|
-
public excelConversionConvertToExcelWithRequestObject(excelFile: FileParameter, options
|
|
6991
|
-
return this.excelConversionConvertToExcel(excelFile, options
|
|
7138
|
+
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; }> {
|
|
7139
|
+
return this.excelConversionConvertToExcel(excelFile, options?.readNewElements, options?.rebuildItemNumberSchema, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.options || {});
|
|
6992
7140
|
}
|
|
6993
7141
|
|
|
6994
7142
|
/**
|
|
@@ -7000,9 +7148,10 @@ export class ExcelConversionApi {
|
|
|
7000
7148
|
* @param writePrices Defaults to true
|
|
7001
7149
|
* @param writeLongTexts Defaults to true
|
|
7002
7150
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
7151
|
+
* @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
7152
|
* @param {*} [options] Override http request options.
|
|
7004
7153
|
*/
|
|
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';
|
|
7154
|
+
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
7155
|
let localVarQueryParameters: any = {};
|
|
7007
7156
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7008
7157
|
let localVarFormParams: any = {};
|
|
@@ -7027,6 +7176,10 @@ export class ExcelConversionApi {
|
|
|
7027
7176
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
7028
7177
|
}
|
|
7029
7178
|
|
|
7179
|
+
if (includeArticleNumbers !== undefined) {
|
|
7180
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
7181
|
+
}
|
|
7182
|
+
|
|
7030
7183
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
7031
7184
|
|
|
7032
7185
|
let localVarUseFormData = false;
|
|
@@ -7074,8 +7227,8 @@ export class ExcelConversionApi {
|
|
|
7074
7227
|
/**
|
|
7075
7228
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7076
7229
|
*/
|
|
7077
|
-
public excelConversionConvertToGaebWithRequestObject(excelFile: FileParameter, options
|
|
7078
|
-
return this.excelConversionConvertToGaeb(excelFile, options
|
|
7230
|
+
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; }> {
|
|
7231
|
+
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
7232
|
}
|
|
7080
7233
|
|
|
7081
7234
|
/**
|
|
@@ -7181,8 +7334,8 @@ export class ExcelConversionApi {
|
|
|
7181
7334
|
/**
|
|
7182
7335
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7183
7336
|
*/
|
|
7184
|
-
public excelConversionConvertToOenormWithRequestObject(excelFile: FileParameter, options
|
|
7185
|
-
return this.excelConversionConvertToOenorm(excelFile, options
|
|
7337
|
+
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; }> {
|
|
7338
|
+
return this.excelConversionConvertToOenorm(excelFile, options?.readNewElements, options?.rebuildItemNumberSchema, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.options || {});
|
|
7186
7339
|
}
|
|
7187
7340
|
|
|
7188
7341
|
/**
|
|
@@ -7323,8 +7476,8 @@ export class GaebConversionApi {
|
|
|
7323
7476
|
/**
|
|
7324
7477
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7325
7478
|
*/
|
|
7326
|
-
public gaebConversionConvertToAvaWithRequestObject(gaebFile: FileParameter, options
|
|
7327
|
-
return this.gaebConversionConvertToAva(gaebFile, options
|
|
7479
|
+
public gaebConversionConvertToAvaWithRequestObject(gaebFile: FileParameter, options?: { supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
7480
|
+
return this.gaebConversionConvertToAva(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.options || {});
|
|
7328
7481
|
}
|
|
7329
7482
|
|
|
7330
7483
|
/**
|
|
@@ -7415,8 +7568,8 @@ export class GaebConversionApi {
|
|
|
7415
7568
|
/**
|
|
7416
7569
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7417
7570
|
*/
|
|
7418
|
-
public gaebConversionConvertToExcelWithRequestObject(gaebFile: FileParameter, options
|
|
7419
|
-
return this.gaebConversionConvertToExcel(gaebFile, options
|
|
7571
|
+
public gaebConversionConvertToExcelWithRequestObject(gaebFile: FileParameter, options?: { supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7572
|
+
return this.gaebConversionConvertToExcel(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.options || {});
|
|
7420
7573
|
}
|
|
7421
7574
|
|
|
7422
7575
|
/**
|
|
@@ -7427,12 +7580,13 @@ export class GaebConversionApi {
|
|
|
7427
7580
|
* @param writePrices Defaults to true
|
|
7428
7581
|
* @param writeLongTexts Defaults to true
|
|
7429
7582
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
7583
|
+
* @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
7584
|
* @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
7585
|
* @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
7586
|
* @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.
|
|
7433
7587
|
* @param {*} [options] Override http request options.
|
|
7434
7588
|
*/
|
|
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';
|
|
7589
|
+
public gaebConversionConvertToExcel (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, outputHtmlAsXml?: boolean, keepEmptyHtmlText?: boolean, allowUpperCaseItemNumbers?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/excel';
|
|
7436
7590
|
let localVarQueryParameters: any = {};
|
|
7437
7591
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7438
7592
|
let localVarFormParams: any = {};
|
|
@@ -7453,6 +7607,10 @@ export class GaebConversionApi {
|
|
|
7453
7607
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
7454
7608
|
}
|
|
7455
7609
|
|
|
7610
|
+
if (includeArticleNumbers !== undefined) {
|
|
7611
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
7612
|
+
}
|
|
7613
|
+
|
|
7456
7614
|
if (outputHtmlAsXml !== undefined) {
|
|
7457
7615
|
localVarQueryParameters['OutputHtmlAsXml'] = ObjectSerializer.serialize(outputHtmlAsXml, "boolean");
|
|
7458
7616
|
}
|
|
@@ -7512,8 +7670,8 @@ export class GaebConversionApi {
|
|
|
7512
7670
|
/**
|
|
7513
7671
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7514
7672
|
*/
|
|
7515
|
-
public gaebConversionConvertToGaebWithRequestObject(gaebFile: FileParameter, options
|
|
7516
|
-
return this.gaebConversionConvertToGaeb(gaebFile, options
|
|
7673
|
+
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, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7674
|
+
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?.options || {});
|
|
7517
7675
|
}
|
|
7518
7676
|
|
|
7519
7677
|
/**
|
|
@@ -7629,8 +7787,8 @@ export class GaebConversionApi {
|
|
|
7629
7787
|
/**
|
|
7630
7788
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7631
7789
|
*/
|
|
7632
|
-
public gaebConversionConvertToOenormWithRequestObject(gaebFile: FileParameter, options
|
|
7633
|
-
return this.gaebConversionConvertToOenorm(gaebFile, options
|
|
7790
|
+
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, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7791
|
+
return this.gaebConversionConvertToOenorm(gaebFile, options?.supportSkippedItemNumberLevelsInPositions, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.outputHtmlAsXml, options?.keepEmptyHtmlText, options?.allowUpperCaseItemNumbers, options?.options || {});
|
|
7634
7792
|
}
|
|
7635
7793
|
|
|
7636
7794
|
/**
|
|
@@ -7781,8 +7939,8 @@ export class IdsConnectConversionApi {
|
|
|
7781
7939
|
/**
|
|
7782
7940
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7783
7941
|
*/
|
|
7784
|
-
public idsConnectConversionConvertToAvaWithRequestObject(idsConnectFile: FileParameter, options
|
|
7785
|
-
return this.idsConnectConversionConvertToAva(idsConnectFile, options
|
|
7942
|
+
public idsConnectConversionConvertToAvaWithRequestObject(idsConnectFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
7943
|
+
return this.idsConnectConversionConvertToAva(idsConnectFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
7786
7944
|
}
|
|
7787
7945
|
|
|
7788
7946
|
/**
|
|
@@ -7903,8 +8061,8 @@ export class OenormConversionApi {
|
|
|
7903
8061
|
/**
|
|
7904
8062
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7905
8063
|
*/
|
|
7906
|
-
public oenormConversionConvertToAvaWithRequestObject(oenormFile: FileParameter, options
|
|
7907
|
-
return this.oenormConversionConvertToAva(oenormFile, options
|
|
8064
|
+
public oenormConversionConvertToAvaWithRequestObject(oenormFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
8065
|
+
return this.oenormConversionConvertToAva(oenormFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
7908
8066
|
}
|
|
7909
8067
|
|
|
7910
8068
|
/**
|
|
@@ -7975,8 +8133,8 @@ export class OenormConversionApi {
|
|
|
7975
8133
|
/**
|
|
7976
8134
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
7977
8135
|
*/
|
|
7978
|
-
public oenormConversionConvertToExcelWithRequestObject(oenormFile: FileParameter, options
|
|
7979
|
-
return this.oenormConversionConvertToExcel(oenormFile, options
|
|
8136
|
+
public oenormConversionConvertToExcelWithRequestObject(oenormFile: FileParameter, options?: { writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
8137
|
+
return this.oenormConversionConvertToExcel(oenormFile, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.options || {});
|
|
7980
8138
|
}
|
|
7981
8139
|
|
|
7982
8140
|
/**
|
|
@@ -7986,9 +8144,10 @@ export class OenormConversionApi {
|
|
|
7986
8144
|
* @param writePrices Defaults to true
|
|
7987
8145
|
* @param writeLongTexts Defaults to true
|
|
7988
8146
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
8147
|
+
* @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
8148
|
* @param {*} [options] Override http request options.
|
|
7990
8149
|
*/
|
|
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';
|
|
8150
|
+
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
8151
|
let localVarQueryParameters: any = {};
|
|
7993
8152
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7994
8153
|
let localVarFormParams: any = {};
|
|
@@ -8005,6 +8164,10 @@ export class OenormConversionApi {
|
|
|
8005
8164
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
8006
8165
|
}
|
|
8007
8166
|
|
|
8167
|
+
if (includeArticleNumbers !== undefined) {
|
|
8168
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
8169
|
+
}
|
|
8170
|
+
|
|
8008
8171
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
8009
8172
|
|
|
8010
8173
|
let localVarUseFormData = false;
|
|
@@ -8052,8 +8215,8 @@ export class OenormConversionApi {
|
|
|
8052
8215
|
/**
|
|
8053
8216
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8054
8217
|
*/
|
|
8055
|
-
public oenormConversionConvertToGaebWithRequestObject(oenormFile: FileParameter, options
|
|
8056
|
-
return this.oenormConversionConvertToGaeb(oenormFile, options
|
|
8218
|
+
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; }> {
|
|
8219
|
+
return this.oenormConversionConvertToGaeb(oenormFile, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.options || {});
|
|
8057
8220
|
}
|
|
8058
8221
|
|
|
8059
8222
|
/**
|
|
@@ -8149,8 +8312,8 @@ export class OenormConversionApi {
|
|
|
8149
8312
|
/**
|
|
8150
8313
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8151
8314
|
*/
|
|
8152
|
-
public oenormConversionConvertToOenormWithRequestObject(oenormFile: FileParameter, options
|
|
8153
|
-
return this.oenormConversionConvertToOenorm(oenormFile, options
|
|
8315
|
+
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; }> {
|
|
8316
|
+
return this.oenormConversionConvertToOenorm(oenormFile, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.options || {});
|
|
8154
8317
|
}
|
|
8155
8318
|
|
|
8156
8319
|
/**
|
|
@@ -8281,8 +8444,8 @@ export class RebConversionApi {
|
|
|
8281
8444
|
/**
|
|
8282
8445
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8283
8446
|
*/
|
|
8284
|
-
public rebConversionConvertToAvaWithRequestObject(rebFile: FileParameter, options
|
|
8285
|
-
return this.rebConversionConvertToAva(rebFile, options
|
|
8447
|
+
public rebConversionConvertToAvaWithRequestObject(rebFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
8448
|
+
return this.rebConversionConvertToAva(rebFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
8286
8449
|
}
|
|
8287
8450
|
|
|
8288
8451
|
/**
|
|
@@ -8353,8 +8516,8 @@ export class RebConversionApi {
|
|
|
8353
8516
|
/**
|
|
8354
8517
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8355
8518
|
*/
|
|
8356
|
-
public rebConversionConvertToExcelWithRequestObject(rebFile: FileParameter, options
|
|
8357
|
-
return this.rebConversionConvertToExcel(rebFile, options
|
|
8519
|
+
public rebConversionConvertToExcelWithRequestObject(rebFile: FileParameter, options?: { writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
8520
|
+
return this.rebConversionConvertToExcel(rebFile, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.options || {});
|
|
8358
8521
|
}
|
|
8359
8522
|
|
|
8360
8523
|
/**
|
|
@@ -8364,9 +8527,10 @@ export class RebConversionApi {
|
|
|
8364
8527
|
* @param writePrices Defaults to true
|
|
8365
8528
|
* @param writeLongTexts Defaults to true
|
|
8366
8529
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
8530
|
+
* @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
8531
|
* @param {*} [options] Override http request options.
|
|
8368
8532
|
*/
|
|
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';
|
|
8533
|
+
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
8534
|
let localVarQueryParameters: any = {};
|
|
8371
8535
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
8372
8536
|
let localVarFormParams: any = {};
|
|
@@ -8383,6 +8547,10 @@ export class RebConversionApi {
|
|
|
8383
8547
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
8384
8548
|
}
|
|
8385
8549
|
|
|
8550
|
+
if (includeArticleNumbers !== undefined) {
|
|
8551
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
8552
|
+
}
|
|
8553
|
+
|
|
8386
8554
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
8387
8555
|
|
|
8388
8556
|
let localVarUseFormData = false;
|
|
@@ -8430,8 +8598,8 @@ export class RebConversionApi {
|
|
|
8430
8598
|
/**
|
|
8431
8599
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8432
8600
|
*/
|
|
8433
|
-
public rebConversionConvertToGaebWithRequestObject(rebFile: FileParameter, options
|
|
8434
|
-
return this.rebConversionConvertToGaeb(rebFile, options
|
|
8601
|
+
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; }> {
|
|
8602
|
+
return this.rebConversionConvertToGaeb(rebFile, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.options || {});
|
|
8435
8603
|
}
|
|
8436
8604
|
|
|
8437
8605
|
/**
|
|
@@ -8527,8 +8695,8 @@ export class RebConversionApi {
|
|
|
8527
8695
|
/**
|
|
8528
8696
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8529
8697
|
*/
|
|
8530
|
-
public rebConversionConvertToOenormWithRequestObject(rebFile: FileParameter, options
|
|
8531
|
-
return this.rebConversionConvertToOenorm(rebFile, options
|
|
8698
|
+
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; }> {
|
|
8699
|
+
return this.rebConversionConvertToOenorm(rebFile, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.options || {});
|
|
8532
8700
|
}
|
|
8533
8701
|
|
|
8534
8702
|
/**
|
|
@@ -8659,8 +8827,8 @@ export class SiaConversionApi {
|
|
|
8659
8827
|
/**
|
|
8660
8828
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8661
8829
|
*/
|
|
8662
|
-
public siaConversionConvertToAvaWithRequestObject(siaFile: FileParameter, options
|
|
8663
|
-
return this.siaConversionConvertToAva(siaFile, options
|
|
8830
|
+
public siaConversionConvertToAvaWithRequestObject(siaFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
8831
|
+
return this.siaConversionConvertToAva(siaFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
8664
8832
|
}
|
|
8665
8833
|
|
|
8666
8834
|
/**
|
|
@@ -8731,8 +8899,8 @@ export class SiaConversionApi {
|
|
|
8731
8899
|
/**
|
|
8732
8900
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8733
8901
|
*/
|
|
8734
|
-
public siaConversionConvertToExcelWithRequestObject(siaFile: FileParameter, options
|
|
8735
|
-
return this.siaConversionConvertToExcel(siaFile, options
|
|
8902
|
+
public siaConversionConvertToExcelWithRequestObject(siaFile: FileParameter, options?: { writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, includeArticleNumbers?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
8903
|
+
return this.siaConversionConvertToExcel(siaFile, options?.writePrices, options?.writeLongTexts, options?.conversionCulture, options?.includeArticleNumbers, options?.options || {});
|
|
8736
8904
|
}
|
|
8737
8905
|
|
|
8738
8906
|
/**
|
|
@@ -8742,9 +8910,10 @@ export class SiaConversionApi {
|
|
|
8742
8910
|
* @param writePrices Defaults to true
|
|
8743
8911
|
* @param writeLongTexts Defaults to true
|
|
8744
8912
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
8913
|
+
* @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
8914
|
* @param {*} [options] Override http request options.
|
|
8746
8915
|
*/
|
|
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';
|
|
8916
|
+
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
8917
|
let localVarQueryParameters: any = {};
|
|
8749
8918
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
8750
8919
|
let localVarFormParams: any = {};
|
|
@@ -8761,6 +8930,10 @@ export class SiaConversionApi {
|
|
|
8761
8930
|
localVarQueryParameters['ConversionCulture'] = ObjectSerializer.serialize(conversionCulture, "string");
|
|
8762
8931
|
}
|
|
8763
8932
|
|
|
8933
|
+
if (includeArticleNumbers !== undefined) {
|
|
8934
|
+
localVarQueryParameters['IncludeArticleNumbers'] = ObjectSerializer.serialize(includeArticleNumbers, "boolean");
|
|
8935
|
+
}
|
|
8936
|
+
|
|
8764
8937
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
8765
8938
|
|
|
8766
8939
|
let localVarUseFormData = false;
|
|
@@ -8808,8 +8981,8 @@ export class SiaConversionApi {
|
|
|
8808
8981
|
/**
|
|
8809
8982
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8810
8983
|
*/
|
|
8811
|
-
public siaConversionConvertToGaebWithRequestObject(siaFile: FileParameter, options
|
|
8812
|
-
return this.siaConversionConvertToGaeb(siaFile, options
|
|
8984
|
+
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; }> {
|
|
8985
|
+
return this.siaConversionConvertToGaeb(siaFile, options?.destinationGaebType, options?.targetExchangePhaseTransform, options?.enforceStrictOfferPhaseLongTextOutput, options?.exportQuantityDetermination, options?.removeUnprintableCharactersFromTexts, options?.forceIncludeDescriptions, options?.treatNullItemNumberSchemaAsInvalid, options?.options || {});
|
|
8813
8986
|
}
|
|
8814
8987
|
|
|
8815
8988
|
/**
|
|
@@ -8905,8 +9078,8 @@ export class SiaConversionApi {
|
|
|
8905
9078
|
/**
|
|
8906
9079
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
8907
9080
|
*/
|
|
8908
|
-
public siaConversionConvertToOenormWithRequestObject(siaFile: FileParameter, options
|
|
8909
|
-
return this.siaConversionConvertToOenorm(siaFile, options
|
|
9081
|
+
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; }> {
|
|
9082
|
+
return this.siaConversionConvertToOenorm(siaFile, options?.destinationOenormType, options?.tryRepairProjectStructure, options?.skipTryEnforceSchemaCompliantXmlOutput, options?.removeUnprintableCharactersFromTexts, options?.options || {});
|
|
8910
9083
|
}
|
|
8911
9084
|
|
|
8912
9085
|
/**
|
|
@@ -9137,8 +9310,8 @@ export class UglConversionApi {
|
|
|
9137
9310
|
/**
|
|
9138
9311
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
9139
9312
|
*/
|
|
9140
|
-
public uglConversionConvertToAvaWithRequestObject(uglFile: FileParameter, options
|
|
9141
|
-
return this.uglConversionConvertToAva(uglFile, options
|
|
9313
|
+
public uglConversionConvertToAvaWithRequestObject(uglFile: FileParameter, options?: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
9314
|
+
return this.uglConversionConvertToAva(uglFile, options?.removePlainTextLongTexts, options?.removeHtmlLongTexts, options?.options || {});
|
|
9142
9315
|
}
|
|
9143
9316
|
|
|
9144
9317
|
/**
|
|
@@ -9259,8 +9432,8 @@ export class ValidationApi {
|
|
|
9259
9432
|
/**
|
|
9260
9433
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
9261
9434
|
*/
|
|
9262
|
-
public validationValidateFileWithRequestObject(avaFile: FileParameter, options
|
|
9263
|
-
return this.validationValidateFile(avaFile, options
|
|
9435
|
+
public validationValidateFileWithRequestObject(avaFile: FileParameter, options?: { fileValidationSourceType?: 'Gaeb' | 'Oenorm', options?: any }): Promise<{ response: http.IncomingMessage; body: ValidationResult; }> {
|
|
9436
|
+
return this.validationValidateFile(avaFile, options?.fileValidationSourceType, options?.options || {});
|
|
9264
9437
|
}
|
|
9265
9438
|
|
|
9266
9439
|
/**
|