@dangl/avacloud-client-node 1.18.0 → 1.19.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.31.1
3
3
  * AVACloud API specification
4
4
  *
5
- * OpenAPI spec version: 1.30.0
5
+ * OpenAPI spec version: 1.31.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2467,6 +2467,10 @@ export class PostGaebDestinationOptions {
2467
2467
  * 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
2468
  */
2469
2469
  'forceIncludeDescriptions': boolean;
2470
+ /**
2471
+ * 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.
2472
+ */
2473
+ 'treatNullItemNumberSchemaAsInvalid': boolean;
2470
2474
 
2471
2475
  static discriminator: string | undefined = undefined;
2472
2476
 
@@ -2500,6 +2504,11 @@ export class PostGaebDestinationOptions {
2500
2504
  "name": "forceIncludeDescriptions",
2501
2505
  "baseName": "forceIncludeDescriptions",
2502
2506
  "type": "boolean"
2507
+ },
2508
+ {
2509
+ "name": "treatNullItemNumberSchemaAsInvalid",
2510
+ "baseName": "treatNullItemNumberSchemaAsInvalid",
2511
+ "type": "boolean"
2503
2512
  } ];
2504
2513
 
2505
2514
  static getAttributeTypeMap() {
@@ -4039,6 +4048,10 @@ export class SubDescriptionDto {
4039
4048
  */
4040
4049
  'quantity': number;
4041
4050
  /**
4051
+ * You can use this property to directly set the quantity for this sub description. This will override any given QuantityComponents
4052
+ */
4053
+ 'quantityOverride'?: number;
4054
+ /**
4042
4055
  * Holds quantity information for this sub description. Quantity is listening to changes here and is reporting the total sum of all quantity components.
4043
4056
  */
4044
4057
  'quantityComponents'?: Array<CalculationDto>;
@@ -4059,6 +4072,10 @@ export class SubDescriptionDto {
4059
4072
  */
4060
4073
  'longText'?: string;
4061
4074
  /**
4075
+ * If this is given, then the sub description has a different unit tag than the parent position.
4076
+ */
4077
+ 'unitTag'?: string;
4078
+ /**
4062
4079
  * 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
4080
  */
4064
4081
  'htmlLongText'?: string;
@@ -4083,6 +4100,8 @@ export class SubDescriptionDto {
4083
4100
  */
4084
4101
  'descriptionId'?: string;
4085
4102
  'hasBidderCommentInHtmlLongText': boolean;
4103
+ 'elementType'?: string;
4104
+ 'elementTypeDiscriminator'?: string;
4086
4105
 
4087
4106
  static discriminator: string | undefined = undefined;
4088
4107
 
@@ -4097,6 +4116,11 @@ export class SubDescriptionDto {
4097
4116
  "baseName": "quantity",
4098
4117
  "type": "number"
4099
4118
  },
4119
+ {
4120
+ "name": "quantityOverride",
4121
+ "baseName": "quantityOverride",
4122
+ "type": "number"
4123
+ },
4100
4124
  {
4101
4125
  "name": "quantityComponents",
4102
4126
  "baseName": "quantityComponents",
@@ -4122,6 +4146,11 @@ export class SubDescriptionDto {
4122
4146
  "baseName": "longText",
4123
4147
  "type": "string"
4124
4148
  },
4149
+ {
4150
+ "name": "unitTag",
4151
+ "baseName": "unitTag",
4152
+ "type": "string"
4153
+ },
4125
4154
  {
4126
4155
  "name": "htmlLongText",
4127
4156
  "baseName": "htmlLongText",
@@ -4156,6 +4185,16 @@ export class SubDescriptionDto {
4156
4185
  "name": "hasBidderCommentInHtmlLongText",
4157
4186
  "baseName": "hasBidderCommentInHtmlLongText",
4158
4187
  "type": "boolean"
4188
+ },
4189
+ {
4190
+ "name": "elementType",
4191
+ "baseName": "elementType",
4192
+ "type": "string"
4193
+ },
4194
+ {
4195
+ "name": "elementTypeDiscriminator",
4196
+ "baseName": "elementTypeDiscriminator",
4197
+ "type": "string"
4159
4198
  } ];
4160
4199
 
4161
4200
  static getAttributeTypeMap() {
@@ -4882,9 +4921,10 @@ export class AslvConversionApi {
4882
4921
  * @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
4922
  * @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
4923
  * @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.
4924
+ * @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
4925
  * @param {*} [options] Override http request options.
4886
4926
  */
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; }> {
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; }> {
4888
4928
  const localVarPath = this.basePath + '/conversion/aslv/gaeb';
4889
4929
  let localVarQueryParameters: any = {};
4890
4930
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -4914,6 +4954,10 @@ export class AslvConversionApi {
4914
4954
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
4915
4955
  }
4916
4956
 
4957
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
4958
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
4959
+ }
4960
+
4917
4961
  (<any>Object).assign(localVarHeaderParams, options.headers);
4918
4962
 
4919
4963
  let localVarUseFormData = false;
@@ -5245,9 +5289,10 @@ export class AvaConversionApi {
5245
5289
  * @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
5290
  * @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
5291
  * @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.
5292
+ * @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
5293
  * @param {*} [options] Override http request options.
5249
5294
  */
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; }> {
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; }> {
5251
5296
  const localVarPath = this.basePath + '/conversion/ava/gaeb';
5252
5297
  let localVarQueryParameters: any = {};
5253
5298
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -5286,6 +5331,10 @@ export class AvaConversionApi {
5286
5331
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
5287
5332
  }
5288
5333
 
5334
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
5335
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
5336
+ }
5337
+
5289
5338
  (<any>Object).assign(localVarHeaderParams, options.headers);
5290
5339
 
5291
5340
  let localVarUseFormData = false;
@@ -6140,9 +6189,10 @@ export class ExcelConversionApi {
6140
6189
  * @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
6190
  * @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
6191
  * @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.
6192
+ * @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
6193
  * @param {*} [options] Override http request options.
6144
6194
  */
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; }> {
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; }> {
6146
6196
  const localVarPath = this.basePath + '/conversion/excel/gaeb';
6147
6197
  let localVarQueryParameters: any = {};
6148
6198
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -6180,6 +6230,10 @@ export class ExcelConversionApi {
6180
6230
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
6181
6231
  }
6182
6232
 
6233
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
6234
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
6235
+ }
6236
+
6183
6237
  (<any>Object).assign(localVarHeaderParams, options.headers);
6184
6238
 
6185
6239
  let localVarUseFormData = false;
@@ -6518,9 +6572,10 @@ export class GaebConversionApi {
6518
6572
  * @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
6573
  * @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
6574
  * @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.
6575
+ * @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
6576
  * @param {*} [options] Override http request options.
6522
6577
  */
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; }> {
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; }> {
6524
6579
  const localVarPath = this.basePath + '/conversion/gaeb/gaeb';
6525
6580
  let localVarQueryParameters: any = {};
6526
6581
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -6554,6 +6609,10 @@ export class GaebConversionApi {
6554
6609
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
6555
6610
  }
6556
6611
 
6612
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
6613
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
6614
+ }
6615
+
6557
6616
  (<any>Object).assign(localVarHeaderParams, options.headers);
6558
6617
 
6559
6618
  let localVarUseFormData = false;
@@ -6876,9 +6935,10 @@ export class OenormConversionApi {
6876
6935
  * @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
6936
  * @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
6937
  * @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.
6938
+ * @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
6939
  * @param {*} [options] Override http request options.
6880
6940
  */
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; }> {
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; }> {
6882
6942
  const localVarPath = this.basePath + '/conversion/oenorm/gaeb';
6883
6943
  let localVarQueryParameters: any = {};
6884
6944
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -6908,6 +6968,10 @@ export class OenormConversionApi {
6908
6968
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
6909
6969
  }
6910
6970
 
6971
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
6972
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
6973
+ }
6974
+
6911
6975
  (<any>Object).assign(localVarHeaderParams, options.headers);
6912
6976
 
6913
6977
  let localVarUseFormData = false;
@@ -7225,9 +7289,10 @@ export class RebConversionApi {
7225
7289
  * @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
7290
  * @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
7291
  * @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.
7292
+ * @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
7293
  * @param {*} [options] Override http request options.
7229
7294
  */
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; }> {
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; }> {
7231
7296
  const localVarPath = this.basePath + '/conversion/reb/gaeb';
7232
7297
  let localVarQueryParameters: any = {};
7233
7298
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -7257,6 +7322,10 @@ export class RebConversionApi {
7257
7322
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
7258
7323
  }
7259
7324
 
7325
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
7326
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
7327
+ }
7328
+
7260
7329
  (<any>Object).assign(localVarHeaderParams, options.headers);
7261
7330
 
7262
7331
  let localVarUseFormData = false;
@@ -7574,9 +7643,10 @@ export class SiaConversionApi {
7574
7643
  * @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
7644
  * @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
7645
  * @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.
7646
+ * @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
7647
  * @param {*} [options] Override http request options.
7578
7648
  */
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; }> {
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; }> {
7580
7650
  const localVarPath = this.basePath + '/conversion/sia/gaeb';
7581
7651
  let localVarQueryParameters: any = {};
7582
7652
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
@@ -7606,6 +7676,10 @@ export class SiaConversionApi {
7606
7676
  localVarQueryParameters['ForceIncludeDescriptions'] = ObjectSerializer.serialize(forceIncludeDescriptions, "boolean");
7607
7677
  }
7608
7678
 
7679
+ if (treatNullItemNumberSchemaAsInvalid !== undefined) {
7680
+ localVarQueryParameters['TreatNullItemNumberSchemaAsInvalid'] = ObjectSerializer.serialize(treatNullItemNumberSchemaAsInvalid, "boolean");
7681
+ }
7682
+
7609
7683
  (<any>Object).assign(localVarHeaderParams, options.headers);
7610
7684
 
7611
7685
  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.19.0",
4
4
  "description": "NodeJS client for @dangl/avacloud-client-node",
5
5
  "repository": "/",
6
6
  "main": "api.js",