@@ -1073,6 +1073,8 @@ public static class GraphQlTypes
10731073 public const string HeatingSource = "HeatingSource" ;
10741074 public const string HomeAvatar = "HomeAvatar" ;
10751075 public const string HomeType = "HomeType" ;
1076+ public const string PriceInfoRangeResolution = "PriceInfoRangeResolution" ;
1077+ public const string PriceInfoResolution = "PriceInfoResolution" ;
10761078 public const string PriceLevel = "PriceLevel" ;
10771079 public const string PriceRatingLevel = "PriceRatingLevel" ;
10781080 public const string PriceResolution = "PriceResolution" ;
@@ -1154,6 +1156,19 @@ public enum PriceRatingLevel
11541156 [ EnumMember ( Value = "HIGH" ) ] High
11551157 }
11561158
1159+ public enum PriceInfoResolution
1160+ {
1161+ [ EnumMember ( Value = "HOURLY" ) ] Hourly ,
1162+ [ EnumMember ( Value = "QUARTER_HOURLY" ) ] QuarterHourly
1163+ }
1164+
1165+ public enum PriceInfoRangeResolution
1166+ {
1167+ [ EnumMember ( Value = "DAILY" ) ] Daily ,
1168+ [ EnumMember ( Value = "HOURLY" ) ] Hourly ,
1169+ [ EnumMember ( Value = "QUARTER_HOURLY" ) ] QuarterHourly
1170+ }
1171+
11571172 public enum EnergyResolution
11581173 {
11591174 [ EnumMember ( Value = "HOURLY" ) ] Hourly ,
@@ -2416,6 +2431,7 @@ public partial class SubscriptionQueryBuilder : GraphQlQueryBuilder<Subscription
24162431 new GraphQlFieldMetadata { Name = "validTo" } ,
24172432 new GraphQlFieldMetadata { Name = "status" } ,
24182433 new GraphQlFieldMetadata { Name = "priceInfo" , IsComplex = true , QueryBuilderType = typeof ( PriceInfoQueryBuilder ) } ,
2434+ new GraphQlFieldMetadata { Name = "priceInfoRange" , RequiresParameters = true , IsComplex = true , QueryBuilderType = typeof ( SubscriptionPriceConnectionQueryBuilder ) } ,
24192435 new GraphQlFieldMetadata { Name = "priceRating" , IsComplex = true , QueryBuilderType = typeof ( PriceRatingQueryBuilder ) }
24202436 } ;
24212437
@@ -2473,16 +2489,44 @@ public SubscriptionQueryBuilder ExceptStatus()
24732489 return ExceptField ( "status" ) ;
24742490 }
24752491
2476- public SubscriptionQueryBuilder WithPriceInfo ( PriceInfoQueryBuilder priceInfoQueryBuilder , string alias = null , IncludeDirective include = null , SkipDirective skip = null )
2492+ public SubscriptionQueryBuilder WithPriceInfo ( PriceInfoQueryBuilder priceInfoQueryBuilder , QueryBuilderParameter < PriceInfoResolution ? > resolution = null , string alias = null , IncludeDirective include = null , SkipDirective skip = null )
24772493 {
2478- return WithObjectField ( "priceInfo" , alias , priceInfoQueryBuilder , new GraphQlDirective [ ] { include , skip } ) ;
2494+ var args = new List < QueryBuilderArgumentInfo > ( ) ;
2495+ if ( resolution != null )
2496+ args . Add ( new QueryBuilderArgumentInfo { ArgumentName = "resolution" , ArgumentValue = resolution } ) ;
2497+
2498+ return WithObjectField ( "priceInfo" , alias , priceInfoQueryBuilder , new GraphQlDirective [ ] { include , skip } , args ) ;
24792499 }
24802500
24812501 public SubscriptionQueryBuilder ExceptPriceInfo ( )
24822502 {
24832503 return ExceptField ( "priceInfo" ) ;
24842504 }
24852505
2506+ public SubscriptionQueryBuilder WithPriceInfoRange ( SubscriptionPriceConnectionQueryBuilder subscriptionPriceConnectionQueryBuilder , QueryBuilderParameter < PriceInfoRangeResolution > resolution , QueryBuilderParameter < int ? > first = null , QueryBuilderParameter < int ? > last = null , QueryBuilderParameter < string > before = null , QueryBuilderParameter < string > after = null , string alias = null , IncludeDirective include = null , SkipDirective skip = null )
2507+ {
2508+ var args = new List < QueryBuilderArgumentInfo > ( ) ;
2509+ args . Add ( new QueryBuilderArgumentInfo { ArgumentName = "resolution" , ArgumentValue = resolution } ) ;
2510+ if ( first != null )
2511+ args . Add ( new QueryBuilderArgumentInfo { ArgumentName = "first" , ArgumentValue = first } ) ;
2512+
2513+ if ( last != null )
2514+ args . Add ( new QueryBuilderArgumentInfo { ArgumentName = "last" , ArgumentValue = last } ) ;
2515+
2516+ if ( before != null )
2517+ args . Add ( new QueryBuilderArgumentInfo { ArgumentName = "before" , ArgumentValue = before } ) ;
2518+
2519+ if ( after != null )
2520+ args . Add ( new QueryBuilderArgumentInfo { ArgumentName = "after" , ArgumentValue = after } ) ;
2521+
2522+ return WithObjectField ( "priceInfoRange" , alias , subscriptionPriceConnectionQueryBuilder , new GraphQlDirective [ ] { include , skip } , args ) ;
2523+ }
2524+
2525+ public SubscriptionQueryBuilder ExceptPriceInfoRange ( )
2526+ {
2527+ return ExceptField ( "priceInfoRange" ) ;
2528+ }
2529+
24862530 public SubscriptionQueryBuilder WithPriceRating ( PriceRatingQueryBuilder priceRatingQueryBuilder , string alias = null , IncludeDirective include = null , SkipDirective skip = null )
24872531 {
24882532 return WithObjectField ( "priceRating" , alias , priceRatingQueryBuilder , new GraphQlDirective [ ] { include , skip } ) ;
@@ -4135,6 +4179,7 @@ public partial class Subscription
41354179 public DateTimeOffset ? ValidTo { get ; set ; }
41364180 public string Status { get ; set ; }
41374181 public PriceInfo PriceInfo { get ; set ; }
4182+ public SubscriptionPriceConnection PriceInfoRange { get ; set ; }
41384183 public PriceRating PriceRating { get ; set ; }
41394184 }
41404185
0 commit comments