diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.APIKey.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.APIKey.g.cs index 741178f..ac54e1e 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.APIKey.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.APIKey.g.cs @@ -58,19 +58,9 @@ public sealed partial class APIKey /// /// Initializes a new instance of the class. /// - /// - /// Included only in responses - /// - /// - /// Included only in responses - /// /// /// Included only in responses /// - /// - /// A free-form name for the API key. Need not be unique. 50 characters max.
- /// Included only in responses - /// /// /// Once API key expires, clients cannot use it anymore.
/// Included only in responses @@ -78,6 +68,16 @@ public sealed partial class APIKey /// /// If the API key is revoked, clients cannot use it anymore. (This cannot be undone.) /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// + /// + /// A free-form name for the API key. Need not be unique. 50 characters max.
+ /// Included only in responses + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.APIKeyCreate.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.APIKeyCreate.g.cs index df6723b..2558c5d 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.APIKeyCreate.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.APIKeyCreate.g.cs @@ -66,13 +66,19 @@ public sealed partial class APIKeyCreate /// /// Initializes a new instance of the class. /// - /// + /// + /// A free-form name for the API key. Need not be unique. 50 characters max. + /// + /// /// Included only in responses /// - /// + /// + /// Once API key expires, clients cannot use it anymore. + /// + /// /// Included only in responses /// - /// + /// /// Included only in responses /// /// @@ -83,12 +89,6 @@ public sealed partial class APIKeyCreate /// If the API key is revoked, clients cannot use it anymore. (This cannot be undone.)
/// Included only in responses /// - /// - /// A free-form name for the API key. Need not be unique. 50 characters max. - /// - /// - /// Once API key expires, clients cannot use it anymore. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -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; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.Account.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.Account.g.cs index db0c1cb..52938c4 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.Account.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.Account.g.cs @@ -125,23 +125,6 @@ public sealed partial class Account /// /// Initializes a new instance of the class. /// - /// - /// Included only in responses - /// - /// - /// Included only in responses - /// - /// - /// Included only in responses - /// - /// - /// How much free time has been used by previous (or ongoing) calls.
- /// Included only in responses - /// - /// - /// 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.)
- /// Included only in responses - /// /// /// Whether the account has an active subscription. /// @@ -165,10 +148,6 @@ public sealed partial class Account /// When this account's subscription renews, if applicable.
/// Included only in responses /// - /// - /// The number of active calls for this account.
- /// Included only in responses - /// /// /// The maximum number of concurrent calls allowed for this account.
/// Included only in responses @@ -181,6 +160,27 @@ public sealed partial class Account /// The maximum number of corpora allowed for this account.
/// Included only in responses /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// + /// + /// How much free time has been used by previous (or ongoing) calls.
+ /// Included only in responses + /// + /// + /// 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.)
+ /// Included only in responses + /// + /// + /// The number of active calls for this account.
+ /// Included only in responses + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -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; diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.Agent.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.Agent.g.cs index b678f31..4e5fbf2 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.Agent.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.Agent.g.cs @@ -56,17 +56,17 @@ public sealed partial class Agent /// /// Initializes a new instance of the class. /// - /// - /// Included only in responses - /// /// /// Included only in responses /// /// + /// + /// + /// Included only in responses + /// /// /// Included only in responses /// - /// /// /// Included only in responses /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.Call.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.Call.g.cs index e62b87c..2f7b465 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.Call.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.Call.g.cs @@ -303,16 +303,23 @@ public sealed partial class Call /// /// Initializes a new instance of the class. /// - /// - /// Included only in responses + /// + /// Settings for the initial message to get the call started. /// + /// + /// Experimental settings for the call. + /// + /// + /// Optional metadata key-value pairs to associate with the call. All values must be strings. + /// + /// + /// The initial state of the call which is readable/writable by tools. + /// + /// /// /// The version of the client that joined this call.
/// Included only in responses /// - /// - /// Included only in responses - /// /// /// Included only in responses /// @@ -338,19 +345,9 @@ public sealed partial class Call /// /// Included only in responses /// - /// - /// Included only in responses - /// - /// - /// Settings for the initial message to get the call started. - /// /// /// Messages spoken by the agent when the user is inactive for the specified duration. Durations are cumulative, so a message m > 1 with duration 30s will be spoken 30 seconds after message m-1. /// - /// - /// The medium used initially by the agent. May later be changed by the client.
- /// Included only in responses - /// /// /// Default Value: 30s /// @@ -401,24 +398,10 @@ public sealed partial class Call /// A summary of the call.
/// Included only in responses /// - /// - /// The agent used for this call.
- /// Included only in responses - /// /// /// The ID of the agent used for this call.
/// Included only in responses /// - /// - /// Experimental settings for the call. - /// - /// - /// Optional metadata key-value pairs to associate with the call. All values must be strings. - /// - /// - /// The initial state of the call which is readable/writable by tools. - /// - /// /// /// Settings for exchanging data messages with an additional participant. /// @@ -429,6 +412,23 @@ public sealed partial class Call /// SIP details for the call, if applicable.
/// Included only in responses /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// + /// + /// The medium used initially by the agent. May later be changed by the client.
+ /// Included only in responses + /// + /// + /// The agent used for this call.
+ /// Included only in responses + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -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; @@ -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; @@ -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; diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.CallEvent.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.CallEvent.g.cs index 0417642..afebdc7 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.CallEvent.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.CallEvent.g.cs @@ -72,18 +72,9 @@ public sealed partial class CallEvent /// /// Initializes a new instance of the class. /// - /// - /// Included only in responses - /// - /// - /// Included only in responses - /// /// /// The timestamp of the event, relative to call start. /// - /// - /// Included only in responses - /// /// /// The type of the event. /// @@ -94,6 +85,15 @@ public sealed partial class CallEvent /// /// The wall clock timestamp of the event, relative to call start. /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -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; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.CallStage.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.CallStage.g.cs index 4321574..592afb6 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.CallStage.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.CallStage.g.cs @@ -132,14 +132,8 @@ public sealed partial class CallStage /// /// Initializes a new instance of the class. /// - /// - /// Included only in responses - /// - /// - /// Included only in responses - /// - /// - /// Included only in responses + /// + /// The initial state of the call stage which is readable/writable by tools. /// /// /// Messages spoken by the agent when the user is inactive for the specified duration. Durations are cumulative, so a message m > 1 with duration 30s will be spoken 30 seconds after message m-1. @@ -157,9 +151,6 @@ public sealed partial class CallStage /// /// /// - /// - /// Included only in responses - /// /// /// /// @@ -171,16 +162,25 @@ public sealed partial class CallStage /// /// Overrides for the selected voice. /// - /// - /// The number of errors in this call stage.
- /// Included only in responses - /// /// /// Experimental settings for this call stage.
/// Included only in responses /// - /// - /// The initial state of the call stage which is readable/writable by tools. + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// + /// + /// The number of errors in this call stage.
+ /// Included only in responses /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -204,7 +204,6 @@ public CallStage( double temperature = default!, int errorCount = default!) { - this.InitialState = initialState ?? throw new global::System.ArgumentNullException(nameof(initialState)); this.CallId = callId; this.CallStageId = callStageId; this.Created = created; @@ -221,6 +220,7 @@ public CallStage( this.VoiceOverrides = voiceOverrides; this.ErrorCount = errorCount; this.ExperimentalSettings = experimentalSettings; + this.InitialState = initialState ?? throw new global::System.ArgumentNullException(nameof(initialState)); } /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.CallTombstone.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.CallTombstone.g.cs index a313eb8..8b35356 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.CallTombstone.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.CallTombstone.g.cs @@ -91,16 +91,7 @@ public sealed partial class CallTombstone /// /// Initializes a new instance of the class. /// - /// - /// Included only in responses - /// - /// - /// Included only in responses - /// /// - /// - /// Included only in responses - /// /// /// /// @@ -116,6 +107,15 @@ public sealed partial class CallTombstone /// * `system_error` - System error
/// Included only in responses /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// /// /// Included only in responses /// @@ -137,9 +137,9 @@ public CallTombstone( bool recordingEnabled = default!, bool hadSummary = default!) { - this.Created = created; this.CallId = callId; this.AccountId = accountId; + this.Created = created; this.DeletionTime = deletionTime; this.Joined = joined; this.Ended = ended; diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.CallTool.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.CallTool.g.cs index 24034ff..45b9d71 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.CallTool.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.CallTool.g.cs @@ -45,19 +45,19 @@ public sealed partial class CallTool /// /// Initializes a new instance of the class. /// - /// - /// Included only in responses + /// + /// A tool as used for a particular call (omitting auth details). /// /// /// Included only in responses /// + /// + /// Included only in responses + /// /// /// The possibly overridden name of the tool.
/// Included only in responses /// - /// - /// A tool as used for a particular call (omitting auth details). - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,10 +67,10 @@ public CallTool( global::System.Guid callToolId = default!, string name = default!) { - this.Definition = definition ?? throw new global::System.ArgumentNullException(nameof(definition)); this.CallToolId = callToolId; this.ToolId = toolId; this.Name = name; + this.Definition = definition ?? throw new global::System.ArgumentNullException(nameof(definition)); } /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.Invoice.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.Invoice.g.cs index 7e628af..be716f0 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.Invoice.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.Invoice.g.cs @@ -62,6 +62,7 @@ public sealed partial class Invoice /// /// Initializes a new instance of the class. /// + /// /// /// When the invoice became effective.
/// Included only in responses @@ -78,7 +79,6 @@ public sealed partial class Invoice /// /// Included only in responses /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -90,12 +90,12 @@ public Invoice( string invoiceNumber = default!, global::Ultravox.InvoiceStatusEnum invoiceStatus = default!) { - this.InvoiceUrl = invoiceUrl ?? throw new global::System.ArgumentNullException(nameof(invoiceUrl)); this.InvoiceDate = invoiceDate; this.Amount = amount; this.BillingReason = billingReason; this.InvoiceNumber = invoiceNumber; this.InvoiceStatus = invoiceStatus; + this.InvoiceUrl = invoiceUrl ?? throw new global::System.ArgumentNullException(nameof(invoiceUrl)); } /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedAPIKeyList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedAPIKeyList.g.cs index a152af6..2452c5c 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedAPIKeyList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedAPIKeyList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedAPIKeyList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedAPIKeyList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedAgentList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedAgentList.g.cs index 1d2a9ba..c28ed98 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedAgentList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedAgentList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedAgentList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedAgentList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallEventList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallEventList.g.cs index e9d35e1..887ae6d 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallEventList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallEventList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedCallEventList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedCallEventList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallList.g.cs index 6ba80dc..f9123f4 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedCallList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedCallList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallStageList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallStageList.g.cs index f9c5d03..9281c2d 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallStageList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallStageList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedCallStageList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedCallStageList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallTombstoneList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallTombstoneList.g.cs index 3e048a6..bd4fed2 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallTombstoneList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedCallTombstoneList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedCallTombstoneList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedCallTombstoneList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedModelAliasList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedModelAliasList.g.cs index eeea0bf..341a6d4 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedModelAliasList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedModelAliasList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedModelAliasList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedModelAliasList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedScheduledCallBatchList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedScheduledCallBatchList.g.cs index 5d6807b..0794742 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedScheduledCallBatchList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedScheduledCallBatchList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedScheduledCallBatchList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedScheduledCallBatchList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedScheduledCallList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedScheduledCallList.g.cs index 0e3e26e..9d36833 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedScheduledCallList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedScheduledCallList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedScheduledCallList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedScheduledCallList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedSipRegistrationList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedSipRegistrationList.g.cs index 92e801f..3f0f9e5 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedSipRegistrationList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedSipRegistrationList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedSipRegistrationList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedSipRegistrationList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedToolHistoryList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedToolHistoryList.g.cs index ad2846e..e98b097 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedToolHistoryList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedToolHistoryList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedToolHistoryList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedToolHistoryList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedToolList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedToolList.g.cs index ed6f9db..6670473 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedToolList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedToolList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedToolList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedToolList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedVoiceList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedVoiceList.g.cs index 7c62134..8e29edf 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedVoiceList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedVoiceList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedVoiceList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedVoiceList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedWebhookList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedWebhookList.g.cs index e2bdac8..29fcb2c 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedWebhookList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedWebhookList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedWebhookList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedWebhookList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1CorpusDocumentList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1CorpusDocumentList.g.cs index 59981ec..7690ed3 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1CorpusDocumentList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1CorpusDocumentList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedultravoxV1CorpusDocumentList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedultravoxV1CorpusDocumentList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1CorpusList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1CorpusList.g.cs index 39a3e2e..8cff49d 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1CorpusList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1CorpusList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedultravoxV1CorpusList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedultravoxV1CorpusList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1CorpusSourceList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1CorpusSourceList.g.cs index f36f805..66bc861 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1CorpusSourceList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1CorpusSourceList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedultravoxV1CorpusSourceList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedultravoxV1CorpusSourceList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1MessageList.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1MessageList.g.cs index df64d30..f7fc471 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1MessageList.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PaginatedultravoxV1MessageList.g.cs @@ -45,13 +45,13 @@ public sealed partial class PaginatedultravoxV1MessageList /// /// Initializes a new instance of the class. /// + /// /// /// Example: http://api.example.org/accounts/?cursor=cD00ODY%3D" /// /// /// Example: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3 /// - /// /// /// Example: 123 /// @@ -64,9 +64,9 @@ public PaginatedultravoxV1MessageList( string? previous, int? total) { - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Next = next; this.Previous = previous; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Total = total; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.PlivoConfig.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.PlivoConfig.g.cs index 11eaf11..5127f39 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.PlivoConfig.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.PlivoConfig.g.cs @@ -58,6 +58,9 @@ public sealed partial class PlivoConfig /// /// Initializes a new instance of the class. /// + /// + /// Your Plivo Auth ID. + /// /// /// List of agents for whom calls may be directly created by this telephony provider to facilitate incoming calls. May not be set if callCreationAllowAllAgents is true. /// @@ -68,9 +71,6 @@ public sealed partial class PlivoConfig /// /// Maps (dot separated) request fields to (dot separated) context fields for incoming call creation. /// - /// - /// Your Plivo Auth ID. - /// /// /// Your Plivo Auth Token.
/// Included only in requests @@ -90,10 +90,10 @@ public PlivoConfig( string? authToken, global::Ultravox.KeyPrefix authTokenPrefix = default!) { - this.AuthId = authId ?? throw new global::System.ArgumentNullException(nameof(authId)); this.CallCreationAllowedAgentIds = callCreationAllowedAgentIds; this.CallCreationAllowAllAgents = callCreationAllowAllAgents; this.RequestContextMapping = requestContextMapping; + this.AuthId = authId ?? throw new global::System.ArgumentNullException(nameof(authId)); this.AuthToken = authToken; this.AuthTokenPrefix = authTokenPrefix; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.ScheduledCall.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.ScheduledCall.g.cs index a73f734..b057db3 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.ScheduledCall.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.ScheduledCall.g.cs @@ -68,12 +68,6 @@ public sealed partial class ScheduledCall /// /// Initializes a new instance of the class. /// - /// - /// Included only in responses - /// - /// - /// Included only in responses - /// /// /// Included only in responses /// @@ -90,6 +84,12 @@ public sealed partial class ScheduledCall /// The context used to render the agent's template. /// /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.ScheduledCallBatch.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.ScheduledCallBatch.g.cs index aca2296..3208c77 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.ScheduledCallBatch.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.ScheduledCallBatch.g.cs @@ -89,12 +89,6 @@ public sealed partial class ScheduledCallBatch /// /// Initializes a new instance of the class. /// - /// - /// Included only in responses - /// - /// - /// Included only in responses - /// /// /// The start of the time window during which calls can be made. /// @@ -108,6 +102,18 @@ public sealed partial class ScheduledCallBatch /// The signing secret for requests made to the webhookUrl. This is used to verify that the request came from Ultravox. If unset, an appropriate secret will be chosen for you (but you'll still need to make your endpoint aware of it to verify requests). /// /// + /// + /// Included only in responses + /// + /// + /// Included only in requests + /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// /// /// The total number of calls in this batch.
/// Included only in responses @@ -116,12 +122,6 @@ public sealed partial class ScheduledCallBatch /// The number of calls in this batch that have been completed (created or error).
/// Included only in responses /// - /// - /// Included only in responses - /// - /// - /// Included only in requests - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.SipConfig.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.SipConfig.g.cs index 3f94550..7683914 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.SipConfig.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.SipConfig.g.cs @@ -45,6 +45,9 @@ public sealed partial class SipConfig /// /// Initializes a new instance of the class. /// + /// + /// Calls must match a pattern for one of these agents (or the global agent pattern if allowAllAgents is true) to be accepted. + /// /// /// The list of IPv4 CIDR ranges from which incoming SIP calls will be accepted. /// @@ -52,9 +55,6 @@ public sealed partial class SipConfig /// If true, adds an implicit allowance for requests matching agent_<agent_id>@<anydomain> for any of your agents.
/// Default Value: false /// - /// - /// Calls must match a pattern for one of these agents (or the global agent pattern if allowAllAgents is true) to be accepted. - /// /// /// The domain used for SIP invites for your account.
/// Included only in responses @@ -68,9 +68,9 @@ public SipConfig( bool? allowAllAgents, string domain = default!) { - this.AllowedAgents = allowedAgents ?? throw new global::System.ArgumentNullException(nameof(allowedAgents)); this.AllowedCidrRanges = allowedCidrRanges; this.AllowAllAgents = allowAllAgents; + this.AllowedAgents = allowedAgents ?? throw new global::System.ArgumentNullException(nameof(allowedAgents)); this.Domain = domain; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.SipRegistration.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.SipRegistration.g.cs index 0bb1530..e3f5745 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.SipRegistration.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.SipRegistration.g.cs @@ -71,22 +71,16 @@ public sealed partial class SipRegistration /// /// Initializes a new instance of the class. /// - /// - /// Included only in responses - /// - /// - /// Included only in responses - /// /// /// The SIP username to register as. /// + /// + /// The SIP server to register with. + /// /// /// The SIP password for username.
/// Included only in requests /// - /// - /// The SIP server to register with. - /// /// /// A proxy used to reach your SIP server for registration. Most often unset, but may be used if you need to register as `alice@trunk.com` using `proxy.trunk.com` for example. /// @@ -97,6 +91,12 @@ public sealed partial class SipRegistration /// Whether the registration was successfully created and is now active. May be null if status is not available yet.
/// Included only in responses /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -110,11 +110,11 @@ public SipRegistration( string registrationId = default!, global::System.DateTime created = default!) { - this.Username = username ?? throw new global::System.ArgumentNullException(nameof(username)); - this.Proxy = proxy ?? throw new global::System.ArgumentNullException(nameof(proxy)); this.RegistrationId = registrationId; this.Created = created; + this.Username = username ?? throw new global::System.ArgumentNullException(nameof(username)); this.Password = password; + this.Proxy = proxy ?? throw new global::System.ArgumentNullException(nameof(proxy)); this.OutboundProxy = outboundProxy; this.AuthUser = authUser; this.Successful = successful; diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.TelnyxConfig.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.TelnyxConfig.g.cs index 45f29b6..6def5db 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.TelnyxConfig.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.TelnyxConfig.g.cs @@ -80,6 +80,12 @@ public sealed partial class TelnyxConfig /// /// Initializes a new instance of the class. /// + /// + /// Your Telnyx Account SID. See https://portal.telnyx.com/#/account/general + /// + /// + /// Your Telnyx Application SID. This must be configured with an Outbound Voice Profile that allows calls to your destination. See https://portal.telnyx.com/#/call-control/texml + /// /// /// List of agents for whom calls may be directly created by this telephony provider to facilitate incoming calls. May not be set if callCreationAllowAllAgents is true. /// @@ -90,28 +96,22 @@ public sealed partial class TelnyxConfig /// /// Maps (dot separated) request fields to (dot separated) context fields for incoming call creation. /// - /// - /// Your Telnyx Account SID. See https://portal.telnyx.com/#/account/general - /// /// /// Your Telnyx API Key. See https://portal.telnyx.com/#/api-keys
/// Included only in requests /// - /// - /// The prefix of your Telnyx API Key.
- /// Included only in responses - /// /// /// Your Telnyx Public Key. See https://portal.telnyx.com/#/api-keys/public-key
/// Included only in requests /// + /// + /// The prefix of your Telnyx API Key.
+ /// Included only in responses + /// /// /// The prefix of your Telnyx Public Key.
/// Included only in responses /// - /// - /// Your Telnyx Application SID. This must be configured with an Outbound Voice Profile that allows calls to your destination. See https://portal.telnyx.com/#/call-control/texml - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -126,15 +126,15 @@ public TelnyxConfig( global::Ultravox.KeyPrefix apiKeyPrefix = default!, global::Ultravox.KeyPrefix publicKeyPrefix = default!) { - this.AccountSid = accountSid ?? throw new global::System.ArgumentNullException(nameof(accountSid)); - this.ApplicationSid = applicationSid ?? throw new global::System.ArgumentNullException(nameof(applicationSid)); this.CallCreationAllowedAgentIds = callCreationAllowedAgentIds; this.CallCreationAllowAllAgents = callCreationAllowAllAgents; this.RequestContextMapping = requestContextMapping; + this.AccountSid = accountSid ?? throw new global::System.ArgumentNullException(nameof(accountSid)); this.ApiKey = apiKey; this.ApiKeyPrefix = apiKeyPrefix; this.PublicKey = publicKey; this.PublicKeyPrefix = publicKeyPrefix; + this.ApplicationSid = applicationSid ?? throw new global::System.ArgumentNullException(nameof(applicationSid)); } /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.Tool.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.Tool.g.cs index 2685508..4af9f45 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.Tool.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.Tool.g.cs @@ -54,17 +54,17 @@ public sealed partial class Tool /// /// Initializes a new instance of the class. /// + /// + /// + /// The base definition of a tool that can be used during a call. Exactly one
+ /// implementation (http or client) should be set. + /// /// /// Included only in responses /// - /// /// /// Included only in responses /// - /// - /// The base definition of a tool that can be used during a call. Exactly one
- /// implementation (http or client) should be set. - /// /// /// Included only in responses /// @@ -78,10 +78,10 @@ public Tool( global::System.DateTime created = default!, global::Ultravox.OwnershipEnum ownership = default!) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.Definition = definition ?? throw new global::System.ArgumentNullException(nameof(definition)); this.ToolId = toolId; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Created = created; + this.Definition = definition ?? throw new global::System.ArgumentNullException(nameof(definition)); this.Ownership = ownership; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.TwilioConfig.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.TwilioConfig.g.cs index 8fd59b0..3b0e549 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.TwilioConfig.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.TwilioConfig.g.cs @@ -58,6 +58,9 @@ public sealed partial class TwilioConfig /// /// Initializes a new instance of the class. /// + /// + /// Your Twilio Account SID. + /// /// /// List of agents for whom calls may be directly created by this telephony provider to facilitate incoming calls. May not be set if callCreationAllowAllAgents is true. /// @@ -68,9 +71,6 @@ public sealed partial class TwilioConfig /// /// Maps (dot separated) request fields to (dot separated) context fields for incoming call creation. /// - /// - /// Your Twilio Account SID. - /// /// /// Your Twilio Auth Token.
/// Included only in requests @@ -90,10 +90,10 @@ public TwilioConfig( string? authToken, global::Ultravox.KeyPrefix authTokenPrefix = default!) { - this.AccountSid = accountSid ?? throw new global::System.ArgumentNullException(nameof(accountSid)); this.CallCreationAllowedAgentIds = callCreationAllowedAgentIds; this.CallCreationAllowAllAgents = callCreationAllowAllAgents; this.RequestContextMapping = requestContextMapping; + this.AccountSid = accountSid ?? throw new global::System.ArgumentNullException(nameof(accountSid)); this.AuthToken = authToken; this.AuthTokenPrefix = authTokenPrefix; } diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.Voice.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.Voice.g.cs index a08810c..83c88eb 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.Voice.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.Voice.g.cs @@ -92,10 +92,13 @@ public sealed partial class Voice /// /// Initializes a new instance of the class. /// - /// - /// Included only in responses - /// /// + /// + /// A voice not known to Ultravox Realtime that can nonetheless be used for a call.
+ /// Such voices are significantly less validated than normal voices and you'll be
+ /// responsible for your own TTS-related errors.
+ /// Exactly one field must be set. + /// /// /// /// BCP47 language code for the primary language supported by this voice. @@ -104,6 +107,12 @@ public sealed partial class Voice /// Human-readable language label with flag emoji and English name (e.g., '🇺🇸 English (United States)').
/// Included only in responses /// + /// + /// Included only in responses + /// + /// + /// Included only in responses + /// /// /// Included only in responses /// @@ -116,15 +125,6 @@ public sealed partial class Voice /// VOICE_BILLING_STYLE_EXTERNAL - This voice requires an API key for its provider, who will bill for usage separately.
/// Included only in responses /// - /// - /// Included only in responses - /// - /// - /// A voice not known to Ultravox Realtime that can nonetheless be used for a call.
- /// Such voices are significantly less validated than normal voices and you'll be
- /// responsible for your own TTS-related errors.
- /// Exactly one field must be set. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -140,9 +140,8 @@ public Voice( global::Ultravox.OwnershipEnum ownership = default!, global::Ultravox.BillingStyleEnum billingStyle = default!) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.Definition = definition ?? throw new global::System.ArgumentNullException(nameof(definition)); this.VoiceId = voiceId; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description; this.PrimaryLanguage = primaryLanguage; this.LanguageLabel = languageLabel; @@ -150,6 +149,7 @@ public Voice( this.Ownership = ownership; this.BillingStyle = billingStyle; this.Provider = provider; + this.Definition = definition ?? throw new global::System.ArgumentNullException(nameof(definition)); } /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Models.Webhook.g.cs b/src/libs/Ultravox/Generated/Ultravox.Models.Webhook.g.cs index 883e9fb..5b8d7ad 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Models.Webhook.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Models.Webhook.g.cs @@ -79,22 +79,22 @@ public sealed partial class Webhook /// /// Initializes a new instance of the class. /// - /// - /// Included only in responses - /// + /// + /// /// /// If set, this webhook will be limited to calls with this agent. /// - /// + /// + /// /// Included only in responses /// - /// - /// - /// - /// + /// /// Included only in responses /// - /// + /// + /// Included only in responses + /// + /// /// Included only in responses /// /// @@ -115,12 +115,12 @@ public Webhook( global::Ultravox.WebhookStatusEnum status = default!, global::System.Collections.Generic.IList recentFailures = default!) { - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); - this.Events = events ?? throw new global::System.ArgumentNullException(nameof(events)); this.WebhookId = webhookId; this.AgentId = agentId; this.Created = created; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Secrets = secrets; + this.Events = events ?? throw new global::System.ArgumentNullException(nameof(events)); this.Status = status; this.LastStatusChange = lastStatusChange; this.RecentFailures = recentFailures; diff --git a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.CallStartedPayload.g.cs b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.CallStartedPayload.g.cs index bb14266..cafd8aa 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.CallStartedPayload.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.CallStartedPayload.g.cs @@ -31,10 +31,10 @@ public sealed partial class CallStartedPayload /// /// Initializes a new instance of the class. /// - /// /// /// Unique call identifier. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public CallStartedPayload( string callId, global::Ultravox.Realtime.CallStartedPayloadType type) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Type = type; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); } /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.ClientToolInvocationPayload.g.cs b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.ClientToolInvocationPayload.g.cs index fcd462e..abff613 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.ClientToolInvocationPayload.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.ClientToolInvocationPayload.g.cs @@ -45,7 +45,6 @@ public sealed partial class ClientToolInvocationPayload /// /// Initializes a new instance of the class. /// - /// /// /// Name of the tool to execute. /// @@ -55,6 +54,7 @@ public sealed partial class ClientToolInvocationPayload /// /// Tool parameters. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -64,10 +64,10 @@ public ClientToolInvocationPayload( object parameters, global::Ultravox.Realtime.ClientToolInvocationPayloadType type) { + this.Type = type; this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); this.InvocationId = invocationId ?? throw new global::System.ArgumentNullException(nameof(invocationId)); this.Parameters = parameters ?? throw new global::System.ArgumentNullException(nameof(parameters)); - this.Type = type; } /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.ClientToolResultPayload.g.cs b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.ClientToolResultPayload.g.cs index 616c0a1..f5f455a 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.ClientToolResultPayload.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.ClientToolResultPayload.g.cs @@ -64,10 +64,10 @@ public sealed partial class ClientToolResultPayload /// /// Initializes a new instance of the class. /// - /// /// /// ID matching the tool invocation request. /// + /// /// /// Tool execution result. /// @@ -95,8 +95,8 @@ public ClientToolResultPayload( global::Ultravox.Realtime.ClientToolResultPayloadErrorType? errorType, string? errorMessage) { - this.InvocationId = invocationId ?? throw new global::System.ArgumentNullException(nameof(invocationId)); this.Type = type; + this.InvocationId = invocationId ?? throw new global::System.ArgumentNullException(nameof(invocationId)); this.Result = result; this.ResponseType = responseType; this.AgentReaction = agentReaction; diff --git a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.DebugPayload.g.cs b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.DebugPayload.g.cs index 9b5c915..441ea36 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.DebugPayload.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.DebugPayload.g.cs @@ -31,10 +31,10 @@ public sealed partial class DebugPayload /// /// Initializes a new instance of the class. /// - /// /// /// Debug message content. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public DebugPayload( string message, global::Ultravox.Realtime.DebugPayloadType type) { - this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); this.Type = type; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); } /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.PingPayload.g.cs b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.PingPayload.g.cs index 9fcd8a5..b997224 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.PingPayload.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.PingPayload.g.cs @@ -31,10 +31,10 @@ public sealed partial class PingPayload /// /// Initializes a new instance of the class. /// - /// /// /// Unix timestamp with millisecond precision. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public PingPayload( double timestamp, global::Ultravox.Realtime.PingPayloadType type) { - this.Timestamp = timestamp; this.Type = type; + this.Timestamp = timestamp; } /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.PongPayload.g.cs b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.PongPayload.g.cs index e3a698a..0534042 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.PongPayload.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.PongPayload.g.cs @@ -31,10 +31,10 @@ public sealed partial class PongPayload /// /// Initializes a new instance of the class. /// - /// /// /// Echoed timestamp from the ping. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public PongPayload( double timestamp, global::Ultravox.Realtime.PongPayloadType type) { - this.Timestamp = timestamp; this.Type = type; + this.Timestamp = timestamp; } /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.SetOutputMediumPayload.g.cs b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.SetOutputMediumPayload.g.cs index a3ee15d..c9965fa 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.SetOutputMediumPayload.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.SetOutputMediumPayload.g.cs @@ -32,10 +32,10 @@ public sealed partial class SetOutputMediumPayload /// /// Initializes a new instance of the class. /// - /// /// /// Output medium: voice or text. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -43,8 +43,8 @@ public SetOutputMediumPayload( global::Ultravox.Realtime.SetOutputMediumPayloadMedium medium, global::Ultravox.Realtime.SetOutputMediumPayloadType type) { - this.Medium = medium; this.Type = type; + this.Medium = medium; } /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.StatePayload.g.cs b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.StatePayload.g.cs index 2359d77..6b7413b 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.StatePayload.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.StatePayload.g.cs @@ -32,10 +32,10 @@ public sealed partial class StatePayload /// /// Initializes a new instance of the class. /// - /// /// /// Current agent state. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -43,8 +43,8 @@ public StatePayload( global::Ultravox.Realtime.StatePayloadState state, global::Ultravox.Realtime.StatePayloadType type) { - this.State = state; this.Type = type; + this.State = state; } /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.TranscriptPayload.g.cs b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.TranscriptPayload.g.cs index 4a4952b..2690a77 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.TranscriptPayload.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.TranscriptPayload.g.cs @@ -65,10 +65,16 @@ public sealed partial class TranscriptPayload /// /// Initializes a new instance of the class. /// - /// /// /// Speaker role. /// + /// + /// Whether more updates are expected for this utterance. + /// + /// + /// Message ordering index. + /// + /// /// /// Medium of the transcript. /// @@ -78,12 +84,6 @@ public sealed partial class TranscriptPayload /// /// Incremental transcript text (mutually exclusive with text). /// - /// - /// Whether more updates are expected for this utterance. - /// - /// - /// Message ordering index. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -96,13 +96,13 @@ public TranscriptPayload( string? text, string? delta) { - this.Role = role; - this.Final = final; - this.Ordinal = ordinal; this.Type = type; + this.Role = role; this.Medium = medium; this.Text = text; this.Delta = delta; + this.Final = final; + this.Ordinal = ordinal; } /// diff --git a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.UserTextMessagePayload.g.cs b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.UserTextMessagePayload.g.cs index 0e444f0..0542ebd 100644 --- a/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.UserTextMessagePayload.g.cs +++ b/src/libs/Ultravox/Generated/Ultravox.Realtime.Models.UserTextMessagePayload.g.cs @@ -38,10 +38,10 @@ public sealed partial class UserTextMessagePayload /// /// Initializes a new instance of the class. /// - /// /// /// The text message. /// + /// /// /// How urgently the agent should respond. /// @@ -53,8 +53,8 @@ public UserTextMessagePayload( global::Ultravox.Realtime.UserTextMessagePayloadType type, global::Ultravox.Realtime.UserTextMessagePayloadUrgency? urgency) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Urgency = urgency; }