@dangl/avacloud-client-node 1.18.0 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * AVACloud API 1.30.0
2
+ * AVACloud API 1.32.0
3
3
  * AVACloud API specification
4
4
  *
5
- * OpenAPI spec version: 1.30.0
5
+ * OpenAPI spec version: 1.32.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -1628,6 +1628,14 @@ export class OenormPositionPropertiesDto {
1628
1628
  * 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
1629
  */
1630
1630
  'isUndividedPosition': boolean;
1631
+ /**
1632
+ * 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.
1633
+ */
1634
+ 'oenormShortText'?: string;
1635
+ /**
1636
+ * 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.
1637
+ */
1638
+ 'oenormShortTextAddition'?: string;
1631
1639
 
1632
1640
  static discriminator: string | undefined = undefined;
1633
1641
 
@@ -1651,6 +1659,16 @@ export class OenormPositionPropertiesDto {
1651
1659
  "name": "isUndividedPosition",
1652
1660
  "baseName": "isUndividedPosition",
1653
1661
  "type": "boolean"
1662
+ },
1663
+ {
1664
+ "name": "oenormShortText",
1665
+ "baseName": "oenormShortText",
1666
+ "type": "string"
1667
+ },
1668
+ {
1669
+ "name": "oenormShortTextAddition",
1670
+ "baseName": "oenormShortTextAddition",
1671
+ "type": "string"
1654
1672
  } ];
1655
1673
 
1656
1674
  static getAttributeTypeMap() {
@@ -2467,6 +2485,10 @@ export class PostGaebDestinationOptions {
2467
2485
  * If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
2468
2486
  */
2469
2487
  'forceIncludeDescriptions': boolean;
2488
+ /**
2489
+ * 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.
2490
+ */
2491
+ 'treatNullItemNumberSchemaAsInvalid': boolean;
2470
2492
 
2471
2493
  static discriminator: string | undefined = undefined;
2472
2494
 
@@ -2500,6 +2522,11 @@ export class PostGaebDestinationOptions {
2500
2522
  "name": "forceIncludeDescriptions",
2501
2523
  "baseName": "forceIncludeDescriptions",
2502
2524
  "type": "boolean"
2525
+ },
2526
+ {
2527
+ "name": "treatNullItemNumberSchemaAsInvalid",
2528
+ "baseName": "treatNullItemNumberSchemaAsInvalid",
2529
+ "type": "boolean"
2503
2530
  } ];
2504
2531
 
2505
2532
  static getAttributeTypeMap() {
@@ -4039,6 +4066,10 @@ export class SubDescriptionDto {
4039
4066
  */
4040
4067
  'quantity': number;
4041
4068
  /**
4069
+ * You can use this property to directly set the quantity for this sub description. This will override any given QuantityComponents
4070
+ */
4071
+ 'quantityOverride'?: number;
4072
+ /**
4042
4073
  * Holds quantity information for this sub description. Quantity is listening to changes here and is reporting the total sum of all quantity components.
4043
4074
  */
4044
4075
  'quantityComponents'?: Array<CalculationDto>;
@@ -4059,6 +4090,10 @@ export class SubDescriptionDto {
4059
4090
  */
4060
4091
  'longText'?: string;
4061
4092
  /**
4093
+ * If this is given, then the sub description has a different unit tag than the parent position.
4094
+ */
4095
+ 'unitTag'?: string;
4096
+ /**
4062
4097
  * This contains the Html representation of the Longtext. When the LongText is set, this is automatically overwritten and filled with the appropriate Html representation of the plaintext. Vice versa, setting this property overrides the LongText. GAEB 90 and GAEB 2000 exports do not support any image functionality. In GAEB XML, only images that use an embedded Base64 data uri are exported, regular url references are cleared before written out.
4063
4098
  */
4064
4099
  'htmlLongText'?: string;
@@ -4083,6 +4118,8 @@ export class SubDescriptionDto {
4083
4118
  */
4084
4119
  'descriptionId'?: string;
4085
4120
  'hasBidderCommentInHtmlLongText': boolean;
4121
+ 'elementType'?: string;
4122
+ 'elementTypeDiscriminator'?: string;
4086
4123
 
4087
4124
  static discriminator: string | undefined = undefined;
4088
4125
 
@@ -4097,6 +4134,11 @@ export class SubDescriptionDto {
4097
4134
  "baseName": "quantity",
4098
4135
  "type": "number"
4099
4136
  },
4137
+ {
4138
+ "name": "quantityOverride",
4139
+ "baseName": "quantityOverride",
4140
+ "type": "number"
4141
+ },
4100
4142
  {
4101
4143
  "name": "quantityComponents",
4102
4144
  "baseName": "quantityComponents",
@@ -4122,6 +4164,11 @@ export class SubDescriptionDto {
4122
4164
  "baseName": "longText",
4123
4165
  "type": "string"
4124
4166
  },
4167
+ {
4168
+ "name": "unitTag",
4169
+ "baseName": "unitTag",
4170
+ "type": "string"
4171
+ },
4125
4172
  {
4126
4173
  "name": "htmlLongText",
4127
4174
  "baseName": "htmlLongText",
@@ -4156,6 +4203,16 @@ export class SubDescriptionDto {
4156
4203
  "name": "hasBidderCommentInHtmlLongText",
4157
4204
  "baseName": "hasBidderCommentInHtmlLongText",
4158
4205
  "type": "boolean"
4206
+ },
4207
+ {
4208
+ "name": "elementType",
4209
+ "baseName": "elementType",
4210
+ "type": "string"
4211
+ },
4212
+ {
4213
+ "name": "elementTypeDiscriminator",
4214
+ "baseName": "elementTypeDiscriminator",
4215
+ "type": "string"
4159
4216
  } ];
4160
4217
 
4161
4218
  static getAttributeTypeMap() {
@@ -4882,9 +4939,10 @@ export class AslvConversionApi {
4882
4939
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
4883
4940
  * @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.
4884
4941
  * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
4942
+ * @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.
4885
4943
  * @param {*} [options] Override http request options.
4886
4944
  */
4887
- 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, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
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; }> {
4888
4946
  const localVarPath = this.basePath + '/conversion/aslv/gaeb';
4889
4947
  let localVarQueryParameters: any = {};
4890
4948
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -4914,6 +4972,10 @@ export class AslvConversionApi {
4914
4972
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
4915
4973
  }
4916
4974
 
4975
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
4976
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
4977
+ }
4978
+
4917
4979
  (<any>Object).assign(localVarHeaderParams, options.headers);
4918
4980
 
4919
4981
  let localVarUseFormData = false;
@@ -5245,9 +5307,10 @@ export class AvaConversionApi {
5245
5307
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
5246
5308
  * @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.
5247
5309
  * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
5310
+ * @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.
5248
5311
  * @param {*} [options] Override http request options.
5249
5312
  */
5250
- 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, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
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; }> {
5251
5314
  const localVarPath = this.basePath + '/conversion/ava/gaeb';
5252
5315
  let localVarQueryParameters: any = {};
5253
5316
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -5286,6 +5349,10 @@ export class AvaConversionApi {
5286
5349
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
5287
5350
  }
5288
5351
 
5352
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
5353
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
5354
+ }
5355
+
5289
5356
  (<any>Object).assign(localVarHeaderParams, options.headers);
5290
5357
 
5291
5358
  let localVarUseFormData = false;
@@ -6140,9 +6207,10 @@ export class ExcelConversionApi {
6140
6207
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
6141
6208
  * @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.
6142
6209
  * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
6210
+ * @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.
6143
6211
  * @param {*} [options] Override http request options.
6144
6212
  */
6145
- 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, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
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; }> {
6146
6214
  const localVarPath = this.basePath + '/conversion/excel/gaeb';
6147
6215
  let localVarQueryParameters: any = {};
6148
6216
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -6180,6 +6248,10 @@ export class ExcelConversionApi {
6180
6248
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
6181
6249
  }
6182
6250
 
6251
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
6252
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
6253
+ }
6254
+
6183
6255
  (<any>Object).assign(localVarHeaderParams, options.headers);
6184
6256
 
6185
6257
  let localVarUseFormData = false;
@@ -6518,9 +6590,10 @@ export class GaebConversionApi {
6518
6590
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
6519
6591
  * @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.
6520
6592
  * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
6593
+ * @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.
6521
6594
  * @param {*} [options] Override http request options.
6522
6595
  */
6523
- 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, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
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; }> {
6524
6597
  const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
6525
6598
  let localVarQueryParameters: any = {};
6526
6599
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -6554,6 +6627,10 @@ export class GaebConversionApi {
6554
6627
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
6555
6628
  }
6556
6629
 
6630
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
6631
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
6632
+ }
6633
+
6557
6634
  (<any>Object).assign(localVarHeaderParams, options.headers);
6558
6635
 
6559
6636
  let localVarUseFormData = false;
@@ -6876,9 +6953,10 @@ export class OenormConversionApi {
6876
6953
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
6877
6954
  * @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.
6878
6955
  * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
6956
+ * @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.
6879
6957
  * @param {*} [options] Override http request options.
6880
6958
  */
6881
- 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, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
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; }> {
6882
6960
  const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
6883
6961
  let localVarQueryParameters: any = {};
6884
6962
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -6908,6 +6986,10 @@ export class OenormConversionApi {
6908
6986
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
6909
6987
  }
6910
6988
 
6989
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
6990
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
6991
+ }
6992
+
6911
6993
  (<any>Object).assign(localVarHeaderParams, options.headers);
6912
6994
 
6913
6995
  let localVarUseFormData = false;
@@ -7225,9 +7307,10 @@ export class RebConversionApi {
7225
7307
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
7226
7308
  * @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.
7227
7309
  * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
7310
+ * @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.
7228
7311
  * @param {*} [options] Override http request options.
7229
7312
  */
7230
- 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, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
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; }> {
7231
7314
  const localVarPath = this.basePath + '/conversion/reb/gaeb';
7232
7315
  let localVarQueryParameters: any = {};
7233
7316
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -7257,6 +7340,10 @@ export class RebConversionApi {
7257
7340
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
7258
7341
  }
7259
7342
 
7343
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
7344
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
7345
+ }
7346
+
7260
7347
  (<any>Object).assign(localVarHeaderParams, options.headers);
7261
7348
 
7262
7349
  let localVarUseFormData = false;
@@ -7574,9 +7661,10 @@ export class SiaConversionApi {
7574
7661
  * @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the &#39;QtyDeterm&#39; (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the &#39;QuantityComponents&#39; property of positions. Please see the entry for &#39;Quantity Determination&#39; in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the &#39;QuantityComponents&#39; property.
7575
7662
  * @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.
7576
7663
  * @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
7664
+ * @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.
7577
7665
  * @param {*} [options] Override http request options.
7578
7666
  */
7579
- 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, options: any = {}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
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; }> {
7580
7668
  const localVarPath = this.basePath + '/conversion/sia/gaeb';
7581
7669
  let localVarQueryParameters: any = {};
7582
7670
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -7606,6 +7694,10 @@ export class SiaConversionApi {
7606
7694
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
7607
7695
  }
7608
7696
 
7697
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
7698
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
7699
+ }
7700
+
7609
7701
  (<any>Object).assign(localVarHeaderParams, options.headers);
7610
7702
 
7611
7703
  let localVarUseFormData = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dangl/avacloud-client-node",
3
- "version": "1.18.0",
3
+ "version": "1.20.0",
4
4
  "description": "NodeJS client for @dangl/avacloud-client-node",
5
5
  "repository": "/",
6
6
  "main": "api.js",