Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions src/libs/Ultravox/Generated/Ultravox.Models.APIKey.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,26 +58,26 @@ public sealed partial class APIKey
/// <summary>
/// Initializes a new instance of the <see cref="APIKey" /> class.
/// </summary>
/// <param name="prefix">
/// Included only in responses
/// </param>
/// <param name="created">
/// Included only in responses
/// </param>
/// <param name="creator">
/// Included only in responses
/// </param>
/// <param name="name">
/// A free-form name for the API key. Need not be unique. 50 characters max.<br/>
/// Included only in responses
/// </param>
/// <param name="expiryDate">
/// Once API key expires, clients cannot use it anymore.<br/>
/// Included only in responses
/// </param>
/// <param name="revoked">
/// If the API key is revoked, clients cannot use it anymore. (This cannot be undone.)
/// </param>
/// <param name="prefix">
/// Included only in responses
/// </param>
/// <param name="created">
/// Included only in responses
/// </param>
/// <param name="name">
/// A free-form name for the API key. Need not be unique. 50 characters max.<br/>
/// Included only in responses
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand Down
20 changes: 10 additions & 10 deletions src/libs/Ultravox/Generated/Ultravox.Models.APIKeyCreate.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,19 @@ public sealed partial class APIKeyCreate
/// <summary>
/// Initializes a new instance of the <see cref="APIKeyCreate" /> class.
/// </summary>
/// <param name="prefix">
/// <param name="name">
/// A free-form name for the API key. Need not be unique. 50 characters max.
/// </param>
/// <param name="creator">
/// Included only in responses
/// </param>
/// <param name="created">
/// <param name="expiryDate">
/// Once API key expires, clients cannot use it anymore.
/// </param>
/// <param name="prefix">
/// Included only in responses
/// </param>
/// <param name="creator">
/// <param name="created">
/// Included only in responses
/// </param>
/// <param name="secret">
Expand All @@ -83,12 +89,6 @@ public sealed partial class APIKeyCreate
/// If the API key is revoked, clients cannot use it anymore. (This cannot be undone.)<br/>
/// Included only in responses
/// </param>
/// <param name="name">
/// A free-form name for the API key. Need not be unique. 50 characters max.
/// </param>
/// <param name="expiryDate">
/// Once API key expires, clients cannot use it anymore.
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -101,12 +101,12 @@ public APIKeyCreate(
string secret = default!,
bool revoked = default!)
{
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Prefix = prefix;
this.Created = created;
this.Creator = creator;
this.Secret = secret;
this.Revoked = revoked;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.ExpiryDate = expiryDate;
}

Expand Down
44 changes: 22 additions & 22 deletions src/libs/Ultravox/Generated/Ultravox.Models.Account.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,23 +125,6 @@ public sealed partial class Account
/// <summary>
/// Initializes a new instance of the <see cref="Account" /> class.
/// </summary>
/// <param name="accountId">
/// Included only in responses
/// </param>
/// <param name="name">
/// Included only in responses
/// </param>
/// <param name="billingUrl">
/// Included only in responses
/// </param>
/// <param name="freeTimeUsed">
/// How much free time has been used by previous (or ongoing) calls.<br/>
/// Included only in responses
/// </param>
/// <param name="freeTimeRemaining">
/// How much free call time this account has remaining. (This could increase if an existing call ends without using its maximum duration or an unjoined call times out.)<br/>
/// Included only in responses
/// </param>
/// <param name="hasActiveSubscription">
/// Whether the account has an active subscription.
/// </param>
Expand All @@ -165,10 +148,6 @@ public sealed partial class Account
/// When this account's subscription renews, if applicable.<br/>
/// Included only in responses
/// </param>
/// <param name="activeCalls">
/// The number of active calls for this account.<br/>
/// Included only in responses
/// </param>
/// <param name="allowedConcurrentCalls">
/// The maximum number of concurrent calls allowed for this account.<br/>
/// Included only in responses
Expand All @@ -181,6 +160,27 @@ public sealed partial class Account
/// The maximum number of corpora allowed for this account.<br/>
/// Included only in responses
/// </param>
/// <param name="accountId">
/// Included only in responses
/// </param>
/// <param name="name">
/// Included only in responses
/// </param>
/// <param name="billingUrl">
/// Included only in responses
/// </param>
/// <param name="freeTimeUsed">
/// How much free time has been used by previous (or ongoing) calls.<br/>
/// Included only in responses
/// </param>
/// <param name="freeTimeRemaining">
/// How much free call time this account has remaining. (This could increase if an existing call ends without using its maximum duration or an unjoined call times out.)<br/>
/// Included only in responses
/// </param>
/// <param name="activeCalls">
/// The number of active calls for this account.<br/>
/// Included only in responses
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -201,12 +201,12 @@ public Account(
string freeTimeRemaining = default!,
int activeCalls = default!)
{
this.HasActiveSubscription = hasActiveSubscription;
this.AccountId = accountId;
this.Name = name;
this.BillingUrl = billingUrl;
this.FreeTimeUsed = freeTimeUsed;
this.FreeTimeRemaining = freeTimeRemaining;
this.HasActiveSubscription = hasActiveSubscription;
this.SubscriptionTier = subscriptionTier;
this.SubscriptionCadence = subscriptionCadence;
this.SubscriptionExpiration = subscriptionExpiration;
Expand Down
8 changes: 4 additions & 4 deletions src/libs/Ultravox/Generated/Ultravox.Models.Agent.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ public sealed partial class Agent
/// <summary>
/// Initializes a new instance of the <see cref="Agent" /> class.
/// </summary>
/// <param name="agentId">
/// Included only in responses
/// </param>
/// <param name="publishedRevisionId">
/// Included only in responses
/// </param>
/// <param name="name"></param>
/// <param name="callTemplate"></param>
/// <param name="agentId">
/// Included only in responses
/// </param>
/// <param name="created">
/// Included only in responses
/// </param>
/// <param name="callTemplate"></param>
/// <param name="statistics">
/// Included only in responses
/// </param>
Expand Down
68 changes: 34 additions & 34 deletions src/libs/Ultravox/Generated/Ultravox.Models.Call.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,16 +303,23 @@ public sealed partial class Call
/// <summary>
/// Initializes a new instance of the <see cref="Call" /> class.
/// </summary>
/// <param name="callId">
/// Included only in responses
/// <param name="firstSpeakerSettings">
/// Settings for the initial message to get the call started.
/// </param>
/// <param name="experimentalSettings">
/// Experimental settings for the call.
/// </param>
/// <param name="metadata">
/// Optional metadata key-value pairs to associate with the call. All values must be strings.
/// </param>
/// <param name="initialState">
/// The initial state of the call which is readable/writable by tools.
/// </param>
/// <param name="requestContext"></param>
/// <param name="clientVersion">
/// The version of the client that joined this call.<br/>
/// Included only in responses
/// </param>
/// <param name="created">
/// Included only in responses
/// </param>
/// <param name="joined">
/// Included only in responses
/// </param>
Expand All @@ -338,19 +345,9 @@ public sealed partial class Call
/// <param name="billedSideOutputTokens">
/// Included only in responses
/// </param>
/// <param name="billingStatus">
/// Included only in responses
/// </param>
/// <param name="firstSpeakerSettings">
/// Settings for the initial message to get the call started.
/// </param>
/// <param name="inactivityMessages">
/// Messages spoken by the agent when the user is inactive for the specified duration. Durations are cumulative, so a message m &gt; 1 with duration 30s will be spoken 30 seconds after message m-1.
/// </param>
/// <param name="initialOutputMedium">
/// The medium used initially by the agent. May later be changed by the client.<br/>
/// Included only in responses
/// </param>
/// <param name="joinTimeout">
/// Default Value: 30s
/// </param>
Expand Down Expand Up @@ -401,24 +398,10 @@ public sealed partial class Call
/// A summary of the call.<br/>
/// Included only in responses
/// </param>
/// <param name="agent">
/// The agent used for this call.<br/>
/// Included only in responses
/// </param>
/// <param name="agentId">
/// The ID of the agent used for this call.<br/>
/// Included only in responses
/// </param>
/// <param name="experimentalSettings">
/// Experimental settings for the call.
/// </param>
/// <param name="metadata">
/// Optional metadata key-value pairs to associate with the call. All values must be strings.
/// </param>
/// <param name="initialState">
/// The initial state of the call which is readable/writable by tools.
/// </param>
/// <param name="requestContext"></param>
/// <param name="dataConnectionConfig">
/// Settings for exchanging data messages with an additional participant.
/// </param>
Expand All @@ -429,6 +412,23 @@ public sealed partial class Call
/// SIP details for the call, if applicable.<br/>
/// Included only in responses
/// </param>
/// <param name="callId">
/// Included only in responses
/// </param>
/// <param name="created">
/// Included only in responses
/// </param>
/// <param name="billingStatus">
/// Included only in responses
/// </param>
/// <param name="initialOutputMedium">
/// The medium used initially by the agent. May later be changed by the client.<br/>
/// Included only in responses
/// </param>
/// <param name="agent">
/// The agent used for this call.<br/>
/// Included only in responses
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand Down Expand Up @@ -473,11 +473,6 @@ public Call(
global::Ultravox.InitialOutputMediumEnum initialOutputMedium = default!,
global::Ultravox.AgentBasic agent = default!)
{
this.FirstSpeakerSettings = firstSpeakerSettings ?? throw new global::System.ArgumentNullException(nameof(firstSpeakerSettings));
this.ExperimentalSettings = experimentalSettings ?? throw new global::System.ArgumentNullException(nameof(experimentalSettings));
this.Metadata = metadata ?? throw new global::System.ArgumentNullException(nameof(metadata));
this.InitialState = initialState ?? throw new global::System.ArgumentNullException(nameof(initialState));
this.RequestContext = requestContext ?? throw new global::System.ArgumentNullException(nameof(requestContext));
this.CallId = callId;
this.ClientVersion = clientVersion;
this.Created = created;
Expand All @@ -488,6 +483,7 @@ public Call(
this.BilledSideInputTokens = billedSideInputTokens;
this.BilledSideOutputTokens = billedSideOutputTokens;
this.BillingStatus = billingStatus;
this.FirstSpeakerSettings = firstSpeakerSettings ?? throw new global::System.ArgumentNullException(nameof(firstSpeakerSettings));
this.InactivityMessages = inactivityMessages;
this.InitialOutputMedium = initialOutputMedium;
this.JoinTimeout = joinTimeout;
Expand All @@ -509,6 +505,10 @@ public Call(
this.Summary = summary;
this.Agent = agent;
this.AgentId = agentId;
this.ExperimentalSettings = experimentalSettings ?? throw new global::System.ArgumentNullException(nameof(experimentalSettings));
this.Metadata = metadata ?? throw new global::System.ArgumentNullException(nameof(metadata));
this.InitialState = initialState ?? throw new global::System.ArgumentNullException(nameof(initialState));
this.RequestContext = requestContext ?? throw new global::System.ArgumentNullException(nameof(requestContext));
this.DataConnectionConfig = dataConnectionConfig;
this.Callbacks = callbacks;
this.SipDetails = sipDetails;
Expand Down
24 changes: 12 additions & 12 deletions src/libs/Ultravox/Generated/Ultravox.Models.CallEvent.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,9 @@ public sealed partial class CallEvent
/// <summary>
/// Initializes a new instance of the <see cref="CallEvent" /> class.
/// </summary>
/// <param name="callId">
/// Included only in responses
/// </param>
/// <param name="callStageId">
/// Included only in responses
/// </param>
/// <param name="callTimestamp">
/// The timestamp of the event, relative to call start.
/// </param>
/// <param name="severity">
/// Included only in responses
/// </param>
/// <param name="type">
/// The type of the event.
/// </param>
Expand All @@ -94,6 +85,15 @@ public sealed partial class CallEvent
/// <param name="wallClockTimestamp">
/// The wall clock timestamp of the event, relative to call start.
/// </param>
/// <param name="callId">
/// Included only in responses
/// </param>
/// <param name="callStageId">
/// Included only in responses
/// </param>
/// <param name="severity">
/// Included only in responses
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -107,12 +107,12 @@ public CallEvent(
global::System.Guid callStageId = default!,
global::Ultravox.SeverityEnum severity = default!)
{
this.CallTimestamp = callTimestamp ?? throw new global::System.ArgumentNullException(nameof(callTimestamp));
this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.CallId = callId;
this.CallStageId = callStageId;
this.CallTimestamp = callTimestamp ?? throw new global::System.ArgumentNullException(nameof(callTimestamp));
this.Severity = severity;
this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.Extras = extras;
this.WallClockTimestamp = wallClockTimestamp;
}
Expand Down
Loading