@dangl/avacloud-client-node 1.20.0 → 1.21.1

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.ts CHANGED
@@ -1,8 +1,8 @@
1
- /**
2
- * AVACloud API 1.32.0
1
+ /**
2
+ * AVACloud API 1.36.0
3
3
  * AVACloud API specification
4
4
  *
5
- * OpenAPI spec version: 1.32.0
5
+ * OpenAPI spec version: 1.36.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -594,6 +594,21 @@ export class ComissionStatusDto {
594
594
  }
595
595
  }
596
596
 
597
+ /**
598
+ * This enum represents types of price inquiries
599
+ */
600
+ export class CommerceInquiryTypeDto {
601
+
602
+ static discriminator: string | undefined = undefined;
603
+
604
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
605
+ ];
606
+
607
+ static getAttributeTypeMap() {
608
+ return CommerceInquiryTypeDto.attributeTypeMap;
609
+ }
610
+ }
611
+
597
612
  /**
598
613
  * This class holds specialized information that is relevant to trade or commerce based data exchange scenarios, e.g. between customers, vendors, suppliers and distributors. It is used when exporting to GAEB XML 9x exchange phases.
599
614
  */
@@ -618,6 +633,10 @@ export class CommercePropertiesDto {
618
633
  * This maps to CatalogArtNo in GAEB XML and represents a key that maps to an entry in a specific catalogue. The referenced catalogue is usually a customer specific one, not related to CatalogueReferences.
619
634
  */
620
635
  'catalogueArticleNumber'?: string;
636
+ /**
637
+ * This optional property can be used to indicate the basis for prices for a single position. Price basis means that the price is given per unit of the basis, e.g. per a pack of five when this property is set to '5'.
638
+ */
639
+ 'priceBasis'?: number;
621
640
 
622
641
  static discriminator: string | undefined = undefined;
623
642
 
@@ -646,6 +665,11 @@ export class CommercePropertiesDto {
646
665
  "name": "catalogueArticleNumber",
647
666
  "baseName": "catalogueArticleNumber",
648
667
  "type": "string"
668
+ },
669
+ {
670
+ "name": "priceBasis",
671
+ "baseName": "priceBasis",
672
+ "type": "number"
649
673
  } ];
650
674
 
651
675
  static getAttributeTypeMap() {
@@ -1908,6 +1932,21 @@ export class PartyInformationDto {
1908
1932
  }
1909
1933
  }
1910
1934
 
1935
+ /**
1936
+ * This enum represents the different ways in which a complementing position type can be specified. It is typically only used in GAEB exports, since in Dangl.AVA, complementing positions are always explicitly referenced.
1937
+ */
1938
+ export class PositionComplementingTypeDto {
1939
+
1940
+ static discriminator: string | undefined = undefined;
1941
+
1942
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
1943
+ ];
1944
+
1945
+ static getAttributeTypeMap() {
1946
+ return PositionComplementingTypeDto.attributeTypeMap;
1947
+ }
1948
+ }
1949
+
1911
1950
  export class PositionDto extends IElementDto {
1912
1951
  /**
1913
1952
  * Will return the price per unit, rounded according to the project settings or the default value of three decimal places
@@ -1926,6 +1965,22 @@ export class PositionDto extends IElementDto {
1926
1965
  */
1927
1966
  'quantityOverride'?: number;
1928
1967
  /**
1968
+ * This indicates true if this specific position is specified as a complementing position for any base position.
1969
+ */
1970
+ 'isComplementingPosition': boolean;
1971
+ /**
1972
+ * If IsComplementingPosition is set to true, this will indicate which base positions are targeted by this complementing position.
1973
+ */
1974
+ 'complementsPositions'?: Array<string>;
1975
+ /**
1976
+ * You can use this property to directly specify the total price of this position as a percentage of the sum of the total prices of base positions that this position complements. It will essentially set the total price for this position to the sum of all total prices of the positions specified in ComplementsPositions multiplied by the percentage here. If present, this has precedence over UnitPriceOverride as well as QuantityOverride.
1977
+ */
1978
+ 'complementingPricePercentageOverride'?: number;
1979
+ /**
1980
+ * This is a read only property showing the total price of this positions as a percentage of the sum of the total prices of all base positions, in case this position is a complementing positions. If this position is not a complementing position, this will be null. Also, if no prices are present, this will also be null.
1981
+ */
1982
+ 'complementingPricePercentage'?: number;
1983
+ /**
1929
1984
  * The tag of the unit used for this positions quantity.
1930
1985
  */
1931
1986
  'unitTag'?: string;
@@ -2058,7 +2113,6 @@ export class PositionDto extends IElementDto {
2058
2113
  * This identifier can be used to point to the Id of a position in the same ServiceSpecification that acts as a base position. It matches \"Bezugsposition\" in GAEB. This can be used for positions that repeat partially or are linked together
2059
2114
  */
2060
2115
  'repetitionTo'?: string;
2061
- 'type'?: string;
2062
2116
  /**
2063
2117
  * This represents a standardized description. This means that instead of solely relying on texts to describe a service, external standards and definitions are referenced for a common understanding.
2064
2118
  */
@@ -2092,6 +2146,10 @@ export class PositionDto extends IElementDto {
2092
2146
  */
2093
2147
  'addendumStatus'?: AddendumStatusDto;
2094
2148
  'hasBidderCommentInHtmlLongText': boolean;
2149
+ /**
2150
+ * This property can optionally be used in GAEB exchange scenarios. It is only meaningful if this position itself is a complementing position, meaning if this position is marked in other positions in their ComplementedBy list. Then, it specifies how the complementing should be expressed in GAEB. By default, positions are always explicitly referenced, but other options are possible. Please also note that the Dangl.AVA.Converter package, which is used for GAEB exports, will check if the given type is valid in the current project configuration. If not, directly referenced positions will be used as fallback.
2151
+ */
2152
+ 'gaebComplementingType': PositionComplementingTypeDto;
2095
2153
 
2096
2154
  static discriminator: string | undefined = undefined;
2097
2155
 
@@ -2116,6 +2174,26 @@ export class PositionDto extends IElementDto {
2116
2174
  "baseName": "quantityOverride",
2117
2175
  "type": "number"
2118
2176
  },
2177
+ {
2178
+ "name": "isComplementingPosition",
2179
+ "baseName": "isComplementingPosition",
2180
+ "type": "boolean"
2181
+ },
2182
+ {
2183
+ "name": "complementsPositions",
2184
+ "baseName": "complementsPositions",
2185
+ "type": "Array<string>"
2186
+ },
2187
+ {
2188
+ "name": "complementingPricePercentageOverride",
2189
+ "baseName": "complementingPricePercentageOverride",
2190
+ "type": "number"
2191
+ },
2192
+ {
2193
+ "name": "complementingPricePercentage",
2194
+ "baseName": "complementingPricePercentage",
2195
+ "type": "number"
2196
+ },
2119
2197
  {
2120
2198
  "name": "unitTag",
2121
2199
  "baseName": "unitTag",
@@ -2286,11 +2364,6 @@ export class PositionDto extends IElementDto {
2286
2364
  "baseName": "repetitionTo",
2287
2365
  "type": "string"
2288
2366
  },
2289
- {
2290
- "name": "type",
2291
- "baseName": "type",
2292
- "type": "string"
2293
- },
2294
2367
  {
2295
2368
  "name": "standardizedDescription",
2296
2369
  "baseName": "standardizedDescription",
@@ -2335,6 +2408,11 @@ export class PositionDto extends IElementDto {
2335
2408
  "name": "hasBidderCommentInHtmlLongText",
2336
2409
  "baseName": "hasBidderCommentInHtmlLongText",
2337
2410
  "type": "boolean"
2411
+ },
2412
+ {
2413
+ "name": "gaebComplementingType",
2414
+ "baseName": "gaebComplementingType",
2415
+ "type": "PositionComplementingTypeDto"
2338
2416
  } ];
2339
2417
 
2340
2418
  static getAttributeTypeMap() {
@@ -3273,6 +3351,128 @@ export class STLBReferenceDto {
3273
3351
  }
3274
3352
  }
3275
3353
 
3354
+ /**
3355
+ * This class represents properties used in commerce exchange scenarios
3356
+ */
3357
+ export class ServiceSpecificationCommercePropertiesDto {
3358
+ /**
3359
+ * The date until the price is valid or fixed.
3360
+ */
3361
+ 'fixedPriceDate'?: Date;
3362
+ /**
3363
+ * The date of the delivery voucher note.
3364
+ */
3365
+ 'deliveryVoucherDate'?: Date;
3366
+ /**
3367
+ * The actual date of delivery.
3368
+ */
3369
+ 'deliveryDate'?: Date;
3370
+ /**
3371
+ * The number of the inquiry, usually in a context of offer requests.
3372
+ */
3373
+ 'inquiryNumber'?: string;
3374
+ /**
3375
+ * The number of the offer, usually in a context of an offer.
3376
+ */
3377
+ 'offerNumber'?: string;
3378
+ /**
3379
+ * The order number, usually in the context of a grant or contract.
3380
+ */
3381
+ 'orderNumber'?: string;
3382
+ /**
3383
+ * The order confirmation number
3384
+ */
3385
+ 'orderConfirmationNumber'?: string;
3386
+ /**
3387
+ * The number of the delivery, e.g. on the delivery note voucher.
3388
+ */
3389
+ 'deliveryNumber'?: string;
3390
+ /**
3391
+ * The reference number of the customer / buyer.
3392
+ */
3393
+ 'customerReferenceNumber'?: string;
3394
+ /**
3395
+ * The reference number of the supplier / bidder.
3396
+ */
3397
+ 'supplierReferenceNumber'?: string;
3398
+ /**
3399
+ * The type of shippment.
3400
+ */
3401
+ 'shippingType'?: string;
3402
+ /**
3403
+ * The type of the price inquiry.
3404
+ */
3405
+ 'inquiryType': CommerceInquiryTypeDto;
3406
+
3407
+ static discriminator: string | undefined = undefined;
3408
+
3409
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
3410
+ {
3411
+ "name": "fixedPriceDate",
3412
+ "baseName": "fixedPriceDate",
3413
+ "type": "Date"
3414
+ },
3415
+ {
3416
+ "name": "deliveryVoucherDate",
3417
+ "baseName": "deliveryVoucherDate",
3418
+ "type": "Date"
3419
+ },
3420
+ {
3421
+ "name": "deliveryDate",
3422
+ "baseName": "deliveryDate",
3423
+ "type": "Date"
3424
+ },
3425
+ {
3426
+ "name": "inquiryNumber",
3427
+ "baseName": "inquiryNumber",
3428
+ "type": "string"
3429
+ },
3430
+ {
3431
+ "name": "offerNumber",
3432
+ "baseName": "offerNumber",
3433
+ "type": "string"
3434
+ },
3435
+ {
3436
+ "name": "orderNumber",
3437
+ "baseName": "orderNumber",
3438
+ "type": "string"
3439
+ },
3440
+ {
3441
+ "name": "orderConfirmationNumber",
3442
+ "baseName": "orderConfirmationNumber",
3443
+ "type": "string"
3444
+ },
3445
+ {
3446
+ "name": "deliveryNumber",
3447
+ "baseName": "deliveryNumber",
3448
+ "type": "string"
3449
+ },
3450
+ {
3451
+ "name": "customerReferenceNumber",
3452
+ "baseName": "customerReferenceNumber",
3453
+ "type": "string"
3454
+ },
3455
+ {
3456
+ "name": "supplierReferenceNumber",
3457
+ "baseName": "supplierReferenceNumber",
3458
+ "type": "string"
3459
+ },
3460
+ {
3461
+ "name": "shippingType",
3462
+ "baseName": "shippingType",
3463
+ "type": "string"
3464
+ },
3465
+ {
3466
+ "name": "inquiryType",
3467
+ "baseName": "inquiryType",
3468
+ "type": "CommerceInquiryTypeDto"
3469
+ } ];
3470
+
3471
+ static getAttributeTypeMap() {
3472
+ return ServiceSpecificationCommercePropertiesDto.attributeTypeMap;
3473
+ }
3474
+ }
3475
+
3276
3476
  /**
3277
3477
  * This is the base class that holds information about a whole service specification.
3278
3478
  */
@@ -3461,6 +3661,10 @@ export class ServiceSpecificationDto {
3461
3661
  * This indicates, if this element is part of an addendum an, if yes, with what status.
3462
3662
  */
3463
3663
  'addendumStatus'?: AddendumStatusDto;
3664
+ /**
3665
+ * This property holds additional information that's only valid in commerce exchange phases.
3666
+ */
3667
+ 'commerceProperties'?: ServiceSpecificationCommercePropertiesDto;
3464
3668
 
3465
3669
  static discriminator: string | undefined = undefined;
3466
3670
 
@@ -3694,6 +3898,11 @@ export class ServiceSpecificationDto {
3694
3898
  "name": "addendumStatus",
3695
3899
  "baseName": "addendumStatus",
3696
3900
  "type": "AddendumStatusDto"
3901
+ },
3902
+ {
3903
+ "name": "commerceProperties",
3904
+ "baseName": "commerceProperties",
3905
+ "type": "ServiceSpecificationCommercePropertiesDto"
3697
3906
  } ];
3698
3907
 
3699
3908
  static getAttributeTypeMap() {
@@ -3799,7 +4008,6 @@ export class ServiceSpecificationGroupDto extends IElementDto {
3799
4008
  * If this group is an alternative for a base group, then this property should point to the id of the group in this service specification that it can replace. If this is an alternative group to a base group, the PriceType should typically be set to \"WithoutTotal\" so this group does not factor into total costs. The PriceType is not changed when this property is set
3800
4009
  */
3801
4010
  'alternativeTo'?: string;
3802
- 'type'?: string;
3803
4011
  /**
3804
4012
  * This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
3805
4013
  */
@@ -3941,11 +4149,6 @@ export class ServiceSpecificationGroupDto extends IElementDto {
3941
4149
  "baseName": "alternativeTo",
3942
4150
  "type": "string"
3943
4151
  },
3944
- {
3945
- "name": "type",
3946
- "baseName": "type",
3947
- "type": "string"
3948
- },
3949
4152
  {
3950
4153
  "name": "oenormProperties",
3951
4154
  "baseName": "oenormProperties",
@@ -4621,6 +4824,7 @@ let typeMap: {[index: string]: any} = {
4621
4824
  "CatalogueReferenceDto": CatalogueReferenceDto,
4622
4825
  "CatalogueTypeDto": CatalogueTypeDto,
4623
4826
  "ComissionStatusDto": ComissionStatusDto,
4827
+ "CommerceInquiryTypeDto": CommerceInquiryTypeDto,
4624
4828
  "CommercePropertiesDto": CommercePropertiesDto,
4625
4829
  "ComplementedByQuantityDto": ComplementedByQuantityDto,
4626
4830
  "DestinationGaebExchangePhase": DestinationGaebExchangePhase,
@@ -4651,6 +4855,7 @@ let typeMap: {[index: string]: any} = {
4651
4855
  "OenormPropertiesDto": OenormPropertiesDto,
4652
4856
  "OriginDto": OriginDto,
4653
4857
  "PartyInformationDto": PartyInformationDto,
4858
+ "PositionComplementingTypeDto": PositionComplementingTypeDto,
4654
4859
  "PositionDto": PositionDto,
4655
4860
  "PositionTypeDto": PositionTypeDto,
4656
4861
  "PostAvaProjectValidationSourceOptions": PostAvaProjectValidationSourceOptions,
@@ -4671,6 +4876,7 @@ let typeMap: {[index: string]: any} = {
4671
4876
  "ResponseErrorType": ResponseErrorType,
4672
4877
  "STLBKeyDto": STLBKeyDto,
4673
4878
  "STLBReferenceDto": STLBReferenceDto,
4879
+ "ServiceSpecificationCommercePropertiesDto": ServiceSpecificationCommercePropertiesDto,
4674
4880
  "ServiceSpecificationDto": ServiceSpecificationDto,
4675
4881
  "ServiceSpecificationGroupDto": ServiceSpecificationGroupDto,
4676
4882
  "ServiceTypeDto": ServiceTypeDto,
@@ -4792,6 +4998,13 @@ export class AslvConversionApi {
4792
4998
  set accessToken(token: string) {
4793
4999
  this.authentications['Dangl.Identity'].accessToken = token;
4794
5000
  }
5001
+ /**
5002
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5003
+ */
5004
+ public aslvConversionConvertToAvaWithRequestObject(aslvFile: FileParameter, options: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
5005
+ return this.aslvConversionConvertToAva(aslvFile, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
5006
+ }
5007
+
4795
5008
  /**
4796
5009
  *
4797
5010
  * @summary Converts Aslv files to Dangl.AVA projects
@@ -4800,8 +5013,7 @@ export class AslvConversionApi {
4800
5013
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
4801
5014
  * @param {*} [options] Override http request options.
4802
5015
  */
4803
- public aslvConversionConvertToAva (aslvFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
4804
- const localVarPath = this.basePath + '/conversion/aslv/ava';
5016
+ public aslvConversionConvertToAva (aslvFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> { const localVarPath = this.basePath + '/conversion/aslv/ava';
4805
5017
  let localVarQueryParameters: any = {};
4806
5018
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
4807
5019
  let localVarFormParams: any = {};
@@ -4858,6 +5070,13 @@ export class AslvConversionApi {
4858
5070
  });
4859
5071
  });
4860
5072
  }
5073
+ /**
5074
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5075
+ */
5076
+ public aslvConversionConvertToExcelWithRequestObject(aslvFile: FileParameter, options: { writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5077
+ return this.aslvConversionConvertToExcel(aslvFile, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
5078
+ }
5079
+
4861
5080
  /**
4862
5081
  *
4863
5082
  * @summary Converts Aslv files to Excel
@@ -4867,8 +5086,7 @@ export class AslvConversionApi {
4867
5086
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
4868
5087
  * @param {*} [options] Override http request options.
4869
5088
  */
4870
- public aslvConversionConvertToExcel (aslvFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4871
- const localVarPath = this.basePath + '/conversion/aslv/excel';
5089
+ 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';
4872
5090
  let localVarQueryParameters: any = {};
4873
5091
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
4874
5092
  let localVarFormParams: any = {};
@@ -4929,6 +5147,13 @@ export class AslvConversionApi {
4929
5147
  });
4930
5148
  });
4931
5149
  }
5150
+ /**
5151
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5152
+ */
5153
+ 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; }> {
5154
+ return this.aslvConversionConvertToGaeb(aslvFile, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
5155
+ }
5156
+
4932
5157
  /**
4933
5158
  *
4934
5159
  * @summary Converts Aslv files to GAEB files
@@ -4942,14 +5167,13 @@ export class AslvConversionApi {
4942
5167
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
4943
5168
  * @param {*} [options] Override http request options.
4944
5169
  */
4945
- public aslvConversionConvertToGaeb (aslvFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
4946
- const localVarPath = this.basePath + '/conversion/aslv/gaeb';
5170
+ public aslvConversionConvertToGaeb (aslvFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | '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; }> { const localVarPath = this.basePath + '/conversion/aslv/gaeb';
4947
5171
  let localVarQueryParameters: any = {};
4948
5172
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
4949
5173
  let localVarFormParams: any = {};
4950
5174
 
4951
5175
  if (destinationGaebType !== undefined) {
4952
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
5176
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
4953
5177
  }
4954
5178
 
4955
5179
  if (targetExchangePhaseTransform !== undefined) {
@@ -5020,6 +5244,13 @@ export class AslvConversionApi {
5020
5244
  });
5021
5245
  });
5022
5246
  }
5247
+ /**
5248
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5249
+ */
5250
+ 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; }> {
5251
+ return this.aslvConversionConvertToOenorm(aslvFile, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
5252
+ }
5253
+
5023
5254
  /**
5024
5255
  *
5025
5256
  * @summary Converts Aslv files to Oenorm files
@@ -5030,8 +5261,7 @@ export class AslvConversionApi {
5030
5261
  * @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.
5031
5262
  * @param {*} [options] Override http request options.
5032
5263
  */
5033
- public aslvConversionConvertToOenorm (aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5034
- const localVarPath = this.basePath + '/conversion/aslv/oenorm';
5264
+ public aslvConversionConvertToOenorm (aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/aslv/oenorm';
5035
5265
  let localVarQueryParameters: any = {};
5036
5266
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5037
5267
  let localVarFormParams: any = {};
@@ -5146,6 +5376,13 @@ export class AvaConversionApi {
5146
5376
  set accessToken(token: string) {
5147
5377
  this.authentications['Dangl.Identity'].accessToken = token;
5148
5378
  }
5379
+ /**
5380
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5381
+ */
5382
+ public avaConversionConvertToAvaWithRequestObject(avaProject: ProjectDto, options: { tryAutoGenerateItemNumbersAndSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
5383
+ return this.avaConversionConvertToAva(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
5384
+ }
5385
+
5149
5386
  /**
5150
5387
  *
5151
5388
  * @summary Converts Dangl.AVA projects to Dangl.AVA. This is useful when you want to generate the calculated properties.
@@ -5155,8 +5392,7 @@ export class AvaConversionApi {
5155
5392
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
5156
5393
  * @param {*} [options] Override http request options.
5157
5394
  */
5158
- public avaConversionConvertToAva (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
5159
- const localVarPath = this.basePath + '/conversion/ava/ava';
5395
+ public avaConversionConvertToAva (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> { const localVarPath = this.basePath + '/conversion/ava/ava';
5160
5396
  let localVarQueryParameters: any = {};
5161
5397
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5162
5398
  let localVarFormParams: any = {};
@@ -5218,6 +5454,13 @@ export class AvaConversionApi {
5218
5454
  });
5219
5455
  });
5220
5456
  }
5457
+ /**
5458
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5459
+ */
5460
+ public avaConversionConvertToExcelWithRequestObject(avaProject: ProjectDto, options: { tryAutoGenerateItemNumbersAndSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5461
+ return this.avaConversionConvertToExcel(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
5462
+ }
5463
+
5221
5464
  /**
5222
5465
  *
5223
5466
  * @summary Converts Dangl.AVA projects to Excel
@@ -5228,8 +5471,7 @@ export class AvaConversionApi {
5228
5471
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
5229
5472
  * @param {*} [options] Override http request options.
5230
5473
  */
5231
- public avaConversionConvertToExcel (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5232
- const localVarPath = this.basePath + '/conversion/ava/excel';
5474
+ 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';
5233
5475
  let localVarQueryParameters: any = {};
5234
5476
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5235
5477
  let localVarFormParams: any = {};
@@ -5296,6 +5538,13 @@ export class AvaConversionApi {
5296
5538
  });
5297
5539
  });
5298
5540
  }
5541
+ /**
5542
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5543
+ */
5544
+ 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; }> {
5545
+ return this.avaConversionConvertToGaeb(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
5546
+ }
5547
+
5299
5548
  /**
5300
5549
  *
5301
5550
  * @summary Converts Dangl.AVA projects to GAEB
@@ -5310,8 +5559,7 @@ export class AvaConversionApi {
5310
5559
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
5311
5560
  * @param {*} [options] Override http request options.
5312
5561
  */
5313
- public avaConversionConvertToGaeb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5314
- const localVarPath = this.basePath + '/conversion/ava/gaeb';
5562
+ public avaConversionConvertToGaeb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | '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; }> { const localVarPath = this.basePath + '/conversion/ava/gaeb';
5315
5563
  let localVarQueryParameters: any = {};
5316
5564
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5317
5565
  let localVarFormParams: any = {};
@@ -5326,7 +5574,7 @@ export class AvaConversionApi {
5326
5574
  }
5327
5575
 
5328
5576
  if (destinationGaebType !== undefined) {
5329
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
5577
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
5330
5578
  }
5331
5579
 
5332
5580
  if (targetExchangePhaseTransform !== undefined) {
@@ -5394,6 +5642,13 @@ export class AvaConversionApi {
5394
5642
  });
5395
5643
  });
5396
5644
  }
5645
+ /**
5646
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5647
+ */
5648
+ 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; }> {
5649
+ return this.avaConversionConvertToOenorm(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
5650
+ }
5651
+
5397
5652
  /**
5398
5653
  *
5399
5654
  * @summary Converts Dangl.AVA projects to Oenorm
@@ -5405,8 +5660,7 @@ export class AvaConversionApi {
5405
5660
  * @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.
5406
5661
  * @param {*} [options] Override http request options.
5407
5662
  */
5408
- public avaConversionConvertToOenorm (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5409
- const localVarPath = this.basePath + '/conversion/ava/oenorm';
5663
+ public avaConversionConvertToOenorm (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/ava/oenorm';
5410
5664
  let localVarQueryParameters: any = {};
5411
5665
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5412
5666
  let localVarFormParams: any = {};
@@ -5477,6 +5731,13 @@ export class AvaConversionApi {
5477
5731
  });
5478
5732
  });
5479
5733
  }
5734
+ /**
5735
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5736
+ */
5737
+ public avaConversionConvertToRebWithRequestObject(avaProject: ProjectDto, options: { tryAutoGenerateItemNumbersAndSchema?: boolean, destinationRebType?: 'D11' | 'X31GaebXmlV32', options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5738
+ return this.avaConversionConvertToReb(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.destinationRebType, options.options || {});
5739
+ }
5740
+
5480
5741
  /**
5481
5742
  *
5482
5743
  * @summary Converts Dangl.AVA projects to REB
@@ -5485,8 +5746,7 @@ export class AvaConversionApi {
5485
5746
  * @param destinationRebType Defaults to D11
5486
5747
  * @param {*} [options] Override http request options.
5487
5748
  */
5488
- public avaConversionConvertToReb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationRebType?: 'D11' | 'X31GaebXmlV32', options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5489
- const localVarPath = this.basePath + '/conversion/ava/reb';
5749
+ public avaConversionConvertToReb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationRebType?: 'D11' | 'X31GaebXmlV32', options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/ava/reb';
5490
5750
  let localVarQueryParameters: any = {};
5491
5751
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5492
5752
  let localVarFormParams: any = {};
@@ -5545,6 +5805,13 @@ export class AvaConversionApi {
5545
5805
  });
5546
5806
  });
5547
5807
  }
5808
+ /**
5809
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5810
+ */
5811
+ public avaConversionConvertToSiaWithRequestObject(avaProject: ProjectDto, options: { tryAutoGenerateItemNumbersAndSchema?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5812
+ return this.avaConversionConvertToSia(avaProject, options.tryAutoGenerateItemNumbersAndSchema, options.options || {});
5813
+ }
5814
+
5548
5815
  /**
5549
5816
  *
5550
5817
  * @summary Converts Dangl.AVA projects to SIA 451
@@ -5552,8 +5819,7 @@ export class AvaConversionApi {
5552
5819
  * @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.
5553
5820
  * @param {*} [options] Override http request options.
5554
5821
  */
5555
- public avaConversionConvertToSia (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5556
- const localVarPath = this.basePath + '/conversion/ava/sia';
5822
+ public avaConversionConvertToSia (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/ava/sia';
5557
5823
  let localVarQueryParameters: any = {};
5558
5824
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5559
5825
  let localVarFormParams: any = {};
@@ -5714,14 +5980,20 @@ export class DanglIdentityApi {
5714
5980
  });
5715
5981
  });
5716
5982
  }
5983
+ /**
5984
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
5985
+ */
5986
+ public danglIdentityLoginWithCookieWithRequestObject(model: LoginPost, options: { redirectUrl?: string, options?: any }): Promise<{ response: http.IncomingMessage; body?: any; }> {
5987
+ return this.danglIdentityLoginWithCookie(model, options.redirectUrl, options.options || {});
5988
+ }
5989
+
5717
5990
  /**
5718
5991
  *
5719
5992
  * @param model
5720
5993
  * @param redirectUrl
5721
5994
  * @param {*} [options] Override http request options.
5722
5995
  */
5723
- public danglIdentityLoginWithCookie (model: LoginPost, redirectUrl?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
5724
- const localVarPath = this.basePath + '/identity/login';
5996
+ public danglIdentityLoginWithCookie (model: LoginPost, redirectUrl?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body?: any; }> { const localVarPath = this.basePath + '/identity/login';
5725
5997
  let localVarQueryParameters: any = {};
5726
5998
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
5727
5999
  let localVarFormParams: any = {};
@@ -6038,6 +6310,13 @@ export class ExcelConversionApi {
6038
6310
  set accessToken(token: string) {
6039
6311
  this.authentications['Dangl.Identity'].accessToken = token;
6040
6312
  }
6313
+ /**
6314
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6315
+ */
6316
+ public excelConversionConvertToAvaWithRequestObject(excelFile: FileParameter, options: { readNewElements?: boolean, rebuildItemNumberSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
6317
+ return this.excelConversionConvertToAva(excelFile, options.readNewElements, options.rebuildItemNumberSchema, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
6318
+ }
6319
+
6041
6320
  /**
6042
6321
  *
6043
6322
  * @summary Converts Excel files to Dangl.AVA projects.
@@ -6048,8 +6327,7 @@ export class ExcelConversionApi {
6048
6327
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
6049
6328
  * @param {*} [options] Override http request options.
6050
6329
  */
6051
- public excelConversionConvertToAva (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
6052
- const localVarPath = this.basePath + '/conversion/excel/ava';
6330
+ public excelConversionConvertToAva (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> { const localVarPath = this.basePath + '/conversion/excel/ava';
6053
6331
  let localVarQueryParameters: any = {};
6054
6332
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6055
6333
  let localVarFormParams: any = {};
@@ -6114,6 +6392,13 @@ export class ExcelConversionApi {
6114
6392
  });
6115
6393
  });
6116
6394
  }
6395
+ /**
6396
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6397
+ */
6398
+ public excelConversionConvertToExcelWithRequestObject(excelFile: FileParameter, options: { readNewElements?: boolean, rebuildItemNumberSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6399
+ return this.excelConversionConvertToExcel(excelFile, options.readNewElements, options.rebuildItemNumberSchema, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
6400
+ }
6401
+
6117
6402
  /**
6118
6403
  *
6119
6404
  * @summary Converts Excel files to Excel files. Used, for example, when elements were added in excel to generate or modify a project. The Excel file can then be shared containing the full project with all formattings, formulas and styles applied.
@@ -6125,8 +6410,7 @@ export class ExcelConversionApi {
6125
6410
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
6126
6411
  * @param {*} [options] Override http request options.
6127
6412
  */
6128
- public excelConversionConvertToExcel (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6129
- const localVarPath = this.basePath + '/conversion/excel/excel';
6413
+ 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';
6130
6414
  let localVarQueryParameters: any = {};
6131
6415
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6132
6416
  let localVarFormParams: any = {};
@@ -6195,6 +6479,13 @@ export class ExcelConversionApi {
6195
6479
  });
6196
6480
  });
6197
6481
  }
6482
+ /**
6483
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6484
+ */
6485
+ 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; }> {
6486
+ return this.excelConversionConvertToGaeb(excelFile, options.readNewElements, options.rebuildItemNumberSchema, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
6487
+ }
6488
+
6198
6489
  /**
6199
6490
  *
6200
6491
  * @summary Converts Excel files to GAEB files.
@@ -6210,8 +6501,7 @@ export class ExcelConversionApi {
6210
6501
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
6211
6502
  * @param {*} [options] Override http request options.
6212
6503
  */
6213
- public excelConversionConvertToGaeb (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6214
- const localVarPath = this.basePath + '/conversion/excel/gaeb';
6504
+ public excelConversionConvertToGaeb (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | '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; }> { const localVarPath = this.basePath + '/conversion/excel/gaeb';
6215
6505
  let localVarQueryParameters: any = {};
6216
6506
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6217
6507
  let localVarFormParams: any = {};
@@ -6225,7 +6515,7 @@ export class ExcelConversionApi {
6225
6515
  }
6226
6516
 
6227
6517
  if (destinationGaebType !== undefined) {
6228
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
6518
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
6229
6519
  }
6230
6520
 
6231
6521
  if (targetExchangePhaseTransform !== undefined) {
@@ -6296,6 +6586,13 @@ export class ExcelConversionApi {
6296
6586
  });
6297
6587
  });
6298
6588
  }
6589
+ /**
6590
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6591
+ */
6592
+ 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; }> {
6593
+ return this.excelConversionConvertToOenorm(excelFile, options.readNewElements, options.rebuildItemNumberSchema, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
6594
+ }
6595
+
6299
6596
  /**
6300
6597
  *
6301
6598
  * @summary Converts Excel files to Oenorm files.
@@ -6308,8 +6605,7 @@ export class ExcelConversionApi {
6308
6605
  * @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.
6309
6606
  * @param {*} [options] Override http request options.
6310
6607
  */
6311
- public excelConversionConvertToOenorm (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6312
- const localVarPath = this.basePath + '/conversion/excel/oenorm';
6608
+ public excelConversionConvertToOenorm (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/excel/oenorm';
6313
6609
  let localVarQueryParameters: any = {};
6314
6610
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6315
6611
  let localVarFormParams: any = {};
@@ -6432,6 +6728,13 @@ export class GaebConversionApi {
6432
6728
  set accessToken(token: string) {
6433
6729
  this.authentications['Dangl.Identity'].accessToken = token;
6434
6730
  }
6731
+ /**
6732
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6733
+ */
6734
+ public gaebConversionConvertToAvaWithRequestObject(gaebFile: FileParameter, options: { supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
6735
+ return this.gaebConversionConvertToAva(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
6736
+ }
6737
+
6435
6738
  /**
6436
6739
  *
6437
6740
  * @summary Converts GAEB files to Dangl.AVA projects
@@ -6441,8 +6744,7 @@ export class GaebConversionApi {
6441
6744
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
6442
6745
  * @param {*} [options] Override http request options.
6443
6746
  */
6444
- public gaebConversionConvertToAva (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
6445
- const localVarPath = this.basePath + '/conversion/gaeb/ava';
6747
+ public gaebConversionConvertToAva (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> { const localVarPath = this.basePath + '/conversion/gaeb/ava';
6446
6748
  let localVarQueryParameters: any = {};
6447
6749
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6448
6750
  let localVarFormParams: any = {};
@@ -6503,6 +6805,13 @@ export class GaebConversionApi {
6503
6805
  });
6504
6806
  });
6505
6807
  }
6808
+ /**
6809
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6810
+ */
6811
+ public gaebConversionConvertToExcelWithRequestObject(gaebFile: FileParameter, options: { supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6812
+ return this.gaebConversionConvertToExcel(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
6813
+ }
6814
+
6506
6815
  /**
6507
6816
  *
6508
6817
  * @summary Converts GAEB files to Excel
@@ -6513,8 +6822,7 @@ export class GaebConversionApi {
6513
6822
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
6514
6823
  * @param {*} [options] Override http request options.
6515
6824
  */
6516
- public gaebConversionConvertToExcel (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6517
- const localVarPath = this.basePath + '/conversion/gaeb/excel';
6825
+ public gaebConversionConvertToExcel (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/excel';
6518
6826
  let localVarQueryParameters: any = {};
6519
6827
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6520
6828
  let localVarFormParams: any = {};
@@ -6579,6 +6887,13 @@ export class GaebConversionApi {
6579
6887
  });
6580
6888
  });
6581
6889
  }
6890
+ /**
6891
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6892
+ */
6893
+ 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, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6894
+ return this.gaebConversionConvertToGaeb(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
6895
+ }
6896
+
6582
6897
  /**
6583
6898
  *
6584
6899
  * @summary Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files.
@@ -6593,8 +6908,7 @@ export class GaebConversionApi {
6593
6908
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
6594
6909
  * @param {*} [options] Override http request options.
6595
6910
  */
6596
- public gaebConversionConvertToGaeb (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6597
- const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
6911
+ 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, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
6598
6912
  let localVarQueryParameters: any = {};
6599
6913
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6600
6914
  let localVarFormParams: any = {};
@@ -6604,7 +6918,7 @@ export class GaebConversionApi {
6604
6918
  }
6605
6919
 
6606
6920
  if (destinationGaebType !== undefined) {
6607
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
6921
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
6608
6922
  }
6609
6923
 
6610
6924
  if (targetExchangePhaseTransform !== undefined) {
@@ -6675,6 +6989,13 @@ export class GaebConversionApi {
6675
6989
  });
6676
6990
  });
6677
6991
  }
6992
+ /**
6993
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
6994
+ */
6995
+ public gaebConversionConvertToOenormWithRequestObject(gaebFile: FileParameter, options: { supportSkippedItemNumberLevelsInPositions?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6996
+ return this.gaebConversionConvertToOenorm(gaebFile, options.supportSkippedItemNumberLevelsInPositions, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
6997
+ }
6998
+
6678
6999
  /**
6679
7000
  *
6680
7001
  * @summary Converts GAEB files to Oenorm files
@@ -6686,8 +7007,7 @@ export class GaebConversionApi {
6686
7007
  * @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.
6687
7008
  * @param {*} [options] Override http request options.
6688
7009
  */
6689
- public gaebConversionConvertToOenorm (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6690
- const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
7010
+ public gaebConversionConvertToOenorm (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/gaeb/oenorm';
6691
7011
  let localVarQueryParameters: any = {};
6692
7012
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6693
7013
  let localVarFormParams: any = {};
@@ -6806,6 +7126,13 @@ export class OenormConversionApi {
6806
7126
  set accessToken(token: string) {
6807
7127
  this.authentications['Dangl.Identity'].accessToken = token;
6808
7128
  }
7129
+ /**
7130
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7131
+ */
7132
+ public oenormConversionConvertToAvaWithRequestObject(oenormFile: FileParameter, options: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
7133
+ return this.oenormConversionConvertToAva(oenormFile, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
7134
+ }
7135
+
6809
7136
  /**
6810
7137
  *
6811
7138
  * @summary Converts ÖNorm files to Dangl.AVA projects
@@ -6814,8 +7141,7 @@ export class OenormConversionApi {
6814
7141
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
6815
7142
  * @param {*} [options] Override http request options.
6816
7143
  */
6817
- public oenormConversionConvertToAva (oenormFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
6818
- const localVarPath = this.basePath + '/conversion/oenorm/ava';
7144
+ public oenormConversionConvertToAva (oenormFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> { const localVarPath = this.basePath + '/conversion/oenorm/ava';
6819
7145
  let localVarQueryParameters: any = {};
6820
7146
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6821
7147
  let localVarFormParams: any = {};
@@ -6872,6 +7198,13 @@ export class OenormConversionApi {
6872
7198
  });
6873
7199
  });
6874
7200
  }
7201
+ /**
7202
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7203
+ */
7204
+ public oenormConversionConvertToExcelWithRequestObject(oenormFile: FileParameter, options: { writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7205
+ return this.oenormConversionConvertToExcel(oenormFile, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
7206
+ }
7207
+
6875
7208
  /**
6876
7209
  *
6877
7210
  * @summary Converts ÖNorm files to Excel
@@ -6881,8 +7214,7 @@ export class OenormConversionApi {
6881
7214
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
6882
7215
  * @param {*} [options] Override http request options.
6883
7216
  */
6884
- public oenormConversionConvertToExcel (oenormFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6885
- const localVarPath = this.basePath + '/conversion/oenorm/excel';
7217
+ 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';
6886
7218
  let localVarQueryParameters: any = {};
6887
7219
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6888
7220
  let localVarFormParams: any = {};
@@ -6943,6 +7275,13 @@ export class OenormConversionApi {
6943
7275
  });
6944
7276
  });
6945
7277
  }
7278
+ /**
7279
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7280
+ */
7281
+ 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; }> {
7282
+ return this.oenormConversionConvertToGaeb(oenormFile, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
7283
+ }
7284
+
6946
7285
  /**
6947
7286
  *
6948
7287
  * @summary Converts ÖNorm files to GAEB files.
@@ -6956,14 +7295,13 @@ export class OenormConversionApi {
6956
7295
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
6957
7296
  * @param {*} [options] Override http request options.
6958
7297
  */
6959
- public oenormConversionConvertToGaeb (oenormFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6960
- const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
7298
+ public oenormConversionConvertToGaeb (oenormFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | '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; }> { const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
6961
7299
  let localVarQueryParameters: any = {};
6962
7300
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6963
7301
  let localVarFormParams: any = {};
6964
7302
 
6965
7303
  if (destinationGaebType !== undefined) {
6966
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
7304
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
6967
7305
  }
6968
7306
 
6969
7307
  if (targetExchangePhaseTransform !== undefined) {
@@ -7034,6 +7372,13 @@ export class OenormConversionApi {
7034
7372
  });
7035
7373
  });
7036
7374
  }
7375
+ /**
7376
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7377
+ */
7378
+ 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; }> {
7379
+ return this.oenormConversionConvertToOenorm(oenormFile, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
7380
+ }
7381
+
7037
7382
  /**
7038
7383
  *
7039
7384
  * @summary Converts ÖNorm files to Oenorm files.
@@ -7044,8 +7389,7 @@ export class OenormConversionApi {
7044
7389
  * @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.
7045
7390
  * @param {*} [options] Override http request options.
7046
7391
  */
7047
- public oenormConversionConvertToOenorm (oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7048
- const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
7392
+ public oenormConversionConvertToOenorm (oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/oenorm/oenorm';
7049
7393
  let localVarQueryParameters: any = {};
7050
7394
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7051
7395
  let localVarFormParams: any = {};
@@ -7160,6 +7504,13 @@ export class RebConversionApi {
7160
7504
  set accessToken(token: string) {
7161
7505
  this.authentications['Dangl.Identity'].accessToken = token;
7162
7506
  }
7507
+ /**
7508
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7509
+ */
7510
+ public rebConversionConvertToAvaWithRequestObject(rebFile: FileParameter, options: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
7511
+ return this.rebConversionConvertToAva(rebFile, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
7512
+ }
7513
+
7163
7514
  /**
7164
7515
  *
7165
7516
  * @summary Converts REB files to Dangl.AVA projects
@@ -7168,8 +7519,7 @@ export class RebConversionApi {
7168
7519
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
7169
7520
  * @param {*} [options] Override http request options.
7170
7521
  */
7171
- public rebConversionConvertToAva (rebFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
7172
- const localVarPath = this.basePath + '/conversion/reb/ava';
7522
+ public rebConversionConvertToAva (rebFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> { const localVarPath = this.basePath + '/conversion/reb/ava';
7173
7523
  let localVarQueryParameters: any = {};
7174
7524
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7175
7525
  let localVarFormParams: any = {};
@@ -7226,6 +7576,13 @@ export class RebConversionApi {
7226
7576
  });
7227
7577
  });
7228
7578
  }
7579
+ /**
7580
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7581
+ */
7582
+ public rebConversionConvertToExcelWithRequestObject(rebFile: FileParameter, options: { writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7583
+ return this.rebConversionConvertToExcel(rebFile, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
7584
+ }
7585
+
7229
7586
  /**
7230
7587
  *
7231
7588
  * @summary Converts REB files to Excel
@@ -7235,8 +7592,7 @@ export class RebConversionApi {
7235
7592
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
7236
7593
  * @param {*} [options] Override http request options.
7237
7594
  */
7238
- public rebConversionConvertToExcel (rebFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7239
- const localVarPath = this.basePath + '/conversion/reb/excel';
7595
+ 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';
7240
7596
  let localVarQueryParameters: any = {};
7241
7597
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7242
7598
  let localVarFormParams: any = {};
@@ -7297,6 +7653,13 @@ export class RebConversionApi {
7297
7653
  });
7298
7654
  });
7299
7655
  }
7656
+ /**
7657
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7658
+ */
7659
+ 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; }> {
7660
+ return this.rebConversionConvertToGaeb(rebFile, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
7661
+ }
7662
+
7300
7663
  /**
7301
7664
  *
7302
7665
  * @summary Converts REB files to GAEB files
@@ -7310,14 +7673,13 @@ export class RebConversionApi {
7310
7673
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
7311
7674
  * @param {*} [options] Override http request options.
7312
7675
  */
7313
- public rebConversionConvertToGaeb (rebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7314
- const localVarPath = this.basePath + '/conversion/reb/gaeb';
7676
+ public rebConversionConvertToGaeb (rebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | '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; }> { const localVarPath = this.basePath + '/conversion/reb/gaeb';
7315
7677
  let localVarQueryParameters: any = {};
7316
7678
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7317
7679
  let localVarFormParams: any = {};
7318
7680
 
7319
7681
  if (destinationGaebType !== undefined) {
7320
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
7682
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
7321
7683
  }
7322
7684
 
7323
7685
  if (targetExchangePhaseTransform !== undefined) {
@@ -7388,6 +7750,13 @@ export class RebConversionApi {
7388
7750
  });
7389
7751
  });
7390
7752
  }
7753
+ /**
7754
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7755
+ */
7756
+ 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; }> {
7757
+ return this.rebConversionConvertToOenorm(rebFile, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
7758
+ }
7759
+
7391
7760
  /**
7392
7761
  *
7393
7762
  * @summary Converts REB files to Oenorm
@@ -7398,8 +7767,7 @@ export class RebConversionApi {
7398
7767
  * @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.
7399
7768
  * @param {*} [options] Override http request options.
7400
7769
  */
7401
- public rebConversionConvertToOenorm (rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7402
- const localVarPath = this.basePath + '/conversion/reb/oenorm';
7770
+ public rebConversionConvertToOenorm (rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/reb/oenorm';
7403
7771
  let localVarQueryParameters: any = {};
7404
7772
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7405
7773
  let localVarFormParams: any = {};
@@ -7514,6 +7882,13 @@ export class SiaConversionApi {
7514
7882
  set accessToken(token: string) {
7515
7883
  this.authentications['Dangl.Identity'].accessToken = token;
7516
7884
  }
7885
+ /**
7886
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7887
+ */
7888
+ public siaConversionConvertToAvaWithRequestObject(siaFile: FileParameter, options: { removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options?: any }): Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
7889
+ return this.siaConversionConvertToAva(siaFile, options.removePlainTextLongTexts, options.removeHtmlLongTexts, options.options || {});
7890
+ }
7891
+
7517
7892
  /**
7518
7893
  *
7519
7894
  * @summary Converts SIA 451 files to Dangl.AVA projects
@@ -7522,8 +7897,7 @@ export class SiaConversionApi {
7522
7897
  * @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
7523
7898
  * @param {*} [options] Override http request options.
7524
7899
  */
7525
- public siaConversionConvertToAva (siaFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
7526
- const localVarPath = this.basePath + '/conversion/sia/ava';
7900
+ public siaConversionConvertToAva (siaFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> { const localVarPath = this.basePath + '/conversion/sia/ava';
7527
7901
  let localVarQueryParameters: any = {};
7528
7902
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7529
7903
  let localVarFormParams: any = {};
@@ -7580,6 +7954,13 @@ export class SiaConversionApi {
7580
7954
  });
7581
7955
  });
7582
7956
  }
7957
+ /**
7958
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
7959
+ */
7960
+ public siaConversionConvertToExcelWithRequestObject(siaFile: FileParameter, options: { writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options?: any }): Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7961
+ return this.siaConversionConvertToExcel(siaFile, options.writePrices, options.writeLongTexts, options.conversionCulture, options.options || {});
7962
+ }
7963
+
7583
7964
  /**
7584
7965
  *
7585
7966
  * @summary Converts SIA 451 files to Excel
@@ -7589,8 +7970,7 @@ export class SiaConversionApi {
7589
7970
  * @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
7590
7971
  * @param {*} [options] Override http request options.
7591
7972
  */
7592
- public siaConversionConvertToExcel (siaFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7593
- const localVarPath = this.basePath + '/conversion/sia/excel';
7973
+ 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';
7594
7974
  let localVarQueryParameters: any = {};
7595
7975
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7596
7976
  let localVarFormParams: any = {};
@@ -7651,6 +8031,13 @@ export class SiaConversionApi {
7651
8031
  });
7652
8032
  });
7653
8033
  }
8034
+ /**
8035
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
8036
+ */
8037
+ 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; }> {
8038
+ return this.siaConversionConvertToGaeb(siaFile, options.destinationGaebType, options.targetExchangePhaseTransform, options.enforceStrictOfferPhaseLongTextOutput, options.exportQuantityDetermination, options.removeUnprintableCharactersFromTexts, options.forceIncludeDescriptions, options.treatNullItemNumberSchemaAsInvalid, options.options || {});
8039
+ }
8040
+
7654
8041
  /**
7655
8042
  *
7656
8043
  * @summary Converts SIA 451 files to GAEB files
@@ -7664,14 +8051,13 @@ export class SiaConversionApi {
7664
8051
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
7665
8052
  * @param {*} [options] Override http request options.
7666
8053
  */
7667
- public siaConversionConvertToGaeb (siaFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7668
- const localVarPath = this.basePath + '/conversion/sia/gaeb';
8054
+ public siaConversionConvertToGaeb (siaFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | '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; }> { const localVarPath = this.basePath + '/conversion/sia/gaeb';
7669
8055
  let localVarQueryParameters: any = {};
7670
8056
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7671
8057
  let localVarFormParams: any = {};
7672
8058
 
7673
8059
  if (destinationGaebType !== undefined) {
7674
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
8060
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
7675
8061
  }
7676
8062
 
7677
8063
  if (targetExchangePhaseTransform !== undefined) {
@@ -7742,6 +8128,13 @@ export class SiaConversionApi {
7742
8128
  });
7743
8129
  });
7744
8130
  }
8131
+ /**
8132
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
8133
+ */
8134
+ 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; }> {
8135
+ return this.siaConversionConvertToOenorm(siaFile, options.destinationOenormType, options.tryRepairProjectStructure, options.skipTryEnforceSchemaCompliantXmlOutput, options.removeUnprintableCharactersFromTexts, options.options || {});
8136
+ }
8137
+
7745
8138
  /**
7746
8139
  *
7747
8140
  * @summary Converts SIA 451 files to Oenorm files
@@ -7752,8 +8145,7 @@ export class SiaConversionApi {
7752
8145
  * @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.
7753
8146
  * @param {*} [options] Override http request options.
7754
8147
  */
7755
- public siaConversionConvertToOenorm (siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7756
- const localVarPath = this.basePath + '/conversion/sia/oenorm';
8148
+ public siaConversionConvertToOenorm (siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { const localVarPath = this.basePath + '/conversion/sia/oenorm';
7757
8149
  let localVarQueryParameters: any = {};
7758
8150
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7759
8151
  let localVarFormParams: any = {};
@@ -7968,6 +8360,13 @@ export class ValidationApi {
7968
8360
  set accessToken(token: string) {
7969
8361
  this.authentications['Dangl.Identity'].accessToken = token;
7970
8362
  }
8363
+ /**
8364
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
8365
+ */
8366
+ public validationValidateFileWithRequestObject(avaFile: FileParameter, options: { fileValidationSourceType?: 'Gaeb' | 'Oenorm', options?: any }): Promise<{ response: http.IncomingMessage; body: ValidationResult; }> {
8367
+ return this.validationValidateFile(avaFile, options.fileValidationSourceType, options.options || {});
8368
+ }
8369
+
7971
8370
  /**
7972
8371
  *
7973
8372
  * @summary This endpoint validates AVA files, typically GAEB or ÖNorm. The type of file needs to be provided as a query parameter, since there is no auto detection of the uploaded file type.
@@ -7975,8 +8374,7 @@ export class ValidationApi {
7975
8374
  * @param fileValidationSourceType You need to indicate which type of file is being provided, there is no auto detection mechanism
7976
8375
  * @param {*} [options] Override http request options.
7977
8376
  */
7978
- public validationValidateFile (avaFile: FileParameter, fileValidationSourceType?: 'Gaeb' | 'Oenorm', options: any = {}) : Promise<{ response: http.IncomingMessage; body: ValidationResult; }> {
7979
- const localVarPath = this.basePath + '/validation/file';
8377
+ public validationValidateFile (avaFile: FileParameter, fileValidationSourceType?: 'Gaeb' | 'Oenorm', options: any = {}) : Promise<{ response: http.IncomingMessage; body: ValidationResult; }> { const localVarPath = this.basePath + '/validation/file';
7980
8378
  let localVarQueryParameters: any = {};
7981
8379
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7982
8380
  let localVarFormParams: any = {};
@@ -8097,3 +8495,4 @@ export interface FileParameter {
8097
8495
  }
8098
8496
  }
8099
8497
 
8498
+