@dangl/avacloud-client-node 1.19.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.swagger-codegen/VERSION +1 -1
- package/LICENSE.md +1 -1
- package/api.d.ts +563 -11
- package/api.js +346 -20
- package/api.js.map +1 -1
- package/api.ts +503 -86
- package/package.json +2 -2
package/api.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AVACloud API 1.
|
|
1
|
+
/**
|
|
2
|
+
* AVACloud API 1.36.0
|
|
3
3
|
* AVACloud API specification
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 1.
|
|
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() {
|
|
@@ -1628,6 +1652,14 @@ export class OenormPositionPropertiesDto {
|
|
|
1628
1652
|
* This indicates if the ÖNorm position was a 'ungeteilteposition' (undivided position). This will only be taken into account when the position is also the sole element inside it's parent group
|
|
1629
1653
|
*/
|
|
1630
1654
|
'isUndividedPosition': boolean;
|
|
1655
|
+
/**
|
|
1656
|
+
* In some ÖNorm formats, the short text can have it's own addition, so the text is split up in OenormShortText and OenormShortTextAddition To serialize this, either the ShortText property of the parent position needs to be null, or OenormShortText ' ' OenormShortTextAddition needs to match the ShortText.
|
|
1657
|
+
*/
|
|
1658
|
+
'oenormShortText'?: string;
|
|
1659
|
+
/**
|
|
1660
|
+
* In some ÖNorm formats, the short text can have it's own addition, so the text is split up in OenormShortText and OenormShortTextAddition To serialize this, either the ShortText property of the parent position needs to be null, or OenormShortText ' ' OenormShortTextAddition needs to match the ShortText.
|
|
1661
|
+
*/
|
|
1662
|
+
'oenormShortTextAddition'?: string;
|
|
1631
1663
|
|
|
1632
1664
|
static discriminator: string | undefined = undefined;
|
|
1633
1665
|
|
|
@@ -1651,6 +1683,16 @@ export class OenormPositionPropertiesDto {
|
|
|
1651
1683
|
"name": "isUndividedPosition",
|
|
1652
1684
|
"baseName": "isUndividedPosition",
|
|
1653
1685
|
"type": "boolean"
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
"name": "oenormShortText",
|
|
1689
|
+
"baseName": "oenormShortText",
|
|
1690
|
+
"type": "string"
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"name": "oenormShortTextAddition",
|
|
1694
|
+
"baseName": "oenormShortTextAddition",
|
|
1695
|
+
"type": "string"
|
|
1654
1696
|
} ];
|
|
1655
1697
|
|
|
1656
1698
|
static getAttributeTypeMap() {
|
|
@@ -1890,6 +1932,21 @@ export class PartyInformationDto {
|
|
|
1890
1932
|
}
|
|
1891
1933
|
}
|
|
1892
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
|
+
|
|
1893
1950
|
export class PositionDto extends IElementDto {
|
|
1894
1951
|
/**
|
|
1895
1952
|
* Will return the price per unit, rounded according to the project settings or the default value of three decimal places
|
|
@@ -1908,6 +1965,22 @@ export class PositionDto extends IElementDto {
|
|
|
1908
1965
|
*/
|
|
1909
1966
|
'quantityOverride'?: number;
|
|
1910
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
|
+
/**
|
|
1911
1984
|
* The tag of the unit used for this positions quantity.
|
|
1912
1985
|
*/
|
|
1913
1986
|
'unitTag'?: string;
|
|
@@ -2040,7 +2113,6 @@ export class PositionDto extends IElementDto {
|
|
|
2040
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
|
|
2041
2114
|
*/
|
|
2042
2115
|
'repetitionTo'?: string;
|
|
2043
|
-
'type'?: string;
|
|
2044
2116
|
/**
|
|
2045
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.
|
|
2046
2118
|
*/
|
|
@@ -2074,6 +2146,10 @@ export class PositionDto extends IElementDto {
|
|
|
2074
2146
|
*/
|
|
2075
2147
|
'addendumStatus'?: AddendumStatusDto;
|
|
2076
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;
|
|
2077
2153
|
|
|
2078
2154
|
static discriminator: string | undefined = undefined;
|
|
2079
2155
|
|
|
@@ -2098,6 +2174,26 @@ export class PositionDto extends IElementDto {
|
|
|
2098
2174
|
"baseName": "quantityOverride",
|
|
2099
2175
|
"type": "number"
|
|
2100
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
|
+
},
|
|
2101
2197
|
{
|
|
2102
2198
|
"name": "unitTag",
|
|
2103
2199
|
"baseName": "unitTag",
|
|
@@ -2268,11 +2364,6 @@ export class PositionDto extends IElementDto {
|
|
|
2268
2364
|
"baseName": "repetitionTo",
|
|
2269
2365
|
"type": "string"
|
|
2270
2366
|
},
|
|
2271
|
-
{
|
|
2272
|
-
"name": "type",
|
|
2273
|
-
"baseName": "type",
|
|
2274
|
-
"type": "string"
|
|
2275
|
-
},
|
|
2276
2367
|
{
|
|
2277
2368
|
"name": "standardizedDescription",
|
|
2278
2369
|
"baseName": "standardizedDescription",
|
|
@@ -2317,6 +2408,11 @@ export class PositionDto extends IElementDto {
|
|
|
2317
2408
|
"name": "hasBidderCommentInHtmlLongText",
|
|
2318
2409
|
"baseName": "hasBidderCommentInHtmlLongText",
|
|
2319
2410
|
"type": "boolean"
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
"name": "gaebComplementingType",
|
|
2414
|
+
"baseName": "gaebComplementingType",
|
|
2415
|
+
"type": "PositionComplementingTypeDto"
|
|
2320
2416
|
} ];
|
|
2321
2417
|
|
|
2322
2418
|
static getAttributeTypeMap() {
|
|
@@ -3255,6 +3351,128 @@ export class STLBReferenceDto {
|
|
|
3255
3351
|
}
|
|
3256
3352
|
}
|
|
3257
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
|
+
|
|
3258
3476
|
/**
|
|
3259
3477
|
* This is the base class that holds information about a whole service specification.
|
|
3260
3478
|
*/
|
|
@@ -3443,6 +3661,10 @@ export class ServiceSpecificationDto {
|
|
|
3443
3661
|
* This indicates, if this element is part of an addendum an, if yes, with what status.
|
|
3444
3662
|
*/
|
|
3445
3663
|
'addendumStatus'?: AddendumStatusDto;
|
|
3664
|
+
/**
|
|
3665
|
+
* This property holds additional information that's only valid in commerce exchange phases.
|
|
3666
|
+
*/
|
|
3667
|
+
'commerceProperties'?: ServiceSpecificationCommercePropertiesDto;
|
|
3446
3668
|
|
|
3447
3669
|
static discriminator: string | undefined = undefined;
|
|
3448
3670
|
|
|
@@ -3676,6 +3898,11 @@ export class ServiceSpecificationDto {
|
|
|
3676
3898
|
"name": "addendumStatus",
|
|
3677
3899
|
"baseName": "addendumStatus",
|
|
3678
3900
|
"type": "AddendumStatusDto"
|
|
3901
|
+
},
|
|
3902
|
+
{
|
|
3903
|
+
"name": "commerceProperties",
|
|
3904
|
+
"baseName": "commerceProperties",
|
|
3905
|
+
"type": "ServiceSpecificationCommercePropertiesDto"
|
|
3679
3906
|
} ];
|
|
3680
3907
|
|
|
3681
3908
|
static getAttributeTypeMap() {
|
|
@@ -3781,7 +4008,6 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3781
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
|
|
3782
4009
|
*/
|
|
3783
4010
|
'alternativeTo'?: string;
|
|
3784
|
-
'type'?: string;
|
|
3785
4011
|
/**
|
|
3786
4012
|
* This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
|
|
3787
4013
|
*/
|
|
@@ -3923,11 +4149,6 @@ export class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3923
4149
|
"baseName": "alternativeTo",
|
|
3924
4150
|
"type": "string"
|
|
3925
4151
|
},
|
|
3926
|
-
{
|
|
3927
|
-
"name": "type",
|
|
3928
|
-
"baseName": "type",
|
|
3929
|
-
"type": "string"
|
|
3930
|
-
},
|
|
3931
4152
|
{
|
|
3932
4153
|
"name": "oenormProperties",
|
|
3933
4154
|
"baseName": "oenormProperties",
|
|
@@ -4603,6 +4824,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
4603
4824
|
"CatalogueReferenceDto": CatalogueReferenceDto,
|
|
4604
4825
|
"CatalogueTypeDto": CatalogueTypeDto,
|
|
4605
4826
|
"ComissionStatusDto": ComissionStatusDto,
|
|
4827
|
+
"CommerceInquiryTypeDto": CommerceInquiryTypeDto,
|
|
4606
4828
|
"CommercePropertiesDto": CommercePropertiesDto,
|
|
4607
4829
|
"ComplementedByQuantityDto": ComplementedByQuantityDto,
|
|
4608
4830
|
"DestinationGaebExchangePhase": DestinationGaebExchangePhase,
|
|
@@ -4633,6 +4855,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
4633
4855
|
"OenormPropertiesDto": OenormPropertiesDto,
|
|
4634
4856
|
"OriginDto": OriginDto,
|
|
4635
4857
|
"PartyInformationDto": PartyInformationDto,
|
|
4858
|
+
"PositionComplementingTypeDto": PositionComplementingTypeDto,
|
|
4636
4859
|
"PositionDto": PositionDto,
|
|
4637
4860
|
"PositionTypeDto": PositionTypeDto,
|
|
4638
4861
|
"PostAvaProjectValidationSourceOptions": PostAvaProjectValidationSourceOptions,
|
|
@@ -4653,6 +4876,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
4653
4876
|
"ResponseErrorType": ResponseErrorType,
|
|
4654
4877
|
"STLBKeyDto": STLBKeyDto,
|
|
4655
4878
|
"STLBReferenceDto": STLBReferenceDto,
|
|
4879
|
+
"ServiceSpecificationCommercePropertiesDto": ServiceSpecificationCommercePropertiesDto,
|
|
4656
4880
|
"ServiceSpecificationDto": ServiceSpecificationDto,
|
|
4657
4881
|
"ServiceSpecificationGroupDto": ServiceSpecificationGroupDto,
|
|
4658
4882
|
"ServiceTypeDto": ServiceTypeDto,
|
|
@@ -4774,6 +4998,13 @@ export class AslvConversionApi {
|
|
|
4774
4998
|
set accessToken(token: string) {
|
|
4775
4999
|
this.authentications['Dangl.Identity'].accessToken = token;
|
|
4776
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
|
+
|
|
4777
5008
|
/**
|
|
4778
5009
|
*
|
|
4779
5010
|
* @summary Converts Aslv files to Dangl.AVA projects
|
|
@@ -4782,8 +5013,7 @@ export class AslvConversionApi {
|
|
|
4782
5013
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
4783
5014
|
* @param {*} [options] Override http request options.
|
|
4784
5015
|
*/
|
|
4785
|
-
public aslvConversionConvertToAva (aslvFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
4786
|
-
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';
|
|
4787
5017
|
let localVarQueryParameters: any = {};
|
|
4788
5018
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
4789
5019
|
let localVarFormParams: any = {};
|
|
@@ -4840,6 +5070,13 @@ export class AslvConversionApi {
|
|
|
4840
5070
|
});
|
|
4841
5071
|
});
|
|
4842
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
|
+
|
|
4843
5080
|
/**
|
|
4844
5081
|
*
|
|
4845
5082
|
* @summary Converts Aslv files to Excel
|
|
@@ -4849,8 +5086,7 @@ export class AslvConversionApi {
|
|
|
4849
5086
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
4850
5087
|
* @param {*} [options] Override http request options.
|
|
4851
5088
|
*/
|
|
4852
|
-
public aslvConversionConvertToExcel (aslvFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4853
|
-
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';
|
|
4854
5090
|
let localVarQueryParameters: any = {};
|
|
4855
5091
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
4856
5092
|
let localVarFormParams: any = {};
|
|
@@ -4911,6 +5147,13 @@ export class AslvConversionApi {
|
|
|
4911
5147
|
});
|
|
4912
5148
|
});
|
|
4913
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
|
+
|
|
4914
5157
|
/**
|
|
4915
5158
|
*
|
|
4916
5159
|
* @summary Converts Aslv files to GAEB files
|
|
@@ -4924,14 +5167,13 @@ export class AslvConversionApi {
|
|
|
4924
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.
|
|
4925
5168
|
* @param {*} [options] Override http request options.
|
|
4926
5169
|
*/
|
|
4927
|
-
public aslvConversionConvertToGaeb (aslvFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
4928
|
-
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';
|
|
4929
5171
|
let localVarQueryParameters: any = {};
|
|
4930
5172
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
4931
5173
|
let localVarFormParams: any = {};
|
|
4932
5174
|
|
|
4933
5175
|
if (destinationGaebType !== undefined) {
|
|
4934
|
-
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'");
|
|
4935
5177
|
}
|
|
4936
5178
|
|
|
4937
5179
|
if (targetExchangePhaseTransform !== undefined) {
|
|
@@ -5002,6 +5244,13 @@ export class AslvConversionApi {
|
|
|
5002
5244
|
});
|
|
5003
5245
|
});
|
|
5004
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
|
+
|
|
5005
5254
|
/**
|
|
5006
5255
|
*
|
|
5007
5256
|
* @summary Converts Aslv files to Oenorm files
|
|
@@ -5012,8 +5261,7 @@ export class AslvConversionApi {
|
|
|
5012
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.
|
|
5013
5262
|
* @param {*} [options] Override http request options.
|
|
5014
5263
|
*/
|
|
5015
|
-
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; }> {
|
|
5016
|
-
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';
|
|
5017
5265
|
let localVarQueryParameters: any = {};
|
|
5018
5266
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5019
5267
|
let localVarFormParams: any = {};
|
|
@@ -5128,6 +5376,13 @@ export class AvaConversionApi {
|
|
|
5128
5376
|
set accessToken(token: string) {
|
|
5129
5377
|
this.authentications['Dangl.Identity'].accessToken = token;
|
|
5130
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
|
+
|
|
5131
5386
|
/**
|
|
5132
5387
|
*
|
|
5133
5388
|
* @summary Converts Dangl.AVA projects to Dangl.AVA. This is useful when you want to generate the calculated properties.
|
|
@@ -5137,8 +5392,7 @@ export class AvaConversionApi {
|
|
|
5137
5392
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
5138
5393
|
* @param {*} [options] Override http request options.
|
|
5139
5394
|
*/
|
|
5140
|
-
public avaConversionConvertToAva (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
5141
|
-
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';
|
|
5142
5396
|
let localVarQueryParameters: any = {};
|
|
5143
5397
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5144
5398
|
let localVarFormParams: any = {};
|
|
@@ -5200,6 +5454,13 @@ export class AvaConversionApi {
|
|
|
5200
5454
|
});
|
|
5201
5455
|
});
|
|
5202
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
|
+
|
|
5203
5464
|
/**
|
|
5204
5465
|
*
|
|
5205
5466
|
* @summary Converts Dangl.AVA projects to Excel
|
|
@@ -5210,8 +5471,7 @@ export class AvaConversionApi {
|
|
|
5210
5471
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
5211
5472
|
* @param {*} [options] Override http request options.
|
|
5212
5473
|
*/
|
|
5213
|
-
public avaConversionConvertToExcel (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5214
|
-
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';
|
|
5215
5475
|
let localVarQueryParameters: any = {};
|
|
5216
5476
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5217
5477
|
let localVarFormParams: any = {};
|
|
@@ -5278,6 +5538,13 @@ export class AvaConversionApi {
|
|
|
5278
5538
|
});
|
|
5279
5539
|
});
|
|
5280
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
|
+
|
|
5281
5548
|
/**
|
|
5282
5549
|
*
|
|
5283
5550
|
* @summary Converts Dangl.AVA projects to GAEB
|
|
@@ -5292,8 +5559,7 @@ export class AvaConversionApi {
|
|
|
5292
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.
|
|
5293
5560
|
* @param {*} [options] Override http request options.
|
|
5294
5561
|
*/
|
|
5295
|
-
public avaConversionConvertToGaeb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5296
|
-
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';
|
|
5297
5563
|
let localVarQueryParameters: any = {};
|
|
5298
5564
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5299
5565
|
let localVarFormParams: any = {};
|
|
@@ -5308,7 +5574,7 @@ export class AvaConversionApi {
|
|
|
5308
5574
|
}
|
|
5309
5575
|
|
|
5310
5576
|
if (destinationGaebType !== undefined) {
|
|
5311
|
-
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'");
|
|
5312
5578
|
}
|
|
5313
5579
|
|
|
5314
5580
|
if (targetExchangePhaseTransform !== undefined) {
|
|
@@ -5376,6 +5642,13 @@ export class AvaConversionApi {
|
|
|
5376
5642
|
});
|
|
5377
5643
|
});
|
|
5378
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
|
+
|
|
5379
5652
|
/**
|
|
5380
5653
|
*
|
|
5381
5654
|
* @summary Converts Dangl.AVA projects to Oenorm
|
|
@@ -5387,8 +5660,7 @@ export class AvaConversionApi {
|
|
|
5387
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.
|
|
5388
5661
|
* @param {*} [options] Override http request options.
|
|
5389
5662
|
*/
|
|
5390
|
-
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; }> {
|
|
5391
|
-
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';
|
|
5392
5664
|
let localVarQueryParameters: any = {};
|
|
5393
5665
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5394
5666
|
let localVarFormParams: any = {};
|
|
@@ -5459,6 +5731,13 @@ export class AvaConversionApi {
|
|
|
5459
5731
|
});
|
|
5460
5732
|
});
|
|
5461
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
|
+
|
|
5462
5741
|
/**
|
|
5463
5742
|
*
|
|
5464
5743
|
* @summary Converts Dangl.AVA projects to REB
|
|
@@ -5467,8 +5746,7 @@ export class AvaConversionApi {
|
|
|
5467
5746
|
* @param destinationRebType Defaults to D11
|
|
5468
5747
|
* @param {*} [options] Override http request options.
|
|
5469
5748
|
*/
|
|
5470
|
-
public avaConversionConvertToReb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationRebType?: 'D11' | 'X31GaebXmlV32', options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5471
|
-
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';
|
|
5472
5750
|
let localVarQueryParameters: any = {};
|
|
5473
5751
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5474
5752
|
let localVarFormParams: any = {};
|
|
@@ -5527,6 +5805,13 @@ export class AvaConversionApi {
|
|
|
5527
5805
|
});
|
|
5528
5806
|
});
|
|
5529
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
|
+
|
|
5530
5815
|
/**
|
|
5531
5816
|
*
|
|
5532
5817
|
* @summary Converts Dangl.AVA projects to SIA 451
|
|
@@ -5534,8 +5819,7 @@ export class AvaConversionApi {
|
|
|
5534
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.
|
|
5535
5820
|
* @param {*} [options] Override http request options.
|
|
5536
5821
|
*/
|
|
5537
|
-
public avaConversionConvertToSia (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
5538
|
-
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';
|
|
5539
5823
|
let localVarQueryParameters: any = {};
|
|
5540
5824
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5541
5825
|
let localVarFormParams: any = {};
|
|
@@ -5696,14 +5980,20 @@ export class DanglIdentityApi {
|
|
|
5696
5980
|
});
|
|
5697
5981
|
});
|
|
5698
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
|
+
|
|
5699
5990
|
/**
|
|
5700
5991
|
*
|
|
5701
5992
|
* @param model
|
|
5702
5993
|
* @param redirectUrl
|
|
5703
5994
|
* @param {*} [options] Override http request options.
|
|
5704
5995
|
*/
|
|
5705
|
-
public danglIdentityLoginWithCookie (model: LoginPost, redirectUrl?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
5706
|
-
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';
|
|
5707
5997
|
let localVarQueryParameters: any = {};
|
|
5708
5998
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
5709
5999
|
let localVarFormParams: any = {};
|
|
@@ -6020,6 +6310,13 @@ export class ExcelConversionApi {
|
|
|
6020
6310
|
set accessToken(token: string) {
|
|
6021
6311
|
this.authentications['Dangl.Identity'].accessToken = token;
|
|
6022
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
|
+
|
|
6023
6320
|
/**
|
|
6024
6321
|
*
|
|
6025
6322
|
* @summary Converts Excel files to Dangl.AVA projects.
|
|
@@ -6030,8 +6327,7 @@ export class ExcelConversionApi {
|
|
|
6030
6327
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
6031
6328
|
* @param {*} [options] Override http request options.
|
|
6032
6329
|
*/
|
|
6033
|
-
public excelConversionConvertToAva (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
6034
|
-
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';
|
|
6035
6331
|
let localVarQueryParameters: any = {};
|
|
6036
6332
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6037
6333
|
let localVarFormParams: any = {};
|
|
@@ -6096,6 +6392,13 @@ export class ExcelConversionApi {
|
|
|
6096
6392
|
});
|
|
6097
6393
|
});
|
|
6098
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
|
+
|
|
6099
6402
|
/**
|
|
6100
6403
|
*
|
|
6101
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.
|
|
@@ -6107,8 +6410,7 @@ export class ExcelConversionApi {
|
|
|
6107
6410
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
6108
6411
|
* @param {*} [options] Override http request options.
|
|
6109
6412
|
*/
|
|
6110
|
-
public excelConversionConvertToExcel (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6111
|
-
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';
|
|
6112
6414
|
let localVarQueryParameters: any = {};
|
|
6113
6415
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6114
6416
|
let localVarFormParams: any = {};
|
|
@@ -6177,6 +6479,13 @@ export class ExcelConversionApi {
|
|
|
6177
6479
|
});
|
|
6178
6480
|
});
|
|
6179
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
|
+
|
|
6180
6489
|
/**
|
|
6181
6490
|
*
|
|
6182
6491
|
* @summary Converts Excel files to GAEB files.
|
|
@@ -6192,8 +6501,7 @@ export class ExcelConversionApi {
|
|
|
6192
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.
|
|
6193
6502
|
* @param {*} [options] Override http request options.
|
|
6194
6503
|
*/
|
|
6195
|
-
public excelConversionConvertToGaeb (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6196
|
-
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';
|
|
6197
6505
|
let localVarQueryParameters: any = {};
|
|
6198
6506
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6199
6507
|
let localVarFormParams: any = {};
|
|
@@ -6207,7 +6515,7 @@ export class ExcelConversionApi {
|
|
|
6207
6515
|
}
|
|
6208
6516
|
|
|
6209
6517
|
if (destinationGaebType !== undefined) {
|
|
6210
|
-
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'");
|
|
6211
6519
|
}
|
|
6212
6520
|
|
|
6213
6521
|
if (targetExchangePhaseTransform !== undefined) {
|
|
@@ -6278,6 +6586,13 @@ export class ExcelConversionApi {
|
|
|
6278
6586
|
});
|
|
6279
6587
|
});
|
|
6280
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
|
+
|
|
6281
6596
|
/**
|
|
6282
6597
|
*
|
|
6283
6598
|
* @summary Converts Excel files to Oenorm files.
|
|
@@ -6290,8 +6605,7 @@ export class ExcelConversionApi {
|
|
|
6290
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.
|
|
6291
6606
|
* @param {*} [options] Override http request options.
|
|
6292
6607
|
*/
|
|
6293
|
-
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; }> {
|
|
6294
|
-
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';
|
|
6295
6609
|
let localVarQueryParameters: any = {};
|
|
6296
6610
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6297
6611
|
let localVarFormParams: any = {};
|
|
@@ -6414,6 +6728,13 @@ export class GaebConversionApi {
|
|
|
6414
6728
|
set accessToken(token: string) {
|
|
6415
6729
|
this.authentications['Dangl.Identity'].accessToken = token;
|
|
6416
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
|
+
|
|
6417
6738
|
/**
|
|
6418
6739
|
*
|
|
6419
6740
|
* @summary Converts GAEB files to Dangl.AVA projects
|
|
@@ -6423,8 +6744,7 @@ export class GaebConversionApi {
|
|
|
6423
6744
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
6424
6745
|
* @param {*} [options] Override http request options.
|
|
6425
6746
|
*/
|
|
6426
|
-
public gaebConversionConvertToAva (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
6427
|
-
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';
|
|
6428
6748
|
let localVarQueryParameters: any = {};
|
|
6429
6749
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6430
6750
|
let localVarFormParams: any = {};
|
|
@@ -6485,6 +6805,13 @@ export class GaebConversionApi {
|
|
|
6485
6805
|
});
|
|
6486
6806
|
});
|
|
6487
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
|
+
|
|
6488
6815
|
/**
|
|
6489
6816
|
*
|
|
6490
6817
|
* @summary Converts GAEB files to Excel
|
|
@@ -6495,8 +6822,7 @@ export class GaebConversionApi {
|
|
|
6495
6822
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
6496
6823
|
* @param {*} [options] Override http request options.
|
|
6497
6824
|
*/
|
|
6498
|
-
public gaebConversionConvertToExcel (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6499
|
-
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';
|
|
6500
6826
|
let localVarQueryParameters: any = {};
|
|
6501
6827
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6502
6828
|
let localVarFormParams: any = {};
|
|
@@ -6561,6 +6887,13 @@ export class GaebConversionApi {
|
|
|
6561
6887
|
});
|
|
6562
6888
|
});
|
|
6563
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
|
+
|
|
6564
6897
|
/**
|
|
6565
6898
|
*
|
|
6566
6899
|
* @summary Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files.
|
|
@@ -6575,8 +6908,7 @@ export class GaebConversionApi {
|
|
|
6575
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.
|
|
6576
6909
|
* @param {*} [options] Override http request options.
|
|
6577
6910
|
*/
|
|
6578
|
-
public gaebConversionConvertToGaeb (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6579
|
-
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';
|
|
6580
6912
|
let localVarQueryParameters: any = {};
|
|
6581
6913
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6582
6914
|
let localVarFormParams: any = {};
|
|
@@ -6586,7 +6918,7 @@ export class GaebConversionApi {
|
|
|
6586
6918
|
}
|
|
6587
6919
|
|
|
6588
6920
|
if (destinationGaebType !== undefined) {
|
|
6589
|
-
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'");
|
|
6590
6922
|
}
|
|
6591
6923
|
|
|
6592
6924
|
if (targetExchangePhaseTransform !== undefined) {
|
|
@@ -6657,6 +6989,13 @@ export class GaebConversionApi {
|
|
|
6657
6989
|
});
|
|
6658
6990
|
});
|
|
6659
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
|
+
|
|
6660
6999
|
/**
|
|
6661
7000
|
*
|
|
6662
7001
|
* @summary Converts GAEB files to Oenorm files
|
|
@@ -6668,8 +7007,7 @@ export class GaebConversionApi {
|
|
|
6668
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.
|
|
6669
7008
|
* @param {*} [options] Override http request options.
|
|
6670
7009
|
*/
|
|
6671
|
-
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; }> {
|
|
6672
|
-
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';
|
|
6673
7011
|
let localVarQueryParameters: any = {};
|
|
6674
7012
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6675
7013
|
let localVarFormParams: any = {};
|
|
@@ -6788,6 +7126,13 @@ export class OenormConversionApi {
|
|
|
6788
7126
|
set accessToken(token: string) {
|
|
6789
7127
|
this.authentications['Dangl.Identity'].accessToken = token;
|
|
6790
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
|
+
|
|
6791
7136
|
/**
|
|
6792
7137
|
*
|
|
6793
7138
|
* @summary Converts ÖNorm files to Dangl.AVA projects
|
|
@@ -6796,8 +7141,7 @@ export class OenormConversionApi {
|
|
|
6796
7141
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
6797
7142
|
* @param {*} [options] Override http request options.
|
|
6798
7143
|
*/
|
|
6799
|
-
public oenormConversionConvertToAva (oenormFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
6800
|
-
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';
|
|
6801
7145
|
let localVarQueryParameters: any = {};
|
|
6802
7146
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6803
7147
|
let localVarFormParams: any = {};
|
|
@@ -6854,6 +7198,13 @@ export class OenormConversionApi {
|
|
|
6854
7198
|
});
|
|
6855
7199
|
});
|
|
6856
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
|
+
|
|
6857
7208
|
/**
|
|
6858
7209
|
*
|
|
6859
7210
|
* @summary Converts ÖNorm files to Excel
|
|
@@ -6863,8 +7214,7 @@ export class OenormConversionApi {
|
|
|
6863
7214
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
6864
7215
|
* @param {*} [options] Override http request options.
|
|
6865
7216
|
*/
|
|
6866
|
-
public oenormConversionConvertToExcel (oenormFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6867
|
-
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';
|
|
6868
7218
|
let localVarQueryParameters: any = {};
|
|
6869
7219
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6870
7220
|
let localVarFormParams: any = {};
|
|
@@ -6925,6 +7275,13 @@ export class OenormConversionApi {
|
|
|
6925
7275
|
});
|
|
6926
7276
|
});
|
|
6927
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
|
+
|
|
6928
7285
|
/**
|
|
6929
7286
|
*
|
|
6930
7287
|
* @summary Converts ÖNorm files to GAEB files.
|
|
@@ -6938,14 +7295,13 @@ export class OenormConversionApi {
|
|
|
6938
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.
|
|
6939
7296
|
* @param {*} [options] Override http request options.
|
|
6940
7297
|
*/
|
|
6941
|
-
public oenormConversionConvertToGaeb (oenormFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
6942
|
-
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';
|
|
6943
7299
|
let localVarQueryParameters: any = {};
|
|
6944
7300
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
6945
7301
|
let localVarFormParams: any = {};
|
|
6946
7302
|
|
|
6947
7303
|
if (destinationGaebType !== undefined) {
|
|
6948
|
-
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'");
|
|
6949
7305
|
}
|
|
6950
7306
|
|
|
6951
7307
|
if (targetExchangePhaseTransform !== undefined) {
|
|
@@ -7016,6 +7372,13 @@ export class OenormConversionApi {
|
|
|
7016
7372
|
});
|
|
7017
7373
|
});
|
|
7018
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
|
+
|
|
7019
7382
|
/**
|
|
7020
7383
|
*
|
|
7021
7384
|
* @summary Converts ÖNorm files to Oenorm files.
|
|
@@ -7026,8 +7389,7 @@ export class OenormConversionApi {
|
|
|
7026
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.
|
|
7027
7390
|
* @param {*} [options] Override http request options.
|
|
7028
7391
|
*/
|
|
7029
|
-
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; }> {
|
|
7030
|
-
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';
|
|
7031
7393
|
let localVarQueryParameters: any = {};
|
|
7032
7394
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7033
7395
|
let localVarFormParams: any = {};
|
|
@@ -7142,6 +7504,13 @@ export class RebConversionApi {
|
|
|
7142
7504
|
set accessToken(token: string) {
|
|
7143
7505
|
this.authentications['Dangl.Identity'].accessToken = token;
|
|
7144
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
|
+
|
|
7145
7514
|
/**
|
|
7146
7515
|
*
|
|
7147
7516
|
* @summary Converts REB files to Dangl.AVA projects
|
|
@@ -7150,8 +7519,7 @@ export class RebConversionApi {
|
|
|
7150
7519
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
7151
7520
|
* @param {*} [options] Override http request options.
|
|
7152
7521
|
*/
|
|
7153
|
-
public rebConversionConvertToAva (rebFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
7154
|
-
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';
|
|
7155
7523
|
let localVarQueryParameters: any = {};
|
|
7156
7524
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7157
7525
|
let localVarFormParams: any = {};
|
|
@@ -7208,6 +7576,13 @@ export class RebConversionApi {
|
|
|
7208
7576
|
});
|
|
7209
7577
|
});
|
|
7210
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
|
+
|
|
7211
7586
|
/**
|
|
7212
7587
|
*
|
|
7213
7588
|
* @summary Converts REB files to Excel
|
|
@@ -7217,8 +7592,7 @@ export class RebConversionApi {
|
|
|
7217
7592
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
7218
7593
|
* @param {*} [options] Override http request options.
|
|
7219
7594
|
*/
|
|
7220
|
-
public rebConversionConvertToExcel (rebFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7221
|
-
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';
|
|
7222
7596
|
let localVarQueryParameters: any = {};
|
|
7223
7597
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7224
7598
|
let localVarFormParams: any = {};
|
|
@@ -7279,6 +7653,13 @@ export class RebConversionApi {
|
|
|
7279
7653
|
});
|
|
7280
7654
|
});
|
|
7281
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
|
+
|
|
7282
7663
|
/**
|
|
7283
7664
|
*
|
|
7284
7665
|
* @summary Converts REB files to GAEB files
|
|
@@ -7292,14 +7673,13 @@ export class RebConversionApi {
|
|
|
7292
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.
|
|
7293
7674
|
* @param {*} [options] Override http request options.
|
|
7294
7675
|
*/
|
|
7295
|
-
public rebConversionConvertToGaeb (rebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7296
|
-
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';
|
|
7297
7677
|
let localVarQueryParameters: any = {};
|
|
7298
7678
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7299
7679
|
let localVarFormParams: any = {};
|
|
7300
7680
|
|
|
7301
7681
|
if (destinationGaebType !== undefined) {
|
|
7302
|
-
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'");
|
|
7303
7683
|
}
|
|
7304
7684
|
|
|
7305
7685
|
if (targetExchangePhaseTransform !== undefined) {
|
|
@@ -7370,6 +7750,13 @@ export class RebConversionApi {
|
|
|
7370
7750
|
});
|
|
7371
7751
|
});
|
|
7372
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
|
+
|
|
7373
7760
|
/**
|
|
7374
7761
|
*
|
|
7375
7762
|
* @summary Converts REB files to Oenorm
|
|
@@ -7380,8 +7767,7 @@ export class RebConversionApi {
|
|
|
7380
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.
|
|
7381
7768
|
* @param {*} [options] Override http request options.
|
|
7382
7769
|
*/
|
|
7383
|
-
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; }> {
|
|
7384
|
-
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';
|
|
7385
7771
|
let localVarQueryParameters: any = {};
|
|
7386
7772
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7387
7773
|
let localVarFormParams: any = {};
|
|
@@ -7496,6 +7882,13 @@ export class SiaConversionApi {
|
|
|
7496
7882
|
set accessToken(token: string) {
|
|
7497
7883
|
this.authentications['Dangl.Identity'].accessToken = token;
|
|
7498
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
|
+
|
|
7499
7892
|
/**
|
|
7500
7893
|
*
|
|
7501
7894
|
* @summary Converts SIA 451 files to Dangl.AVA projects
|
|
@@ -7504,8 +7897,7 @@ export class SiaConversionApi {
|
|
|
7504
7897
|
* @param removeHtmlLongTexts If set to true, html long texts will be removed from the output to reduce response sizes
|
|
7505
7898
|
* @param {*} [options] Override http request options.
|
|
7506
7899
|
*/
|
|
7507
|
-
public siaConversionConvertToAva (siaFile: FileParameter, removePlainTextLongTexts?: boolean, removeHtmlLongTexts?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: ProjectDto; }> {
|
|
7508
|
-
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';
|
|
7509
7901
|
let localVarQueryParameters: any = {};
|
|
7510
7902
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7511
7903
|
let localVarFormParams: any = {};
|
|
@@ -7562,6 +7954,13 @@ export class SiaConversionApi {
|
|
|
7562
7954
|
});
|
|
7563
7955
|
});
|
|
7564
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
|
+
|
|
7565
7964
|
/**
|
|
7566
7965
|
*
|
|
7567
7966
|
* @summary Converts SIA 451 files to Excel
|
|
@@ -7571,8 +7970,7 @@ export class SiaConversionApi {
|
|
|
7571
7970
|
* @param conversionCulture The culture that should be used for the conversion process, to have localized Excel files
|
|
7572
7971
|
* @param {*} [options] Override http request options.
|
|
7573
7972
|
*/
|
|
7574
|
-
public siaConversionConvertToExcel (siaFile: FileParameter, writePrices?: boolean, writeLongTexts?: boolean, conversionCulture?: string, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7575
|
-
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';
|
|
7576
7974
|
let localVarQueryParameters: any = {};
|
|
7577
7975
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7578
7976
|
let localVarFormParams: any = {};
|
|
@@ -7633,6 +8031,13 @@ export class SiaConversionApi {
|
|
|
7633
8031
|
});
|
|
7634
8032
|
});
|
|
7635
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
|
+
|
|
7636
8041
|
/**
|
|
7637
8042
|
*
|
|
7638
8043
|
* @summary Converts SIA 451 files to GAEB files
|
|
@@ -7646,14 +8051,13 @@ export class SiaConversionApi {
|
|
|
7646
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.
|
|
7647
8052
|
* @param {*} [options] Override http request options.
|
|
7648
8053
|
*/
|
|
7649
|
-
public siaConversionConvertToGaeb (siaFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
|
|
7650
|
-
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';
|
|
7651
8055
|
let localVarQueryParameters: any = {};
|
|
7652
8056
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7653
8057
|
let localVarFormParams: any = {};
|
|
7654
8058
|
|
|
7655
8059
|
if (destinationGaebType !== undefined) {
|
|
7656
|
-
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'");
|
|
7657
8061
|
}
|
|
7658
8062
|
|
|
7659
8063
|
if (targetExchangePhaseTransform !== undefined) {
|
|
@@ -7724,6 +8128,13 @@ export class SiaConversionApi {
|
|
|
7724
8128
|
});
|
|
7725
8129
|
});
|
|
7726
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
|
+
|
|
7727
8138
|
/**
|
|
7728
8139
|
*
|
|
7729
8140
|
* @summary Converts SIA 451 files to Oenorm files
|
|
@@ -7734,8 +8145,7 @@ export class SiaConversionApi {
|
|
|
7734
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.
|
|
7735
8146
|
* @param {*} [options] Override http request options.
|
|
7736
8147
|
*/
|
|
7737
|
-
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; }> {
|
|
7738
|
-
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';
|
|
7739
8149
|
let localVarQueryParameters: any = {};
|
|
7740
8150
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7741
8151
|
let localVarFormParams: any = {};
|
|
@@ -7950,6 +8360,13 @@ export class ValidationApi {
|
|
|
7950
8360
|
set accessToken(token: string) {
|
|
7951
8361
|
this.authentications['Dangl.Identity'].accessToken = token;
|
|
7952
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
|
+
|
|
7953
8370
|
/**
|
|
7954
8371
|
*
|
|
7955
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.
|
|
@@ -7957,8 +8374,7 @@ export class ValidationApi {
|
|
|
7957
8374
|
* @param fileValidationSourceType You need to indicate which type of file is being provided, there is no auto detection mechanism
|
|
7958
8375
|
* @param {*} [options] Override http request options.
|
|
7959
8376
|
*/
|
|
7960
|
-
public validationValidateFile (avaFile: FileParameter, fileValidationSourceType?: 'Gaeb' | 'Oenorm', options: any = {}) : Promise<{ response: http.IncomingMessage; body: ValidationResult; }> {
|
|
7961
|
-
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';
|
|
7962
8378
|
let localVarQueryParameters: any = {};
|
|
7963
8379
|
let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
|
|
7964
8380
|
let localVarFormParams: any = {};
|
|
@@ -8079,3 +8495,4 @@ export interface FileParameter {
|
|
|
8079
8495
|
}
|
|
8080
8496
|
}
|
|
8081
8497
|
|
|
8498
|
+
|