@dangl/ava-model 2.25.6-add-basic-npm-pa0021 → 2.25.6-add-basic-npm-pa0024

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dangl/ava-model",
3
- "version": "2.25.6-add-basic-npm-pa0021",
3
+ "version": "2.25.6-add-basic-npm-pa0024",
4
4
  "description": "",
5
5
  "main": "fesm2022/dangl-ava-model.mjs",
6
6
  "types": "index.d.ts",
package/src/ava-models.ts CHANGED
@@ -1213,6 +1213,7 @@ export interface IServiceSpecificationDto {
1213
1213
  /** Base interface definition for elements within an ElementContainerBase. */
1214
1214
  export abstract class IElementDto implements IIElementDto {
1215
1215
  elementType!: string;
1216
+ elementTypeDiscriminator!: string;
1216
1217
  /** Elements GUID identifier. */
1217
1218
  id!: string;
1218
1219
  /** This is used to store the GAEB XML Id within this IElement. This data is not used for any calculations or evaluations but only for GAEB serialization and deserialization. */
@@ -1324,6 +1325,7 @@ export abstract class IElementDto implements IIElementDto {
1324
1325
  /** Base interface definition for elements within an ElementContainerBase. */
1325
1326
  export interface IIElementDto {
1326
1327
  elementType: string;
1328
+ elementTypeDiscriminator: string;
1327
1329
  /** Elements GUID identifier. */
1328
1330
  id: string;
1329
1331
  /** This is used to store the GAEB XML Id within this IElement. This data is not used for any calculations or evaluations but only for GAEB serialization and deserialization. */
@@ -1588,7 +1590,8 @@ export class PositionDto extends IElementDto implements IPositionDto {
1588
1590
  htmlLongText?: string | undefined;
1589
1591
  /** Indicates if this DescriptionBase element contains Buyer or Bidder additions to the text. */
1590
1592
  additionType!: AdditionTypeDto;
1591
- elementType = 'Position';
1593
+ elementType = 'Position';
1594
+ elementTypeDiscriminator = 'Position';
1592
1595
  /** Quantity assignments are, in contrast to SubDescriptions, used to categorize parts of this Position. For example, it could be categorized by cost group - e.g. a Position describing concrete walls could follow the German DIN 276 Cost Groups Standard and specify that of the total 1.000m² wall, 500m² are classified as exterior walls and 500m² are classified as interior walls. They would then have different cost groups associated, e.g. for accounting purposes. */
1593
1596
  quantityAssignments?: QuantityAssignmentDto[] | undefined;
1594
1597
  /** The CommerceProperties support specialized information that is only useful in GAEB XML 9x data exchange phases. It is intended to provide article information. */
@@ -2454,8 +2457,6 @@ export class SubDescriptionDto implements ISubDescriptionDto {
2454
2457
  /** This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself. */
2455
2458
  descriptionId?: string | undefined;
2456
2459
  readonly hasBidderCommentInHtmlLongText!: boolean;
2457
- elementType!: string;
2458
- elementTypeDiscriminator?: string | undefined;
2459
2460
 
2460
2461
  constructor(data?: ISubDescriptionDto) {
2461
2462
  if (data) {
@@ -2508,8 +2509,6 @@ export class SubDescriptionDto implements ISubDescriptionDto {
2508
2509
  }
2509
2510
  this.descriptionId = _data["descriptionId"];
2510
2511
  (this as any).hasBidderCommentInHtmlLongText = _data["hasBidderCommentInHtmlLongText"];
2511
- this.elementType = _data["elementType"];
2512
- this.elementTypeDiscriminator = _data["elementTypeDiscriminator"];
2513
2512
  }
2514
2513
  }
2515
2514
 
@@ -2563,8 +2562,6 @@ export class SubDescriptionDto implements ISubDescriptionDto {
2563
2562
  }
2564
2563
  data["descriptionId"] = this.descriptionId;
2565
2564
  data["hasBidderCommentInHtmlLongText"] = this.hasBidderCommentInHtmlLongText;
2566
- data["elementType"] = this.elementType;
2567
- data["elementTypeDiscriminator"] = this.elementTypeDiscriminator;
2568
2565
  return data;
2569
2566
  }
2570
2567
  }
@@ -2612,8 +2609,6 @@ export interface ISubDescriptionDto {
2612
2609
  /** This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself. */
2613
2610
  descriptionId?: string | undefined;
2614
2611
  hasBidderCommentInHtmlLongText: boolean;
2615
- elementType: string;
2616
- elementTypeDiscriminator?: string | undefined;
2617
2612
  }
2618
2613
 
2619
2614
  /** Indicates the origin of an element. */
@@ -3654,7 +3649,8 @@ export class ExecutionDescriptionDto extends IElementDto implements IExecutionDe
3654
3649
  label?: string | undefined;
3655
3650
  /** Uniquely identifies this ExecutionDescription. */
3656
3651
  identifier?: string | undefined;
3657
- elementType = 'ExecutionDescription';
3652
+ elementType = 'ExecutionDescription';
3653
+ elementTypeDiscriminator = 'ExecutionDescription';
3658
3654
 
3659
3655
  constructor(data?: IExecutionDescriptionDto) {
3660
3656
  super(data);
@@ -3744,7 +3740,8 @@ export class NoteTextDto extends IElementDto implements INoteTextDto {
3744
3740
  identifier?: string | undefined;
3745
3741
  /** 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. */
3746
3742
  standardizedDescription?: StandardizedDescriptionDto | undefined;
3747
- elementType = 'NoteText';
3743
+ elementType = 'NoteText';
3744
+ elementTypeDiscriminator = 'NoteText';
3748
3745
  /** This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself. */
3749
3746
  descriptionId?: string | undefined;
3750
3747
  /** This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts. */
@@ -3962,7 +3959,8 @@ export class ServiceSpecificationGroupDto extends IElementDto implements IServic
3962
3959
  comissionStatus!: ComissionStatusDto;
3963
3960
  /** The ItemNumber for this INumberedElement interface. */
3964
3961
  itemNumber?: ItemNumberDto | undefined;
3965
- elementType = 'ServiceSpecificationGroup';
3962
+ elementType = 'ServiceSpecificationGroup';
3963
+ elementTypeDiscriminator = 'ServiceSpecificationGroup';
3966
3964
  /** This indicates if this group is the parent of a lot. See the documentation for more information about working with lots. */
3967
3965
  readonly isLot!: boolean;
3968
3966
  /** 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 */
package/src/version.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  // This file is automatically generated as part of the build process
2
2
 
3
3
  export const avaModelsVersion = {
4
- version: "2.25.6-add-basic-npm-pa0021",
5
- commitInfo: "Branch.feature-add-basic-npm-package.Sha.029137f93c2e502fafc74b3661d8eff1f1bd0b03",
6
- commitDate: "2025-08-07",
7
- commitHash: "029137f93c2e502fafc74b3661d8eff1f1bd0b03",
8
- informationalVersion: "2.25.6-add-basic-npm-package.21+Branch.feature-add-basic-npm-package.Sha.029137f93c2e502fafc74b3661d8eff1f1bd0b03",
9
- buildDateUtc: new Date(Date.UTC(2025, 7, 7, 20, 34, 9))
4
+ version: "2.25.6-add-basic-npm-pa0024",
5
+ commitInfo: "Branch.feature-add-basic-npm-package.Sha.141f14d587c6545f19d8eb29bfd4efb44cf7d68f",
6
+ commitDate: "2025-08-08",
7
+ commitHash: "141f14d587c6545f19d8eb29bfd4efb44cf7d68f",
8
+ informationalVersion: "2.25.6-add-basic-npm-package.24+Branch.feature-add-basic-npm-package.Sha.141f14d587c6545f19d8eb29bfd4efb44cf7d68f",
9
+ buildDateUtc: new Date(Date.UTC(2025, 7, 8, 10, 25, 42))
10
10
  }