@dangl/ava-model 2.30.1-beta0004 → 2.30.2-beta0006
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.
|
@@ -5,48 +5,29 @@
|
|
|
5
5
|
//----------------------
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
// ReSharper disable InconsistentNaming
|
|
8
|
-
/** This enum configures rounding modes for price calculations in projects */
|
|
9
8
|
var PriceRoundingModeDto;
|
|
10
9
|
(function (PriceRoundingModeDto) {
|
|
11
10
|
PriceRoundingModeDto["Normal"] = "Normal";
|
|
12
11
|
PriceRoundingModeDto["Floor"] = "Floor";
|
|
13
12
|
PriceRoundingModeDto["Ceiling"] = "Ceiling";
|
|
14
13
|
})(PriceRoundingModeDto || (PriceRoundingModeDto = {}));
|
|
15
|
-
/** General information about a Project. */
|
|
16
14
|
class ProjectInformationDto {
|
|
17
|
-
/** Information about the buyer. */
|
|
18
15
|
buyer;
|
|
19
|
-
/** Description for the project. */
|
|
20
16
|
description;
|
|
21
|
-
/** Short description for the project. */
|
|
22
17
|
descriptionShort;
|
|
23
|
-
/** Name of the project. */
|
|
24
18
|
name;
|
|
25
|
-
/** Information about the site. */
|
|
26
19
|
site;
|
|
27
|
-
/** The ItemNumberSchema used in the project. */
|
|
28
20
|
itemNumberSchema;
|
|
29
|
-
/** Short label for the currency used. */
|
|
30
21
|
currencyShort;
|
|
31
|
-
/** Full label of the currency used. */
|
|
32
22
|
currencyLong;
|
|
33
|
-
/** Label for the labour time part of prices used in the project. */
|
|
34
23
|
labourTimeLabel;
|
|
35
|
-
/** Labels for the price components used in the project. Caution: Removal of a price component will trigger to have dependent price informations be deleted in IElements that use this property. If this property is changed or altered after the project has already been used, it is strongly advised to do operations step by step, e.g. if renaming and reordering multiple price components, this should be done one by one. Otherwise, a combination of rename and reordering will not be correctly propagated downwards to child objects in this Project. */
|
|
36
24
|
priceComponents;
|
|
37
|
-
/** This dictionary specifies actual types used for the PriceComponents. For example, a single price component might have the name 'Material' as a string, ans this dictionary would then have a key 'Material' and a value of Materials. You can not add keys here that are not also present in the PriceComponents property, and removing price components will also remove them from this dictionary here. */
|
|
38
25
|
priceComponentTypes;
|
|
39
|
-
/** This bool indicates if this project allows the bidder to add bidder comments. Bidder comments are a way to attach clarifying information when submitting an offer. */
|
|
40
26
|
bidderCommentAllowed;
|
|
41
|
-
/** This property indicates if the project should allow side offers from contractors. In GAEB, a side offer would typically be in exchange phase 85. */
|
|
42
27
|
sideOffersAllowed;
|
|
43
|
-
/** This enumeration describes the type of the award / procurement process. If this is used in a GAEB context, more information about award types can be found in the German VOB/A rules and the GAEB standard */
|
|
44
28
|
awardType;
|
|
45
|
-
/** This enumeration describes awards for project that are not just a regular procurement. For example, it can be used to describe recurring maintenance or an outline contract (German: Rahmenvertrag) which just specifies services and prices but may be requested on demand when necessary */
|
|
46
29
|
specialAwardKind;
|
|
47
|
-
/** Requesters in a construction project, in German also called 'Bedarfsträger', are parties connected to the building process, e.g. architects or planners. */
|
|
48
30
|
requesters;
|
|
49
|
-
/** Notification sites are addresses that are used for delivering messages in the context of construction projects. */
|
|
50
31
|
notificationSites;
|
|
51
32
|
constructor(data) {
|
|
52
33
|
if (data) {
|
|
@@ -198,49 +179,27 @@ class ProjectInformationDto {
|
|
|
198
179
|
return data;
|
|
199
180
|
}
|
|
200
181
|
}
|
|
201
|
-
/** Represents information about a party (a site or an organization). */
|
|
202
182
|
class PartyInformationDto {
|
|
203
|
-
/** Elements GUID identifier. */
|
|
204
183
|
id;
|
|
205
|
-
/** This party's name. */
|
|
206
184
|
name;
|
|
207
|
-
/** This party's street. */
|
|
208
185
|
street;
|
|
209
|
-
/** This party's ZipCode. */
|
|
210
186
|
zipCode;
|
|
211
|
-
/** This party's City. */
|
|
212
187
|
city;
|
|
213
|
-
/** This party's Country. */
|
|
214
188
|
country;
|
|
215
|
-
/** This party's Identifier. */
|
|
216
189
|
identifier;
|
|
217
|
-
/** Remarks for this party. */
|
|
218
190
|
remarks;
|
|
219
|
-
/** An email address for this party. */
|
|
220
191
|
email;
|
|
221
|
-
/** A phone number for this party. */
|
|
222
192
|
phone;
|
|
223
|
-
/** The name of a contact person. */
|
|
224
193
|
contactPersonName;
|
|
225
|
-
/** This is an identifier related to this PartyInformation and their internal reference of the tender (or award). This might be used to assign an identifier (German "Vergabenummer") for the current project. This is typically only used in Buyer and Bidder representations and should map to the concept of "Vergabenummer" or "AwardNo" in GAEB. */
|
|
226
194
|
awardIdentifier;
|
|
227
|
-
/** This property indicates if the party is registered within the European Economic Area. */
|
|
228
195
|
isInEuropeanEconomicArea;
|
|
229
|
-
/** If this is within the European Economic Area (see IsInEuropeanEconomicArea, then as a business entity it likely has an EU VAT Id. */
|
|
230
196
|
vatId;
|
|
231
|
-
/** The fax number for this party. */
|
|
232
197
|
fax;
|
|
233
|
-
/** The two letter ISO country code, e.g. DE for Germany. */
|
|
234
198
|
countryCode;
|
|
235
|
-
/** Depending on which party this class represents, it might have either a 'creditor' or 'debtor' number. This is often used in internal accounting systems. */
|
|
236
199
|
creditorOrDebtorIdentifier;
|
|
237
|
-
/** The Global Location Number (GLN) is issued by GS1 and is intended to be a unique identifier for the physical address of a party, e.g. a business office. */
|
|
238
200
|
globalLocationNumber;
|
|
239
|
-
/** This list contains information about bank accounts associated with this PartyInformation. It's typically used for buyers and bidders. */
|
|
240
201
|
bankingInformation;
|
|
241
|
-
/** This can be used to specify a registration number for this party, e.g. a company registration number. It is usually used in GAEB XML commerce exchanges for bidders to supply their WEEE registration number, which is used to identify them as a registered WEEE company. */
|
|
242
202
|
registrationNumber;
|
|
243
|
-
/** This can be used to specify a tax id for this party. It is different from the VatId and the RegistrationNumber. For example, in Germany this would be the "Steuernummer". This is usually not mapped to any AVA exchanges, but it's used e.g. in the XRechnung electronic invoices. */
|
|
244
203
|
taxId;
|
|
245
204
|
constructor(data) {
|
|
246
205
|
if (data) {
|
|
@@ -327,19 +286,12 @@ class PartyInformationDto {
|
|
|
327
286
|
return data;
|
|
328
287
|
}
|
|
329
288
|
}
|
|
330
|
-
/** This is a class that represents the information about a bank connection. It is usually used within a PartyInformation. */
|
|
331
289
|
class BankingInformationDto {
|
|
332
|
-
/** Elements GUID identifier. */
|
|
333
290
|
id;
|
|
334
|
-
/** The name of the bank. */
|
|
335
291
|
name;
|
|
336
|
-
/** The international identifier for the bank account. */
|
|
337
292
|
iban;
|
|
338
|
-
/** The account number. Typically no longer used since the introduction of IBAN within the SEPA area. */
|
|
339
293
|
accountNumber;
|
|
340
|
-
/** The international bank identifier. */
|
|
341
294
|
bic;
|
|
342
|
-
/** The routing number for the bank. Typically no longer used since the introduction of IBAN within the SEPA area. */
|
|
343
295
|
routingNumber;
|
|
344
296
|
constructor(data) {
|
|
345
297
|
if (data) {
|
|
@@ -376,31 +328,18 @@ class BankingInformationDto {
|
|
|
376
328
|
return data;
|
|
377
329
|
}
|
|
378
330
|
}
|
|
379
|
-
/** The schema for ItemNumber's in a Project. */
|
|
380
331
|
class ItemNumberSchemaDto {
|
|
381
|
-
/** The count of tiers in the ItemNumberSchema */
|
|
382
332
|
totalLength;
|
|
383
|
-
/** The collection of tiers for this ItemNumberSchema. */
|
|
384
333
|
tiers;
|
|
385
|
-
/** The separator to use for separiting the different levels in an ItemNumber. Defaults to DEFAULT_SEPARATOR, which is a point '.'. Setting this to a space or other whitespaces is discouraged, as this might not work correct in all situations and item numbers could be displayed not as intended. This can not be set to an empty or null string, trying that will default to the DEFAULT_SEPARATOR. If a value is set that has a different length than one '1', the DEFAULT_SEPARATOR will be used instead. You should also not use values for the separator that are also valid for the item numbers themselves, as that might also lead to incorrect results */
|
|
386
334
|
separator;
|
|
387
|
-
/** This string is used to fill (left-pad) item numbers. For example, if a tier has a length of '4' but the given item number is '12', with a Filler of '0', then the final item number will be represented as '0'. This must be a single character string, if a value is given where the Length property does not evaluate to '1', the DEFAULT_FILLER '0' is used. A space is fine to use. You should ensure that you use a value different than Separator, as that might produce unexpected results. No attempt is done by the code to recover from such ambiguous configurations. */
|
|
388
335
|
filler;
|
|
389
|
-
/** This is just a string property that can optionally be used to store additional data for this ItemNumberSchema, e.g. an identification or a type. It does not have any influence over how item numbers are generated, and is not supported in most exchange formats. However, it is used to store ÖNorm service specification structure types. */
|
|
390
336
|
identifier;
|
|
391
|
-
/** This property indicates if ItemNumbers using this ItemNumberSchema should skip empty group levels. This is commonly only used in GAEB files, where there might be gaps in the hierarchy of elements and position identifiers should be placed at the end of the string representation. */
|
|
392
337
|
skipNonExistingLevelsInPositionItemNumbers;
|
|
393
|
-
/** This string is used only when the property SkipNonExistingLevelsInPositionItemNumbers in this ItemNumberSchema is also set to true. It defaults to DEFAULT_SKIPPED_TIERS_FILLER, but can be set to any string with a lenght of one. Null values or values with a longer length will lead to this property reverting back to the default value. This is used to fill skipped tiers in item numbers where a position is placed in a higher hierarchy level than what would be defined in the Tiers. For example, it could produce an item number like '01.__.02', which would indicate a skipped second level. This should be using different values than Filler and Separator, since that could cause ambiguities in the code that generates the actual item numbers. No attempt is done by the code to recover from such ambiguous configurations. */
|
|
394
338
|
skippedTiersFiller;
|
|
395
|
-
/** This is a read-only property that indicates if this schema has a valid structure. It internally just returns the result from IsCorrectlyDefined. This will return if the ItemNumberSchema is correctly defined. For it to be correctly defined, the following conditions must be true: There may only be one lot group, if there is one, it must be at the top. Following lot levels, there may be at least one group level. After the group levels, there must be one position level. After the position level, there may be one index level. If no tiers are defined at all, this will also return false. */
|
|
396
339
|
schemaIsCorrectlyDefined;
|
|
397
|
-
/** Defaults to false. If this is disabled, all letters in the ItemNumber string representations will be transformed to their lowercase representation. */
|
|
398
340
|
allowUpperCaseLettering;
|
|
399
|
-
/** If this is set to true, single identifiers in an item number will not be left padded to fill the length of the tier. This is useful for allowing custom formats in item numbers, without following the GAEB standard. Defaults to false. */
|
|
400
341
|
disableLeftPaddingTiersWithFiller;
|
|
401
|
-
/** 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. */
|
|
402
342
|
disableItemNumberIdentifierTransformations;
|
|
403
|
-
/** 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 */
|
|
404
343
|
disableItemNumberIdentifierTransformationsOnlyForAlphanumericTiers;
|
|
405
344
|
constructor(data) {
|
|
406
345
|
if (data) {
|
|
@@ -469,21 +408,13 @@ class ItemNumberSchemaDto {
|
|
|
469
408
|
return data;
|
|
470
409
|
}
|
|
471
410
|
}
|
|
472
|
-
/** Represents information about a single Tier in an ItemNumber. */
|
|
473
411
|
class ItemNumberSchemaTierDto {
|
|
474
|
-
/** The (maximum) length for this tier. Will not accept a length less than 1. Defaults to 1 if length less than one is specified. */
|
|
475
412
|
length;
|
|
476
|
-
/** This ItemNumberSchemaTier's type. */
|
|
477
413
|
type;
|
|
478
|
-
/** This enum represents the alignment value for a tier in an ItemNumberSchema. It is not used anywhere for computations at the moment, and is mostly an informational value. */
|
|
479
414
|
alignment;
|
|
480
|
-
/** This specifies which ItemNumberSchemaTierType this tier represents. This can be, for example, a group tier / level, a position level or a lot level. */
|
|
481
415
|
tierType;
|
|
482
|
-
/** Indicates if this tier represents a lot. See the documentation for more information about lots. */
|
|
483
416
|
isLot;
|
|
484
|
-
/** This value is the increment, or step size, that should be used for new item numbers. It defaults to DEFAULT_INCREMENT, but can be changed to any other positive number greater than zero. Invalid values make this be set to one '1' */
|
|
485
417
|
increment;
|
|
486
|
-
/** This is an optional name for the given tier */
|
|
487
418
|
tierName;
|
|
488
419
|
constructor(data) {
|
|
489
420
|
if (data) {
|
|
@@ -522,20 +453,17 @@ class ItemNumberSchemaTierDto {
|
|
|
522
453
|
return data;
|
|
523
454
|
}
|
|
524
455
|
}
|
|
525
|
-
/** Determines the type of an ItemNumberSchema */
|
|
526
456
|
var ItemNumberTypeDto;
|
|
527
457
|
(function (ItemNumberTypeDto) {
|
|
528
458
|
ItemNumberTypeDto["Numeric"] = "Numeric";
|
|
529
459
|
ItemNumberTypeDto["Alphanumeric"] = "Alphanumeric";
|
|
530
460
|
})(ItemNumberTypeDto || (ItemNumberTypeDto = {}));
|
|
531
|
-
/** This enum represents the alignment value for a tier in an ItemNumberSchema. It is not used anywhere for computations at the moment, and is mostly an informational value. */
|
|
532
461
|
var ItemNumberSchemaTierAlignmentDto;
|
|
533
462
|
(function (ItemNumberSchemaTierAlignmentDto) {
|
|
534
463
|
ItemNumberSchemaTierAlignmentDto["Undefined"] = "Undefined";
|
|
535
464
|
ItemNumberSchemaTierAlignmentDto["Left"] = "Left";
|
|
536
465
|
ItemNumberSchemaTierAlignmentDto["Right"] = "Right";
|
|
537
466
|
})(ItemNumberSchemaTierAlignmentDto || (ItemNumberSchemaTierAlignmentDto = {}));
|
|
538
|
-
/** Specifies the type an ItemNumberSchemaTier represents. For example, a tier may indicate to be used for positions or for groups. */
|
|
539
467
|
var ItemNumberSchemaTierTypeDto;
|
|
540
468
|
(function (ItemNumberSchemaTierTypeDto) {
|
|
541
469
|
ItemNumberSchemaTierTypeDto["Undefined"] = "Undefined";
|
|
@@ -544,7 +472,6 @@ var ItemNumberSchemaTierTypeDto;
|
|
|
544
472
|
ItemNumberSchemaTierTypeDto["Group"] = "Group";
|
|
545
473
|
ItemNumberSchemaTierTypeDto["Lot"] = "Lot";
|
|
546
474
|
})(ItemNumberSchemaTierTypeDto || (ItemNumberSchemaTierTypeDto = {}));
|
|
547
|
-
/** This enumeration models types of price components for better classification. */
|
|
548
475
|
var PriceComponentTypeDto;
|
|
549
476
|
(function (PriceComponentTypeDto) {
|
|
550
477
|
PriceComponentTypeDto["Unknown"] = "Unknown";
|
|
@@ -553,7 +480,6 @@ var PriceComponentTypeDto;
|
|
|
553
480
|
PriceComponentTypeDto["Plant"] = "Plant";
|
|
554
481
|
PriceComponentTypeDto["Miscellaneous"] = "Miscellaneous";
|
|
555
482
|
})(PriceComponentTypeDto || (PriceComponentTypeDto = {}));
|
|
556
|
-
/** This enumeration describes the type of the award / procurement process. If this is used in a GAEB context, more information about award types can be found in the German VOB/A rules and the GAEB standard */
|
|
557
483
|
var AwardTypeDto;
|
|
558
484
|
(function (AwardTypeDto) {
|
|
559
485
|
AwardTypeDto["Unspecified"] = "Unspecified";
|
|
@@ -569,7 +495,6 @@ var AwardTypeDto;
|
|
|
569
495
|
AwardTypeDto["CompetitiveDialog"] = "CompetitiveDialog";
|
|
570
496
|
AwardTypeDto["InnovationPartnership"] = "InnovationPartnership";
|
|
571
497
|
})(AwardTypeDto || (AwardTypeDto = {}));
|
|
572
|
-
/** This enumeration describes awards for project that are not just a regular procurement. For example, it can be used to describe recurring maintenance or an outline contract (German: Rahmenvertrag) which just specifies services and prices but may be requested on demand when necessary */
|
|
573
498
|
var SpecialAwardKindDto;
|
|
574
499
|
(function (SpecialAwardKindDto) {
|
|
575
500
|
SpecialAwardKindDto["Unspecified"] = "Unspecified";
|
|
@@ -577,111 +502,61 @@ var SpecialAwardKindDto;
|
|
|
577
502
|
SpecialAwardKindDto["OutlineContract"] = "OutlineContract";
|
|
578
503
|
SpecialAwardKindDto["OutlineForMaintenanceContract"] = "OutlineForMaintenanceContract";
|
|
579
504
|
})(SpecialAwardKindDto || (SpecialAwardKindDto = {}));
|
|
580
|
-
/** This is the base class that holds information about a whole service specification. */
|
|
581
505
|
class ServiceSpecificationDto {
|
|
582
|
-
/** Elements GUID identifier. */
|
|
583
506
|
id;
|
|
584
|
-
/** The hourly wage that is used within this ElementContainerBase. Will be propagated to child elements. */
|
|
585
507
|
projectHourlyWage;
|
|
586
|
-
/** The tax rate that is used within this ElementContainerBase. Will be propagated to child elements. */
|
|
587
508
|
projectTaxRate;
|
|
588
|
-
/** The price components that are used within this project. They are ignored during Json deserialization because they will be set from the parent project. */
|
|
589
509
|
projectPriceComponents;
|
|
590
|
-
/** The ItemNumberSchema that is used within this project. */
|
|
591
510
|
projectItemNumberSchema;
|
|
592
|
-
/** The IElements within this ElementContainerBase. */
|
|
593
511
|
elements;
|
|
594
|
-
/** The label used in the parent Project to mark labour time, e.g. "Hours" or "Stunden". */
|
|
595
512
|
projectLabourTimeLabel;
|
|
596
|
-
/** Indicates if there are child IElements that have conflicting, duplicated ItemNumbers or if any child ElementContainerBase elements themselves contain duplicate ItemNumber s. Will always indicate false when told to ignore duplicate item numbers. */
|
|
597
513
|
containsDuplicateItemNumbers;
|
|
598
|
-
/** Indicates if there are child IElements that have conflicting, duplicated Ids or if any child ElementContainerBase elements themselves contain duplicate Id s. Will always indicate false when told to ignore duplicate item numbers. */
|
|
599
514
|
containsDuplicateElementIds;
|
|
600
|
-
/** Indicate if duplicated ItemNumbers within child elements are to be ignored. Will not perform checks for duplicates if yes. */
|
|
601
515
|
ignoreDuplicateItemNumbers;
|
|
602
|
-
/** If this is set to true, the ProjectCatalogues property will not be propagated to child elements. This is useful in mapping scenarios, where you want to disable propagation for multiple changes, and only enable it once you have mapped all properties */
|
|
603
516
|
ignoreProjectCataloguePropagation;
|
|
604
|
-
/** Indicate if duplicated Ids within child elements are to be ignored. Will not perform checks for duplicates if yes. */
|
|
605
517
|
ignoreDuplicateElementIds;
|
|
606
|
-
/** Price composition by tax rate. */
|
|
607
518
|
totalPriceGrossByTaxRate;
|
|
608
|
-
/** Internally used to indicate that a propagation is currently done, this is done to not recalculate every single result from a lot of changes when it is sufficient to calculate the total price at once. */
|
|
609
519
|
ignoreChildPriceUpdates;
|
|
610
|
-
/** Net price after applied deductions. */
|
|
611
520
|
deductedPrice;
|
|
612
|
-
/** Factor of applied deductions to the total price. For example, "0.03" means that a 3% deduction is to be applied. */
|
|
613
521
|
deductionFactor;
|
|
614
|
-
/** The exact amount of the discount as an absolute value. For backwards compatibility reasons, setting this value will also set a calculated value to DeductionFactor, which will also be updated in case the total price is changed to reflect a relative value of the absolute discount sum. */
|
|
615
522
|
absoluteDeduction;
|
|
616
|
-
/** Will return this ElementContainerBase's total price. */
|
|
617
523
|
totalPrice;
|
|
618
|
-
/** The total gross price for this ElementContainerBase including all child elements. */
|
|
619
524
|
totalPriceGross;
|
|
620
|
-
/** Total gross price after applied deductions. */
|
|
621
525
|
totalPriceGrossDeducted;
|
|
622
|
-
/** Indicates the PriceType of this ElementContainerBase, whether it should factor into total costs or not. */
|
|
623
526
|
priceType;
|
|
624
|
-
/** Information about the bidder. */
|
|
625
527
|
bidder;
|
|
626
|
-
/** This discriminator is used to identify different bidders in a project. It is different from the Identifier property in the Bidder in that the BidderDiscriminator is intended to be a numerical identifier within a project, while the Identifier does uniquely identify a bidder in the system independent of a specific project. This property should map to "Bieternummer" or "BidderNo" in GAEB. */
|
|
627
528
|
bidderDiscriminator;
|
|
628
|
-
/** This is used to store the GAEB XML Id within this ServiceSpecification. This data is not used for any calculations or evaluations but only for GAEB serialization and deserialization. */
|
|
629
529
|
gaebXmlId;
|
|
630
|
-
/** The ProjectInformation used within the Project in which this ElementContainerBase is contained. This is reference equal to the ProjectInformation used in the parent project. */
|
|
631
530
|
projectInformation;
|
|
632
|
-
/** This service specifications exchange phase, i.e. the current status in the project it is intended to be used (such as request for offer, offer, awarding...). */
|
|
633
531
|
exchangePhase;
|
|
634
|
-
/** This indicates where the service specification originates, i.e. from an exchange file format or self created. If applicable, additional information is present in the OriginDetail property. */
|
|
635
532
|
origin;
|
|
636
|
-
/** This property complements the Origin property. Some formats, e.g. GaebXml might have additional information attached, e.g. GAEB XML V3.2 oder GAEB XML V3.1. This string property is used to hold such data. The Dangl.AVA module does not have a list of possible values, since this is defined in the native format assemblies, e.g. Dangl.GAEB or Dangl.Oenorm. */
|
|
637
533
|
originDetail;
|
|
638
|
-
|
|
534
|
+
originSystem;
|
|
535
|
+
originApplication;
|
|
536
|
+
originVersion;
|
|
639
537
|
creationDate;
|
|
640
|
-
/** Date indicating until when an offer has to be submitted. In German, this is often called the "Eröffnungstermin" */
|
|
641
538
|
offerByDate;
|
|
642
|
-
/** Date indicating by when the buyer will select a contractor. */
|
|
643
539
|
decisionDate;
|
|
644
|
-
/** Date of when the offer / bid was created */
|
|
645
540
|
bidDate;
|
|
646
|
-
/** If a construction project requires a warranty bond, this property indicates the amount as a percentage, e.g. '0.15m' means 15% of the construction total amount as a warranty bond. */
|
|
647
541
|
warrantyBondPercentage;
|
|
648
|
-
/** If a construction project requires an execution guarantty, this property indicates the amount as a percentage, e.g. '0.15m' means 15% of the construction total amount as an execution guarantee. In practice, this percentage is usually deducted from intermediate invoices and only billed in the final invoice. */
|
|
649
542
|
executionGuaranteePercentage;
|
|
650
|
-
/** String indicating where the physical submission of the offer is taking place. */
|
|
651
543
|
submissionLocation;
|
|
652
|
-
/** Description of this ServiceSpecification. */
|
|
653
544
|
description;
|
|
654
|
-
/** The name of this ServiceSpecification. */
|
|
655
545
|
name;
|
|
656
|
-
/** This PriceInformation contains global data for the ServiceSpecification. When inside a Project, do not set this property manually. */
|
|
657
546
|
priceInformation;
|
|
658
|
-
/** These are Catalogue that are used within this ElementContainerBase. Catalogue references are used to describe catalogues, or collections, that can be used to describe elements with commonly known properties. For example, QuantityAssignments use these to categorize themselves. */
|
|
659
547
|
projectCatalogues;
|
|
660
|
-
/** Referenced catalogues for this ElementContainerBase. */
|
|
661
548
|
catalogueReferences;
|
|
662
|
-
/** This is a list of sustainability catalogues that are relevant for this ServiceSpecification. Sustainability catalogues are sources for environmental or sustainability data. */
|
|
663
549
|
sustainabilityCatalogues;
|
|
664
|
-
/** The date when the execution of the services is scheduled to start */
|
|
665
550
|
plannedExecutionStart;
|
|
666
|
-
/** The date then the execution of the services is scheduled to be finished */
|
|
667
551
|
plannedExecutionEnd;
|
|
668
|
-
/** The date on which the contract has been awarded. This matches "Auftragsdatum" in GAEB */
|
|
669
552
|
contractDate;
|
|
670
|
-
/** This value can be used to indicate the number or identifier of the contract. It matches "Auftragsnummer" in GAEB */
|
|
671
553
|
contractIdentifier;
|
|
672
|
-
/** This indicates how long the warranty period is for this ServiceSpecification */
|
|
673
554
|
warrantyDuration;
|
|
674
|
-
/** The date on which the warranty period ends */
|
|
675
555
|
warrantyEnd;
|
|
676
|
-
/** The date on which the services rendered by the bidder are scheduled to be approved by the buyer */
|
|
677
556
|
approvalDate;
|
|
678
|
-
/** This should specify how the approval is performed by the buyer. This matches "AcceptType" in GAEB */
|
|
679
557
|
typeOfApproval;
|
|
680
|
-
/** This optional string property is shared by all IElement s, and indicates if the element is part of an addendum, a 'Nachtrag' in German. */
|
|
681
558
|
addendumNumber;
|
|
682
|
-
/** This indicates, if this element is part of an addendum an, if yes, with what status. */
|
|
683
559
|
addendumStatus;
|
|
684
|
-
/** This property holds additional information that's only valid in commerce exchange phases. */
|
|
685
560
|
commerceProperties;
|
|
686
561
|
constructor(data) {
|
|
687
562
|
if (data) {
|
|
@@ -767,6 +642,9 @@ class ServiceSpecificationDto {
|
|
|
767
642
|
this.exchangePhase = _data["exchangePhase"];
|
|
768
643
|
this.origin = _data["origin"];
|
|
769
644
|
this.originDetail = _data["originDetail"];
|
|
645
|
+
this.originSystem = _data["originSystem"];
|
|
646
|
+
this.originApplication = _data["originApplication"];
|
|
647
|
+
this.originVersion = _data["originVersion"];
|
|
770
648
|
this.creationDate = _data["creationDate"] ? new Date(_data["creationDate"].toString()) : undefined;
|
|
771
649
|
this.offerByDate = _data["offerByDate"] ? new Date(_data["offerByDate"].toString()) : undefined;
|
|
772
650
|
this.decisionDate = _data["decisionDate"] ? new Date(_data["decisionDate"].toString()) : undefined;
|
|
@@ -893,6 +771,9 @@ class ServiceSpecificationDto {
|
|
|
893
771
|
data["exchangePhase"] = this.exchangePhase;
|
|
894
772
|
data["origin"] = this.origin;
|
|
895
773
|
data["originDetail"] = this.originDetail;
|
|
774
|
+
data["originSystem"] = this.originSystem;
|
|
775
|
+
data["originApplication"] = this.originApplication;
|
|
776
|
+
data["originVersion"] = this.originVersion;
|
|
896
777
|
data["creationDate"] = this.creationDate ? this.creationDate.toISOString() : undefined;
|
|
897
778
|
data["offerByDate"] = this.offerByDate ? this.offerByDate.toISOString() : undefined;
|
|
898
779
|
data["decisionDate"] = this.decisionDate ? this.decisionDate.toISOString() : undefined;
|
|
@@ -977,15 +858,11 @@ class ServiceSpecificationDto {
|
|
|
977
858
|
return data;
|
|
978
859
|
}
|
|
979
860
|
}
|
|
980
|
-
/** Base interface definition for elements within an ElementContainerBase. */
|
|
981
861
|
class IElementDto {
|
|
982
862
|
elementType;
|
|
983
863
|
elementTypeDiscriminator;
|
|
984
|
-
/** Elements GUID identifier. */
|
|
985
864
|
id;
|
|
986
|
-
/** 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. */
|
|
987
865
|
gaebXmlId;
|
|
988
|
-
/** This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German. */
|
|
989
866
|
addendumNumber;
|
|
990
867
|
projectCatalogues;
|
|
991
868
|
catalogueReferences;
|
|
@@ -1085,19 +962,12 @@ class IElementDto {
|
|
|
1085
962
|
return data;
|
|
1086
963
|
}
|
|
1087
964
|
}
|
|
1088
|
-
/** This class describes an external catalogue. Catalogues, or collections, hold information to categorize and describe items. For example, the German DIN 276 cost group standards describe different types of costs for building projects. When referencing the DIN 276 catalogue and providing an item key or identifier, it is possible to reference data in this catalogue. */
|
|
1089
965
|
class CatalogueDto {
|
|
1090
|
-
/** Elements GUID identifier. */
|
|
1091
966
|
id;
|
|
1092
|
-
/** This is used to store the GAEB XML Id within this Catalogue. This data is not used for any calculations or evaluations but only for GAEB serialization and deserialization. */
|
|
1093
967
|
gaebXmlId;
|
|
1094
|
-
/** The name that is given for this catalogue. */
|
|
1095
968
|
name;
|
|
1096
|
-
/** Additional information about this catalogue. */
|
|
1097
969
|
description;
|
|
1098
|
-
/** If given, this gives a classification for the contents of the catalogue */
|
|
1099
970
|
catalogueType;
|
|
1100
|
-
/** This property may hold additional information about the catalogue type. It is currently only used in GAEB XML exchange to carry detailed information about a catalogue type, but it's otherwise just a free text field. */
|
|
1101
971
|
catalogueTypeDetail;
|
|
1102
972
|
constructor(data) {
|
|
1103
973
|
if (data) {
|
|
@@ -1134,7 +1004,6 @@ class CatalogueDto {
|
|
|
1134
1004
|
return data;
|
|
1135
1005
|
}
|
|
1136
1006
|
}
|
|
1137
|
-
/** This enumeration describes the type of a catalogue. Catalogues, or collections, hold information to categorize and describe items. For example, the German DIN 276 cost group standards describe different types of costs for building projects. When referencing the DIN 276 catalogue and providing an item key or identifier, it is possible to reference data in this catalogue. */
|
|
1138
1007
|
var CatalogueTypeDto;
|
|
1139
1008
|
(function (CatalogueTypeDto) {
|
|
1140
1009
|
CatalogueTypeDto["Unknown"] = "Unknown";
|
|
@@ -1146,17 +1015,11 @@ var CatalogueTypeDto;
|
|
|
1146
1015
|
CatalogueTypeDto["BIM"] = "BIM";
|
|
1147
1016
|
CatalogueTypeDto["Attachment"] = "Attachment";
|
|
1148
1017
|
})(CatalogueTypeDto || (CatalogueTypeDto = {}));
|
|
1149
|
-
/** This class is used to link data between catalogues and objects. */
|
|
1150
1018
|
class CatalogueReferenceDto {
|
|
1151
|
-
/** Elements GUID identifier. */
|
|
1152
1019
|
id;
|
|
1153
|
-
/** This points to the item in the catalogue itself. This means that, for example when this quantity assignment references a "DIN 276" catalogue, this property indicates the number / identifier / key in DIN 276 that is referenced. */
|
|
1154
1020
|
catalogueReferenceKey;
|
|
1155
|
-
/** The Id of the CatalogueReference that is targeted by this item. Set this property to set the referenced catalogue. */
|
|
1156
1021
|
catalogueReferenceId;
|
|
1157
|
-
/** These are CatalogueReference that are used within this ServiceSpecification. Catalogue references are used to describe catalogues, or collections, that can be used to describe elements with commonly known properties. For example, QuantityAssignments use these to categorize themselves. */
|
|
1158
1022
|
projectCatalogues;
|
|
1159
|
-
/** This returns the referenced catalogue. Will return null if there is no reference or the catalogue is not present in the ProjectCatalogues. */
|
|
1160
1023
|
catalogue;
|
|
1161
1024
|
constructor(data) {
|
|
1162
1025
|
if (data) {
|
|
@@ -1222,135 +1085,91 @@ class CatalogueReferenceDto {
|
|
|
1222
1085
|
return data;
|
|
1223
1086
|
}
|
|
1224
1087
|
}
|
|
1225
|
-
/** A Position is the main item type in a ServiceSpecification, holding information about tasks to be done, their prices, description, amounts etc. */
|
|
1226
1088
|
class PositionDto extends IElementDto {
|
|
1227
|
-
/** Will return the price per unit, rounded according to the project settings or the default value of three decimal places */
|
|
1228
1089
|
unitPrice;
|
|
1229
|
-
/** You can use this property to directly set the unit price for this position. This will
|
|
1090
|
+
/** You can use this property to directly set the unit price for this position. This will
|
|
1091
|
+
override any given PriceComponents */
|
|
1230
1092
|
unitPriceOverride;
|
|
1231
|
-
/** Will return this Position's total quantity, rounded to three decimal places. */
|
|
1232
1093
|
quantity;
|
|
1233
|
-
/** You can use this property to directly set the quantity for this position. This will
|
|
1094
|
+
/** You can use this property to directly set the quantity for this position. This will
|
|
1095
|
+
override any given QuantityComponents */
|
|
1234
1096
|
quantityOverride;
|
|
1235
|
-
/** This indicates true if this specific position is specified as a complementing position
|
|
1097
|
+
/** This indicates true if this specific position is specified as a complementing position
|
|
1098
|
+
for any base position. */
|
|
1236
1099
|
isComplementingPosition;
|
|
1237
|
-
/** If IsComplementingPosition is set to true, this will indicate which base
|
|
1100
|
+
/** If IsComplementingPosition is set to true, this will indicate which base
|
|
1101
|
+
positions are targeted by this complementing position. */
|
|
1238
1102
|
complementsPositions;
|
|
1239
|
-
/** You can use this property to directly specify the total price of this position as a
|
|
1103
|
+
/** You can use this property to directly specify the total price of this position as a
|
|
1104
|
+
percentage of the sum of the total prices of base positions that this position
|
|
1105
|
+
complements. It will essentially set the total price for this position to the sum of all
|
|
1106
|
+
total prices of the positions specified in ComplementsPositions multiplied
|
|
1107
|
+
by the percentage here. If present, this has precedence over UnitPriceOverride as well as QuantityOverride. */
|
|
1240
1108
|
complementingPricePercentageOverride;
|
|
1241
|
-
/** This is a read only property showing the total price of this positions as a percentage
|
|
1109
|
+
/** This is a read only property showing the total price of this positions as a percentage
|
|
1110
|
+
of the sum of the total prices of all base positions, in case this position is a
|
|
1111
|
+
complementing positions. If this position is not a complementing position, this will be
|
|
1112
|
+
null. Also, if no prices are present, this will also be null. */
|
|
1242
1113
|
complementingPricePercentage;
|
|
1243
|
-
/** The tag of the unit used for this positions quantity. */
|
|
1244
1114
|
unitTag;
|
|
1245
|
-
/** The components for labour time in this Position. */
|
|
1246
1115
|
labourComponents;
|
|
1247
|
-
/** The single price components in this Position. Price components should not be handled directly on a per-position basis but set globally in the parent Projects ProjectInformation. */
|
|
1248
1116
|
priceComponents;
|
|
1249
|
-
/** The quantity components of this Position. */
|
|
1250
1117
|
quantityComponents;
|
|
1251
|
-
/** Further structuring of this Position. */
|
|
1252
1118
|
subDescriptions;
|
|
1253
|
-
/** Indicates the status of this Position's comission. */
|
|
1254
1119
|
comissionStatus;
|
|
1255
|
-
/** 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. */
|
|
1256
1120
|
complementedBy;
|
|
1257
|
-
/** This list contains information about sustainability indicators or environmental impact for this position. */
|
|
1258
1121
|
sustainabilityIndicators;
|
|
1259
|
-
/** 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. */
|
|
1260
1122
|
complemented;
|
|
1261
|
-
/** Indicates that the amount for this Position is to be set by the bidder. */
|
|
1262
1123
|
amountToBeEnteredByBidder;
|
|
1263
|
-
/** Indicates if the bidder demands for prices to be broken up into their price components. */
|
|
1264
1124
|
priceCompositionRequired;
|
|
1265
|
-
/** Indicates if this Position should use a different TaxRate than what is the default for the Project. */
|
|
1266
1125
|
useDifferentTaxRate;
|
|
1267
|
-
/** Will return either the parent ServiceSpecification's TaxRate or it's own if it has a different value. (For example, in Germany Water has a different TaxRate than regular Positions) */
|
|
1268
1126
|
taxRate;
|
|
1269
|
-
/** The ItemNumber for this Position. */
|
|
1270
1127
|
itemNumber;
|
|
1271
|
-
/** The rate of deductions, i.e. 0.12m means 12% price deduction. */
|
|
1272
1128
|
deductionFactor;
|
|
1273
|
-
/** Returns the product of UnitPrice times Quantity. */
|
|
1274
1129
|
totalPrice;
|
|
1275
|
-
/** The total gross price for this Position. */
|
|
1276
1130
|
totalPriceGross;
|
|
1277
|
-
/** Total gross price after applied deductions. */
|
|
1278
1131
|
totalPriceGrossDeducted;
|
|
1279
|
-
/** Net price after applied deductions. Please be aware that this is the total price, from TotalPrice, not the unit price of the position. */
|
|
1280
1132
|
deductedPrice;
|
|
1281
|
-
/** This indicates the type of a position. If this is an alternative position, its AlternativeTo property should be set to the id of the position it can replace. */
|
|
1282
1133
|
positionType;
|
|
1283
|
-
/** Indicates the PriceType of this Position. */
|
|
1284
1134
|
priceType;
|
|
1285
|
-
/** This indicates if this position is regular or describing a labour / hourly paid work service */
|
|
1286
1135
|
serviceType;
|
|
1287
|
-
/** This property describes additional information about a product being used within this Position. For example, a pipe position, per length unit, could be composed of different pipe segments, fitting and other accessory articles. */
|
|
1288
1136
|
productData;
|
|
1289
|
-
/**
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
`HtmlShortText` property, you need to set this property to null.
|
|
1293
|
-
*/
|
|
1137
|
+
/** Please note that by default, this property takes precedence over the `HtmlShortText`
|
|
1138
|
+
property. If you want to convert from DTO objects, and you want to work with the
|
|
1139
|
+
`HtmlShortText` property, you need to set this property to null. */
|
|
1294
1140
|
shortText;
|
|
1295
|
-
/** This
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
`ShortText` is set to null, otherwise the plain text takes precedence over the HTML text.
|
|
1299
|
-
*/
|
|
1141
|
+
/** This property is used to store the short text in HTML format. If you want to convert
|
|
1142
|
+
from DTO objects, and you want to use this property, then you need to ensure that
|
|
1143
|
+
`ShortText` is set to null, otherwise the plain text takes precedence over the HTML text. */
|
|
1300
1144
|
htmlShortText;
|
|
1301
|
-
/** Detailed description for this DescriptionBase element. When the HtmlLongText is set, this is automatically overwritten and filled with the appropriate plain text representation of the Html text. Vice versa, setting this property overrides the HtmlLongText. */
|
|
1302
1145
|
longText;
|
|
1303
|
-
/** 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. */
|
|
1304
1146
|
htmlLongText;
|
|
1305
|
-
/** Indicates if this DescriptionBase element contains Buyer or Bidder additions to the text. */
|
|
1306
1147
|
additionType;
|
|
1307
1148
|
elementType = 'Position';
|
|
1308
1149
|
elementTypeDiscriminator = 'Position';
|
|
1309
|
-
/** 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. */
|
|
1310
1150
|
quantityAssignments;
|
|
1311
|
-
/** The CommerceProperties support specialized information that is only useful in GAEB XML 9x data exchange phases. It is intended to provide article information. */
|
|
1312
1151
|
commerceProperties;
|
|
1313
|
-
/** If this position is an Alternative, then this property should point to the id of the position in this service specification that it can replace. If this is set to a value, you can optionally also specify an identifier via AlternativeIdentifier to specifiy multiple positions that must be used together to be an alternative to a single base position. */
|
|
1314
1152
|
alternativeTo;
|
|
1315
|
-
/** This is an optional property that can be used together with AlternativeTo. If this is set, you can indicate which alternative group a specific position is assigned to. That way, if you specifiy multiple alternative Positions with the same AlternativeIdentifier, you can indicate that to replace a single base Position, multiple alternative Positions should be used. This property is not checked or managed automatically, so it is possible for this property to become invalid, by for example setting this property but not setting a base position via AlternativeTo. */
|
|
1316
1153
|
alternativeIdentifier;
|
|
1317
|
-
/** This is an optional property that can be used together with AlternativeTo and AlternativeGroupIdentifier. If this is set, you can indicate which alternative group a specific position is assigned to. That way, you can specify the id (in integer format) for the alternative group this position belongs to. It's different to AlternativeIdentifier in that the other property describes the id of the group, while this property here describes the group itself. If a position only has set AlternativeGroupIdentifier but not AlternativeIdentifier, then it likely is a base position for a specific group. This was introduced in version v2.9.0 to be able to model both position and group ids for alternative group combinations. This property is not checked or managed automatically, so it is possible for this property to become invalid, by for example setting this property but not setting a base position via AlternativeTo. */
|
|
1318
1154
|
alternativeGroupIdentifier;
|
|
1319
|
-
/** If this is true, it indicates that the position is intended to be a lump sum, "Pauschal" in German. This means the position total price that is being invoiced should not depend on the actual quantity. In practice, partial invoices are still often used for partial services rendered. This property does not affect the price calculation for this position. Typically, the Quantity should be set to 1.0 when this flag is used. */
|
|
1320
1155
|
isLumpSum;
|
|
1321
|
-
/** This identifier can be used to point to the Id of a position in the same ServiceSpecification that acts as a base position. It matches "Bezugsposition" in GAEB. This can be used for positions that repeat partially or are linked together */
|
|
1322
1156
|
repetitionTo;
|
|
1323
1157
|
v1CompatibilityPriceType;
|
|
1324
|
-
/** 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. */
|
|
1325
1158
|
standardizedDescription;
|
|
1326
|
-
/** This list contains references to positions that complement this one, additionally also specifying a quantity for which the addition is intended. This does not replace the ComplementedBy property and there are no automatic checks being done between these two properties, so it's up to the user code to ensure deletions (and additions, if desired) are performed for both properties. When copying withing keeping Ids, this list will not be part of the copy process, since it would only contain quantities without actual position references. Containers, however, will rebuild the list with updated position references when copying positions that contain entries here. */
|
|
1327
1159
|
complementedByQuantities;
|
|
1328
|
-
/** This identifier can be used to point to the Id of an ExecutionDescription in the same ServiceSpecification. ExecutionDescriptions act as a way to centrally describe how positions should be executed in practice. Often, the position itself still has text of its own to highlight deviations from that or add more details. */
|
|
1329
1160
|
executionDescriptionReference;
|
|
1330
|
-
/** This indicates if a position has not been offered. This is typically only expected to be true when the exchange phase of the parent ServiceSpecification is Offer, and it means that the position has not been offered at all. */
|
|
1331
1161
|
notOffered;
|
|
1332
|
-
/** This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for Positions and extends the OenormProperties base class. */
|
|
1333
1162
|
oenormPositionProperties;
|
|
1334
|
-
/** 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. */
|
|
1335
1163
|
descriptionId;
|
|
1336
|
-
/** This is a zero based hierarchy level. It's set automatically when used in the context of a Project, and can be used to identify the hierarchy level of the current element. */
|
|
1337
1164
|
hierarchyLevel;
|
|
1338
|
-
/** This indicates, if this element is part of an addendum an, if yes, with what status. */
|
|
1339
1165
|
addendumStatus;
|
|
1340
1166
|
hasBidderCommentInHtmlLongText;
|
|
1341
|
-
/** This property can optionally be used in GAEB exchange scenarios. It is only meaningful if this position itself is a complementing position, meaning if this position is marked in other positions in their ComplementedBy list. Then, it specifies how the complementing should be expressed in GAEB. By default, positions are always explicitly referenced, but other options are possible. Please also note that the Dangl.AVA.Converter package, which is used for GAEB exports, will check if the given type is valid in the current project configuration. If not, directly referenced positions will be used as fallback. */
|
|
1342
1167
|
gaebComplementingType;
|
|
1343
|
-
/** HoldOut properties describe services that are to be provided and maintained for a specific time, e.g. fences on a construction site. */
|
|
1344
1168
|
holdOutProperties;
|
|
1345
|
-
/** This is an informational property, which directly holds a numerical value for an estimated quantity. It is not used for any price calculations. */
|
|
1346
1169
|
estimatedQuantity;
|
|
1347
|
-
/** This is an optional property that holds price catalogue data. These are prices that may represent an estimate, and they typically come from a price catalogue. */
|
|
1348
1170
|
priceCatalogueData;
|
|
1349
|
-
/** If this is set to true, the ProjectCatalogues property will not be propagated to child elements. This is useful in mapping scenarios, where you want to disable propagation for multiple changes, and only enable it once you have mapped all properties. */
|
|
1350
1171
|
ignoreProjectCataloguePropagation;
|
|
1351
|
-
/** A main position means that this position is important and should be highlighted in the user interface. Important meaning that is is usually a bigger part of the total sum of the services, or it needs special attention in another way. */
|
|
1352
1172
|
isMainPosition;
|
|
1353
|
-
/** This is a string reference that's used by some description elements to reference a base or parent catalogue. For example, it's 'WICNo' in GAEB. */
|
|
1354
1173
|
baseCatalogueNumber;
|
|
1355
1174
|
constructor(data) {
|
|
1356
1175
|
super(data);
|
|
@@ -1725,21 +1544,13 @@ class PositionDto extends IElementDto {
|
|
|
1725
1544
|
return data;
|
|
1726
1545
|
}
|
|
1727
1546
|
}
|
|
1728
|
-
/** Based on the PriceComponent, this class is responsible for labour time components. */
|
|
1729
1547
|
class LabourPriceComponentDto {
|
|
1730
|
-
/** The label associated with this price component. Will be taken from the parent Projects ProjectInformation. */
|
|
1731
1548
|
label;
|
|
1732
|
-
/** The total, calculated price of this component. Will multiply the calculated amount of hours with the ServiceSpecifications hourly wage rate. */
|
|
1733
1549
|
price;
|
|
1734
|
-
/** The cost per hour of manual labor. */
|
|
1735
1550
|
hourlyWage;
|
|
1736
|
-
/** The single Calculation elements this price component is composed of. */
|
|
1737
1551
|
values;
|
|
1738
|
-
/** Indicates if the ServiceSpecification's standard HourlyWage is to be used or a custom value. */
|
|
1739
1552
|
useOwnHourlyWage;
|
|
1740
|
-
/** The total, calculated time of this component. Will return the result rounded to three decimal places. */
|
|
1741
1553
|
totalTime;
|
|
1742
|
-
/** These are Catalogues that are used within this PriceComponent. Catalogues are used to describe catalogues, or collections, that can be used to describe elements with commonly known properties. For example, QuantityAssignments use these to categorize themselves. They are propagate to all child elements, e.g. other containers and QuantityAssignments. In the context of a ServiceSpecification, all elements share the same instance of the collection. */
|
|
1743
1554
|
projectCatalogues;
|
|
1744
1555
|
constructor(data) {
|
|
1745
1556
|
if (data) {
|
|
@@ -1818,21 +1629,13 @@ class LabourPriceComponentDto {
|
|
|
1818
1629
|
return data;
|
|
1819
1630
|
}
|
|
1820
1631
|
}
|
|
1821
|
-
/** This class holds means to calculate mathematical expressions from given strings. */
|
|
1822
1632
|
class CalculationDto {
|
|
1823
|
-
/** Descriptive text for this calculation. */
|
|
1824
1633
|
description;
|
|
1825
|
-
/** This Calculation's mathematical expression. Please note that thousands separators are not supported. Both comma and point will be treated as decimal separators. */
|
|
1826
1634
|
formula;
|
|
1827
|
-
/** The calculated result from the formula, 0 if invalid. */
|
|
1828
1635
|
result;
|
|
1829
|
-
/** Whether the Formula is a valid expression. */
|
|
1830
1636
|
valid;
|
|
1831
|
-
/** Will be -1 if the Formula is correct, else it will show the position in the formula where an error was encountered. This is a zero based index. */
|
|
1832
1637
|
errorPositionInLine;
|
|
1833
|
-
/** These are Catalogues that are used within this Calculation. Catalogues are used to describe catalogues, or collections, that can be used to describe elements with commonly known properties. For example, QuantityAssignments use these to categorize themselves. They are propagate to all child elements, e.g. other containers and QuantityAssignments. In the context of a ServiceSpecification, all elements share the same instance of the collection. */
|
|
1834
1638
|
projectCatalogues;
|
|
1835
|
-
/** Referenced catalogues for this Calculation. */
|
|
1836
1639
|
catalogueReferences;
|
|
1837
1640
|
constructor(data) {
|
|
1838
1641
|
if (data) {
|
|
@@ -1911,15 +1714,10 @@ class CalculationDto {
|
|
|
1911
1714
|
return data;
|
|
1912
1715
|
}
|
|
1913
1716
|
}
|
|
1914
|
-
/** This class provides means to store information about a price and it's composition. Note that this is referencing to a single price component, so for example a Position would have a list of PriceComponents, one for Material, one for Labour etc. */
|
|
1915
1717
|
class PriceComponentDto {
|
|
1916
|
-
/** The total, calculated price of this component. */
|
|
1917
1718
|
price;
|
|
1918
|
-
/** The label associated with this price component. Will be taken from the parent Projects ProjectInformation. */
|
|
1919
1719
|
label;
|
|
1920
|
-
/** The single Calculation elements this price component is composed of. */
|
|
1921
1720
|
values;
|
|
1922
|
-
/** These are Catalogues that are used within this PriceComponent. Catalogues are used to describe catalogues, or collections, that can be used to describe elements with commonly known properties. For example, QuantityAssignments use these to categorize themselves. They are propagate to all child elements, e.g. other containers and QuantityAssignments. In the context of a ServiceSpecification, all elements share the same instance of the collection. */
|
|
1923
1721
|
projectCatalogues;
|
|
1924
1722
|
constructor(data) {
|
|
1925
1723
|
if (data) {
|
|
@@ -1992,50 +1790,32 @@ class PriceComponentDto {
|
|
|
1992
1790
|
return data;
|
|
1993
1791
|
}
|
|
1994
1792
|
}
|
|
1995
|
-
/** This is appended to a Position and is used to separate the complete Position into smaller amounts to be described separately, for example concrete walls could be attached to different building storeys. */
|
|
1996
1793
|
class SubDescriptionDto {
|
|
1997
|
-
/** Elements GUID identifier. */
|
|
1998
1794
|
id;
|
|
1999
|
-
/** Returns the total calculated sum of all quantity assignments. Will return the result rounded to three decimal places. */
|
|
2000
1795
|
quantity;
|
|
2001
|
-
/** You can use this property to directly set the quantity for this
|
|
1796
|
+
/** You can use this property to directly set the quantity for this
|
|
1797
|
+
sub description. This will override any given QuantityComponents */
|
|
2002
1798
|
quantityOverride;
|
|
2003
|
-
/** Holds quantity information for this sub description. Quantity is listening to changes here and is reporting the total sum of all quantity components. */
|
|
2004
1799
|
quantityComponents;
|
|
2005
|
-
/** Indicates if the bidder is asked to specify an amount. */
|
|
2006
1800
|
amountToBeEnteredByBidder;
|
|
2007
|
-
/** Identifier for this SubDescription. */
|
|
2008
1801
|
identifier;
|
|
2009
|
-
/**
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
`HtmlShortText` property, you need to set this property to null.
|
|
2013
|
-
*/
|
|
1802
|
+
/** Please note that by default, this property takes precedence over the `HtmlShortText`
|
|
1803
|
+
property. If you want to convert from DTO objects, and you want to work with the
|
|
1804
|
+
`HtmlShortText` property, you need to set this property to null. */
|
|
2014
1805
|
shortText;
|
|
2015
|
-
/** This
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
`ShortText` is set to null, otherwise the plain text takes precedence over the HTML text.
|
|
2019
|
-
*/
|
|
1806
|
+
/** This property is used to store the short text in HTML format. If you want to convert
|
|
1807
|
+
from DTO objects, and you want to use this property, then you need to ensure that
|
|
1808
|
+
`ShortText` is set to null, otherwise the plain text takes precedence over the HTML text. */
|
|
2020
1809
|
htmlShortText;
|
|
2021
|
-
/** Detailed description for this DescriptionBase element. When the HtmlLongText is set, this is automatically overwritten and filled with the appropriate plain text representation of the Html text. Vice versa, setting this property overrides the HtmlLongText. */
|
|
2022
1810
|
longText;
|
|
2023
|
-
/** If this is given, then the sub description has a different unit tag than the parent position. */
|
|
2024
1811
|
unitTag;
|
|
2025
|
-
/** 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. */
|
|
2026
1812
|
htmlLongText;
|
|
2027
|
-
/** Indicates if this DescriptionBase element contains Buyer or Bidder additions to the text. */
|
|
2028
1813
|
additionType;
|
|
2029
|
-
/** 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. */
|
|
2030
1814
|
standardizedDescription;
|
|
2031
|
-
/** This identifier can be used to point to the Id of an ExecutionDescription in the same ServiceSpecification. ExecutionDescriptions act as a way to centrally describe how positions (or sub descriptions) should be executed in practice. Often, the position (or sub description) itself still has text of its own to highlight deviations from that or add more details. When working with import and export features, this property is only supported in GAEB 90 data exchange. */
|
|
2032
1815
|
executionDescriptionReference;
|
|
2033
|
-
/** These are Catalogues that are used within this Calculation. Catalogues are used to describe catalogues, or collections, that can be used to describe elements with commonly known properties. For example, QuantityAssignments use these to categorize themselves. They are propagate to all child elements, e.g. other containers and QuantityAssignments. In the context of a ServiceSpecification, all elements share the same instance of the collection. */
|
|
2034
1816
|
projectCatalogues;
|
|
2035
|
-
/** 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. */
|
|
2036
1817
|
descriptionId;
|
|
2037
1818
|
hasBidderCommentInHtmlLongText;
|
|
2038
|
-
/** This is a string reference that's used by some description elements to reference a base or parent catalogue. For example, it's 'WICNo' in GAEB. */
|
|
2039
1819
|
baseCatalogueNumber;
|
|
2040
1820
|
constructor(data) {
|
|
2041
1821
|
if (data) {
|
|
@@ -2147,20 +1927,15 @@ class SubDescriptionDto {
|
|
|
2147
1927
|
return data;
|
|
2148
1928
|
}
|
|
2149
1929
|
}
|
|
2150
|
-
/** Indicates the origin of an element. */
|
|
2151
1930
|
var AdditionTypeDto;
|
|
2152
1931
|
(function (AdditionTypeDto) {
|
|
2153
1932
|
AdditionTypeDto["None"] = "None";
|
|
2154
1933
|
AdditionTypeDto["ByBuyer"] = "ByBuyer";
|
|
2155
1934
|
AdditionTypeDto["ByBidder"] = "ByBidder";
|
|
2156
1935
|
})(AdditionTypeDto || (AdditionTypeDto = {}));
|
|
2157
|
-
/** This class 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. */
|
|
2158
1936
|
class StandardizedDescriptionDto {
|
|
2159
|
-
/** This enumeration identifies a pre-known standard used for referencing standardized descriptions. */
|
|
2160
1937
|
standardReferenceType;
|
|
2161
|
-
/** This string property is the identifier to map to the references standard. Its type is given in the StandardReferenceType */
|
|
2162
1938
|
standardReference;
|
|
2163
|
-
/** This is a special reference to the German STLB "Standardleistungsbuch Bau" reference. If this is used, the StandardReference property should not be set. */
|
|
2164
1939
|
stlbReference;
|
|
2165
1940
|
constructor(data) {
|
|
2166
1941
|
if (data) {
|
|
@@ -2202,7 +1977,6 @@ class StandardizedDescriptionDto {
|
|
|
2202
1977
|
return data;
|
|
2203
1978
|
}
|
|
2204
1979
|
}
|
|
2205
|
-
/** This enumeration identifies a pre-known standard used for referencing standardized descriptions. */
|
|
2206
1980
|
var StandardReferenceTypeDto;
|
|
2207
1981
|
(function (StandardReferenceTypeDto) {
|
|
2208
1982
|
StandardReferenceTypeDto["Unknown"] = "Unknown";
|
|
@@ -2210,19 +1984,12 @@ var StandardReferenceTypeDto;
|
|
|
2210
1984
|
StandardReferenceTypeDto["StLK"] = "StLK";
|
|
2211
1985
|
StandardReferenceTypeDto["STLBBauZ"] = "STLBBauZ";
|
|
2212
1986
|
})(StandardReferenceTypeDto || (StandardReferenceTypeDto = {}));
|
|
2213
|
-
/** This class represents a specialized reference to the German STLB "Standardleistungsbuch Bau". The STLB is a commercial offering and describes common services in the construction sector. When this is used, this describes the exact type of a service via a reference to this standard */
|
|
2214
1987
|
class STLBReferenceDto {
|
|
2215
|
-
/** The date of the STLB version. Typically, only the Year and Month are used */
|
|
2216
1988
|
versionDate;
|
|
2217
|
-
/** The name of the catalogue within the STLB */
|
|
2218
1989
|
catalogueName;
|
|
2219
|
-
/** The name of the group in STLB */
|
|
2220
1990
|
group;
|
|
2221
|
-
/** The cost group this service is associated with */
|
|
2222
1991
|
costGroup;
|
|
2223
|
-
/** The service area (or type) in the STLB */
|
|
2224
1992
|
serviceArea;
|
|
2225
|
-
/** These keys may optionally be used to further reference multiple, specific items within the STLB */
|
|
2226
1993
|
keys;
|
|
2227
1994
|
constructor(data) {
|
|
2228
1995
|
if (data) {
|
|
@@ -2279,13 +2046,9 @@ class STLBReferenceDto {
|
|
|
2279
2046
|
return data;
|
|
2280
2047
|
}
|
|
2281
2048
|
}
|
|
2282
|
-
/** This class represents a single key reference within the German STLB "Standardleistungsbuch Bau" */
|
|
2283
2049
|
class STLBKeyDto {
|
|
2284
|
-
/** This identifier is required and uniquely describes a single reference within the STLB standard. It maps to "ArtChrIdent" in GAEB XML */
|
|
2285
2050
|
artIdentifier;
|
|
2286
|
-
/** This optional index property further categorizes a single reference within the STLB standard. It maps to "ArtChIdx" in GAEB XML */
|
|
2287
2051
|
artIndex;
|
|
2288
|
-
/** This optional identifier further specifies the execution kind of the reference in the STLB standard. It maps to "ChVIdent" in GAEB XML */
|
|
2289
2052
|
kindIdentifier;
|
|
2290
2053
|
constructor(data) {
|
|
2291
2054
|
if (data) {
|
|
@@ -2316,7 +2079,6 @@ class STLBKeyDto {
|
|
|
2316
2079
|
return data;
|
|
2317
2080
|
}
|
|
2318
2081
|
}
|
|
2319
|
-
/** Indicates if this service specification item is commissioned (and therefore should be executed), postponed for later or undefined. */
|
|
2320
2082
|
var ComissionStatusDto;
|
|
2321
2083
|
(function (ComissionStatusDto) {
|
|
2322
2084
|
ComissionStatusDto["Undefined"] = "Undefined";
|
|
@@ -2324,23 +2086,14 @@ var ComissionStatusDto;
|
|
|
2324
2086
|
ComissionStatusDto["Postponed"] = "Postponed";
|
|
2325
2087
|
ComissionStatusDto["Removed"] = "Removed";
|
|
2326
2088
|
})(ComissionStatusDto || (ComissionStatusDto = {}));
|
|
2327
|
-
/** This model contains the sustainability or environment impact data. */
|
|
2328
2089
|
class PositionSustainabilityIndicatorDto {
|
|
2329
|
-
/** Elements GUID identifier. */
|
|
2330
2090
|
id;
|
|
2331
|
-
/** This is usually in the form of an URL that specifies the indicator. */
|
|
2332
2091
|
source;
|
|
2333
|
-
/** This is a text giving more information about the indicator, e.g. details about the calculation method, or other comments. */
|
|
2334
2092
|
comment;
|
|
2335
|
-
/** If present, this indicator may be divided up into different life cycle stages. */
|
|
2336
2093
|
lifeCycleStages;
|
|
2337
|
-
/** 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. */
|
|
2338
2094
|
indicatorKey;
|
|
2339
|
-
/** This is the actual value of the indicator. */
|
|
2340
2095
|
value;
|
|
2341
|
-
/** The unit of measurement for the value. */
|
|
2342
2096
|
unitTag;
|
|
2343
|
-
/** If present, this is a conversion factor used here in this indicator for the value. */
|
|
2344
2097
|
conversionFactor;
|
|
2345
2098
|
constructor(data) {
|
|
2346
2099
|
if (data) {
|
|
@@ -2401,13 +2154,9 @@ class PositionSustainabilityIndicatorDto {
|
|
|
2401
2154
|
return data;
|
|
2402
2155
|
}
|
|
2403
2156
|
}
|
|
2404
|
-
/** 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. */
|
|
2405
2157
|
class SustainabilityLifeCycleStageDto {
|
|
2406
|
-
/** Elements GUID identifier. */
|
|
2407
2158
|
id;
|
|
2408
|
-
/** The key is the name or identifier of the stage. */
|
|
2409
2159
|
key;
|
|
2410
|
-
/** The value for this given stage. */
|
|
2411
2160
|
value;
|
|
2412
2161
|
constructor(data) {
|
|
2413
2162
|
if (data) {
|
|
@@ -2438,23 +2187,14 @@ class SustainabilityLifeCycleStageDto {
|
|
|
2438
2187
|
return data;
|
|
2439
2188
|
}
|
|
2440
2189
|
}
|
|
2441
|
-
/** This class represents as identifier of a certain service specification's element and is uniquely within the service specification. */
|
|
2442
2190
|
class ItemNumberDto {
|
|
2443
|
-
/** Elements GUID identifier. */
|
|
2444
2191
|
id;
|
|
2445
|
-
/** Will return this ItemNumber as point delimited string. Will not distinguish between upper- and lowercase and return an all-lowercase representation. Will consider first numbers, then characters, e.g. 1a is considered preceding aa. Transformation to all lowercase can be configured in the ItemNumberSchema property. */
|
|
2446
2192
|
stringRepresentation;
|
|
2447
|
-
/** Indicates if the characters and the length of the Identifiers match the current ItemNumberSchema. */
|
|
2448
2193
|
isSchemaCompliant;
|
|
2449
|
-
/** Used for representing and validating this ItemNumber. */
|
|
2450
2194
|
itemNumberSchema;
|
|
2451
|
-
/** Collection of the single identifiers in this ItemNumber. P.e., "02.03.004" will have three elements "02", "03", and "004". Since ReadOnlyObservableCollection`1 does have the event set to protected, it can be accessed like this: (itemNumber.Identifiers as INotifyCollectionChanged).CollectionChanged */
|
|
2452
2195
|
identifiers;
|
|
2453
|
-
/** This indicates if this item number is at the lot level. Find out more about lots in the documentation. */
|
|
2454
2196
|
isLot;
|
|
2455
|
-
/** This is a zero based hierarchy level. It's set automatically when used in the context of a Project, and can be used to identify the hierarchy level of the current element. */
|
|
2456
2197
|
hierarchyLevel;
|
|
2457
|
-
/** This property indicates if this ItemNumber is attached to an object of the Position type. */
|
|
2458
2198
|
isAttachedToPosition;
|
|
2459
2199
|
itemNumberSchemaBeforeMapping;
|
|
2460
2200
|
constructor(data) {
|
|
@@ -2528,38 +2268,28 @@ class ItemNumberDto {
|
|
|
2528
2268
|
return data;
|
|
2529
2269
|
}
|
|
2530
2270
|
}
|
|
2531
|
-
/** This is a classification for Position elements. */
|
|
2532
2271
|
var PositionTypeDto;
|
|
2533
2272
|
(function (PositionTypeDto) {
|
|
2534
2273
|
PositionTypeDto["Regular"] = "Regular";
|
|
2535
2274
|
PositionTypeDto["Optional"] = "Optional";
|
|
2536
2275
|
PositionTypeDto["Alternative"] = "Alternative";
|
|
2537
2276
|
})(PositionTypeDto || (PositionTypeDto = {}));
|
|
2538
|
-
/** This indicates the price type of a IPricedElement. */
|
|
2539
2277
|
var PriceTypeDto;
|
|
2540
2278
|
(function (PriceTypeDto) {
|
|
2541
2279
|
PriceTypeDto["WithTotal"] = "WithTotal";
|
|
2542
2280
|
PriceTypeDto["WithoutTotal"] = "WithoutTotal";
|
|
2543
2281
|
})(PriceTypeDto || (PriceTypeDto = {}));
|
|
2544
|
-
/** The service type describes the type of service a Position represents. */
|
|
2545
2282
|
var ServiceTypeDto;
|
|
2546
2283
|
(function (ServiceTypeDto) {
|
|
2547
2284
|
ServiceTypeDto["Regular"] = "Regular";
|
|
2548
2285
|
ServiceTypeDto["HourlyPaidWork"] = "HourlyPaidWork";
|
|
2549
2286
|
})(ServiceTypeDto || (ServiceTypeDto = {}));
|
|
2550
|
-
/** This class represents data about products and their vendor */
|
|
2551
2287
|
class ProductDataDto {
|
|
2552
|
-
/** Elements GUID identifier. */
|
|
2553
2288
|
id;
|
|
2554
|
-
/** This PartyInformation is used to describe details about the vendor of this ProductData. */
|
|
2555
2289
|
vendor;
|
|
2556
|
-
/** The collection of ArticleData that describe this product, e.g. a pipe product could be composed out of multiple pipe segments and fittings. */
|
|
2557
2290
|
articles;
|
|
2558
|
-
/** Short description for this ITextElement element. */
|
|
2559
2291
|
shortText;
|
|
2560
|
-
/** Detailed description for this ITextElement element. When the HtmlLongText is set, this is automatically overwritten and filled with the appropriate plain text representation of the Html text. Vice versa, setting this property overrides the HtmlLongText. */
|
|
2561
2292
|
longText;
|
|
2562
|
-
/** 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. */
|
|
2563
2293
|
htmlLongText;
|
|
2564
2294
|
constructor(data) {
|
|
2565
2295
|
if (data) {
|
|
@@ -2627,25 +2357,15 @@ class ProductDataDto {
|
|
|
2627
2357
|
return data;
|
|
2628
2358
|
}
|
|
2629
2359
|
}
|
|
2630
|
-
/** This class represents a single article, usually used within ProductData */
|
|
2631
2360
|
class ArticleDataDto {
|
|
2632
|
-
/** Elements GUID identifier. */
|
|
2633
2361
|
id;
|
|
2634
|
-
/** The name (or brand name) for this article, usually given by the supplier or vendor. */
|
|
2635
2362
|
name;
|
|
2636
|
-
/** An article number that describes it, useful when integrating other systems. */
|
|
2637
2363
|
articleNumber;
|
|
2638
|
-
/** Quantity for this article. If this is used within a Position, the quantity here should be the quantity required for the full quantity of the position, not for a single unit. */
|
|
2639
2364
|
quantity;
|
|
2640
|
-
/** The unit tag for this single ArticleData. */
|
|
2641
2365
|
unitTag;
|
|
2642
|
-
/** This is an optional text element that can be used to further describe the ArticleData. */
|
|
2643
2366
|
description;
|
|
2644
|
-
/** Short description for this ITextElement element. */
|
|
2645
2367
|
shortText;
|
|
2646
|
-
/** Detailed description for this ITextElement element. When the HtmlLongText is set, this is automatically overwritten and filled with the appropriate plain text representation of the Html text. Vice versa, setting this property overrides the HtmlLongText. */
|
|
2647
2368
|
longText;
|
|
2648
|
-
/** 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. */
|
|
2649
2369
|
htmlLongText;
|
|
2650
2370
|
constructor(data) {
|
|
2651
2371
|
if (data) {
|
|
@@ -2688,15 +2408,10 @@ class ArticleDataDto {
|
|
|
2688
2408
|
return data;
|
|
2689
2409
|
}
|
|
2690
2410
|
}
|
|
2691
|
-
/** Quantity assignments are, in contrast to SubDescriptions, used to categorize parts of their parent 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. */
|
|
2692
2411
|
class QuantityAssignmentDto {
|
|
2693
|
-
/** Elements GUID identifier. */
|
|
2694
2412
|
id;
|
|
2695
|
-
/** The total quantity in this quantity assignment */
|
|
2696
2413
|
quantity;
|
|
2697
|
-
/** These are Catalogue that are used within this ServiceSpecification. Catalogue references are used to describe catalogues, or collections, that can be used to describe elements with commonly known properties. For example, QuantityAssignments use these to categorize themselves. */
|
|
2698
2414
|
projectCatalogues;
|
|
2699
|
-
/** Referenced catalogues for this QuantityAssignment. */
|
|
2700
2415
|
catalogueReferences;
|
|
2701
2416
|
constructor(data) {
|
|
2702
2417
|
if (data) {
|
|
@@ -2769,23 +2484,14 @@ class QuantityAssignmentDto {
|
|
|
2769
2484
|
return data;
|
|
2770
2485
|
}
|
|
2771
2486
|
}
|
|
2772
|
-
/** This class holds specialized information that is relevant to trade or commerce based data exchange scenarios, e.g. between customers, vendors, suppliers and distributors. It is used when exporting to GAEB XML 9x exchange phases. */
|
|
2773
2487
|
class CommercePropertiesDto {
|
|
2774
|
-
/** This maps to ArtNo in GAEB XML and represents an article number given by the supplier. */
|
|
2775
2488
|
articleNumber;
|
|
2776
|
-
/** This maps to EAN in GAEB XML and represents an GTIN (formerly EAN) article number. */
|
|
2777
2489
|
eanGtinArticleNumber;
|
|
2778
|
-
/** This maps to ArtNoID in GAEB XML and represents an ILN article number. */
|
|
2779
2490
|
ilnArticleNumber;
|
|
2780
|
-
/** This maps to CatalogNo in GAEB XML and represents an identifier of a specific catalogue. The referenced catalogue is usually a customer specific one, not related to CatalogueReferences. */
|
|
2781
2491
|
catalogueNumber;
|
|
2782
|
-
/** This maps to CatalogArtNo in GAEB XML and represents a key that maps to an entry in a specific catalogue. The referenced catalogue is usually a customer specific one, not related to CatalogueReferences. */
|
|
2783
2492
|
catalogueArticleNumber;
|
|
2784
|
-
/** This optional property can be used to indicate the basis for prices for a single position. Price basis means that the price is given per unit of the basis, e.g. per a pack of five when this property is set to '5'. */
|
|
2785
2493
|
priceBasis;
|
|
2786
|
-
/** This optional property can be used to indicate a sub position identifier specific for the commerce exchange */
|
|
2787
2494
|
subPositionIdentifier;
|
|
2788
|
-
/** In a commerce exchange, this property is usually used to reference the base item number of an underlying phase 83 exchange file */
|
|
2789
2495
|
customerBaseItemNumber;
|
|
2790
2496
|
constructor(data) {
|
|
2791
2497
|
if (data) {
|
|
@@ -2826,11 +2532,8 @@ class CommercePropertiesDto {
|
|
|
2826
2532
|
return data;
|
|
2827
2533
|
}
|
|
2828
2534
|
}
|
|
2829
|
-
/** This class represents the linking to a complementary position with a specific quantity set. For example, Position 'A' could be complementing Position 'B' with a total quantity of 20 units */
|
|
2830
2535
|
class ComplementedByQuantityDto {
|
|
2831
|
-
/** The quantity that is complemented. E.g., if the base position has a quantity of 100 m² of a brick wall, a complementing position might be for 'walls that exceed 3 m height' and for a total quantity of 10 m². */
|
|
2832
2536
|
quantity;
|
|
2833
|
-
/** This is the reference to the Id of the Position that is complementing. This means it does NOT reference the base position but the one that contains the actual addition. */
|
|
2834
2537
|
complementingPositionId;
|
|
2835
2538
|
constructor(data) {
|
|
2836
2539
|
if (data) {
|
|
@@ -2859,20 +2562,14 @@ class ComplementedByQuantityDto {
|
|
|
2859
2562
|
return data;
|
|
2860
2563
|
}
|
|
2861
2564
|
}
|
|
2862
|
-
/** This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for Positions and extends the OenormProperties base class. */
|
|
2863
2565
|
class OenormPositionPropertiesDto {
|
|
2864
|
-
/** This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm */
|
|
2865
2566
|
originCode;
|
|
2866
|
-
/** This marks if the opening texts within this element are considered free text. It corresponds to 'vorbemerkungskennzeichen' in ÖNorm. */
|
|
2867
2567
|
openingTextIsFreeText;
|
|
2868
|
-
/** This indicates if the ÖNorm 'wesentliche position' mark is set. This should no longer be used, please use the IsMainPosition property on the parent position instead. */
|
|
2869
2568
|
isMainPosition;
|
|
2870
|
-
/** 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 */
|
|
2871
2569
|
isUndividedPosition;
|
|
2872
|
-
/** 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. */
|
|
2873
2570
|
oenormShortText;
|
|
2874
|
-
/** 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. */
|
|
2875
2571
|
oenormShortTextAddition;
|
|
2572
|
+
partialOfferMark;
|
|
2876
2573
|
constructor(data) {
|
|
2877
2574
|
if (data) {
|
|
2878
2575
|
for (var property in data) {
|
|
@@ -2889,6 +2586,7 @@ class OenormPositionPropertiesDto {
|
|
|
2889
2586
|
this.isUndividedPosition = _data["isUndividedPosition"];
|
|
2890
2587
|
this.oenormShortText = _data["oenormShortText"];
|
|
2891
2588
|
this.oenormShortTextAddition = _data["oenormShortTextAddition"];
|
|
2589
|
+
this.partialOfferMark = _data["partialOfferMark"];
|
|
2892
2590
|
}
|
|
2893
2591
|
}
|
|
2894
2592
|
static fromJS(data) {
|
|
@@ -2905,17 +2603,16 @@ class OenormPositionPropertiesDto {
|
|
|
2905
2603
|
data["isUndividedPosition"] = this.isUndividedPosition;
|
|
2906
2604
|
data["oenormShortText"] = this.oenormShortText;
|
|
2907
2605
|
data["oenormShortTextAddition"] = this.oenormShortTextAddition;
|
|
2606
|
+
data["partialOfferMark"] = this.partialOfferMark;
|
|
2908
2607
|
return data;
|
|
2909
2608
|
}
|
|
2910
2609
|
}
|
|
2911
|
-
/** This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm */
|
|
2912
2610
|
var OenormOriginCodeDto;
|
|
2913
2611
|
(function (OenormOriginCodeDto) {
|
|
2914
2612
|
OenormOriginCodeDto["Unknown"] = "Unknown";
|
|
2915
2613
|
OenormOriginCodeDto["FreeText"] = "FreeText";
|
|
2916
2614
|
OenormOriginCodeDto["AdditionDescription"] = "AdditionDescription";
|
|
2917
2615
|
})(OenormOriginCodeDto || (OenormOriginCodeDto = {}));
|
|
2918
|
-
/** This enumeration represents the status of an addendum, 'Nachtrag' in German */
|
|
2919
2616
|
var AddendumStatusDto;
|
|
2920
2617
|
(function (AddendumStatusDto) {
|
|
2921
2618
|
AddendumStatusDto["Unknown"] = "Unknown";
|
|
@@ -2928,7 +2625,6 @@ var AddendumStatusDto;
|
|
|
2928
2625
|
AddendumStatusDto["FormallyAcknowledged"] = "FormallyAcknowledged";
|
|
2929
2626
|
AddendumStatusDto["Approved"] = "Approved";
|
|
2930
2627
|
})(AddendumStatusDto || (AddendumStatusDto = {}));
|
|
2931
|
-
/** This enum represents the different ways in which a complementing position type can be specified. It is typically only used in GAEB exports, since in Dangl.AVA, complementing positions are always explicitly referenced. */
|
|
2932
2628
|
var PositionComplementingTypeDto;
|
|
2933
2629
|
(function (PositionComplementingTypeDto) {
|
|
2934
2630
|
PositionComplementingTypeDto["Undefined"] = "Undefined";
|
|
@@ -2936,17 +2632,11 @@ var PositionComplementingTypeDto;
|
|
|
2936
2632
|
PositionComplementingTypeDto["AllPreviousPositions"] = "AllPreviousPositions";
|
|
2937
2633
|
PositionComplementingTypeDto["ReferencedPositions"] = "ReferencedPositions";
|
|
2938
2634
|
})(PositionComplementingTypeDto || (PositionComplementingTypeDto = {}));
|
|
2939
|
-
/** This class holds properties that describe retention types in position. Retention / hold out usually means that a service is provided and kept available for a specific amount of time, e.g. fences on a construction site */
|
|
2940
2635
|
class PositionHoldOutPropertiesDto {
|
|
2941
|
-
/** Elements GUID identifier. */
|
|
2942
2636
|
id;
|
|
2943
|
-
/** The actual type */
|
|
2944
2637
|
holdOutType;
|
|
2945
|
-
/** The duration of the period */
|
|
2946
2638
|
holdOutDuration;
|
|
2947
|
-
/** The time unit of the period */
|
|
2948
2639
|
holdOutDurationUnit;
|
|
2949
|
-
/** References to base positions */
|
|
2950
2640
|
basePositionReferences;
|
|
2951
2641
|
constructor(data) {
|
|
2952
2642
|
if (data) {
|
|
@@ -2989,7 +2679,6 @@ class PositionHoldOutPropertiesDto {
|
|
|
2989
2679
|
return data;
|
|
2990
2680
|
}
|
|
2991
2681
|
}
|
|
2992
|
-
/** Types of retentions to be used in positions */
|
|
2993
2682
|
var HoldOutTypeDto;
|
|
2994
2683
|
(function (HoldOutTypeDto) {
|
|
2995
2684
|
HoldOutTypeDto["Unknown"] = "Unknown";
|
|
@@ -2997,7 +2686,6 @@ var HoldOutTypeDto;
|
|
|
2997
2686
|
HoldOutTypeDto["Extension"] = "Extension";
|
|
2998
2687
|
HoldOutTypeDto["Rent"] = "Rent";
|
|
2999
2688
|
})(HoldOutTypeDto || (HoldOutTypeDto = {}));
|
|
3000
|
-
/** Duration used in retention positions */
|
|
3001
2689
|
var HoldOutDurationUnitDto;
|
|
3002
2690
|
(function (HoldOutDurationUnitDto) {
|
|
3003
2691
|
HoldOutDurationUnitDto["Unknown"] = "Unknown";
|
|
@@ -3007,21 +2695,13 @@ var HoldOutDurationUnitDto;
|
|
|
3007
2695
|
HoldOutDurationUnitDto["Weeks"] = "Weeks";
|
|
3008
2696
|
HoldOutDurationUnitDto["Months"] = "Months";
|
|
3009
2697
|
})(HoldOutDurationUnitDto || (HoldOutDurationUnitDto = {}));
|
|
3010
|
-
/** Price catalogue data represents assumed or estimated prices from a catalogue source */
|
|
3011
2698
|
class PriceCatalogueDataDto {
|
|
3012
|
-
/** Elements GUID identifier. */
|
|
3013
2699
|
id;
|
|
3014
|
-
/** The lower bound of the unit price */
|
|
3015
2700
|
unitPriceFrom;
|
|
3016
|
-
/** The upper bound of the unit price */
|
|
3017
2701
|
unitPriceTo;
|
|
3018
|
-
/** The average unit price */
|
|
3019
2702
|
unitPriceAverage;
|
|
3020
|
-
/** The lower bound of the wage price */
|
|
3021
2703
|
wagePriceFrom;
|
|
3022
|
-
/** The upper bound of the wage price */
|
|
3023
2704
|
wagePriceTo;
|
|
3024
|
-
/** The average wage price */
|
|
3025
2705
|
wagePriceAverage;
|
|
3026
2706
|
constructor(data) {
|
|
3027
2707
|
if (data) {
|
|
@@ -3060,13 +2740,9 @@ class PriceCatalogueDataDto {
|
|
|
3060
2740
|
return data;
|
|
3061
2741
|
}
|
|
3062
2742
|
}
|
|
3063
|
-
/** An ExecutionDescription is used to give more details for certain items, especially on how they are meant to be executed. */
|
|
3064
2743
|
class ExecutionDescriptionDto extends IElementDto {
|
|
3065
|
-
/** Blocks within an ExecutionDescription contain the actual information. */
|
|
3066
2744
|
blocks;
|
|
3067
|
-
/** Labels this ExecutionDescription. */
|
|
3068
2745
|
label;
|
|
3069
|
-
/** Uniquely identifies this ExecutionDescription. */
|
|
3070
2746
|
identifier;
|
|
3071
2747
|
elementType = 'ExecutionDescription';
|
|
3072
2748
|
elementTypeDiscriminator = 'ExecutionDescription';
|
|
@@ -3116,42 +2792,27 @@ class ExecutionDescriptionDto extends IElementDto {
|
|
|
3116
2792
|
return data;
|
|
3117
2793
|
}
|
|
3118
2794
|
}
|
|
3119
|
-
/** Represents an element that holds text information. */
|
|
3120
2795
|
class NoteTextDto extends IElementDto {
|
|
3121
|
-
/** If this is set to true, this text is meant to not be seen as part of the regular elements hierarchy but as a special opening text at the beginning of the project. For example, in GAEB XML, this would map to the GAEB.Award.AddText. Typically, such texts describe project-wide contractual definitions. If this is set to true, this NoteText should be placed at the top of the elements hierarchy directly in the ServiceSpecification.Elements group, otherwise it will likely not be treated correctly when exporting to GAEB. You can only set IsOpeningText or IsClosingText to true. */
|
|
3122
2796
|
isOpeningText;
|
|
3123
|
-
/** If this is set to true, this text is meant to not be seen as part of the regular elements hierarchy but as a special closing text at the end of the project. For Example, in GAEB XML, this would map to the GAEB.AddText. Typically, such texts are used to describe project wide finishing descriptions. If this is set to true, this NoteText should be placed at the top of the elements hierarchy directly in the ServiceSpecification.Elements group, otherwise it will likely not be treated correctly when exporting to GAEB. You can only set IsOpeningText or IsClosingText to true. */
|
|
3124
2797
|
isClosingText;
|
|
3125
|
-
/**
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
`HtmlShortText` property, you need to set this property to null.
|
|
3129
|
-
*/
|
|
2798
|
+
/** Please note that by default, this property takes precedence over the `HtmlShortText`
|
|
2799
|
+
property. If you want to convert from DTO objects, and you want to work with the
|
|
2800
|
+
`HtmlShortText` property, you need to set this property to null. */
|
|
3130
2801
|
shortText;
|
|
3131
|
-
/** This
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
`ShortText` is set to null, otherwise the plain text takes precedence over the HTML text.
|
|
3135
|
-
*/
|
|
2802
|
+
/** This property is used to store the short text in HTML format. If you want to convert
|
|
2803
|
+
from DTO objects, and you want to use this property, then you need to ensure that
|
|
2804
|
+
`ShortText` is set to null, otherwise the plain text takes precedence over the HTML text. */
|
|
3136
2805
|
htmlShortText;
|
|
3137
|
-
/** Indicates if this DescriptionBase element contains Buyer or Bidder additions to the text. */
|
|
3138
2806
|
additionType;
|
|
3139
|
-
/** Detailed description for this DescriptionBase element. When the HtmlLongText is set, this is automatically overwritten and filled with the appropriate plain text representation of the Html text. Vice versa, setting this property overrides the HtmlLongText. */
|
|
3140
2807
|
longText;
|
|
3141
|
-
/** 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. */
|
|
3142
2808
|
htmlLongText;
|
|
3143
|
-
/** This is an optional internal identifier that may be used to add additional information to this NoteText. It is not supported in GAEB import or export. */
|
|
3144
2809
|
identifier;
|
|
3145
|
-
/** 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. */
|
|
3146
2810
|
standardizedDescription;
|
|
3147
2811
|
elementType = 'NoteText';
|
|
3148
2812
|
elementTypeDiscriminator = 'NoteText';
|
|
3149
|
-
/** 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. */
|
|
3150
2813
|
descriptionId;
|
|
3151
|
-
/** This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts. */
|
|
3152
2814
|
oenormNoteTextProperties;
|
|
3153
2815
|
hasBidderCommentInHtmlLongText;
|
|
3154
|
-
/** This is a string reference that's used by some description elements to reference a base or parent catalogue. For example, it's 'WICNo' in GAEB. */
|
|
3155
2816
|
baseCatalogueNumber;
|
|
3156
2817
|
constructor(data) {
|
|
3157
2818
|
super(data);
|
|
@@ -3230,13 +2891,9 @@ class NoteTextDto extends IElementDto {
|
|
|
3230
2891
|
return data;
|
|
3231
2892
|
}
|
|
3232
2893
|
}
|
|
3233
|
-
/** This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts. */
|
|
3234
2894
|
class OenormNoteTextPropertiesDto {
|
|
3235
|
-
/** This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm */
|
|
3236
2895
|
originCode;
|
|
3237
|
-
/** This marks if the opening texts within this element are considered free text. It corresponds to 'vorbemerkungskennzeichen' in ÖNorm. */
|
|
3238
2896
|
openingTextIsFreeText;
|
|
3239
|
-
/** This indicates if the ÖNorm position / note text was a 'ungeteilteposition' (undivided position). This will only be taken into account when the position / note text is also the sole element inside it's parent group */
|
|
3240
2897
|
isUndividedPosition;
|
|
3241
2898
|
constructor(data) {
|
|
3242
2899
|
if (data) {
|
|
@@ -3267,69 +2924,38 @@ class OenormNoteTextPropertiesDto {
|
|
|
3267
2924
|
return data;
|
|
3268
2925
|
}
|
|
3269
2926
|
}
|
|
3270
|
-
/** This is a grouping IElement that holds other IElements within. */
|
|
3271
2927
|
class ServiceSpecificationGroupDto extends IElementDto {
|
|
3272
|
-
/** The hourly wage that is used within this ElementContainerBase. Will be propagated to child elements. */
|
|
3273
2928
|
projectHourlyWage;
|
|
3274
|
-
/** The tax rate that is used within this ElementContainerBase. Will be propagated to child elements. */
|
|
3275
2929
|
projectTaxRate;
|
|
3276
|
-
/** The price components that are used within this project. They are ignored during Json deserialization because they will be set from the parent project. */
|
|
3277
2930
|
projectPriceComponents;
|
|
3278
|
-
/** The ItemNumberSchema that is used within this project. */
|
|
3279
2931
|
projectItemNumberSchema;
|
|
3280
|
-
/** The IElements within this ElementContainerBase. */
|
|
3281
2932
|
elements;
|
|
3282
|
-
/** The label used in the parent Project to mark labour time, e.g. "Hours" or "Stunden". */
|
|
3283
2933
|
projectLabourTimeLabel;
|
|
3284
|
-
/** Indicates if there are child IElements that have conflicting, duplicated ItemNumbers or if any child ElementContainerBase elements themselves contain duplicate ItemNumber s. Will always indicate false when told to ignore duplicate item numbers. */
|
|
3285
2934
|
containsDuplicateItemNumbers;
|
|
3286
|
-
/** Indicates if there are child IElements that have conflicting, duplicated Ids or if any child ElementContainerBase elements themselves contain duplicate Id s. Will always indicate false when told to ignore duplicate item numbers. */
|
|
3287
2935
|
containsDuplicateElementIds;
|
|
3288
|
-
/** Indicate if duplicated ItemNumbers within child elements are to be ignored. Will not perform checks for duplicates if yes. */
|
|
3289
2936
|
ignoreDuplicateItemNumbers;
|
|
3290
|
-
/** If this is set to true, the ProjectCatalogues property will not be propagated to child elements. This is useful in mapping scenarios, where you want to disable propagation for multiple changes, and only enable it once you have mapped all properties */
|
|
3291
2937
|
ignoreProjectCataloguePropagation;
|
|
3292
|
-
/** Indicate if duplicated Ids within child elements are to be ignored. Will not perform checks for duplicates if yes. */
|
|
3293
2938
|
ignoreDuplicateElementIds;
|
|
3294
|
-
/** Price composition by tax rate. */
|
|
3295
2939
|
totalPriceGrossByTaxRate;
|
|
3296
|
-
/** Internally used to indicate that a propagation is currently done, this is done to not recalculate every single result from a lot of changes when it is sufficient to calculate the total price at once. */
|
|
3297
2940
|
ignoreChildPriceUpdates;
|
|
3298
|
-
/** Net price after applied deductions. */
|
|
3299
2941
|
deductedPrice;
|
|
3300
|
-
/** Factor of applied deductions to the total price. For example, "0.03" means that a 3% deduction is to be applied. */
|
|
3301
2942
|
deductionFactor;
|
|
3302
|
-
/** The exact amount of the discount as an absolute value. For backwards compatibility reasons, setting this value will also set a calculated value to DeductionFactor, which will also be updated in case the total price is changed to reflect a relative value of the absolute discount sum. */
|
|
3303
2943
|
absoluteDeduction;
|
|
3304
|
-
/** Will return this ElementContainerBase's total price. */
|
|
3305
2944
|
totalPrice;
|
|
3306
|
-
/** The total gross price for this ElementContainerBase including all child elements. */
|
|
3307
2945
|
totalPriceGross;
|
|
3308
|
-
/** Total gross price after applied deductions. */
|
|
3309
2946
|
totalPriceGrossDeducted;
|
|
3310
|
-
/** Indicates the PriceType of this ElementContainerBase, whether it should factor into total costs or not. */
|
|
3311
2947
|
priceType;
|
|
3312
|
-
/** Description for this ServiceSpecificationGroup. */
|
|
3313
2948
|
shortText;
|
|
3314
|
-
/** Indicates if this service specification group is commissioned (and therefore should be executed), postponed for later or undefined. */
|
|
3315
2949
|
comissionStatus;
|
|
3316
|
-
/** The ItemNumber for this INumberedElement interface. */
|
|
3317
2950
|
itemNumber;
|
|
3318
2951
|
elementType = 'ServiceSpecificationGroup';
|
|
3319
2952
|
elementTypeDiscriminator = 'ServiceSpecificationGroup';
|
|
3320
|
-
/** This indicates if this group is the parent of a lot. See the documentation for more information about working with lots. */
|
|
3321
2953
|
isLot;
|
|
3322
|
-
/** 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 */
|
|
3323
2954
|
alternativeTo;
|
|
3324
|
-
/** This class models special properties that only apply to some exchange scenarios where ÖNorm is used. */
|
|
3325
2955
|
oenormProperties;
|
|
3326
|
-
/** This is a zero based hierarchy level. It's set automatically when used in the context of a Project, and can be used to identify the hierarchy level of the current element. */
|
|
3327
2956
|
hierarchyLevel;
|
|
3328
|
-
/** This indicates, if this element is part of an addendum an, if yes, with what status. */
|
|
3329
2957
|
addendumStatus;
|
|
3330
|
-
/** This is an optional property that can be used together with AlternativeTo. If this is set, you can indicate which alternative group a specific group is assigned to. That way, if you specifiy multiple alternative ServiceSpecificationGroups with the same AlternativeIdentifier, you can indicate that to replace a single base ServiceSpecificationGroup, multiple alternative ServiceSpecificationGroups should be used. This property is not checked or managed automatically, so it is possible for this property to become invalid, by for example setting this property but not setting a base group via AlternativeTo. */
|
|
3331
2958
|
alternativeIdentifier;
|
|
3332
|
-
/** This is an optional property that can be used together with AlternativeTo and AlternativeGroupIdentifier. If this is set, you can indicate which alternative group a specific group is assigned to. That way, you can specify the id (in integer format) for the alternative group this group belongs to. It's different to AlternativeIdentifier in that the other property describes the id of the group, while this property here describes the group itself. If a group only has set AlternativeGroupIdentifier but not AlternativeIdentifier, then it likely is a base group for a specific group. This property is not checked or managed automatically, so it is possible for this property to become invalid, by for example setting this property but not setting a base group via AlternativeTo. */
|
|
3333
2959
|
alternativeGroupIdentifier;
|
|
3334
2960
|
constructor(data) {
|
|
3335
2961
|
super(data);
|
|
@@ -3494,23 +3120,14 @@ class ServiceSpecificationGroupDto extends IElementDto {
|
|
|
3494
3120
|
return data;
|
|
3495
3121
|
}
|
|
3496
3122
|
}
|
|
3497
|
-
/** This is used in an ElementContainerBase to hold the price composition. */
|
|
3498
3123
|
class GrossPriceComponentDto {
|
|
3499
|
-
/** This components tax rate. */
|
|
3500
3124
|
taxRate;
|
|
3501
|
-
/** This is the factor of applied deductions for this component */
|
|
3502
3125
|
deductionFactor;
|
|
3503
|
-
/** The total net price for all components of a given tax rate. */
|
|
3504
3126
|
totalNet;
|
|
3505
|
-
/** The resulting price component after applied deductions */
|
|
3506
3127
|
totalDeducted;
|
|
3507
|
-
/** The total tax amount for all components of a given tax rate. */
|
|
3508
3128
|
totalTax;
|
|
3509
|
-
/** The total gross price for all components of a given tax rate. */
|
|
3510
3129
|
totalGross;
|
|
3511
|
-
/** The total gross price for all components of a given tax rate, after applied deductions. */
|
|
3512
3130
|
totalGrossDeducted;
|
|
3513
|
-
/** The total tax amount for all components of a given tax rate, after applied deductions. */
|
|
3514
3131
|
totalTaxDeducted;
|
|
3515
3132
|
constructor(data) {
|
|
3516
3133
|
if (data) {
|
|
@@ -3551,11 +3168,8 @@ class GrossPriceComponentDto {
|
|
|
3551
3168
|
return data;
|
|
3552
3169
|
}
|
|
3553
3170
|
}
|
|
3554
|
-
/** This class models special properties that only apply to some exchange scenarios where ÖNorm is used. */
|
|
3555
3171
|
class OenormPropertiesDto {
|
|
3556
|
-
/** This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm */
|
|
3557
3172
|
originCode;
|
|
3558
|
-
/** This marks if the opening texts within this element are considered free text. It corresponds to 'vorbemerkungskennzeichen' in ÖNorm. */
|
|
3559
3173
|
openingTextIsFreeText;
|
|
3560
3174
|
constructor(data) {
|
|
3561
3175
|
if (data) {
|
|
@@ -3584,7 +3198,6 @@ class OenormPropertiesDto {
|
|
|
3584
3198
|
return data;
|
|
3585
3199
|
}
|
|
3586
3200
|
}
|
|
3587
|
-
/** Indicates a ServiceSpecification's exchange phase, based on the GAEB exchange phases. */
|
|
3588
3201
|
var ExchangePhaseDto;
|
|
3589
3202
|
(function (ExchangePhaseDto) {
|
|
3590
3203
|
ExchangePhaseDto["Undefined"] = "Undefined";
|
|
@@ -3595,7 +3208,6 @@ var ExchangePhaseDto;
|
|
|
3595
3208
|
ExchangePhaseDto["SideOffer"] = "SideOffer";
|
|
3596
3209
|
ExchangePhaseDto["Grant"] = "Grant";
|
|
3597
3210
|
})(ExchangePhaseDto || (ExchangePhaseDto = {}));
|
|
3598
|
-
/** Indicates where a service specification was originally created. */
|
|
3599
3211
|
var OriginDto;
|
|
3600
3212
|
(function (OriginDto) {
|
|
3601
3213
|
OriginDto["Self"] = "Self";
|
|
@@ -3606,21 +3218,13 @@ var OriginDto;
|
|
|
3606
3218
|
OriginDto["Reb"] = "Reb";
|
|
3607
3219
|
OriginDto["Sia"] = "Sia";
|
|
3608
3220
|
})(OriginDto || (OriginDto = {}));
|
|
3609
|
-
/** Holds global price information for a ServiceSpecification */
|
|
3610
3221
|
class PriceInformationDto {
|
|
3611
|
-
/** Elements GUID identifier. */
|
|
3612
3222
|
id;
|
|
3613
|
-
/** The amount of currency per one hour of manual labour work in this project. */
|
|
3614
3223
|
hourlyWage;
|
|
3615
|
-
/** The final, total price will be deducted by this rate. */
|
|
3616
3224
|
deductionFactor;
|
|
3617
|
-
/** This is given when there is only one flat price for the whole service specification. */
|
|
3618
3225
|
flatSum;
|
|
3619
|
-
/** Global tax rate for the project. Note that certain elements may have a different, specific tax rate. */
|
|
3620
3226
|
taxRate;
|
|
3621
|
-
/** This property indicates if the TaxRate property is actually zero (0) or if it's just unset. The TaxRate is a non-nullable property, so it can't be null and therefore a distinction between unset and zero relies on this additional property. When exporting to GAEB, this can be used e.g. to decide whether or not the tax rate should be serialized. This property is automtically set to false when the TaxRate is set to any value, even zero. If the TaxRate is not set to zero, this property will always return false and can not be set to true. */
|
|
3622
3227
|
hasUnsetTaxRate;
|
|
3623
|
-
/** Trade discounts for offered in this ServiceSpecification. */
|
|
3624
3228
|
tradeDiscounts;
|
|
3625
3229
|
constructor(data) {
|
|
3626
3230
|
if (data) {
|
|
@@ -3679,13 +3283,9 @@ class PriceInformationDto {
|
|
|
3679
3283
|
return data;
|
|
3680
3284
|
}
|
|
3681
3285
|
}
|
|
3682
|
-
/** This class holds information about offered trade discounts (Skonto in German) */
|
|
3683
3286
|
class TradeDiscountDto {
|
|
3684
|
-
/** Elements GUID identifier. */
|
|
3685
3287
|
id;
|
|
3686
|
-
/** The amount of days for how long a declared trade discount applies. Must be a positive number, negative values will be ignored and not set. */
|
|
3687
3288
|
deadline;
|
|
3688
|
-
/** The rate of the trade discount. */
|
|
3689
3289
|
rate;
|
|
3690
3290
|
constructor(data) {
|
|
3691
3291
|
if (data) {
|
|
@@ -3716,13 +3316,9 @@ class TradeDiscountDto {
|
|
|
3716
3316
|
return data;
|
|
3717
3317
|
}
|
|
3718
3318
|
}
|
|
3719
|
-
/** This elements represents a catalogue or source of sustainability information that is used within a ServiceSpecification. */
|
|
3720
3319
|
class SustainabilityCatalogueDto {
|
|
3721
|
-
/** Elements GUID identifier. */
|
|
3722
3320
|
id;
|
|
3723
|
-
/** 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. */
|
|
3724
3321
|
key;
|
|
3725
|
-
/** The description property can be used to provide further information about the sustainability catalogue. */
|
|
3726
3322
|
description;
|
|
3727
3323
|
constructor(data) {
|
|
3728
3324
|
if (data) {
|
|
@@ -3753,11 +3349,8 @@ class SustainabilityCatalogueDto {
|
|
|
3753
3349
|
return data;
|
|
3754
3350
|
}
|
|
3755
3351
|
}
|
|
3756
|
-
/** 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 */
|
|
3757
3352
|
class WarrantyDurationDto {
|
|
3758
|
-
/** 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. */
|
|
3759
3353
|
duration;
|
|
3760
|
-
/** The unit of the duration */
|
|
3761
3354
|
unit;
|
|
3762
3355
|
constructor(data) {
|
|
3763
3356
|
if (data) {
|
|
@@ -3786,37 +3379,23 @@ class WarrantyDurationDto {
|
|
|
3786
3379
|
return data;
|
|
3787
3380
|
}
|
|
3788
3381
|
}
|
|
3789
|
-
/** This enumeration represents the unit of a duration */
|
|
3790
3382
|
var DurationUnitDto;
|
|
3791
3383
|
(function (DurationUnitDto) {
|
|
3792
3384
|
DurationUnitDto["Months"] = "Months";
|
|
3793
3385
|
DurationUnitDto["Years"] = "Years";
|
|
3794
3386
|
})(DurationUnitDto || (DurationUnitDto = {}));
|
|
3795
|
-
/** This class represents properties used in commerce exchange scenarios */
|
|
3796
3387
|
class ServiceSpecificationCommercePropertiesDto {
|
|
3797
|
-
/** The date until the price is valid or fixed. */
|
|
3798
3388
|
fixedPriceDate;
|
|
3799
|
-
/** The date of the delivery voucher note. */
|
|
3800
3389
|
deliveryVoucherDate;
|
|
3801
|
-
/** The actual date of delivery. */
|
|
3802
3390
|
deliveryDate;
|
|
3803
|
-
/** The number of the inquiry, usually in a context of offer requests. */
|
|
3804
3391
|
inquiryNumber;
|
|
3805
|
-
/** The number of the offer, usually in a context of an offer. */
|
|
3806
3392
|
offerNumber;
|
|
3807
|
-
/** The order number, usually in the context of a grant or contract. */
|
|
3808
3393
|
orderNumber;
|
|
3809
|
-
/** The order confirmation number */
|
|
3810
3394
|
orderConfirmationNumber;
|
|
3811
|
-
/** The number of the delivery, e.g. on the delivery note voucher. */
|
|
3812
3395
|
deliveryNumber;
|
|
3813
|
-
/** The reference number of the customer / buyer. */
|
|
3814
3396
|
customerReferenceNumber;
|
|
3815
|
-
/** The reference number of the supplier / bidder. */
|
|
3816
3397
|
supplierReferenceNumber;
|
|
3817
|
-
/** The type of shippment. */
|
|
3818
3398
|
shippingType;
|
|
3819
|
-
/** The type of the price inquiry. */
|
|
3820
3399
|
inquiryType;
|
|
3821
3400
|
constructor(data) {
|
|
3822
3401
|
if (data) {
|
|
@@ -3865,7 +3444,6 @@ class ServiceSpecificationCommercePropertiesDto {
|
|
|
3865
3444
|
return data;
|
|
3866
3445
|
}
|
|
3867
3446
|
}
|
|
3868
|
-
/** This enum represents types of price inquiries */
|
|
3869
3447
|
var CommerceInquiryTypeDto;
|
|
3870
3448
|
(function (CommerceInquiryTypeDto) {
|
|
3871
3449
|
CommerceInquiryTypeDto["Unknown"] = "Unknown";
|
|
@@ -3873,23 +3451,14 @@ var CommerceInquiryTypeDto;
|
|
|
3873
3451
|
CommerceInquiryTypeDto["Immediate"] = "Immediate";
|
|
3874
3452
|
CommerceInquiryTypeDto["Exhibition"] = "Exhibition";
|
|
3875
3453
|
})(CommerceInquiryTypeDto || (CommerceInquiryTypeDto = {}));
|
|
3876
|
-
/** A Project contains all relevant information for a construction project. */
|
|
3877
3454
|
class ProjectDto {
|
|
3878
|
-
/** Elements GUID identifier. */
|
|
3879
3455
|
id;
|
|
3880
|
-
/** This property controls the accuracy of all price properties, meaning how many decimal places are preserved in calculations. It defaults to DEFAULT_PRICE_ACCURACY. Please see the Dangl.AVA documentation for further information about decimal precision. If UnitPriceAccuracy is set, then this property is ignored for unit prices. */
|
|
3881
3456
|
priceAccuracy;
|
|
3882
|
-
/** This property controls the accuracy of position unit price properties, meaning how many decimal places are preserved in calculations. Please see the Dangl.AVA documentation for further information about decimal precision. This can be separately set from PriceAccuracy, and it only controls the accuracy of the unit price of positions, not the total price. It defaults to null, which means the standard PriceAccuracy is used for unit prices. */
|
|
3883
3457
|
unitPriceAccuracy;
|
|
3884
|
-
/** This forces total prices to be the strict product of quantities times unit price in positions. It is enabled by default. If this is disabled, both the unit price and the total price of positions is calculated from the non-rounded values. Please see the documentation for a more detailed explanation of this setting. */
|
|
3885
3458
|
forceStrictTotals;
|
|
3886
|
-
/** This property controls the rounding mode of all price properties, meaning how rounding of decimal places is performed in price calculations. It defaults to DEFAULT_ROUNDING_MODE. Please see the Dangl.AVA documentation for further information about decimal precision. */
|
|
3887
3459
|
priceRoundingMode;
|
|
3888
|
-
/** The ProjectInformation contains information that describes the project and its structure. */
|
|
3889
3460
|
projectInformation;
|
|
3890
|
-
/** The ServiceSpecifications in this Project. */
|
|
3891
3461
|
serviceSpecifications;
|
|
3892
|
-
/** This is used to store the GAEB XML Id within this Project. This data is not used for any calculations or evaluations but only for GAEB serialization and deserialization. */
|
|
3893
3462
|
gaebXmlId;
|
|
3894
3463
|
constructor(data) {
|
|
3895
3464
|
if (data) {
|
|
@@ -3964,12 +3533,12 @@ class ProjectDto {
|
|
|
3964
3533
|
|
|
3965
3534
|
// This file is automatically generated as part of the build process
|
|
3966
3535
|
const avaModelsVersion = {
|
|
3967
|
-
version: "2.30.
|
|
3968
|
-
commitInfo: "Branch.develop.Sha.
|
|
3969
|
-
commitDate: "2026-
|
|
3970
|
-
commitHash: "
|
|
3971
|
-
informationalVersion: "2.30.
|
|
3972
|
-
buildDateUtc: new Date(Date.UTC(2026,
|
|
3536
|
+
version: "2.30.2-beta0006",
|
|
3537
|
+
commitInfo: "Branch.develop.Sha.d6f442db878f91ef9c6093f5f8ab7227f077b399",
|
|
3538
|
+
commitDate: "2026-07-16",
|
|
3539
|
+
commitHash: "d6f442db878f91ef9c6093f5f8ab7227f077b399",
|
|
3540
|
+
informationalVersion: "2.30.2-beta.6+Branch.develop.Sha.d6f442db878f91ef9c6093f5f8ab7227f077b399",
|
|
3541
|
+
buildDateUtc: new Date(Date.UTC(2026, 6, 16, 20, 21, 43))
|
|
3973
3542
|
};
|
|
3974
3543
|
|
|
3975
3544
|
/**
|