@dangl/avacloud-client-node 1.64.2-beta0011-avacloud-preview → 1.65.0-avacloud-preview

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. package/api.d.ts +111 -3
  2. package/api.js +167 -4
  3. package/api.js.map +1 -1
  4. package/api.ts +265 -2
  5. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -2250,6 +2250,8 @@ export declare class ServiceSpecificationDto implements IServiceSpecificationDto
2250
2250
  projectCatalogues?: CatalogueDto[] | undefined;
2251
2251
  /** Referenced catalogues for this ElementContainerBase. */
2252
2252
  catalogueReferences?: CatalogueReferenceDto[] | undefined;
2253
+ /** This is a list of sustainability catalogues that are relevant for this ServiceSpecification. Sustainability catalogues are sources for environmental or sustainability data. */
2254
+ sustainabilityCatalogues?: SustainabilityCatalogueDto[] | undefined;
2253
2255
  /** The date when the execution of the services is scheduled to start */
2254
2256
  plannedExecutionStart?: Date | undefined;
2255
2257
  /** The date then the execution of the services is scheduled to be finished */
@@ -2266,7 +2268,7 @@ export declare class ServiceSpecificationDto implements IServiceSpecificationDto
2266
2268
  approvalDate?: Date | undefined;
2267
2269
  /** This should specify how the approval is performed by the buyer. This matches "AcceptType" in GAEB */
2268
2270
  typeOfApproval?: string | undefined;
2269
- /** This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German. */
2271
+ /** This optional string property is shared by all IElement s, and indicates if the element is part of an addendum, a 'Nachtrag' in German. */
2270
2272
  addendumNumber?: string | undefined;
2271
2273
  /** This indicates, if this element is part of an addendum an, if yes, with what status. */
2272
2274
  addendumStatus?: AddendumStatusDto | undefined;
@@ -2359,6 +2361,8 @@ export interface IServiceSpecificationDto {
2359
2361
  projectCatalogues?: ICatalogueDto[] | undefined;
2360
2362
  /** Referenced catalogues for this ElementContainerBase. */
2361
2363
  catalogueReferences?: ICatalogueReferenceDto[] | undefined;
2364
+ /** This is a list of sustainability catalogues that are relevant for this ServiceSpecification. Sustainability catalogues are sources for environmental or sustainability data. */
2365
+ sustainabilityCatalogues?: ISustainabilityCatalogueDto[] | undefined;
2362
2366
  /** The date when the execution of the services is scheduled to start */
2363
2367
  plannedExecutionStart?: Date | undefined;
2364
2368
  /** The date then the execution of the services is scheduled to be finished */
@@ -2375,7 +2379,7 @@ export interface IServiceSpecificationDto {
2375
2379
  approvalDate?: Date | undefined;
2376
2380
  /** This should specify how the approval is performed by the buyer. This matches "AcceptType" in GAEB */
2377
2381
  typeOfApproval?: string | undefined;
2378
- /** This optional string property is shared by all IElements, and indicates if the element is part of an addendum, a 'Nachtrag' in German. */
2382
+ /** This optional string property is shared by all IElement s, and indicates if the element is part of an addendum, a 'Nachtrag' in German. */
2379
2383
  addendumNumber?: string | undefined;
2380
2384
  /** This indicates, if this element is part of an addendum an, if yes, with what status. */
2381
2385
  addendumStatus?: AddendumStatusDto | undefined;
@@ -2518,6 +2522,8 @@ export declare class PositionDto extends IElementDto implements IPositionDto {
2518
2522
  comissionStatus: ComissionStatusDto;
2519
2523
  /** 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. */
2520
2524
  complementedBy?: string[] | undefined;
2525
+ /** This list contains information about sustainability indicators or environmental impact for this position. */
2526
+ sustainabilityIndicators?: PositionSustainabilityIndicatorDto[] | undefined;
2521
2527
  /** 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. */
2522
2528
  complemented: boolean;
2523
2529
  /** Indicates that the amount for this Position is to be set by the bidder. */
@@ -2602,6 +2608,8 @@ export declare class PositionDto extends IElementDto implements IPositionDto {
2602
2608
  ignoreProjectCataloguePropagation: boolean;
2603
2609
  /** 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. */
2604
2610
  isMainPosition: boolean;
2611
+ /** 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. */
2612
+ baseCatalogueNumber?: string | undefined;
2605
2613
  constructor(data?: IPositionDto);
2606
2614
  init(_data?: any): void;
2607
2615
  static fromJS(data: any): PositionDto;
@@ -2639,6 +2647,8 @@ export interface IPositionDto extends IIElementDto {
2639
2647
  comissionStatus: ComissionStatusDto;
2640
2648
  /** 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. */
2641
2649
  complementedBy?: string[] | undefined;
2650
+ /** This list contains information about sustainability indicators or environmental impact for this position. */
2651
+ sustainabilityIndicators?: IPositionSustainabilityIndicatorDto[] | undefined;
2642
2652
  /** 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. */
2643
2653
  complemented: boolean;
2644
2654
  /** Indicates that the amount for this Position is to be set by the bidder. */
@@ -2723,6 +2733,8 @@ export interface IPositionDto extends IIElementDto {
2723
2733
  ignoreProjectCataloguePropagation: boolean;
2724
2734
  /** 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. */
2725
2735
  isMainPosition: boolean;
2736
+ /** 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. */
2737
+ baseCatalogueNumber?: string | undefined;
2726
2738
  }
2727
2739
  /** Based on the PriceComponent, this class is responsible for labour time components. */
2728
2740
  export declare class LabourPriceComponentDto implements ILabourPriceComponentDto {
@@ -2861,6 +2873,8 @@ export declare class SubDescriptionDto implements ISubDescriptionDto {
2861
2873
  /** 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. */
2862
2874
  descriptionId?: string | undefined;
2863
2875
  readonly hasBidderCommentInHtmlLongText: boolean;
2876
+ /** 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. */
2877
+ baseCatalogueNumber?: string | undefined;
2864
2878
  constructor(data?: ISubDescriptionDto);
2865
2879
  init?(_data?: any): void;
2866
2880
  static fromJS(data: any): SubDescriptionDto;
@@ -2901,6 +2915,8 @@ export interface ISubDescriptionDto {
2901
2915
  /** 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. */
2902
2916
  descriptionId?: string | undefined;
2903
2917
  hasBidderCommentInHtmlLongText: boolean;
2918
+ /** 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. */
2919
+ baseCatalogueNumber?: string | undefined;
2904
2920
  }
2905
2921
  /** Indicates the origin of an element. */
2906
2922
  export declare enum AdditionTypeDto {
@@ -3000,6 +3016,70 @@ export declare enum ComissionStatusDto {
3000
3016
  Postponed = "Postponed",
3001
3017
  Removed = "Removed"
3002
3018
  }
3019
+ /** This model contains the sustainability or environment impact data. */
3020
+ export declare class PositionSustainabilityIndicatorDto implements IPositionSustainabilityIndicatorDto {
3021
+ /** Elements GUID identifier. */
3022
+ id: string;
3023
+ /** This is usually in the form of an URL that specifies the indicator. */
3024
+ source?: string | undefined;
3025
+ /** This is a text giving more information about the indicator, e.g. details about the calculation method, or other comments. */
3026
+ comment?: string | undefined;
3027
+ /** If present, this indicator may be divided up into different life cycle stages. */
3028
+ lifeCycleStages?: SustainabilityLifeCycleStageDto[] | undefined;
3029
+ /** 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. */
3030
+ indicatorKey?: string | undefined;
3031
+ /** This is the actual value of the indicator. */
3032
+ value?: number | undefined;
3033
+ /** The unit of measurement for the value. */
3034
+ unitTag?: string | undefined;
3035
+ /** If present, this is a conversion factor used here in this indicator for the value. */
3036
+ conversionFactor?: number | undefined;
3037
+ constructor(data?: IPositionSustainabilityIndicatorDto);
3038
+ init?(_data?: any): void;
3039
+ static fromJS(data: any): PositionSustainabilityIndicatorDto;
3040
+ toJSON?(data?: any): any;
3041
+ }
3042
+ /** This model contains the sustainability or environment impact data. */
3043
+ export interface IPositionSustainabilityIndicatorDto {
3044
+ /** Elements GUID identifier. */
3045
+ id: string;
3046
+ /** This is usually in the form of an URL that specifies the indicator. */
3047
+ source?: string | undefined;
3048
+ /** This is a text giving more information about the indicator, e.g. details about the calculation method, or other comments. */
3049
+ comment?: string | undefined;
3050
+ /** If present, this indicator may be divided up into different life cycle stages. */
3051
+ lifeCycleStages?: ISustainabilityLifeCycleStageDto[] | undefined;
3052
+ /** 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. */
3053
+ indicatorKey?: string | undefined;
3054
+ /** This is the actual value of the indicator. */
3055
+ value?: number | undefined;
3056
+ /** The unit of measurement for the value. */
3057
+ unitTag?: string | undefined;
3058
+ /** If present, this is a conversion factor used here in this indicator for the value. */
3059
+ conversionFactor?: number | undefined;
3060
+ }
3061
+ /** 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. */
3062
+ export declare class SustainabilityLifeCycleStageDto implements ISustainabilityLifeCycleStageDto {
3063
+ /** Elements GUID identifier. */
3064
+ id: string;
3065
+ /** The key is the name or identifier of the stage. */
3066
+ key?: string | undefined;
3067
+ /** The value for this given stage. */
3068
+ value?: number | undefined;
3069
+ constructor(data?: ISustainabilityLifeCycleStageDto);
3070
+ init?(_data?: any): void;
3071
+ static fromJS(data: any): SustainabilityLifeCycleStageDto;
3072
+ toJSON?(data?: any): any;
3073
+ }
3074
+ /** 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. */
3075
+ export interface ISustainabilityLifeCycleStageDto {
3076
+ /** Elements GUID identifier. */
3077
+ id: string;
3078
+ /** The key is the name or identifier of the stage. */
3079
+ key?: string | undefined;
3080
+ /** The value for this given stage. */
3081
+ value?: number | undefined;
3082
+ }
3003
3083
  /** This class represents as identifier of a certain service specification's element and is uniquely within the service specification. */
3004
3084
  export declare class ItemNumberDto implements IItemNumberDto {
3005
3085
  /** Elements GUID identifier. */
@@ -3417,6 +3497,8 @@ export declare class NoteTextDto extends IElementDto implements INoteTextDto {
3417
3497
  /** This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts. */
3418
3498
  oenormNoteTextProperties?: OenormNoteTextPropertiesDto | undefined;
3419
3499
  readonly hasBidderCommentInHtmlLongText: boolean;
3500
+ /** 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. */
3501
+ baseCatalogueNumber?: string | undefined;
3420
3502
  constructor(data?: INoteTextDto);
3421
3503
  init(_data?: any): void;
3422
3504
  static fromJS(data: any): NoteTextDto;
@@ -3448,6 +3530,8 @@ export interface INoteTextDto extends IIElementDto {
3448
3530
  /** This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts. */
3449
3531
  oenormNoteTextProperties?: IOenormNoteTextPropertiesDto | undefined;
3450
3532
  hasBidderCommentInHtmlLongText: boolean;
3533
+ /** 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. */
3534
+ baseCatalogueNumber?: string | undefined;
3451
3535
  }
3452
3536
  /** This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts. */
3453
3537
  export declare class OenormNoteTextPropertiesDto implements IOenormNoteTextPropertiesDto {
@@ -3743,6 +3827,28 @@ export interface ITradeDiscountDto {
3743
3827
  /** The rate of the trade discount. */
3744
3828
  rate: number;
3745
3829
  }
3830
+ /** This elements represents a catalogue or source of sustainability information that is used within a ServiceSpecification. */
3831
+ export declare class SustainabilityCatalogueDto implements ISustainabilityCatalogueDto {
3832
+ /** Elements GUID identifier. */
3833
+ id: string;
3834
+ /** 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. */
3835
+ key?: string | undefined;
3836
+ /** The description property can be used to provide further information about the sustainability catalogue. */
3837
+ description?: string | undefined;
3838
+ constructor(data?: ISustainabilityCatalogueDto);
3839
+ init?(_data?: any): void;
3840
+ static fromJS(data: any): SustainabilityCatalogueDto;
3841
+ toJSON?(data?: any): any;
3842
+ }
3843
+ /** This elements represents a catalogue or source of sustainability information that is used within a ServiceSpecification. */
3844
+ export interface ISustainabilityCatalogueDto {
3845
+ /** Elements GUID identifier. */
3846
+ id: string;
3847
+ /** 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. */
3848
+ key?: string | undefined;
3849
+ /** The description property can be used to provide further information about the sustainability catalogue. */
3850
+ description?: string | undefined;
3851
+ }
3746
3852
  /** 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 */
3747
3853
  export declare class WarrantyDurationDto implements IWarrantyDurationDto {
3748
3854
  /** 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. */
@@ -3906,7 +4012,9 @@ export declare enum DestinationGaebType {
3906
4012
  GaebXml_V3_3 = "GaebXml_V3_3",
3907
4013
  GaebXml_V3_3_Commerce = "GaebXml_V3_3_Commerce",
3908
4014
  GaebXml_V3_3_2019 = "GaebXml_V3_3_2019",
3909
- GaebXml_V3_3_2019_Commerce = "GaebXml_V3_3_2019_Commerce"
4015
+ GaebXml_V3_3_2019_Commerce = "GaebXml_V3_3_2019_Commerce",
4016
+ GaebXml_V3_4 = "GaebXml_V3_4",
4017
+ GaebXml_V3_4_Commerce = "GaebXml_V3_4_Commerce"
3910
4018
  }
3911
4019
  /** The GAEB exchange phase to transform to. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86 */
3912
4020
  export declare enum DestinationGaebExchangePhase {
package/api.js CHANGED
@@ -5,10 +5,10 @@
5
5
  // </auto-generated>
6
6
  //----------------------
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.ProductDataDto = exports.ServiceTypeDto = exports.PriceTypeDto = exports.PositionTypeDto = exports.ItemNumberDto = exports.ComissionStatusDto = exports.STLBKeyDto = exports.STLBReferenceDto = exports.StandardReferenceTypeDto = exports.StandardizedDescriptionDto = exports.AdditionTypeDto = exports.SubDescriptionDto = exports.PriceComponentDto = exports.CalculationDto = exports.LabourPriceComponentDto = exports.PositionDto = exports.CatalogueReferenceDto = exports.CatalogueTypeDto = exports.CatalogueDto = exports.IElementDto = exports.ServiceSpecificationDto = exports.SpecialAwardKindDto = exports.AwardTypeDto = exports.PriceComponentTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierAlignmentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.BankingInformationDto = exports.PartyInformationDto = exports.ProjectInformationDto = exports.PriceRoundingModeDto = exports.ProjectDto = exports.DanglIdentityApi = exports.XRechnungConversionApi = exports.ValidationApi = exports.UglConversionApi = exports.StatusApi = exports.SiaConversionApi = exports.RebConversionApi = exports.OenormConversionApi = exports.IdsConnectConversionApi = exports.GaebConversionApi = exports.FlatAvaConversionApi = exports.ExcelConversionApi = exports.DatanormConversionApi = exports.AvaMergeApi = exports.AvaConversionApi = exports.AslvConversionApi = void 0;
9
- exports.PostAvaProjectValidationSourceOptions = exports.FileValidationSourceType = exports.ValidationType = exports.ProjectValidationCheckDetails = exports.XmlSchemaValidationCheckDetails = exports.ObjectValidationCheckDetails = exports.ValidationCheckType = exports.ValidationSeverity = exports.ValidationCheckResult = exports.ValidationResult = exports.GetStatus = exports.PostAvaProjectMerge = exports.GetProjectMergeResult = exports.IdsConnectVersion = exports.UglDestinationVersion = exports.DatanormDestinationVersion = exports.SiaDestinationType = exports.DestinationRebType = exports.DestinationOenormType = exports.DestinationGaebExchangePhase = exports.DestinationGaebType = exports.FlatElementDto = exports.FlatAvaProject = exports.ApiError = exports.CommerceInquiryTypeDto = exports.ServiceSpecificationCommercePropertiesDto = exports.DurationUnitDto = exports.WarrantyDurationDto = exports.TradeDiscountDto = exports.PriceInformationDto = exports.OriginDto = exports.ExchangePhaseDto = exports.OenormPropertiesDto = exports.GrossPriceComponentDto = exports.ServiceSpecificationGroupDto = exports.OenormNoteTextPropertiesDto = exports.NoteTextDto = exports.ExecutionDescriptionDto = exports.PriceCatalogueDataDto = exports.HoldOutDurationUnitDto = exports.HoldOutTypeDto = exports.PositionHoldOutPropertiesDto = exports.PositionComplementingTypeDto = exports.AddendumStatusDto = exports.OenormOriginCodeDto = exports.OenormPositionPropertiesDto = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.QuantityAssignmentDto = exports.ArticleDataDto = void 0;
10
- exports.ClaimGet = exports.UserInfoGet = exports.ForgotPasswordPost = exports.RegisterPost = exports.TokenRefreshPost = exports.TokenLoginPost = exports.ResponseErrorType = exports.HttpStatusCode = exports.TokenResponseGet = exports.LoginPost = exports.PostXRechnungPdfEmbedd = exports.DestinationXRechnungFormat = exports.AvaProjectWrapper = exports.FacturXPaymentTerm = exports.FacturXData = exports.SourceType = exports.LineItemAttribute = exports.LineItemInformation = exports.LineItemVatInformation = exports.LineItemPriceDetail = exports.LineItemCharge = exports.LineItemAllowance = exports.InvoiceLineItem = exports.ChargeReasonType = exports.InvoiceCharge = exports.AllowanceReasonType = exports.InvoiceAllowance = exports.VatCategory = exports.VatBreakdown = exports.AttachmentMimeType = exports.SupportingDocument = exports.PaymentMeans = exports.PaymentType = exports.PaymentInstructions = exports.InvoiceTotals = exports.DeliveryAddress = exports.DeliveryInformation = exports.InvoicePeriod = exports.ShortTextType = exports.InvoiceNote = exports.Payee = exports.Organization = exports.PreviousInvoice = exports.PaymentTerm = exports.References = exports.InvoiceType = exports.Invoice = exports.PostGaebDestinationOptions = exports.PostOenormDestinationOptions = exports.PostAvaSourceOptions = void 0;
11
- exports.ApiException = exports.SwaggerResponse = void 0;
8
+ exports.PriceTypeDto = exports.PositionTypeDto = exports.ItemNumberDto = exports.SustainabilityLifeCycleStageDto = exports.PositionSustainabilityIndicatorDto = exports.ComissionStatusDto = exports.STLBKeyDto = exports.STLBReferenceDto = exports.StandardReferenceTypeDto = exports.StandardizedDescriptionDto = exports.AdditionTypeDto = exports.SubDescriptionDto = exports.PriceComponentDto = exports.CalculationDto = exports.LabourPriceComponentDto = exports.PositionDto = exports.CatalogueReferenceDto = exports.CatalogueTypeDto = exports.CatalogueDto = exports.IElementDto = exports.ServiceSpecificationDto = exports.SpecialAwardKindDto = exports.AwardTypeDto = exports.PriceComponentTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierAlignmentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.BankingInformationDto = exports.PartyInformationDto = exports.ProjectInformationDto = exports.PriceRoundingModeDto = exports.ProjectDto = exports.DanglIdentityApi = exports.XRechnungConversionApi = exports.ValidationApi = exports.UglConversionApi = exports.StatusApi = exports.SiaConversionApi = exports.RebConversionApi = exports.OenormConversionApi = exports.IdsConnectConversionApi = exports.GaebConversionApi = exports.FlatAvaConversionApi = exports.ExcelConversionApi = exports.DatanormConversionApi = exports.AvaMergeApi = exports.AvaConversionApi = exports.AslvConversionApi = void 0;
9
+ exports.ProjectValidationCheckDetails = exports.XmlSchemaValidationCheckDetails = exports.ObjectValidationCheckDetails = exports.ValidationCheckType = exports.ValidationSeverity = exports.ValidationCheckResult = exports.ValidationResult = exports.GetStatus = exports.PostAvaProjectMerge = exports.GetProjectMergeResult = exports.IdsConnectVersion = exports.UglDestinationVersion = exports.DatanormDestinationVersion = exports.SiaDestinationType = exports.DestinationRebType = exports.DestinationOenormType = exports.DestinationGaebExchangePhase = exports.DestinationGaebType = exports.FlatElementDto = exports.FlatAvaProject = exports.ApiError = exports.CommerceInquiryTypeDto = exports.ServiceSpecificationCommercePropertiesDto = exports.DurationUnitDto = exports.WarrantyDurationDto = exports.SustainabilityCatalogueDto = exports.TradeDiscountDto = exports.PriceInformationDto = exports.OriginDto = exports.ExchangePhaseDto = exports.OenormPropertiesDto = exports.GrossPriceComponentDto = exports.ServiceSpecificationGroupDto = exports.OenormNoteTextPropertiesDto = exports.NoteTextDto = exports.ExecutionDescriptionDto = exports.PriceCatalogueDataDto = exports.HoldOutDurationUnitDto = exports.HoldOutTypeDto = exports.PositionHoldOutPropertiesDto = exports.PositionComplementingTypeDto = exports.AddendumStatusDto = exports.OenormOriginCodeDto = exports.OenormPositionPropertiesDto = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.QuantityAssignmentDto = exports.ArticleDataDto = exports.ProductDataDto = exports.ServiceTypeDto = void 0;
10
+ exports.RegisterPost = exports.TokenRefreshPost = exports.TokenLoginPost = exports.ResponseErrorType = exports.HttpStatusCode = exports.TokenResponseGet = exports.LoginPost = exports.PostXRechnungPdfEmbedd = exports.DestinationXRechnungFormat = exports.AvaProjectWrapper = exports.FacturXPaymentTerm = exports.FacturXData = exports.SourceType = exports.LineItemAttribute = exports.LineItemInformation = exports.LineItemVatInformation = exports.LineItemPriceDetail = exports.LineItemCharge = exports.LineItemAllowance = exports.InvoiceLineItem = exports.ChargeReasonType = exports.InvoiceCharge = exports.AllowanceReasonType = exports.InvoiceAllowance = exports.VatCategory = exports.VatBreakdown = exports.AttachmentMimeType = exports.SupportingDocument = exports.PaymentMeans = exports.PaymentType = exports.PaymentInstructions = exports.InvoiceTotals = exports.DeliveryAddress = exports.DeliveryInformation = exports.InvoicePeriod = exports.ShortTextType = exports.InvoiceNote = exports.Payee = exports.Organization = exports.PreviousInvoice = exports.PaymentTerm = exports.References = exports.InvoiceType = exports.Invoice = exports.PostGaebDestinationOptions = exports.PostOenormDestinationOptions = exports.PostAvaSourceOptions = exports.PostAvaProjectValidationSourceOptions = exports.FileValidationSourceType = exports.ValidationType = void 0;
11
+ exports.ApiException = exports.SwaggerResponse = exports.ClaimGet = exports.UserInfoGet = exports.ForgotPasswordPost = void 0;
12
12
  /* eslint-disable */
13
13
  // ReSharper disable InconsistentNaming
14
14
  class AslvConversionApi {
@@ -6864,6 +6864,13 @@ class ServiceSpecificationDto {
6864
6864
  this.catalogueReferences[i] = item && !item.toJSON ? new CatalogueReferenceDto(item) : item;
6865
6865
  }
6866
6866
  }
6867
+ if (data.sustainabilityCatalogues) {
6868
+ this.sustainabilityCatalogues = [];
6869
+ for (let i = 0; i < data.sustainabilityCatalogues.length; i++) {
6870
+ let item = data.sustainabilityCatalogues[i];
6871
+ this.sustainabilityCatalogues[i] = item && !item.toJSON ? new SustainabilityCatalogueDto(item) : item;
6872
+ }
6873
+ }
6867
6874
  this.warrantyDuration = data.warrantyDuration && !data.warrantyDuration.toJSON ? new WarrantyDurationDto(data.warrantyDuration) : this.warrantyDuration;
6868
6875
  this.commerceProperties = data.commerceProperties && !data.commerceProperties.toJSON ? new ServiceSpecificationCommercePropertiesDto(data.commerceProperties) : this.commerceProperties;
6869
6876
  }
@@ -6930,6 +6937,11 @@ class ServiceSpecificationDto {
6930
6937
  for (let item of _data["catalogueReferences"])
6931
6938
  this.catalogueReferences.push(CatalogueReferenceDto.fromJS(item));
6932
6939
  }
6940
+ if (Array.isArray(_data["sustainabilityCatalogues"])) {
6941
+ this.sustainabilityCatalogues = [];
6942
+ for (let item of _data["sustainabilityCatalogues"])
6943
+ this.sustainabilityCatalogues.push(SustainabilityCatalogueDto.fromJS(item));
6944
+ }
6933
6945
  this.plannedExecutionStart = _data["plannedExecutionStart"] ? new Date(_data["plannedExecutionStart"].toString()) : undefined;
6934
6946
  this.plannedExecutionEnd = _data["plannedExecutionEnd"] ? new Date(_data["plannedExecutionEnd"].toString()) : undefined;
6935
6947
  this.contractDate = _data["contractDate"] ? new Date(_data["contractDate"].toString()) : undefined;
@@ -7011,6 +7023,11 @@ class ServiceSpecificationDto {
7011
7023
  for (let item of this.catalogueReferences)
7012
7024
  data["catalogueReferences"].push((item && item.toJSON) ? item.toJSON() : item);
7013
7025
  }
7026
+ if (Array.isArray(this.sustainabilityCatalogues)) {
7027
+ data["sustainabilityCatalogues"] = [];
7028
+ for (let item of this.sustainabilityCatalogues)
7029
+ data["sustainabilityCatalogues"].push((item && item.toJSON) ? item.toJSON() : item);
7030
+ }
7014
7031
  data["plannedExecutionStart"] = this.plannedExecutionStart ? this.plannedExecutionStart.toISOString() : undefined;
7015
7032
  data["plannedExecutionEnd"] = this.plannedExecutionEnd ? this.plannedExecutionEnd.toISOString() : undefined;
7016
7033
  data["contractDate"] = this.contractDate ? this.contractDate.toISOString() : undefined;
@@ -7241,6 +7258,13 @@ class PositionDto extends IElementDto {
7241
7258
  this.subDescriptions[i] = item && !item.toJSON ? new SubDescriptionDto(item) : item;
7242
7259
  }
7243
7260
  }
7261
+ if (data.sustainabilityIndicators) {
7262
+ this.sustainabilityIndicators = [];
7263
+ for (let i = 0; i < data.sustainabilityIndicators.length; i++) {
7264
+ let item = data.sustainabilityIndicators[i];
7265
+ this.sustainabilityIndicators[i] = item && !item.toJSON ? new PositionSustainabilityIndicatorDto(item) : item;
7266
+ }
7267
+ }
7244
7268
  this.itemNumber = data.itemNumber && !data.itemNumber.toJSON ? new ItemNumberDto(data.itemNumber) : this.itemNumber;
7245
7269
  this.productData = data.productData && !data.productData.toJSON ? new ProductDataDto(data.productData) : this.productData;
7246
7270
  if (data.quantityAssignments) {
@@ -7305,6 +7329,11 @@ class PositionDto extends IElementDto {
7305
7329
  for (let item of _data["complementedBy"])
7306
7330
  this.complementedBy.push(item);
7307
7331
  }
7332
+ if (Array.isArray(_data["sustainabilityIndicators"])) {
7333
+ this.sustainabilityIndicators = [];
7334
+ for (let item of _data["sustainabilityIndicators"])
7335
+ this.sustainabilityIndicators.push(PositionSustainabilityIndicatorDto.fromJS(item));
7336
+ }
7308
7337
  this.complemented = _data["complemented"];
7309
7338
  this.amountToBeEnteredByBidder = _data["amountToBeEnteredByBidder"];
7310
7339
  this.priceCompositionRequired = _data["priceCompositionRequired"];
@@ -7356,6 +7385,7 @@ class PositionDto extends IElementDto {
7356
7385
  this.priceCatalogueData = _data["priceCatalogueData"] ? PriceCatalogueDataDto.fromJS(_data["priceCatalogueData"]) : undefined;
7357
7386
  this.ignoreProjectCataloguePropagation = _data["ignoreProjectCataloguePropagation"];
7358
7387
  this.isMainPosition = _data["isMainPosition"];
7388
+ this.baseCatalogueNumber = _data["baseCatalogueNumber"];
7359
7389
  }
7360
7390
  }
7361
7391
  static fromJS(data) {
@@ -7401,6 +7431,11 @@ class PositionDto extends IElementDto {
7401
7431
  for (let item of this.complementedBy)
7402
7432
  data["complementedBy"].push(item);
7403
7433
  }
7434
+ if (Array.isArray(this.sustainabilityIndicators)) {
7435
+ data["sustainabilityIndicators"] = [];
7436
+ for (let item of this.sustainabilityIndicators)
7437
+ data["sustainabilityIndicators"].push((item && item.toJSON) ? item.toJSON() : item);
7438
+ }
7404
7439
  data["complemented"] = this.complemented;
7405
7440
  data["amountToBeEnteredByBidder"] = this.amountToBeEnteredByBidder;
7406
7441
  data["priceCompositionRequired"] = this.priceCompositionRequired;
@@ -7452,6 +7487,7 @@ class PositionDto extends IElementDto {
7452
7487
  data["priceCatalogueData"] = (this.priceCatalogueData && this.priceCatalogueData.toJSON) ? this.priceCatalogueData.toJSON() : this.priceCatalogueData;
7453
7488
  data["ignoreProjectCataloguePropagation"] = this.ignoreProjectCataloguePropagation;
7454
7489
  data["isMainPosition"] = this.isMainPosition;
7490
+ data["baseCatalogueNumber"] = this.baseCatalogueNumber;
7455
7491
  if (typeof super.toJSON !== "undefined") {
7456
7492
  super.toJSON(data);
7457
7493
  }
@@ -7715,6 +7751,7 @@ class SubDescriptionDto {
7715
7751
  }
7716
7752
  this.descriptionId = _data["descriptionId"];
7717
7753
  this.hasBidderCommentInHtmlLongText = _data["hasBidderCommentInHtmlLongText"];
7754
+ this.baseCatalogueNumber = _data["baseCatalogueNumber"];
7718
7755
  }
7719
7756
  }
7720
7757
  static fromJS(data) {
@@ -7750,6 +7787,7 @@ class SubDescriptionDto {
7750
7787
  }
7751
7788
  data["descriptionId"] = this.descriptionId;
7752
7789
  data["hasBidderCommentInHtmlLongText"] = this.hasBidderCommentInHtmlLongText;
7790
+ data["baseCatalogueNumber"] = this.baseCatalogueNumber;
7753
7791
  return data;
7754
7792
  }
7755
7793
  }
@@ -7895,6 +7933,95 @@ var ComissionStatusDto;
7895
7933
  ComissionStatusDto["Postponed"] = "Postponed";
7896
7934
  ComissionStatusDto["Removed"] = "Removed";
7897
7935
  })(ComissionStatusDto = exports.ComissionStatusDto || (exports.ComissionStatusDto = {}));
7936
+ /** This model contains the sustainability or environment impact data. */
7937
+ class PositionSustainabilityIndicatorDto {
7938
+ constructor(data) {
7939
+ if (data) {
7940
+ for (var property in data) {
7941
+ if (data.hasOwnProperty(property))
7942
+ this[property] = data[property];
7943
+ }
7944
+ if (data.lifeCycleStages) {
7945
+ this.lifeCycleStages = [];
7946
+ for (let i = 0; i < data.lifeCycleStages.length; i++) {
7947
+ let item = data.lifeCycleStages[i];
7948
+ this.lifeCycleStages[i] = item && !item.toJSON ? new SustainabilityLifeCycleStageDto(item) : item;
7949
+ }
7950
+ }
7951
+ }
7952
+ }
7953
+ init(_data) {
7954
+ if (_data) {
7955
+ this.id = _data["id"];
7956
+ this.source = _data["source"];
7957
+ this.comment = _data["comment"];
7958
+ if (Array.isArray(_data["lifeCycleStages"])) {
7959
+ this.lifeCycleStages = [];
7960
+ for (let item of _data["lifeCycleStages"])
7961
+ this.lifeCycleStages.push(SustainabilityLifeCycleStageDto.fromJS(item));
7962
+ }
7963
+ this.indicatorKey = _data["indicatorKey"];
7964
+ this.value = _data["value"];
7965
+ this.unitTag = _data["unitTag"];
7966
+ this.conversionFactor = _data["conversionFactor"];
7967
+ }
7968
+ }
7969
+ static fromJS(data) {
7970
+ data = typeof data === 'object' ? data : {};
7971
+ let result = new PositionSustainabilityIndicatorDto();
7972
+ result.init(data);
7973
+ return result;
7974
+ }
7975
+ toJSON(data) {
7976
+ data = typeof data === 'object' ? data : {};
7977
+ data["id"] = this.id;
7978
+ data["source"] = this.source;
7979
+ data["comment"] = this.comment;
7980
+ if (Array.isArray(this.lifeCycleStages)) {
7981
+ data["lifeCycleStages"] = [];
7982
+ for (let item of this.lifeCycleStages)
7983
+ data["lifeCycleStages"].push((item && item.toJSON) ? item.toJSON() : item);
7984
+ }
7985
+ data["indicatorKey"] = this.indicatorKey;
7986
+ data["value"] = this.value;
7987
+ data["unitTag"] = this.unitTag;
7988
+ data["conversionFactor"] = this.conversionFactor;
7989
+ return data;
7990
+ }
7991
+ }
7992
+ exports.PositionSustainabilityIndicatorDto = PositionSustainabilityIndicatorDto;
7993
+ /** 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. */
7994
+ class SustainabilityLifeCycleStageDto {
7995
+ constructor(data) {
7996
+ if (data) {
7997
+ for (var property in data) {
7998
+ if (data.hasOwnProperty(property))
7999
+ this[property] = data[property];
8000
+ }
8001
+ }
8002
+ }
8003
+ init(_data) {
8004
+ if (_data) {
8005
+ this.id = _data["id"];
8006
+ this.key = _data["key"];
8007
+ this.value = _data["value"];
8008
+ }
8009
+ }
8010
+ static fromJS(data) {
8011
+ data = typeof data === 'object' ? data : {};
8012
+ let result = new SustainabilityLifeCycleStageDto();
8013
+ result.init(data);
8014
+ return result;
8015
+ }
8016
+ toJSON(data) {
8017
+ data = typeof data === 'object' ? data : {};
8018
+ data["id"] = this.id;
8019
+ data["key"] = this.key;
8020
+ data["value"] = this.value;
8021
+ return data;
8022
+ }
8023
+ }
8024
+ exports.SustainabilityLifeCycleStageDto = SustainabilityLifeCycleStageDto;
7898
8025
  /** This class represents as identifier of a certain service specification's element and is uniquely within the service specification. */
7899
8026
  class ItemNumberDto {
7900
8027
  constructor(data) {
@@ -8439,6 +8566,7 @@ class NoteTextDto extends IElementDto {
8439
8566
  this.descriptionId = _data["descriptionId"];
8440
8567
  this.oenormNoteTextProperties = _data["oenormNoteTextProperties"] ? OenormNoteTextPropertiesDto.fromJS(_data["oenormNoteTextProperties"]) : undefined;
8441
8568
  this.hasBidderCommentInHtmlLongText = _data["hasBidderCommentInHtmlLongText"];
8569
+ this.baseCatalogueNumber = _data["baseCatalogueNumber"];
8442
8570
  }
8443
8571
  }
8444
8572
  static fromJS(data) {
@@ -8462,6 +8590,7 @@ class NoteTextDto extends IElementDto {
8462
8590
  data["descriptionId"] = this.descriptionId;
8463
8591
  data["oenormNoteTextProperties"] = (this.oenormNoteTextProperties && this.oenormNoteTextProperties.toJSON) ? this.oenormNoteTextProperties.toJSON() : this.oenormNoteTextProperties;
8464
8592
  data["hasBidderCommentInHtmlLongText"] = this.hasBidderCommentInHtmlLongText;
8593
+ data["baseCatalogueNumber"] = this.baseCatalogueNumber;
8465
8594
  if (typeof super.toJSON !== "undefined") {
8466
8595
  super.toJSON(data);
8467
8596
  }
@@ -8808,6 +8937,38 @@ class TradeDiscountDto {
8808
8937
  }
8809
8938
  }
8810
8939
  exports.TradeDiscountDto = TradeDiscountDto;
8940
+ /** This elements represents a catalogue or source of sustainability information that is used within a ServiceSpecification. */
8941
+ class SustainabilityCatalogueDto {
8942
+ constructor(data) {
8943
+ if (data) {
8944
+ for (var property in data) {
8945
+ if (data.hasOwnProperty(property))
8946
+ this[property] = data[property];
8947
+ }
8948
+ }
8949
+ }
8950
+ init(_data) {
8951
+ if (_data) {
8952
+ this.id = _data["id"];
8953
+ this.key = _data["key"];
8954
+ this.description = _data["description"];
8955
+ }
8956
+ }
8957
+ static fromJS(data) {
8958
+ data = typeof data === 'object' ? data : {};
8959
+ let result = new SustainabilityCatalogueDto();
8960
+ result.init(data);
8961
+ return result;
8962
+ }
8963
+ toJSON(data) {
8964
+ data = typeof data === 'object' ? data : {};
8965
+ data["id"] = this.id;
8966
+ data["key"] = this.key;
8967
+ data["description"] = this.description;
8968
+ return data;
8969
+ }
8970
+ }
8971
+ exports.SustainabilityCatalogueDto = SustainabilityCatalogueDto;
8811
8972
  /** 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 */
8812
8973
  class WarrantyDurationDto {
8813
8974
  constructor(data) {
@@ -9033,6 +9194,8 @@ var DestinationGaebType;
9033
9194
  DestinationGaebType["GaebXml_V3_3_Commerce"] = "GaebXml_V3_3_Commerce";
9034
9195
  DestinationGaebType["GaebXml_V3_3_2019"] = "GaebXml_V3_3_2019";
9035
9196
  DestinationGaebType["GaebXml_V3_3_2019_Commerce"] = "GaebXml_V3_3_2019_Commerce";
9197
+ DestinationGaebType["GaebXml_V3_4"] = "GaebXml_V3_4";
9198
+ DestinationGaebType["GaebXml_V3_4_Commerce"] = "GaebXml_V3_4_Commerce";
9036
9199
  })(DestinationGaebType = exports.DestinationGaebType || (exports.DestinationGaebType = {}));
9037
9200
  /** The GAEB exchange phase to transform to. The phases are: Base = 81 CostEstimate = 82 OfferRequest = 83 Offer = 84 SideOffer = 85 Grant = 86 */
9038
9201
  var DestinationGaebExchangePhase;