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
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ public enum AgentsScheduledBatchesScheduledCallsListStatus
/// <summary>
///
/// </summary>
Future,
Error,
/// <summary>
///
/// </summary>
Pending,
Expired,
/// <summary>
///
/// </summary>
Success,
Future,
/// <summary>
///
/// </summary>
Expired,
Pending,
/// <summary>
///
/// </summary>
Error,
Success,
}

/// <summary>
Expand All @@ -42,11 +42,11 @@ public static string ToValueString(this AgentsScheduledBatchesScheduledCallsList
{
return value switch
{
AgentsScheduledBatchesScheduledCallsListStatus.Error => "ERROR",
AgentsScheduledBatchesScheduledCallsListStatus.Expired => "EXPIRED",
AgentsScheduledBatchesScheduledCallsListStatus.Future => "FUTURE",
AgentsScheduledBatchesScheduledCallsListStatus.Pending => "PENDING",
AgentsScheduledBatchesScheduledCallsListStatus.Success => "SUCCESS",
AgentsScheduledBatchesScheduledCallsListStatus.Expired => "EXPIRED",
AgentsScheduledBatchesScheduledCallsListStatus.Error => "ERROR",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -57,11 +57,11 @@ public static string ToValueString(this AgentsScheduledBatchesScheduledCallsList
{
return value switch
{
"ERROR" => AgentsScheduledBatchesScheduledCallsListStatus.Error,
"EXPIRED" => AgentsScheduledBatchesScheduledCallsListStatus.Expired,
"FUTURE" => AgentsScheduledBatchesScheduledCallsListStatus.Future,
"PENDING" => AgentsScheduledBatchesScheduledCallsListStatus.Pending,
"SUCCESS" => AgentsScheduledBatchesScheduledCallsListStatus.Success,
"EXPIRED" => AgentsScheduledBatchesScheduledCallsListStatus.Expired,
"ERROR" => AgentsScheduledBatchesScheduledCallsListStatus.Error,
_ => null,
};
}
Expand Down
34 changes: 17 additions & 17 deletions src/libs/Ultravox/Generated/Ultravox.Models.BillingStatusEnum.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,33 @@ namespace Ultravox
public enum BillingStatusEnum
{
/// <summary>
/// Calls created before May 28, 2025 may have this status even if they were billed.)
///
/// </summary>
BillingStatusPending,
BillingStatusBilled,
/// <summary>
/// //app.ultravox.ai.
/// </summary>
BillingStatusFreeConsole,
/// <summary>
/// There may still be a non-zero sip bill in this case.)
/// </summary>
BillingStatusFreeZeroEffectiveDuration,
BillingStatusFreeMinutes,
/// <summary>
/// There may still be a non-zero sip bill in this case.)
///
/// </summary>
BillingStatusFreeMinutes,
BillingStatusFreeOther,
/// <summary>
///
/// </summary>
BillingStatusFreeSystemError,
/// <summary>
///
/// There may still be a non-zero sip bill in this case.)
/// </summary>
BillingStatusFreeOther,
BillingStatusFreeZeroEffectiveDuration,
/// <summary>
///
/// Calls created before May 28, 2025 may have this status even if they were billed.)
/// </summary>
BillingStatusBilled,
BillingStatusPending,
/// <summary>
///
/// </summary>
Expand All @@ -66,13 +66,13 @@ public static string ToValueString(this BillingStatusEnum value)
{
return value switch
{
BillingStatusEnum.BillingStatusPending => "BILLING_STATUS_PENDING",
BillingStatusEnum.BillingStatusBilled => "BILLING_STATUS_BILLED",
BillingStatusEnum.BillingStatusFreeConsole => "BILLING_STATUS_FREE_CONSOLE",
BillingStatusEnum.BillingStatusFreeZeroEffectiveDuration => "BILLING_STATUS_FREE_ZERO_EFFECTIVE_DURATION",
BillingStatusEnum.BillingStatusFreeMinutes => "BILLING_STATUS_FREE_MINUTES",
BillingStatusEnum.BillingStatusFreeSystemError => "BILLING_STATUS_FREE_SYSTEM_ERROR",
BillingStatusEnum.BillingStatusFreeOther => "BILLING_STATUS_FREE_OTHER",
BillingStatusEnum.BillingStatusBilled => "BILLING_STATUS_BILLED",
BillingStatusEnum.BillingStatusFreeSystemError => "BILLING_STATUS_FREE_SYSTEM_ERROR",
BillingStatusEnum.BillingStatusFreeZeroEffectiveDuration => "BILLING_STATUS_FREE_ZERO_EFFECTIVE_DURATION",
BillingStatusEnum.BillingStatusPending => "BILLING_STATUS_PENDING",
BillingStatusEnum.BillingStatusRefunded => "BILLING_STATUS_REFUNDED",
BillingStatusEnum.BillingStatusUnspecified => "BILLING_STATUS_UNSPECIFIED",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
Expand All @@ -85,13 +85,13 @@ public static string ToValueString(this BillingStatusEnum value)
{
return value switch
{
"BILLING_STATUS_PENDING" => BillingStatusEnum.BillingStatusPending,
"BILLING_STATUS_BILLED" => BillingStatusEnum.BillingStatusBilled,
"BILLING_STATUS_FREE_CONSOLE" => BillingStatusEnum.BillingStatusFreeConsole,
"BILLING_STATUS_FREE_ZERO_EFFECTIVE_DURATION" => BillingStatusEnum.BillingStatusFreeZeroEffectiveDuration,
"BILLING_STATUS_FREE_MINUTES" => BillingStatusEnum.BillingStatusFreeMinutes,
"BILLING_STATUS_FREE_SYSTEM_ERROR" => BillingStatusEnum.BillingStatusFreeSystemError,
"BILLING_STATUS_FREE_OTHER" => BillingStatusEnum.BillingStatusFreeOther,
"BILLING_STATUS_BILLED" => BillingStatusEnum.BillingStatusBilled,
"BILLING_STATUS_FREE_SYSTEM_ERROR" => BillingStatusEnum.BillingStatusFreeSystemError,
"BILLING_STATUS_FREE_ZERO_EFFECTIVE_DURATION" => BillingStatusEnum.BillingStatusFreeZeroEffectiveDuration,
"BILLING_STATUS_PENDING" => BillingStatusEnum.BillingStatusPending,
"BILLING_STATUS_REFUNDED" => BillingStatusEnum.BillingStatusRefunded,
"BILLING_STATUS_UNSPECIFIED" => BillingStatusEnum.BillingStatusUnspecified,
_ => null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ public enum BillingStyleEnum
/// <summary>
///
/// </summary>
VoiceBillingStyleIncluded,
VoiceBillingStyleExternal,
/// <summary>
///
/// </summary>
VoiceBillingStyleExternal,
VoiceBillingStyleIncluded,
}

/// <summary>
Expand All @@ -30,8 +30,8 @@ public static string ToValueString(this BillingStyleEnum value)
{
return value switch
{
BillingStyleEnum.VoiceBillingStyleIncluded => "VOICE_BILLING_STYLE_INCLUDED",
BillingStyleEnum.VoiceBillingStyleExternal => "VOICE_BILLING_STYLE_EXTERNAL",
BillingStyleEnum.VoiceBillingStyleIncluded => "VOICE_BILLING_STYLE_INCLUDED",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -42,8 +42,8 @@ public static string ToValueString(this BillingStyleEnum value)
{
return value switch
{
"VOICE_BILLING_STYLE_INCLUDED" => BillingStyleEnum.VoiceBillingStyleIncluded,
"VOICE_BILLING_STYLE_EXTERNAL" => BillingStyleEnum.VoiceBillingStyleExternal,
"VOICE_BILLING_STYLE_INCLUDED" => BillingStyleEnum.VoiceBillingStyleIncluded,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ public enum CallsEventsListMinimumSeverity
/// <summary>
///
/// </summary>
Info,
Error,
/// <summary>
///
/// </summary>
Warning,
Info,
/// <summary>
///
/// </summary>
Error,
Warning,
}

/// <summary>
Expand All @@ -39,9 +39,9 @@ public static string ToValueString(this CallsEventsListMinimumSeverity value)
return value switch
{
CallsEventsListMinimumSeverity.Debug => "debug",
CallsEventsListMinimumSeverity.Error => "error",
CallsEventsListMinimumSeverity.Info => "info",
CallsEventsListMinimumSeverity.Warning => "warning",
CallsEventsListMinimumSeverity.Error => "error",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -53,9 +53,9 @@ public static string ToValueString(this CallsEventsListMinimumSeverity value)
return value switch
{
"debug" => CallsEventsListMinimumSeverity.Debug,
"error" => CallsEventsListMinimumSeverity.Error,
"info" => CallsEventsListMinimumSeverity.Info,
"warning" => CallsEventsListMinimumSeverity.Warning,
"error" => CallsEventsListMinimumSeverity.Error,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ public enum CallsMessagesListMode
/// <summary>
///
/// </summary>
LastStage,
InCall,
/// <summary>
///
/// </summary>
InCall,
LastStage,
}

/// <summary>
Expand All @@ -30,8 +30,8 @@ public static string ToValueString(this CallsMessagesListMode value)
{
return value switch
{
CallsMessagesListMode.LastStage => "last_stage",
CallsMessagesListMode.InCall => "in_call",
CallsMessagesListMode.LastStage => "last_stage",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -42,8 +42,8 @@ public static string ToValueString(this CallsMessagesListMode value)
{
return value switch
{
"last_stage" => CallsMessagesListMode.LastStage,
"in_call" => CallsMessagesListMode.InCall,
"last_stage" => CallsMessagesListMode.LastStage,
_ => null,
};
}
Expand Down
24 changes: 12 additions & 12 deletions src/libs/Ultravox/Generated/Ultravox.Models.EndReasonEnum.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,27 @@ public enum EndReasonEnum
/// <summary>
///
/// </summary>
Unjoined,
AgentHangup,
/// <summary>
///
/// </summary>
Hangup,
ConnectionError,
/// <summary>
///
/// </summary>
AgentHangup,
Hangup,
/// <summary>
///
/// </summary>
Timeout,
SystemError,
/// <summary>
///
/// </summary>
ConnectionError,
Timeout,
/// <summary>
///
/// </summary>
SystemError,
Unjoined,
}

/// <summary>
Expand All @@ -51,12 +51,12 @@ public static string ToValueString(this EndReasonEnum value)
{
return value switch
{
EndReasonEnum.Unjoined => "unjoined",
EndReasonEnum.Hangup => "hangup",
EndReasonEnum.AgentHangup => "agent_hangup",
EndReasonEnum.Timeout => "timeout",
EndReasonEnum.ConnectionError => "connection_error",
EndReasonEnum.Hangup => "hangup",
EndReasonEnum.SystemError => "system_error",
EndReasonEnum.Timeout => "timeout",
EndReasonEnum.Unjoined => "unjoined",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -67,12 +67,12 @@ public static string ToValueString(this EndReasonEnum value)
{
return value switch
{
"unjoined" => EndReasonEnum.Unjoined,
"hangup" => EndReasonEnum.Hangup,
"agent_hangup" => EndReasonEnum.AgentHangup,
"timeout" => EndReasonEnum.Timeout,
"connection_error" => EndReasonEnum.ConnectionError,
"hangup" => EndReasonEnum.Hangup,
"system_error" => EndReasonEnum.SystemError,
"timeout" => EndReasonEnum.Timeout,
"unjoined" => EndReasonEnum.Unjoined,
_ => null,
};
}
Expand Down
20 changes: 10 additions & 10 deletions src/libs/Ultravox/Generated/Ultravox.Models.EventsEnum.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ public enum EventsEnum
/// <summary>
///
/// </summary>
CallStarted,
CallBilled,
/// <summary>
///
/// </summary>
CallJoined,
CallEnded,
/// <summary>
///
/// </summary>
CallEnded,
CallJoined,
/// <summary>
///
/// </summary>
CallBilled,
CallStarted,
}

/// <summary>
Expand All @@ -41,10 +41,10 @@ public static string ToValueString(this EventsEnum value)
{
return value switch
{
EventsEnum.CallStarted => "call.started",
EventsEnum.CallJoined => "call.joined",
EventsEnum.CallEnded => "call.ended",
EventsEnum.CallBilled => "call.billed",
EventsEnum.CallEnded => "call.ended",
EventsEnum.CallJoined => "call.joined",
EventsEnum.CallStarted => "call.started",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -55,10 +55,10 @@ public static string ToValueString(this EventsEnum value)
{
return value switch
{
"call.started" => EventsEnum.CallStarted,
"call.joined" => EventsEnum.CallJoined,
"call.ended" => EventsEnum.CallEnded,
"call.billed" => EventsEnum.CallBilled,
"call.ended" => EventsEnum.CallEnded,
"call.joined" => EventsEnum.CallJoined,
"call.started" => EventsEnum.CallStarted,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ public enum InitialOutputMediumEnum
/// <summary>
///
/// </summary>
MessageMediumVoice,
MessageMediumText,
/// <summary>
///
/// </summary>
MessageMediumText,
MessageMediumVoice,
}

/// <summary>
Expand All @@ -30,8 +30,8 @@ public static string ToValueString(this InitialOutputMediumEnum value)
{
return value switch
{
InitialOutputMediumEnum.MessageMediumVoice => "MESSAGE_MEDIUM_VOICE",
InitialOutputMediumEnum.MessageMediumText => "MESSAGE_MEDIUM_TEXT",
InitialOutputMediumEnum.MessageMediumVoice => "MESSAGE_MEDIUM_VOICE",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -42,8 +42,8 @@ public static string ToValueString(this InitialOutputMediumEnum value)
{
return value switch
{
"MESSAGE_MEDIUM_VOICE" => InitialOutputMediumEnum.MessageMediumVoice,
"MESSAGE_MEDIUM_TEXT" => InitialOutputMediumEnum.MessageMediumText,
"MESSAGE_MEDIUM_VOICE" => InitialOutputMediumEnum.MessageMediumVoice,
_ => null,
};
}
Expand Down
Loading