@dangl/ava-model 2.29.3 → 2.30.0-beta0002

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.
@@ -441,6 +441,8 @@ declare class ServiceSpecificationDto implements IServiceSpecificationDto {
441
441
  projectCatalogues?: CatalogueDto[] | undefined;
442
442
  /** Referenced catalogues for this ElementContainerBase. */
443
443
  catalogueReferences?: CatalogueReferenceDto[] | undefined;
444
+ /** This is a list of sustainability catalogues that are relevant for this ServiceSpecification. Sustainability catalogues are sources for environmental or sustainability data. */
445
+ sustainabilityCatalogues?: SustainabilityCatalogueDto[] | undefined;
444
446
  /** The date when the execution of the services is scheduled to start */
445
447
  plannedExecutionStart?: Date | undefined;
446
448
  /** The date then the execution of the services is scheduled to be finished */
@@ -457,7 +459,7 @@ declare class ServiceSpecificationDto implements IServiceSpecificationDto {
457
459
  approvalDate?: Date | undefined;
458
460
  /** This should specify how the approval is performed by the buyer. This matches "AcceptType" in GAEB */
459
461
  typeOfApproval?: string | undefined;
460
- /** This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German. */
462
+ /** This optional string property is shared by all IElement s, and indicates if the element is part of an addendum, a 'Nachtrag' in German. */
461
463
  addendumNumber?: string | undefined;
462
464
  /** This indicates, if this element is part of an addendum an, if yes, with what status. */
463
465
  addendumStatus?: AddendumStatusDto | undefined;
@@ -550,6 +552,8 @@ interface IServiceSpecificationDto {
550
552
  projectCatalogues?: ICatalogueDto[] | undefined;
551
553
  /** Referenced catalogues for this ElementContainerBase. */
552
554
  catalogueReferences?: ICatalogueReferenceDto[] | undefined;
555
+ /** This is a list of sustainability catalogues that are relevant for this ServiceSpecification. Sustainability catalogues are sources for environmental or sustainability data. */
556
+ sustainabilityCatalogues?: ISustainabilityCatalogueDto[] | undefined;
553
557
  /** The date when the execution of the services is scheduled to start */
554
558
  plannedExecutionStart?: Date | undefined;
555
559
  /** The date then the execution of the services is scheduled to be finished */
@@ -566,7 +570,7 @@ interface IServiceSpecificationDto {
566
570
  approvalDate?: Date | undefined;
567
571
  /** This should specify how the approval is performed by the buyer. This matches "AcceptType" in GAEB */
568
572
  typeOfApproval?: string | undefined;
569
- /** This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German. */
573
+ /** This optional string property is shared by all IElement s, and indicates if the element is part of an addendum, a 'Nachtrag' in German. */
570
574
  addendumNumber?: string | undefined;
571
575
  /** This indicates, if this element is part of an addendum an, if yes, with what status. */
572
576
  addendumStatus?: AddendumStatusDto | undefined;
@@ -711,6 +715,8 @@ declare class PositionDto extends IElementDto implements IPositionDto {
711
715
  comissionStatus: ComissionStatusDto;
712
716
  /** A list of positions that complement this Position. The positions are referenced by their GUIDs. It might be used together with ComplementedByQuantities in case that only a given quantity is complemented by positions. */
713
717
  complementedBy?: string[] | undefined;
718
+ /** This list contains information about sustainability indicators or environmental impact for this position. */
719
+ sustainabilityIndicators?: PositionSustainabilityIndicatorDto[] | undefined;
714
720
  /** Will indicate if this Position is complemented in this ServiceSpecification by other Positions. It can not be set to false when there are entries in the ComplementedBy property. */
715
721
  complemented: boolean;
716
722
  /** Indicates that the amount for this Position is to be set by the bidder. */
@@ -844,6 +850,8 @@ interface IPositionDto extends IIElementDto {
844
850
  comissionStatus: ComissionStatusDto;
845
851
  /** A list of positions that complement this Position. The positions are referenced by their GUIDs. It might be used together with ComplementedByQuantities in case that only a given quantity is complemented by positions. */
846
852
  complementedBy?: string[] | undefined;
853
+ /** This list contains information about sustainability indicators or environmental impact for this position. */
854
+ sustainabilityIndicators?: IPositionSustainabilityIndicatorDto[] | undefined;
847
855
  /** Will indicate if this Position is complemented in this ServiceSpecification by other Positions. It can not be set to false when there are entries in the ComplementedBy property. */
848
856
  complemented: boolean;
849
857
  /** Indicates that the amount for this Position is to be set by the bidder. */
@@ -1236,6 +1244,70 @@ declare enum ComissionStatusDto {
1236
1244
  Postponed = "Postponed",
1237
1245
  Removed = "Removed"
1238
1246
  }
1247
+ /** This model contains the sustainability or environment impact data. */
1248
+ declare class PositionSustainabilityIndicatorDto implements IPositionSustainabilityIndicatorDto {
1249
+ /** Elements GUID identifier. */
1250
+ id: string;
1251
+ /** This is usually in the form of an URL that specifies the indicator. */
1252
+ source?: string | undefined;
1253
+ /** This is a text giving more information about the indicator, e.g. details about the calculation method, or other comments. */
1254
+ comment?: string | undefined;
1255
+ /** If present, this indicator may be divided up into different life cycle stages. */
1256
+ lifeCycleStages?: SustainabilityLifeCycleStageDto[] | undefined;
1257
+ /** This is a key that specifies the type of indicator. It is not used for any calculations but can be used to identify the indicator type, e.g. "carbonFootprint", "waterConsumption" or similar. The actual value of this property is not defined in the library and can be set freely, but it is recommended to use a consistent naming scheme, e.g. by using URLs or IRIs to avoid conflicts. In GAEB XML, it has a max length of 50 characters. */
1258
+ indicatorKey?: string | undefined;
1259
+ /** This is the actual value of the indicator. */
1260
+ value?: number | undefined;
1261
+ /** The unit of measurement for the value. */
1262
+ unitTag?: string | undefined;
1263
+ /** If present, this is a conversion factor used here in this indicator for the value. */
1264
+ conversionFactor?: number | undefined;
1265
+ constructor(data?: IPositionSustainabilityIndicatorDto);
1266
+ init?(_data?: any): void;
1267
+ static fromJS(data: any): PositionSustainabilityIndicatorDto;
1268
+ toJSON?(data?: any): any;
1269
+ }
1270
+ /** This model contains the sustainability or environment impact data. */
1271
+ interface IPositionSustainabilityIndicatorDto {
1272
+ /** Elements GUID identifier. */
1273
+ id: string;
1274
+ /** This is usually in the form of an URL that specifies the indicator. */
1275
+ source?: string | undefined;
1276
+ /** This is a text giving more information about the indicator, e.g. details about the calculation method, or other comments. */
1277
+ comment?: string | undefined;
1278
+ /** If present, this indicator may be divided up into different life cycle stages. */
1279
+ lifeCycleStages?: ISustainabilityLifeCycleStageDto[] | undefined;
1280
+ /** This is a key that specifies the type of indicator. It is not used for any calculations but can be used to identify the indicator type, e.g. "carbonFootprint", "waterConsumption" or similar. The actual value of this property is not defined in the library and can be set freely, but it is recommended to use a consistent naming scheme, e.g. by using URLs or IRIs to avoid conflicts. In GAEB XML, it has a max length of 50 characters. */
1281
+ indicatorKey?: string | undefined;
1282
+ /** This is the actual value of the indicator. */
1283
+ value?: number | undefined;
1284
+ /** The unit of measurement for the value. */
1285
+ unitTag?: string | undefined;
1286
+ /** If present, this is a conversion factor used here in this indicator for the value. */
1287
+ conversionFactor?: number | undefined;
1288
+ }
1289
+ /** This model represents the life cycle stages for sustainability indicators. For example, for a carbon footprint indicator, you could specify the carbon footprint for the production stage, the transportation stage and the disposal stage of a service or product. */
1290
+ declare class SustainabilityLifeCycleStageDto implements ISustainabilityLifeCycleStageDto {
1291
+ /** Elements GUID identifier. */
1292
+ id: string;
1293
+ /** The key is the name or identifier of the stage. */
1294
+ key?: string | undefined;
1295
+ /** The value for this given stage. */
1296
+ value?: number | undefined;
1297
+ constructor(data?: ISustainabilityLifeCycleStageDto);
1298
+ init?(_data?: any): void;
1299
+ static fromJS(data: any): SustainabilityLifeCycleStageDto;
1300
+ toJSON?(data?: any): any;
1301
+ }
1302
+ /** This model represents the life cycle stages for sustainability indicators. For example, for a carbon footprint indicator, you could specify the carbon footprint for the production stage, the transportation stage and the disposal stage of a service or product. */
1303
+ interface ISustainabilityLifeCycleStageDto {
1304
+ /** Elements GUID identifier. */
1305
+ id: string;
1306
+ /** The key is the name or identifier of the stage. */
1307
+ key?: string | undefined;
1308
+ /** The value for this given stage. */
1309
+ value?: number | undefined;
1310
+ }
1239
1311
  /** This class represents as identifier of a certain service specification's element and is uniquely within the service specification. */
1240
1312
  declare class ItemNumberDto implements IItemNumberDto {
1241
1313
  /** Elements GUID identifier. */
@@ -2004,6 +2076,28 @@ interface ITradeDiscountDto {
2004
2076
  /** The rate of the trade discount. */
2005
2077
  rate: number;
2006
2078
  }
2079
+ /** This elements represents a catalogue or source of sustainability information that is used within a ServiceSpecification. */
2080
+ declare class SustainabilityCatalogueDto implements ISustainabilityCatalogueDto {
2081
+ /** Elements GUID identifier. */
2082
+ id: string;
2083
+ /** The key must be a unique identifier for the sustainability catalogue. It is used to link sustainability data in positions to a catalogue. The Dangl.AVA module does not enforce uniqueness, but it is recommended to use a unique key for each catalogue. */
2084
+ key?: string | undefined;
2085
+ /** The description property can be used to provide further information about the sustainability catalogue. */
2086
+ description?: string | undefined;
2087
+ constructor(data?: ISustainabilityCatalogueDto);
2088
+ init?(_data?: any): void;
2089
+ static fromJS(data: any): SustainabilityCatalogueDto;
2090
+ toJSON?(data?: any): any;
2091
+ }
2092
+ /** This elements represents a catalogue or source of sustainability information that is used within a ServiceSpecification. */
2093
+ interface ISustainabilityCatalogueDto {
2094
+ /** Elements GUID identifier. */
2095
+ id: string;
2096
+ /** The key must be a unique identifier for the sustainability catalogue. It is used to link sustainability data in positions to a catalogue. The Dangl.AVA module does not enforce uniqueness, but it is recommended to use a unique key for each catalogue. */
2097
+ key?: string | undefined;
2098
+ /** The description property can be used to provide further information about the sustainability catalogue. */
2099
+ description?: string | undefined;
2100
+ }
2007
2101
  /** This class does not represent a typical `TimeSpan` but has a scalar value int Duration and a DurationUnit Unit to represent durations as typically used in contracts, e.g. 5 Months */
2008
2102
  declare class WarrantyDurationDto implements IWarrantyDurationDto {
2009
2103
  /** The scalar value of the duration. This value must be equal to or bigger than zero (>= 0). Negative values can not be set and will be ignored. */
@@ -2144,5 +2238,5 @@ declare const avaModelsVersion: {
2144
2238
  buildDateUtc: Date;
2145
2239
  };
2146
2240
 
2147
- export { AddendumStatusDto, AdditionTypeDto, ArticleDataDto, AwardTypeDto, BankingInformationDto, CalculationDto, CatalogueDto, CatalogueReferenceDto, CatalogueTypeDto, ComissionStatusDto, CommerceInquiryTypeDto, CommercePropertiesDto, ComplementedByQuantityDto, DurationUnitDto, ExchangePhaseDto, ExecutionDescriptionDto, GrossPriceComponentDto, HoldOutDurationUnitDto, HoldOutTypeDto, IElementDto, ItemNumberDto, ItemNumberSchemaDto, ItemNumberSchemaTierAlignmentDto, ItemNumberSchemaTierDto, ItemNumberSchemaTierTypeDto, ItemNumberTypeDto, LabourPriceComponentDto, NoteTextDto, OenormNoteTextPropertiesDto, OenormOriginCodeDto, OenormPositionPropertiesDto, OenormPropertiesDto, OriginDto, PartyInformationDto, PositionComplementingTypeDto, PositionDto, PositionHoldOutPropertiesDto, PositionTypeDto, PriceCatalogueDataDto, PriceComponentDto, PriceComponentTypeDto, PriceInformationDto, PriceRoundingModeDto, PriceTypeDto, ProductDataDto, ProjectDto, ProjectInformationDto, QuantityAssignmentDto, STLBKeyDto, STLBReferenceDto, ServiceSpecificationCommercePropertiesDto, ServiceSpecificationDto, ServiceSpecificationGroupDto, ServiceTypeDto, SpecialAwardKindDto, StandardReferenceTypeDto, StandardizedDescriptionDto, SubDescriptionDto, TradeDiscountDto, WarrantyDurationDto, avaModelsVersion };
2148
- export type { IArticleDataDto, IBankingInformationDto, ICalculationDto, ICatalogueDto, ICatalogueReferenceDto, ICommercePropertiesDto, IComplementedByQuantityDto, IExecutionDescriptionDto, IGrossPriceComponentDto, IIElementDto, IItemNumberDto, IItemNumberSchemaDto, IItemNumberSchemaTierDto, ILabourPriceComponentDto, INoteTextDto, IOenormNoteTextPropertiesDto, IOenormPositionPropertiesDto, IOenormPropertiesDto, IPartyInformationDto, IPositionDto, IPositionHoldOutPropertiesDto, IPriceCatalogueDataDto, IPriceComponentDto, IPriceInformationDto, IProductDataDto, IProjectDto, IProjectInformationDto, IQuantityAssignmentDto, ISTLBKeyDto, ISTLBReferenceDto, IServiceSpecificationCommercePropertiesDto, IServiceSpecificationDto, IServiceSpecificationGroupDto, IStandardizedDescriptionDto, ISubDescriptionDto, ITradeDiscountDto, IWarrantyDurationDto };
2241
+ export { AddendumStatusDto, AdditionTypeDto, ArticleDataDto, AwardTypeDto, BankingInformationDto, CalculationDto, CatalogueDto, CatalogueReferenceDto, CatalogueTypeDto, ComissionStatusDto, CommerceInquiryTypeDto, CommercePropertiesDto, ComplementedByQuantityDto, DurationUnitDto, ExchangePhaseDto, ExecutionDescriptionDto, GrossPriceComponentDto, HoldOutDurationUnitDto, HoldOutTypeDto, IElementDto, ItemNumberDto, ItemNumberSchemaDto, ItemNumberSchemaTierAlignmentDto, ItemNumberSchemaTierDto, ItemNumberSchemaTierTypeDto, ItemNumberTypeDto, LabourPriceComponentDto, NoteTextDto, OenormNoteTextPropertiesDto, OenormOriginCodeDto, OenormPositionPropertiesDto, OenormPropertiesDto, OriginDto, PartyInformationDto, PositionComplementingTypeDto, PositionDto, PositionHoldOutPropertiesDto, PositionSustainabilityIndicatorDto, PositionTypeDto, PriceCatalogueDataDto, PriceComponentDto, PriceComponentTypeDto, PriceInformationDto, PriceRoundingModeDto, PriceTypeDto, ProductDataDto, ProjectDto, ProjectInformationDto, QuantityAssignmentDto, STLBKeyDto, STLBReferenceDto, ServiceSpecificationCommercePropertiesDto, ServiceSpecificationDto, ServiceSpecificationGroupDto, ServiceTypeDto, SpecialAwardKindDto, StandardReferenceTypeDto, StandardizedDescriptionDto, SubDescriptionDto, SustainabilityCatalogueDto, SustainabilityLifeCycleStageDto, TradeDiscountDto, WarrantyDurationDto, avaModelsVersion };
2242
+ export type { IArticleDataDto, IBankingInformationDto, ICalculationDto, ICatalogueDto, ICatalogueReferenceDto, ICommercePropertiesDto, IComplementedByQuantityDto, IExecutionDescriptionDto, IGrossPriceComponentDto, IIElementDto, IItemNumberDto, IItemNumberSchemaDto, IItemNumberSchemaTierDto, ILabourPriceComponentDto, INoteTextDto, IOenormNoteTextPropertiesDto, IOenormPositionPropertiesDto, IOenormPropertiesDto, IPartyInformationDto, IPositionDto, IPositionHoldOutPropertiesDto, IPositionSustainabilityIndicatorDto, IPriceCatalogueDataDto, IPriceComponentDto, IPriceInformationDto, IProductDataDto, IProjectDto, IProjectInformationDto, IQuantityAssignmentDto, ISTLBKeyDto, ISTLBReferenceDto, IServiceSpecificationCommercePropertiesDto, IServiceSpecificationDto, IServiceSpecificationGroupDto, IStandardizedDescriptionDto, ISubDescriptionDto, ISustainabilityCatalogueDto, ISustainabilityLifeCycleStageDto, ITradeDiscountDto, IWarrantyDurationDto };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dangl/ava-model",
3
- "version": "2.29.3",
3
+ "version": "2.30.0-beta0002",
4
4
  "description": "",
5
5
  "main": "dist/ava-model/fesm2022/dangl-ava-model.min.mjs",
6
6
  "types": "dist/ava-model/index.d.ts",