@dangl/avacloud-client-node 1.60.4-beta0003-avacloud-preview → 1.60.5-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 (5) hide show
  1. package/api.d.ts +35 -11
  2. package/api.js +27 -5
  3. package/api.js.map +1 -1
  4. package/api.ts +37 -11
  5. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -872,7 +872,11 @@ export declare class GaebConversionApi {
872
872
  By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
873
873
  of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
874
874
  differing quantities will be kept during the import.
875
- * @param disableItemNumberIdentifierTransformations (optional)
875
+ * @param disableItemNumberIdentifierTransformations (optional) If this is enabled, single item number tiers will only be left padded with spaces
876
+ to their respective length, but spaces will not be filled with zeroes at the
877
+ beginning. Defaults to 'false'. This can be used to preserve item numbers exactly
878
+ as they are in the source file, but it is not recommended to use this option since it
879
+ may also allow incorrect or non schema compliant item numbers to be imported.
876
880
  */
877
881
  gaebConversionConvertToAva(gaebFile: FileParameter | null | undefined, supportSkippedItemNumberLevelsInPositions?: boolean | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, outputHtmlAsXml?: boolean | undefined, keepEmptyHtmlText?: boolean | undefined, allowUpperCaseItemNumbers?: boolean | undefined, allowLumpSumItemsWithDifferingQuantities?: boolean | undefined, disableItemNumberIdentifierTransformations?: boolean | undefined): Promise<SwaggerResponse<ProjectDto>>;
878
882
  protected processGaebConversionConvertToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
@@ -907,7 +911,11 @@ export declare class GaebConversionApi {
907
911
  By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
908
912
  of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
909
913
  differing quantities will be kept during the import.
910
- * @param disableItemNumberIdentifierTransformations (optional)
914
+ * @param disableItemNumberIdentifierTransformations (optional) If this is enabled, single item number tiers will only be left padded with spaces
915
+ to their respective length, but spaces will not be filled with zeroes at the
916
+ beginning. Defaults to 'false'. This can be used to preserve item numbers exactly
917
+ as they are in the source file, but it is not recommended to use this option since it
918
+ may also allow incorrect or non schema compliant item numbers to be imported.
911
919
  */
912
920
  gaebConversionConvertToFlatAva(gaebFile: FileParameter | null | undefined, supportSkippedItemNumberLevelsInPositions?: boolean | undefined, outputHtmlAsXml?: boolean | undefined, keepEmptyHtmlText?: boolean | undefined, allowUpperCaseItemNumbers?: boolean | undefined, allowLumpSumItemsWithDifferingQuantities?: boolean | undefined, disableItemNumberIdentifierTransformations?: boolean | undefined): Promise<SwaggerResponse<FlatAvaProject>>;
913
921
  protected processGaebConversionConvertToFlatAva(response: Response): Promise<SwaggerResponse<FlatAvaProject>>;
@@ -977,7 +985,11 @@ export declare class GaebConversionApi {
977
985
  By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
978
986
  of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
979
987
  differing quantities will be kept during the import.
980
- * @param disableItemNumberIdentifierTransformations (optional)
988
+ * @param disableItemNumberIdentifierTransformations (optional) If this is enabled, single item number tiers will only be left padded with spaces
989
+ to their respective length, but spaces will not be filled with zeroes at the
990
+ beginning. Defaults to 'false'. This can be used to preserve item numbers exactly
991
+ as they are in the source file, but it is not recommended to use this option since it
992
+ may also allow incorrect or non schema compliant item numbers to be imported.
981
993
  */
982
994
  gaebConversionConvertToGaeb(gaebFile: FileParameter | null | undefined, supportSkippedItemNumberLevelsInPositions?: boolean | undefined, destinationGaebType?: DestinationGaebType | undefined, targetExchangePhaseTransform?: DestinationGaebExchangePhase | undefined, enforceStrictOfferPhaseLongTextOutput?: boolean | undefined, exportQuantityDetermination?: boolean | undefined, removeUnprintableCharactersFromTexts?: boolean | undefined, forceIncludeDescriptions?: boolean | undefined, treatNullItemNumberSchemaAsInvalid?: boolean | undefined, outputHtmlAsXml?: boolean | undefined, keepEmptyHtmlText?: boolean | undefined, allowUpperCaseItemNumbers?: boolean | undefined, allowLumpSumItemsWithDifferingQuantities?: boolean | undefined, disableItemNumberIdentifierTransformations?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
983
995
  protected processGaebConversionConvertToGaeb(response: Response): Promise<SwaggerResponse<FileResponse>>;
@@ -1026,7 +1038,11 @@ export declare class GaebConversionApi {
1026
1038
  By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
1027
1039
  of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
1028
1040
  differing quantities will be kept during the import.
1029
- * @param disableItemNumberIdentifierTransformations (optional)
1041
+ * @param disableItemNumberIdentifierTransformations (optional) If this is enabled, single item number tiers will only be left padded with spaces
1042
+ to their respective length, but spaces will not be filled with zeroes at the
1043
+ beginning. Defaults to 'false'. This can be used to preserve item numbers exactly
1044
+ as they are in the source file, but it is not recommended to use this option since it
1045
+ may also allow incorrect or non schema compliant item numbers to be imported.
1030
1046
  */
1031
1047
  gaebConversionConvertToExcel(gaebFile: FileParameter | null | undefined, supportSkippedItemNumberLevelsInPositions?: boolean | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined, lockAllCellsButPrices?: boolean | undefined, outputHtmlAsXml?: boolean | undefined, keepEmptyHtmlText?: boolean | undefined, allowUpperCaseItemNumbers?: boolean | undefined, allowLumpSumItemsWithDifferingQuantities?: boolean | undefined, disableItemNumberIdentifierTransformations?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
1032
1048
  protected processGaebConversionConvertToExcel(response: Response): Promise<SwaggerResponse<FileResponse>>;
@@ -1074,7 +1090,11 @@ export declare class GaebConversionApi {
1074
1090
  By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
1075
1091
  of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
1076
1092
  differing quantities will be kept during the import.
1077
- * @param disableItemNumberIdentifierTransformations (optional)
1093
+ * @param disableItemNumberIdentifierTransformations (optional) If this is enabled, single item number tiers will only be left padded with spaces
1094
+ to their respective length, but spaces will not be filled with zeroes at the
1095
+ beginning. Defaults to 'false'. This can be used to preserve item numbers exactly
1096
+ as they are in the source file, but it is not recommended to use this option since it
1097
+ may also allow incorrect or non schema compliant item numbers to be imported.
1078
1098
  */
1079
1099
  gaebConversionConvertToOenorm(gaebFile: FileParameter | null | undefined, supportSkippedItemNumberLevelsInPositions?: boolean | undefined, destinationOenormType?: DestinationOenormType | undefined, tryRepairProjectStructure?: boolean | undefined, skipTryEnforceSchemaCompliantXmlOutput?: boolean | undefined, removeUnprintableCharactersFromTexts?: boolean | undefined, outputHtmlAsXml?: boolean | undefined, keepEmptyHtmlText?: boolean | undefined, allowUpperCaseItemNumbers?: boolean | undefined, allowLumpSumItemsWithDifferingQuantities?: boolean | undefined, disableItemNumberIdentifierTransformations?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
1080
1100
  protected processGaebConversionConvertToOenorm(response: Response): Promise<SwaggerResponse<FileResponse>>;
@@ -1951,6 +1971,8 @@ export declare class ItemNumberSchemaDto implements IItemNumberSchemaDto {
1951
1971
  disableLeftPaddingTiersWithFiller: boolean;
1952
1972
  /** If this is enabled, then item numbers will not be transformed, except padded. This makes it possible to represent item numbers as-is from e.g. a GAEB file, and also mixing padded and non-padded segments in an item number. This is not recommonded to use by default, since it will lead to inconsistent item numbers in the project. */
1953
1973
  disableItemNumberIdentifierTransformations: boolean;
1974
+ /** This property is used in combination with DisableItemNumberIdentifierTransformations. If this is enabled, then the transformation of item numbers is only disabled for alphanumeric tiers. This means that numeric tiers will still be padded with the filler character, but alphanumeric tiers will not be transformed */
1975
+ disableItemNumberIdentifierTransformationsOnlyForAlphanumericTiers: boolean;
1954
1976
  constructor(data?: IItemNumberSchemaDto);
1955
1977
  init?(_data?: any): void;
1956
1978
  static fromJS(data: any): ItemNumberSchemaDto;
@@ -1980,6 +2002,8 @@ export interface IItemNumberSchemaDto {
1980
2002
  disableLeftPaddingTiersWithFiller: boolean;
1981
2003
  /** If this is enabled, then item numbers will not be transformed, except padded. This makes it possible to represent item numbers as-is from e.g. a GAEB file, and also mixing padded and non-padded segments in an item number. This is not recommonded to use by default, since it will lead to inconsistent item numbers in the project. */
1982
2004
  disableItemNumberIdentifierTransformations: boolean;
2005
+ /** This property is used in combination with DisableItemNumberIdentifierTransformations. If this is enabled, then the transformation of item numbers is only disabled for alphanumeric tiers. This means that numeric tiers will still be padded with the filler character, but alphanumeric tiers will not be transformed */
2006
+ disableItemNumberIdentifierTransformationsOnlyForAlphanumericTiers: boolean;
1983
2007
  }
1984
2008
  /** Represents information about a single Tier in an ItemNumber. */
1985
2009
  export declare class ItemNumberSchemaTierDto implements IItemNumberSchemaTierDto {
@@ -5271,11 +5295,11 @@ a bank account.
5271
5295
  BT-85 in XRechnung. */
5272
5296
  accountName?: string | undefined;
5273
5297
  /** This can be the BIC
5274
- BT-86 in XRechnung. */
5298
+ BT-86 in XRechnung. This will be saved in BG-17. */
5275
5299
  serviceProviderIdentifier?: string | undefined;
5276
5300
  /** If used, this is the mandate id for direct debit under which
5277
5301
  the direct debit will be performed
5278
- BT-89 in XRechnung. */
5302
+ BT-89 in XRechnung. This will be saved in BG-19. */
5279
5303
  directDebitMandateId?: string | undefined;
5280
5304
  /** If used, this is the IBAN for direct debit
5281
5305
  BT-91 in XRechnung. */
@@ -5288,7 +5312,7 @@ BT-83 in XRechnung. */
5288
5312
  BT-88 in XRechnung. */
5289
5313
  paymentCardHolderName?: string | undefined;
5290
5314
  /** If this is a card payment, then this is the type of card.
5291
- BT-87 in XRechnung. */
5315
+ BT-87 in XRechnung. This will be saved in BG-18. */
5292
5316
  paymentCardPrimaryAccountNumber?: string | undefined;
5293
5317
  /** If this is a card payment, then this is the type of card.
5294
5318
  This has no mapping yet in XRechnung, see:
@@ -5309,11 +5333,11 @@ a bank account.
5309
5333
  BT-85 in XRechnung. */
5310
5334
  accountName?: string | undefined;
5311
5335
  /** This can be the BIC
5312
- BT-86 in XRechnung. */
5336
+ BT-86 in XRechnung. This will be saved in BG-17. */
5313
5337
  serviceProviderIdentifier?: string | undefined;
5314
5338
  /** If used, this is the mandate id for direct debit under which
5315
5339
  the direct debit will be performed
5316
- BT-89 in XRechnung. */
5340
+ BT-89 in XRechnung. This will be saved in BG-19. */
5317
5341
  directDebitMandateId?: string | undefined;
5318
5342
  /** If used, this is the IBAN for direct debit
5319
5343
  BT-91 in XRechnung. */
@@ -5326,7 +5350,7 @@ BT-83 in XRechnung. */
5326
5350
  BT-88 in XRechnung. */
5327
5351
  paymentCardHolderName?: string | undefined;
5328
5352
  /** If this is a card payment, then this is the type of card.
5329
- BT-87 in XRechnung. */
5353
+ BT-87 in XRechnung. This will be saved in BG-18. */
5330
5354
  paymentCardPrimaryAccountNumber?: string | undefined;
5331
5355
  /** If this is a card payment, then this is the type of card.
5332
5356
  This has no mapping yet in XRechnung, see:
package/api.js CHANGED
@@ -2937,7 +2937,11 @@ class GaebConversionApi {
2937
2937
  By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
2938
2938
  of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
2939
2939
  differing quantities will be kept during the import.
2940
- * @param disableItemNumberIdentifierTransformations (optional)
2940
+ * @param disableItemNumberIdentifierTransformations (optional) If this is enabled, single item number tiers will only be left padded with spaces
2941
+ to their respective length, but spaces will not be filled with zeroes at the
2942
+ beginning. Defaults to 'false'. This can be used to preserve item numbers exactly
2943
+ as they are in the source file, but it is not recommended to use this option since it
2944
+ may also allow incorrect or non schema compliant item numbers to be imported.
2941
2945
  */
2942
2946
  gaebConversionConvertToAva(gaebFile, supportSkippedItemNumberLevelsInPositions, removePlainTextLongTexts, removeHtmlLongTexts, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, disableItemNumberIdentifierTransformations) {
2943
2947
  let url_ = this.baseUrl + "/conversion/gaeb/ava?";
@@ -3048,7 +3052,11 @@ class GaebConversionApi {
3048
3052
  By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
3049
3053
  of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
3050
3054
  differing quantities will be kept during the import.
3051
- * @param disableItemNumberIdentifierTransformations (optional)
3055
+ * @param disableItemNumberIdentifierTransformations (optional) If this is enabled, single item number tiers will only be left padded with spaces
3056
+ to their respective length, but spaces will not be filled with zeroes at the
3057
+ beginning. Defaults to 'false'. This can be used to preserve item numbers exactly
3058
+ as they are in the source file, but it is not recommended to use this option since it
3059
+ may also allow incorrect or non schema compliant item numbers to be imported.
3052
3060
  */
3053
3061
  gaebConversionConvertToFlatAva(gaebFile, supportSkippedItemNumberLevelsInPositions, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, disableItemNumberIdentifierTransformations) {
3054
3062
  let url_ = this.baseUrl + "/conversion/gaeb/flat-ava?";
@@ -3179,7 +3187,11 @@ class GaebConversionApi {
3179
3187
  By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
3180
3188
  of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
3181
3189
  differing quantities will be kept during the import.
3182
- * @param disableItemNumberIdentifierTransformations (optional)
3190
+ * @param disableItemNumberIdentifierTransformations (optional) If this is enabled, single item number tiers will only be left padded with spaces
3191
+ to their respective length, but spaces will not be filled with zeroes at the
3192
+ beginning. Defaults to 'false'. This can be used to preserve item numbers exactly
3193
+ as they are in the source file, but it is not recommended to use this option since it
3194
+ may also allow incorrect or non schema compliant item numbers to be imported.
3183
3195
  */
3184
3196
  gaebConversionConvertToGaeb(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, treatNullItemNumberSchemaAsInvalid, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, disableItemNumberIdentifierTransformations) {
3185
3197
  let url_ = this.baseUrl + "/conversion/gaeb/gaeb?";
@@ -3324,7 +3336,11 @@ class GaebConversionApi {
3324
3336
  By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
3325
3337
  of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
3326
3338
  differing quantities will be kept during the import.
3327
- * @param disableItemNumberIdentifierTransformations (optional)
3339
+ * @param disableItemNumberIdentifierTransformations (optional) If this is enabled, single item number tiers will only be left padded with spaces
3340
+ to their respective length, but spaces will not be filled with zeroes at the
3341
+ beginning. Defaults to 'false'. This can be used to preserve item numbers exactly
3342
+ as they are in the source file, but it is not recommended to use this option since it
3343
+ may also allow incorrect or non schema compliant item numbers to be imported.
3328
3344
  */
3329
3345
  gaebConversionConvertToExcel(gaebFile, supportSkippedItemNumberLevelsInPositions, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, lockAllCellsButPrices, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, disableItemNumberIdentifierTransformations) {
3330
3346
  let url_ = this.baseUrl + "/conversion/gaeb/excel?";
@@ -3459,7 +3475,11 @@ class GaebConversionApi {
3459
3475
  By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
3460
3476
  of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
3461
3477
  differing quantities will be kept during the import.
3462
- * @param disableItemNumberIdentifierTransformations (optional)
3478
+ * @param disableItemNumberIdentifierTransformations (optional) If this is enabled, single item number tiers will only be left padded with spaces
3479
+ to their respective length, but spaces will not be filled with zeroes at the
3480
+ beginning. Defaults to 'false'. This can be used to preserve item numbers exactly
3481
+ as they are in the source file, but it is not recommended to use this option since it
3482
+ may also allow incorrect or non schema compliant item numbers to be imported.
3463
3483
  */
3464
3484
  gaebConversionConvertToOenorm(gaebFile, supportSkippedItemNumberLevelsInPositions, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities, disableItemNumberIdentifierTransformations) {
3465
3485
  let url_ = this.baseUrl + "/conversion/gaeb/oenorm?";
@@ -6524,6 +6544,7 @@ class ItemNumberSchemaDto {
6524
6544
  this.allowUpperCaseLettering = _data["allowUpperCaseLettering"];
6525
6545
  this.disableLeftPaddingTiersWithFiller = _data["disableLeftPaddingTiersWithFiller"];
6526
6546
  this.disableItemNumberIdentifierTransformations = _data["disableItemNumberIdentifierTransformations"];
6547
+ this.disableItemNumberIdentifierTransformationsOnlyForAlphanumericTiers = _data["disableItemNumberIdentifierTransformationsOnlyForAlphanumericTiers"];
6527
6548
  }
6528
6549
  }
6529
6550
  static fromJS(data) {
@@ -6554,6 +6575,7 @@ class ItemNumberSchemaDto {
6554
6575
  data["allowUpperCaseLettering"] = this.allowUpperCaseLettering;
6555
6576
  data["disableLeftPaddingTiersWithFiller"] = this.disableLeftPaddingTiersWithFiller;
6556
6577
  data["disableItemNumberIdentifierTransformations"] = this.disableItemNumberIdentifierTransformations;
6578
+ data["disableItemNumberIdentifierTransformationsOnlyForAlphanumericTiers"] = this.disableItemNumberIdentifierTransformationsOnlyForAlphanumericTiers;
6557
6579
  return data;
6558
6580
  }
6559
6581
  }