@dangl/avacloud-client-node 1.20.0 → 1.35.0-avacloud-preview

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.
Files changed (6) hide show
  1. package/LICENSE.md +1 -1
  2. package/api.d.ts +114 -11
  3. package/api.js +127 -20
  4. package/api.js.map +1 -1
  5. package/api.ts +209 -28
  6. package/package.json +2 -2
package/api.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * AVACloud API 1.32.0
2
+ * AVACloud API 1.35.0
3
3
  * AVACloud API specification
4
4
  *
5
- * OpenAPI spec version: 1.32.0
5
+ * OpenAPI spec version: 1.35.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() {
@@ -1926,6 +1950,22 @@ export class PositionDto extends IElementDto {
1926
1950
  */
1927
1951
  'quantityOverride'?: number;
1928
1952
  /**
1953
+ * This indicates true if this specific position is specified as a complementing position for any base position.
1954
+ */
1955
+ 'isComplementingPosition': boolean;
1956
+ /**
1957
+ * If IsComplementingPosition is set to true, this will indicate which base positions are targeted by this complementing position.
1958
+ */
1959
+ 'complementsPositions'?: Array<string>;
1960
+ /**
1961
+ * 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.
1962
+ */
1963
+ 'complementingPricePercentageOverride'?: number;
1964
+ /**
1965
+ * 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.
1966
+ */
1967
+ 'complementingPricePercentage'?: number;
1968
+ /**
1929
1969
  * The tag of the unit used for this positions quantity.
1930
1970
  */
1931
1971
  'unitTag'?: string;
@@ -2058,7 +2098,6 @@ export class PositionDto extends IElementDto {
2058
2098
  * This identifier can be used to point to the Id of a position in the same ServiceSpecification that acts as a base position. It matches \"Bezugsposition\" in GAEB. This can be used for positions that repeat partially or are linked together
2059
2099
  */
2060
2100
  'repetitionTo'?: string;
2061
- 'type'?: string;
2062
2101
  /**
2063
2102
  * This represents a standardized description. This means that instead of solely relying on texts to describe a service, external standards and definitions are referenced for a common understanding.
2064
2103
  */
@@ -2116,6 +2155,26 @@ export class PositionDto extends IElementDto {
2116
2155
  "baseName": "quantityOverride",
2117
2156
  "type": "number"
2118
2157
  },
2158
+ {
2159
+ "name": "isComplementingPosition",
2160
+ "baseName": "isComplementingPosition",
2161
+ "type": "boolean"
2162
+ },
2163
+ {
2164
+ "name": "complementsPositions",
2165
+ "baseName": "complementsPositions",
2166
+ "type": "Array<string>"
2167
+ },
2168
+ {
2169
+ "name": "complementingPricePercentageOverride",
2170
+ "baseName": "complementingPricePercentageOverride",
2171
+ "type": "number"
2172
+ },
2173
+ {
2174
+ "name": "complementingPricePercentage",
2175
+ "baseName": "complementingPricePercentage",
2176
+ "type": "number"
2177
+ },
2119
2178
  {
2120
2179
  "name": "unitTag",
2121
2180
  "baseName": "unitTag",
@@ -2286,11 +2345,6 @@ export class PositionDto extends IElementDto {
2286
2345
  "baseName": "repetitionTo",
2287
2346
  "type": "string"
2288
2347
  },
2289
- {
2290
- "name": "type",
2291
- "baseName": "type",
2292
- "type": "string"
2293
- },
2294
2348
  {
2295
2349
  "name": "standardizedDescription",
2296
2350
  "baseName": "standardizedDescription",
@@ -3273,6 +3327,128 @@ export class STLBReferenceDto {
3273
3327
  }
3274
3328
  }
3275
3329
 
3330
+ /**
3331
+ * This class represents properties used in commerce exchange scenarios
3332
+ */
3333
+ export class ServiceSpecificationCommercePropertiesDto {
3334
+ /**
3335
+ * The date until the price is valid or fixed.
3336
+ */
3337
+ 'fixedPriceDate'?: Date;
3338
+ /**
3339
+ * The date of the delivery voucher note.
3340
+ */
3341
+ 'deliveryVoucherDate'?: Date;
3342
+ /**
3343
+ * The actual date of delivery.
3344
+ */
3345
+ 'deliveryDate'?: Date;
3346
+ /**
3347
+ * The number of the inquiry, usually in a context of offer requests.
3348
+ */
3349
+ 'inquiryNumber'?: string;
3350
+ /**
3351
+ * The number of the offer, usually in a context of an offer.
3352
+ */
3353
+ 'offerNumber'?: string;
3354
+ /**
3355
+ * The order number, usually in the context of a grant or contract.
3356
+ */
3357
+ 'orderNumber'?: string;
3358
+ /**
3359
+ * The order confirmation number
3360
+ */
3361
+ 'orderConfirmationNumber'?: string;
3362
+ /**
3363
+ * The number of the delivery, e.g. on the delivery note voucher.
3364
+ */
3365
+ 'deliveryNumber'?: string;
3366
+ /**
3367
+ * The reference number of the customer / buyer.
3368
+ */
3369
+ 'customerReferenceNumber'?: string;
3370
+ /**
3371
+ * The reference number of the supplier / bidder.
3372
+ */
3373
+ 'supplierReferenceNumber'?: string;
3374
+ /**
3375
+ * The type of shippment.
3376
+ */
3377
+ 'shippingType'?: string;
3378
+ /**
3379
+ * The type of the price inquiry.
3380
+ */
3381
+ 'inquiryType': CommerceInquiryTypeDto;
3382
+
3383
+ static discriminator: string | undefined = undefined;
3384
+
3385
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
3386
+ {
3387
+ "name": "fixedPriceDate",
3388
+ "baseName": "fixedPriceDate",
3389
+ "type": "Date"
3390
+ },
3391
+ {
3392
+ "name": "deliveryVoucherDate",
3393
+ "baseName": "deliveryVoucherDate",
3394
+ "type": "Date"
3395
+ },
3396
+ {
3397
+ "name": "deliveryDate",
3398
+ "baseName": "deliveryDate",
3399
+ "type": "Date"
3400
+ },
3401
+ {
3402
+ "name": "inquiryNumber",
3403
+ "baseName": "inquiryNumber",
3404
+ "type": "string"
3405
+ },
3406
+ {
3407
+ "name": "offerNumber",
3408
+ "baseName": "offerNumber",
3409
+ "type": "string"
3410
+ },
3411
+ {
3412
+ "name": "orderNumber",
3413
+ "baseName": "orderNumber",
3414
+ "type": "string"
3415
+ },
3416
+ {
3417
+ "name": "orderConfirmationNumber",
3418
+ "baseName": "orderConfirmationNumber",
3419
+ "type": "string"
3420
+ },
3421
+ {
3422
+ "name": "deliveryNumber",
3423
+ "baseName": "deliveryNumber",
3424
+ "type": "string"
3425
+ },
3426
+ {
3427
+ "name": "customerReferenceNumber",
3428
+ "baseName": "customerReferenceNumber",
3429
+ "type": "string"
3430
+ },
3431
+ {
3432
+ "name": "supplierReferenceNumber",
3433
+ "baseName": "supplierReferenceNumber",
3434
+ "type": "string"
3435
+ },
3436
+ {
3437
+ "name": "shippingType",
3438
+ "baseName": "shippingType",
3439
+ "type": "string"
3440
+ },
3441
+ {
3442
+ "name": "inquiryType",
3443
+ "baseName": "inquiryType",
3444
+ "type": "CommerceInquiryTypeDto"
3445
+ } ];
3446
+
3447
+ static getAttributeTypeMap() {
3448
+ return ServiceSpecificationCommercePropertiesDto.attributeTypeMap;
3449
+ }
3450
+ }
3451
+
3276
3452
  /**
3277
3453
  * This is the base class that holds information about a whole service specification.
3278
3454
  */
@@ -3461,6 +3637,10 @@ export class ServiceSpecificationDto {
3461
3637
  * This indicates, if this element is part of an addendum an, if yes, with what status.
3462
3638
  */
3463
3639
  'addendumStatus'?: AddendumStatusDto;
3640
+ /**
3641
+ * This property holds additional information that's only valid in commerce exchange phases.
3642
+ */
3643
+ 'commerceProperties'?: ServiceSpecificationCommercePropertiesDto;
3464
3644
 
3465
3645
  static discriminator: string | undefined = undefined;
3466
3646
 
@@ -3694,6 +3874,11 @@ export class ServiceSpecificationDto {
3694
3874
  "name": "addendumStatus",
3695
3875
  "baseName": "addendumStatus",
3696
3876
  "type": "AddendumStatusDto"
3877
+ },
3878
+ {
3879
+ "name": "commerceProperties",
3880
+ "baseName": "commerceProperties",
3881
+ "type": "ServiceSpecificationCommercePropertiesDto"
3697
3882
  } ];
3698
3883
 
3699
3884
  static getAttributeTypeMap() {
@@ -3799,7 +3984,6 @@ export class ServiceSpecificationGroupDto extends IElementDto {
3799
3984
  * If this group is an alternative for a base group, then this property should point to the id of the group in this service specification that it can replace. If this is an alternative group to a base group, the PriceType should typically be set to \"WithoutTotal\" so this group does not factor into total costs. The PriceType is not changed when this property is set
3800
3985
  */
3801
3986
  'alternativeTo'?: string;
3802
- 'type'?: string;
3803
3987
  /**
3804
3988
  * This class models special properties that only apply to some exchange scenarios where ÖNorm is used.
3805
3989
  */
@@ -3941,11 +4125,6 @@ export class ServiceSpecificationGroupDto extends IElementDto {
3941
4125
  "baseName": "alternativeTo",
3942
4126
  "type": "string"
3943
4127
  },
3944
- {
3945
- "name": "type",
3946
- "baseName": "type",
3947
- "type": "string"
3948
- },
3949
4128
  {
3950
4129
  "name": "oenormProperties",
3951
4130
  "baseName": "oenormProperties",
@@ -4621,6 +4800,7 @@ let typeMap: {[index: string]: any} = {
4621
4800
  "CatalogueReferenceDto": CatalogueReferenceDto,
4622
4801
  "CatalogueTypeDto": CatalogueTypeDto,
4623
4802
  "ComissionStatusDto": ComissionStatusDto,
4803
+ "CommerceInquiryTypeDto": CommerceInquiryTypeDto,
4624
4804
  "CommercePropertiesDto": CommercePropertiesDto,
4625
4805
  "ComplementedByQuantityDto": ComplementedByQuantityDto,
4626
4806
  "DestinationGaebExchangePhase": DestinationGaebExchangePhase,
@@ -4671,6 +4851,7 @@ let typeMap: {[index: string]: any} = {
4671
4851
  "ResponseErrorType": ResponseErrorType,
4672
4852
  "STLBKeyDto": STLBKeyDto,
4673
4853
  "STLBReferenceDto": STLBReferenceDto,
4854
+ "ServiceSpecificationCommercePropertiesDto": ServiceSpecificationCommercePropertiesDto,
4674
4855
  "ServiceSpecificationDto": ServiceSpecificationDto,
4675
4856
  "ServiceSpecificationGroupDto": ServiceSpecificationGroupDto,
4676
4857
  "ServiceTypeDto": ServiceTypeDto,
@@ -4942,14 +5123,14 @@ export class AslvConversionApi {
4942
5123
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
4943
5124
  * @param {*} [options] Override http request options.
4944
5125
  */
4945
- public aslvConversionConvertToGaeb (aslvFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5126
+ 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; }> {
4946
5127
  const localVarPath = this.basePath + '/conversion/aslv/gaeb';
4947
5128
  let localVarQueryParameters: any = {};
4948
5129
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
4949
5130
  let localVarFormParams: any = {};
4950
5131
 
4951
5132
  if (destinationGaebType !== undefined) {
4952
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
5133
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
4953
5134
  }
4954
5135
 
4955
5136
  if (targetExchangePhaseTransform !== undefined) {
@@ -5310,7 +5491,7 @@ export class AvaConversionApi {
5310
5491
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
5311
5492
  * @param {*} [options] Override http request options.
5312
5493
  */
5313
- public avaConversionConvertToGaeb (avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
5494
+ 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; }> {
5314
5495
  const localVarPath = this.basePath + '/conversion/ava/gaeb';
5315
5496
  let localVarQueryParameters: any = {};
5316
5497
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -5326,7 +5507,7 @@ export class AvaConversionApi {
5326
5507
  }
5327
5508
 
5328
5509
  if (destinationGaebType !== undefined) {
5329
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
5510
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
5330
5511
  }
5331
5512
 
5332
5513
  if (targetExchangePhaseTransform !== undefined) {
@@ -6210,7 +6391,7 @@ export class ExcelConversionApi {
6210
6391
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
6211
6392
  * @param {*} [options] Override http request options.
6212
6393
  */
6213
- public excelConversionConvertToGaeb (excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6394
+ 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; }> {
6214
6395
  const localVarPath = this.basePath + '/conversion/excel/gaeb';
6215
6396
  let localVarQueryParameters: any = {};
6216
6397
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -6225,7 +6406,7 @@ export class ExcelConversionApi {
6225
6406
  }
6226
6407
 
6227
6408
  if (destinationGaebType !== undefined) {
6228
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
6409
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
6229
6410
  }
6230
6411
 
6231
6412
  if (targetExchangePhaseTransform !== undefined) {
@@ -6593,7 +6774,7 @@ export class GaebConversionApi {
6593
6774
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
6594
6775
  * @param {*} [options] Override http request options.
6595
6776
  */
6596
- public gaebConversionConvertToGaeb (gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
6777
+ 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; }> {
6597
6778
  const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
6598
6779
  let localVarQueryParameters: any = {};
6599
6780
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -6604,7 +6785,7 @@ export class GaebConversionApi {
6604
6785
  }
6605
6786
 
6606
6787
  if (destinationGaebType !== undefined) {
6607
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
6788
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
6608
6789
  }
6609
6790
 
6610
6791
  if (targetExchangePhaseTransform !== undefined) {
@@ -6956,14 +7137,14 @@ export class OenormConversionApi {
6956
7137
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
6957
7138
  * @param {*} [options] Override http request options.
6958
7139
  */
6959
- public oenormConversionConvertToGaeb (oenormFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7140
+ 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; }> {
6960
7141
  const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
6961
7142
  let localVarQueryParameters: any = {};
6962
7143
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
6963
7144
  let localVarFormParams: any = {};
6964
7145
 
6965
7146
  if (destinationGaebType !== undefined) {
6966
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
7147
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
6967
7148
  }
6968
7149
 
6969
7150
  if (targetExchangePhaseTransform !== undefined) {
@@ -7310,14 +7491,14 @@ export class RebConversionApi {
7310
7491
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
7311
7492
  * @param {*} [options] Override http request options.
7312
7493
  */
7313
- public rebConversionConvertToGaeb (rebFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7494
+ 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; }> {
7314
7495
  const localVarPath = this.basePath + '/conversion/reb/gaeb';
7315
7496
  let localVarQueryParameters: any = {};
7316
7497
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7317
7498
  let localVarFormParams: any = {};
7318
7499
 
7319
7500
  if (destinationGaebType !== undefined) {
7320
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
7501
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
7321
7502
  }
7322
7503
 
7323
7504
  if (targetExchangePhaseTransform !== undefined) {
@@ -7664,14 +7845,14 @@ export class SiaConversionApi {
7664
7845
  * @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
7665
7846
  * @param {*} [options] Override http request options.
7666
7847
  */
7667
- public siaConversionConvertToGaeb (siaFile: FileParameter, destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce', targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer', enforceStrictOfferPhaseLongTextOutput?: boolean, exportQuantityDetermination?: boolean, removeUnprintableCharactersFromTexts?: boolean, forceIncludeDescriptions?: boolean, treatNullItemNumberSchemaAsInvalid?: boolean, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
7848
+ 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; }> {
7668
7849
  const localVarPath = this.basePath + '/conversion/sia/gaeb';
7669
7850
  let localVarQueryParameters: any = {};
7670
7851
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
7671
7852
  let localVarFormParams: any = {};
7672
7853
 
7673
7854
  if (destinationGaebType !== undefined) {
7674
- localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce'");
7855
+ localVarQueryParameters['DestinationGaebType'] = ObjectSerializer.serialize(destinationGaebType, "'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce'");
7675
7856
  }
7676
7857
 
7677
7858
  if (targetExchangePhaseTransform !== undefined) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dangl/avacloud-client-node",
3
- "version": "1.20.0",
3
+ "version": "1.35.0-avacloud-preview",
4
4
  "description": "NodeJS client for @dangl/avacloud-client-node",
5
5
  "repository": "/",
6
6
  "main": "api.js",
@@ -19,7 +19,7 @@
19
19
  "@types/request": "*"
20
20
  },
21
21
  "devDependencies": {
22
- "typescript": "^3.4.3",
22
+ "typescript": "^4.9.4",
23
23
  "minimist": "^1.2.5"
24
24
  }
25
25
  }