Skip to content

Commit d4d6832

Browse files
Merge pull request #129 from tryAGI/bot/update-openapi_202509081817
feat:@coderabbitai
2 parents 0447f6c + 6c622e5 commit d4d6832

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

src/libs/Ultravox/Generated/Ultravox.Models.CallStatistics.g.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ public sealed partial class CallStatistics
2929
[global::System.Text.Json.Serialization.JsonRequired]
3030
public required int JoinedCount { get; set; }
3131

32+
/// <summary>
33+
/// Total billed minutes.
34+
/// </summary>
35+
[global::System.Text.Json.Serialization.JsonPropertyName("billedMinutes")]
36+
[global::System.Text.Json.Serialization.JsonRequired]
37+
public required double BilledMinutes { get; set; }
38+
3239
/// <summary>
3340
/// Additional properties that are not explicitly defined in the schema
3441
/// </summary>
@@ -47,17 +54,22 @@ public sealed partial class CallStatistics
4754
/// <param name="joinedCount">
4855
/// Number of calls that were joined
4956
/// </param>
57+
/// <param name="billedMinutes">
58+
/// Total billed minutes.
59+
/// </param>
5060
#if NET7_0_OR_GREATER
5161
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
5262
#endif
5363
public CallStatistics(
5464
int totalCount,
5565
string duration,
56-
int joinedCount)
66+
int joinedCount,
67+
double billedMinutes)
5768
{
5869
this.TotalCount = totalCount;
5970
this.Duration = duration ?? throw new global::System.ArgumentNullException(nameof(duration));
6071
this.JoinedCount = joinedCount;
72+
this.BilledMinutes = billedMinutes;
6173
}
6274

6375
/// <summary>

src/libs/Ultravox/Generated/Ultravox.Models.DailyCallStatistics.g.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ public sealed partial class DailyCallStatistics
2929
[global::System.Text.Json.Serialization.JsonRequired]
3030
public required int JoinedCount { get; set; }
3131

32+
/// <summary>
33+
/// Total billed minutes.
34+
/// </summary>
35+
[global::System.Text.Json.Serialization.JsonPropertyName("billedMinutes")]
36+
[global::System.Text.Json.Serialization.JsonRequired]
37+
public required double BilledMinutes { get; set; }
38+
3239
/// <summary>
3340
/// Date of usage
3441
/// </summary>
@@ -54,6 +61,9 @@ public sealed partial class DailyCallStatistics
5461
/// <param name="joinedCount">
5562
/// Number of calls that were joined
5663
/// </param>
64+
/// <param name="billedMinutes">
65+
/// Total billed minutes.
66+
/// </param>
5767
/// <param name="date">
5868
/// Date of usage
5969
/// </param>
@@ -64,11 +74,13 @@ public DailyCallStatistics(
6474
int totalCount,
6575
string duration,
6676
int joinedCount,
77+
double billedMinutes,
6778
global::System.DateTime date)
6879
{
6980
this.TotalCount = totalCount;
7081
this.Duration = duration ?? throw new global::System.ArgumentNullException(nameof(duration));
7182
this.JoinedCount = joinedCount;
83+
this.BilledMinutes = billedMinutes;
7284
this.Date = date;
7385
}
7486

src/libs/Ultravox/openapi.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2935,6 +2935,7 @@ components:
29352935
description: The initial state of the call stage which is readable/writable by tools.
29362936
CallStatistics:
29372937
required:
2938+
- billedMinutes
29382939
- duration
29392940
- joinedCount
29402941
- totalCount
@@ -2949,6 +2950,10 @@ components:
29492950
joinedCount:
29502951
type: integer
29512952
description: Number of calls that were joined
2953+
billedMinutes:
2954+
type: number
2955+
description: Total billed minutes.
2956+
format: double
29522957
CallTombstone:
29532958
required:
29542959
- accountId
@@ -3063,6 +3068,7 @@ components:
30633068
format: uri
30643069
DailyCallStatistics:
30653070
required:
3071+
- billedMinutes
30663072
- date
30673073
- duration
30683074
- joinedCount
@@ -3078,6 +3084,10 @@ components:
30783084
joinedCount:
30793085
type: integer
30803086
description: Number of calls that were joined
3087+
billedMinutes:
3088+
type: number
3089+
description: Total billed minutes.
3090+
format: double
30813091
date:
30823092
type: string
30833093
description: Date of usage

0 commit comments

Comments
 (0)