diff --git a/src/libs/RetellAI/Generated/RetellAI.AnyOf.2.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.AnyOf.2.Json.g.cs new file mode 100644 index 00000000..279abe96 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.AnyOf.2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public readonly partial struct AnyOf + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.AnyOf? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.AnyOf), + jsonSerializerContext) as global::RetellAI.AnyOf?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.AnyOf? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.AnyOf? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize>( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.AnyOf), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.AnyOf?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.AnyOf.2.g.cs b/src/libs/RetellAI/Generated/RetellAI.AnyOf.2.g.cs new file mode 100644 index 00000000..b79eeb21 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.AnyOf.2.g.cs @@ -0,0 +1,294 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public readonly partial struct AnyOf : global::System.IEquatable> + { + /// + /// + /// +#if NET6_0_OR_GREATER + public T1? Value1 { get; init; } +#else + public T1? Value1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] +#endif + public bool IsValue1 => Value1 != null; + + /// + /// + /// + public bool TryPickValue1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T1? value) + { + value = Value1; + return IsValue1; + } + + /// + /// + /// + public T1 PickValue1() => IsValue1 + ? Value1! + : throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public T2? Value2 { get; init; } +#else + public T2? Value2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] +#endif + public bool IsValue2 => Value2 != null; + + /// + /// + /// + public bool TryPickValue2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out T2? value) + { + value = Value2; + return IsValue2; + } + + /// + /// + /// + public T2 PickValue2() => IsValue2 + ? Value2! + : throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AnyOf(T1 value) => new AnyOf((T1?)value); + + /// + /// + /// + public static implicit operator T1?(AnyOf @this) => @this.Value1; + + /// + /// + /// + public AnyOf(T1? value) + { + Value1 = value; + } + + /// + /// + /// + public static AnyOf FromValue1(T1? value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator AnyOf(T2 value) => new AnyOf((T2?)value); + + /// + /// + /// + public static implicit operator T2?(AnyOf @this) => @this.Value2; + + /// + /// + /// + public AnyOf(T2? value) + { + Value2 = value; + } + + /// + /// + /// + public static AnyOf FromValue2(T2? value) => new AnyOf(value); + + /// + /// + /// + public AnyOf( + T1? value1, + T2? value2 + ) + { + Value1 = value1; + Value2 = value2; + } + + /// + /// + /// + public object? Object => + Value2 as object ?? + Value1 as object + ; + + /// + /// + /// + public override string? ToString() => + Value1?.ToString() ?? + Value2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsValue1 || IsValue2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? value1 = null, + global::System.Func? value2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsValue1 && value1 != null) + { + return value1(Value1!); + } + else if (IsValue2 && value2 != null) + { + return value2(Value2!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? value1 = null, + + global::System.Action? value2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsValue1) + { + value1?.Invoke(Value1!); + } + else if (IsValue2) + { + value2?.Invoke(Value2!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? value1 = null, + global::System.Action? value2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsValue1) + { + value1?.Invoke(Value1!); + } + else if (IsValue2) + { + value2?.Invoke(Value2!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Value1, + typeof(T1), + Value2, + typeof(T2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AnyOf other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + ; + } + + /// + /// + /// + public static bool operator ==(AnyOf obj1, AnyOf obj2) + { + return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AnyOf obj1, AnyOf obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AnyOf o && Equals(o); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateApp.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateApp.g.cs index 65daa0f4..8f739701 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateApp.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateApp.g.cs @@ -5,7 +5,7 @@ namespace RetellAI public partial interface IRetellAiClient { /// - /// Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers that authenticate with a key, token, or refresh token can be connected in this one call by passing auth_config; the credential is stored encrypted and never returned. Up to 20 apps per provider. + /// Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers with caller-managed credentials accept auth_config. Providers using the OAuth callback must omit auth_config and be authorized through connect-app. Credentials are stored encrypted and never returned. Up to 20 apps per provider. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -17,7 +17,7 @@ public partial interface IRetellAiClient global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers that authenticate with a key, token, or refresh token can be connected in this one call by passing auth_config; the credential is stored encrypted and never returned. Up to 20 apps per provider. + /// Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers with caller-managed credentials accept auth_config. Providers using the OAuth callback must omit auth_config and be authorized through connect-app. Credentials are stored encrypted and never returned. Up to 20 apps per provider. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -29,7 +29,7 @@ public partial interface IRetellAiClient global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers that authenticate with a key, token, or refresh token can be connected in this one call by passing auth_config; the credential is stored encrypted and never returned. Up to 20 apps per provider. + /// Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers with caller-managed credentials accept auth_config. Providers using the OAuth callback must omit auth_config and be authorized through connect-app. Credentials are stored encrypted and never returned. Up to 20 apps per provider. /// /// /// App integration category. @@ -46,7 +46,9 @@ public partial interface IRetellAiClient /// /// Sub-account id, for providers that scope requests by a sub-account id on a shared host. /// - /// + /// + /// Caller-managed credentials. Providers using the OAuth callback reject auth_config and must be authorized through connect-app. + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateKnowledgeBase.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateKnowledgeBase.g.cs index 15e8dfc0..7e2e914b 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateKnowledgeBase.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateKnowledgeBase.g.cs @@ -50,7 +50,7 @@ public partial interface IRetellAiClient /// Example: true /// /// - /// Maximum number of characters per chunk when splitting knowledge base. Default is 2000. content. Immutable after creation.
+ /// Maximum number of characters per chunk when splitting knowledge base content. Default is 2000. Immutable after creation.
/// Example: 2000 /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetCrmConfig.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetCrmConfig.g.cs index 9c30cea1..622a40c1 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetCrmConfig.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetCrmConfig.g.cs @@ -5,7 +5,7 @@ namespace RetellAI public partial interface IRetellAiClient { /// - /// Get the organization's CRM configuration: which CRM app is linked, the custom contact fields defined for it, and how Post Call Extraction data is written back to contacts. Returns an empty configuration when nothing has been set up yet. + /// Get the organization's CRM configuration: which CRM app is linked, the custom contact fields defined for it, and how post-call analysis data is written back to contacts. Returns an empty configuration when nothing has been set up yet. /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -14,7 +14,7 @@ public partial interface IRetellAiClient global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// Get the organization's CRM configuration: which CRM app is linked, the custom contact fields defined for it, and how Post Call Extraction data is written back to contacts. Returns an empty configuration when nothing has been set up yet. + /// Get the organization's CRM configuration: which CRM app is linked, the custom contact fields defined for it, and how post-call analysis data is written back to contacts. Returns an empty configuration when nothing has been set up yet. /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ImportPhoneNumber.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ImportPhoneNumber.g.cs index 3621b75e..69683980 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ImportPhoneNumber.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ImportPhoneNumber.g.cs @@ -40,7 +40,7 @@ public partial interface IRetellAiClient /// Example: true /// /// - /// The termination uri to uniquely identify your elastic SIP trunk. This is used for outbound calls. For Twilio elastic SIP trunks it always end with ".pstn.twilio.com".
+ /// The termination uri to uniquely identify your elastic SIP trunk. This is used for outbound calls. For Twilio elastic SIP trunks it always ends with ".pstn.twilio.com".
/// Example: someuri.pstn.twilio.com /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.RerunCallAnalysis.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.RerunCallAnalysis.g.cs index 75817faf..82d4fabb 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.RerunCallAnalysis.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.RerunCallAnalysis.g.cs @@ -5,7 +5,7 @@ namespace RetellAI public partial interface IRetellAiClient { /// - /// Rerun Post Call Extraction for a specific call. This operation incurs charges. + /// Rerun post-call analysis for a specific call. This operation incurs charges. /// /// /// Example: call_119c3f8e47135a29e65947eeb34cf12d @@ -18,7 +18,7 @@ public partial interface IRetellAiClient global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// Rerun Post Call Extraction for a specific call. This operation incurs charges. + /// Rerun post-call analysis for a specific call. This operation incurs charges. /// /// /// Example: call_119c3f8e47135a29e65947eeb34cf12d diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.RerunChatAnalysis.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.RerunChatAnalysis.g.cs index 32a68b26..d9201b42 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.RerunChatAnalysis.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.RerunChatAnalysis.g.cs @@ -5,7 +5,7 @@ namespace RetellAI public partial interface IRetellAiClient { /// - /// Rerun Post Chat Extraction for a specific chat. This operation incurs charges. + /// Rerun post-chat analysis for a specific chat. This operation incurs charges. /// /// /// Example: chat_16b980523634a6dc504898cda492e939 @@ -18,7 +18,7 @@ public partial interface IRetellAiClient global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// Rerun Post Chat Extraction for a specific chat. This operation incurs charges. + /// Rerun post-chat analysis for a specific chat. This operation incurs charges. /// /// /// Example: chat_16b980523634a6dc504898cda492e939 diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateAgent.g.cs index e8c9940e..6a8366c6 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateAgent.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateAgent.g.cs @@ -116,7 +116,7 @@ public partial interface IRetellAiClient /// Example: Use [sigh] for thoughtful pauses and [excited] for good news. /// /// - /// Controls how responsive is the agent. Value ranging from [0,1]. Lower value means less responsive agent (wait more, respond slower), while higher value means faster exchanges (respond when it can). If unset, default value 1 will apply.
+ /// Controls how responsive the agent is. Value ranging from [0,1]. Lower value means less responsive agent (wait more, respond slower), while higher value means faster exchanges (respond when it can). If unset, default value 1 will apply.
/// Example: 1 /// /// @@ -161,7 +161,7 @@ public partial interface IRetellAiClient /// Specifies what language(s) the agent will operate in. Accepts either a single locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g. `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted as a scalar, and is stored and returned as the ten locales it used to mean. It must not appear inside the array form. Send an explicit locale array instead. If unset, defaults to `en-US`. /// /// - /// The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
+ /// The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will bind webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
/// Example: https://webhook-url-here /// /// @@ -219,7 +219,7 @@ public partial interface IRetellAiClient /// If this option is set, the agent prompt will include call screen handling instructions for identity and call purpose questions. Set this to null to disable call screen prompt instructions. /// /// - /// Post Call Extraction data to extract from the call. This data will augment the pre-defined variables extracted in the call analysis. This will be available after the call ends. + /// Post call analysis data to extract from the call. This data will augment the pre-defined variables extracted in the call analysis. This will be available after the call ends. /// /// /// Available LLM models for agents. diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateApp.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateApp.g.cs index 7751afbd..771216cc 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateApp.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateApp.g.cs @@ -5,7 +5,7 @@ namespace RetellAI public partial interface IRetellAiClient { /// - /// Partially update an App. Omitted fields remain unchanged. Updating auth_config invalidates the cached provider token immediately. + /// Partially update an App. Omitted fields remain unchanged. Updating auth_config or tenant metadata invalidates the cached provider token immediately. Providers using the OAuth callback reject auth_config and must be reauthorized through connect-app. /// /// /// @@ -19,7 +19,7 @@ public partial interface IRetellAiClient global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// Partially update an App. Omitted fields remain unchanged. Updating auth_config invalidates the cached provider token immediately. + /// Partially update an App. Omitted fields remain unchanged. Updating auth_config or tenant metadata invalidates the cached provider token immediately. Providers using the OAuth callback reject auth_config and must be reauthorized through connect-app. /// /// /// @@ -33,7 +33,7 @@ public partial interface IRetellAiClient global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// Partially update an App. Omitted fields remain unchanged. Updating auth_config invalidates the cached provider token immediately. + /// Partially update an App. Omitted fields remain unchanged. Updating auth_config or tenant metadata invalidates the cached provider token immediately. Providers using the OAuth callback reject auth_config and must be reauthorized through connect-app. /// /// /// @@ -43,7 +43,9 @@ public partial interface IRetellAiClient /// /// Sub-account id, for providers that scope requests by a sub-account id on a shared host. /// - /// + /// + /// Caller-managed credentials. Providers using the OAuth callback reject auth_config and must be authorized through connect-app. + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateChatAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateChatAgent.g.cs index 095538eb..645f1157 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateChatAgent.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateChatAgent.g.cs @@ -76,7 +76,7 @@ public partial interface IRetellAiClient /// Specifies what language(s) the agent will operate in. Accepts either a single locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g. `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted as a scalar, and is stored and returned as the ten locales it used to mean. It must not appear inside the array form. Send an explicit locale array instead. If unset, defaults to `en-US`. /// /// - /// The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
+ /// The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will bind webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
/// Example: https://webhook-url-here /// /// @@ -103,7 +103,7 @@ public partial interface IRetellAiClient /// Example: 86400000 /// /// - /// Post Chat Extraction data to extract from the chat. This data will augment the pre-defined variables extracted in the chat analysis. This will be available after the chat ends. + /// Post chat analysis data to extract from the chat. This data will augment the pre-defined variables extracted in the chat analysis. This will be available after the chat ends. /// /// /// Available LLM models for agents. diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AnyOf2.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AnyOf2.g.cs new file mode 100644 index 00000000..97fe4621 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AnyOf2.g.cs @@ -0,0 +1,161 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public class AnyOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> + { + /// + public override global::RetellAI.AnyOf Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + } + } + + var __score0 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T1), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score0++; + } + } + } + var __score1 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(T2), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score1++; + } + } + } + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + + T1? value1 = default; + T2? value2 = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + value1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 1) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); + value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (value1 == null && value2 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + value1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (value1 == null && value2 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); + value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::RetellAI.AnyOf( + value1, + + value2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.AnyOf value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsValue1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo); + } + else if (value.IsValue2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RefreshTokenAuthConfigRequestType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AppResponseTenantType.g.cs similarity index 64% rename from src/libs/RetellAI/Generated/RetellAI.JsonConverters.RefreshTokenAuthConfigRequestType.g.cs rename to src/libs/RetellAI/Generated/RetellAI.JsonConverters.AppResponseTenantType.g.cs index de4021b9..5babe4f8 100644 --- a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RefreshTokenAuthConfigRequestType.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AppResponseTenantType.g.cs @@ -3,10 +3,10 @@ namespace RetellAI.JsonConverters { /// - public sealed class RefreshTokenAuthConfigRequestTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class AppResponseTenantTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::RetellAI.RefreshTokenAuthConfigRequestType Read( + public override global::RetellAI.AppResponseTenantType Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class RefreshTokenAuthConfigRequestTypeJsonConverter : global::Sys var stringValue = reader.GetString(); if (stringValue != null) { - return global::RetellAI.RefreshTokenAuthConfigRequestTypeExtensions.ToEnum(stringValue) ?? default; + return global::RetellAI.AppResponseTenantTypeExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class RefreshTokenAuthConfigRequestTypeJsonConverter : global::Sys case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::RetellAI.RefreshTokenAuthConfigRequestType)numValue; + return (global::RetellAI.AppResponseTenantType)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::RetellAI.RefreshTokenAuthConfigRequestType); + return default(global::RetellAI.AppResponseTenantType); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class RefreshTokenAuthConfigRequestTypeJsonConverter : global::Sys /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::RetellAI.RefreshTokenAuthConfigRequestType value, + global::RetellAI.AppResponseTenantType value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::RetellAI.RefreshTokenAuthConfigRequestTypeExtensions.ToValueString(value)); + writer.WriteStringValue(global::RetellAI.AppResponseTenantTypeExtensions.ToValueString(value)); } } } diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RefreshTokenAuthConfigRequestTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AppResponseTenantTypeNullable.g.cs similarity index 66% rename from src/libs/RetellAI/Generated/RetellAI.JsonConverters.RefreshTokenAuthConfigRequestTypeNullable.g.cs rename to src/libs/RetellAI/Generated/RetellAI.JsonConverters.AppResponseTenantTypeNullable.g.cs index 9f953d48..4b69e552 100644 --- a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RefreshTokenAuthConfigRequestTypeNullable.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AppResponseTenantTypeNullable.g.cs @@ -3,10 +3,10 @@ namespace RetellAI.JsonConverters { /// - public sealed class RefreshTokenAuthConfigRequestTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class AppResponseTenantTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::RetellAI.RefreshTokenAuthConfigRequestType? Read( + public override global::RetellAI.AppResponseTenantType? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class RefreshTokenAuthConfigRequestTypeNullableJsonConverter : glo var stringValue = reader.GetString(); if (stringValue != null) { - return global::RetellAI.RefreshTokenAuthConfigRequestTypeExtensions.ToEnum(stringValue); + return global::RetellAI.AppResponseTenantTypeExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class RefreshTokenAuthConfigRequestTypeNullableJsonConverter : glo case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::RetellAI.RefreshTokenAuthConfigRequestType)numValue; + return (global::RetellAI.AppResponseTenantType)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::RetellAI.RefreshTokenAuthConfigRequestType?); + return default(global::RetellAI.AppResponseTenantType?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class RefreshTokenAuthConfigRequestTypeNullableJsonConverter : glo /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::RetellAI.RefreshTokenAuthConfigRequestType? value, + global::RetellAI.AppResponseTenantType? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::RetellAI.RefreshTokenAuthConfigRequestTypeExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::RetellAI.AppResponseTenantTypeExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AuthConfigRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AuthConfigRequest.g.cs index a1c9707d..7cad527c 100644 --- a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AuthConfigRequest.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AuthConfigRequest.g.cs @@ -35,28 +35,18 @@ public class AuthConfigRequestJsonConverter : global::System.Text.Json.Serializa if (__jsonProps.Contains("api_key")) __score1++; if (__jsonProps.Contains("type")) __score1++; var __score2 = 0; - if (__jsonProps.Contains("access_token")) __score2++; + if (__jsonProps.Contains("password")) __score2++; if (__jsonProps.Contains("type")) __score2++; - var __score3 = 0; - if (__jsonProps.Contains("password")) __score3++; - if (__jsonProps.Contains("type")) __score3++; - if (__jsonProps.Contains("username")) __score3++; - var __score4 = 0; - if (__jsonProps.Contains("refresh_token")) __score4++; - if (__jsonProps.Contains("type")) __score4++; + if (__jsonProps.Contains("username")) __score2++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } - if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } - if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } global::RetellAI.OAuthConfigRequest? o = default; global::RetellAI.ApiKeyAuthConfigRequest? apiKey = default; - global::RetellAI.AccessTokenAuthConfigRequest? accessToken = default; global::RetellAI.BasicAuthConfigRequest? basic = default; - global::RetellAI.RefreshTokenAuthConfigRequest? refreshToken = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -90,21 +80,6 @@ public class AuthConfigRequestJsonConverter : global::System.Text.Json.Serializa } } else if (__bestIndex == 2) - { - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.AccessTokenAuthConfigRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.AccessTokenAuthConfigRequest).Name}"); - accessToken = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - else if (__bestIndex == 3) { try { @@ -119,24 +94,9 @@ public class AuthConfigRequestJsonConverter : global::System.Text.Json.Serializa { } } - else if (__bestIndex == 4) - { - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.RefreshTokenAuthConfigRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.RefreshTokenAuthConfigRequest).Name}"); - refreshToken = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } } - if (o == null && apiKey == null && accessToken == null && basic == null && refreshToken == null) + if (o == null && apiKey == null && basic == null) { try { @@ -153,7 +113,7 @@ public class AuthConfigRequestJsonConverter : global::System.Text.Json.Serializa } } - if (o == null && apiKey == null && accessToken == null && basic == null && refreshToken == null) + if (o == null && apiKey == null && basic == null) { try { @@ -170,24 +130,7 @@ public class AuthConfigRequestJsonConverter : global::System.Text.Json.Serializa } } - if (o == null && apiKey == null && accessToken == null && basic == null && refreshToken == null) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.AccessTokenAuthConfigRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.AccessTokenAuthConfigRequest).Name}"); - accessToken = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - - if (o == null && apiKey == null && accessToken == null && basic == null && refreshToken == null) + if (o == null && apiKey == null && basic == null) { try { @@ -204,33 +147,12 @@ public class AuthConfigRequestJsonConverter : global::System.Text.Json.Serializa } } - if (o == null && apiKey == null && accessToken == null && basic == null && refreshToken == null) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.RefreshTokenAuthConfigRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.RefreshTokenAuthConfigRequest).Name}"); - refreshToken = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - var __value = new global::RetellAI.AuthConfigRequest( o, apiKey, - accessToken, - - basic, - - refreshToken + basic ); return __value; @@ -257,24 +179,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ApiKeyAuthConfigRequest).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.ApiKey!, typeInfo); } - else if (value.IsAccessToken) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.AccessTokenAuthConfigRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.AccessTokenAuthConfigRequest).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.AccessToken!, typeInfo); - } else if (value.IsBasic) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.BasicAuthConfigRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.BasicAuthConfigRequest).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Basic!, typeInfo); } - else if (value.IsRefreshToken) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.RefreshTokenAuthConfigRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.RefreshTokenAuthConfigRequest).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.RefreshToken!, typeInfo); - } } } } \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigSizeEnum.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigSizeEnum.g.cs new file mode 100644 index 00000000..d1761545 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigSizeEnum.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartConfigSizeEnumJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartConfigSizeEnum Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartConfigSizeEnumExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartConfigSizeEnum)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartConfigSizeEnum); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartConfigSizeEnum value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartConfigSizeEnumExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigSizeEnumNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigSizeEnumNullable.g.cs new file mode 100644 index 00000000..ffbcec54 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigSizeEnumNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartConfigSizeEnumNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartConfigSizeEnum? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartConfigSizeEnumExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartConfigSizeEnum)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartConfigSizeEnum?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartConfigSizeEnum? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartConfigSizeEnumExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigType.g.cs new file mode 100644 index 00000000..e20ea5ec --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartConfigTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartConfigType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartConfigTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartConfigType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartConfigType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartConfigType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartConfigTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigTypeNullable.g.cs new file mode 100644 index 00000000..d690e5b3 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartConfigTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartConfigType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartConfigTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartConfigType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartConfigType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartConfigType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartConfigTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigUnit.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigUnit.g.cs new file mode 100644 index 00000000..163a9b58 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigUnit.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartConfigUnitJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartConfigUnit Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartConfigUnitExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartConfigUnit)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartConfigUnit); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartConfigUnit value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartConfigUnitExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigUnitNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigUnitNullable.g.cs new file mode 100644 index 00000000..4159ba9e --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartConfigUnitNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartConfigUnitNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartConfigUnit? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartConfigUnitExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartConfigUnit)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartConfigUnit?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartConfigUnit? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartConfigUnitExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartDefinition.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartDefinition.g.cs new file mode 100644 index 00000000..75bd4d58 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartDefinition.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace RetellAI.JsonConverters +{ + /// + public class ChartDefinitionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartDefinition Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::RetellAI.ChartConfig? config = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartConfig).Name}"); + config = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? chartDefinitionVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + chartDefinitionVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::RetellAI.ChartDefinition( + config, + + chartDefinitionVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartDefinition value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsConfig) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartConfig).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.Config!, typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsChartDefinitionVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.ChartDefinitionVariant2!, typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartGroupType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartGroupType.g.cs new file mode 100644 index 00000000..25b3666f --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartGroupType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartGroupTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartGroupType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartGroupTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartGroupType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartGroupType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartGroupType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartGroupTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartGroupTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartGroupTypeNullable.g.cs new file mode 100644 index 00000000..c3092ea1 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartGroupTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartGroupTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartGroupType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartGroupTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartGroupType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartGroupType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartGroupType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartGroupTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItem.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItem.g.cs new file mode 100644 index 00000000..889549b7 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItem.g.cs @@ -0,0 +1,302 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace RetellAI.JsonConverters +{ + /// + public class ChartShowItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name); + } + } + + } + } + + var __score0 = 0; + if (__jsonProps.Contains("measurement")) __score0++; + if (__jsonProps.Contains("measurement.type")) __score0++; + if (__jsonProps.Contains("source")) __score0++; + if (__jsonProps.Contains("source.group")) __score0++; + if (__jsonProps.Contains("source.type")) __score0++; + var __score1 = 0; + if (__jsonProps.Contains("measurement")) __score1++; + if (__jsonProps.Contains("measurement.type")) __score1++; + if (__jsonProps.Contains("source")) __score1++; + if (__jsonProps.Contains("source.group")) __score1++; + if (__jsonProps.Contains("source.type")) __score1++; + var __score2 = 0; + if (__jsonProps.Contains("measurement")) __score2++; + if (__jsonProps.Contains("measurement.type")) __score2++; + if (__jsonProps.Contains("source")) __score2++; + if (__jsonProps.Contains("source.cast")) __score2++; + if (__jsonProps.Contains("source.field")) __score2++; + if (__jsonProps.Contains("source.group")) __score2++; + if (__jsonProps.Contains("source.type")) __score2++; + var __score3 = 0; + if (__jsonProps.Contains("measurement")) __score3++; + if (__jsonProps.Contains("measurement.type")) __score3++; + if (__jsonProps.Contains("source")) __score3++; + if (__jsonProps.Contains("source.group")) __score3++; + if (__jsonProps.Contains("source.type")) __score3++; + var __score4 = 0; + if (__jsonProps.Contains("measurement")) __score4++; + if (__jsonProps.Contains("measurement.type")) __score4++; + if (__jsonProps.Contains("source")) __score4++; + if (__jsonProps.Contains("source.group")) __score4++; + if (__jsonProps.Contains("source.type")) __score4++; + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } + if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } + if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } + + global::RetellAI.ChartShowItemKeywordSource? keywordSource = default; + global::RetellAI.ChartShowItemNumericSource? numericSource = default; + global::RetellAI.ChartShowItemCustomFieldSource? customFieldSource = default; + global::RetellAI.ChartShowItemConcurrencySource? concurrencySource = default; + global::RetellAI.ChartShowItemCustomToolSource? customToolSource = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemKeywordSource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemKeywordSource).Name}"); + keywordSource = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 1) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemNumericSource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemNumericSource).Name}"); + numericSource = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 2) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemCustomFieldSource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemCustomFieldSource).Name}"); + customFieldSource = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 3) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemConcurrencySource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemConcurrencySource).Name}"); + concurrencySource = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 4) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemCustomToolSource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemCustomToolSource).Name}"); + customToolSource = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (keywordSource == null && numericSource == null && customFieldSource == null && concurrencySource == null && customToolSource == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemKeywordSource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemKeywordSource).Name}"); + keywordSource = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (keywordSource == null && numericSource == null && customFieldSource == null && concurrencySource == null && customToolSource == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemNumericSource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemNumericSource).Name}"); + numericSource = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (keywordSource == null && numericSource == null && customFieldSource == null && concurrencySource == null && customToolSource == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemCustomFieldSource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemCustomFieldSource).Name}"); + customFieldSource = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (keywordSource == null && numericSource == null && customFieldSource == null && concurrencySource == null && customToolSource == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemConcurrencySource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemConcurrencySource).Name}"); + concurrencySource = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (keywordSource == null && numericSource == null && customFieldSource == null && concurrencySource == null && customToolSource == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemCustomToolSource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemCustomToolSource).Name}"); + customToolSource = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::RetellAI.ChartShowItem( + keywordSource, + + numericSource, + + customFieldSource, + + concurrencySource, + + customToolSource + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsKeywordSource) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemKeywordSource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemKeywordSource).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.KeywordSource!, typeInfo); + } + else if (value.IsNumericSource) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemNumericSource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemNumericSource).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.NumericSource!, typeInfo); + } + else if (value.IsCustomFieldSource) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemCustomFieldSource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemCustomFieldSource).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.CustomFieldSource!, typeInfo); + } + else if (value.IsConcurrencySource) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemConcurrencySource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemConcurrencySource).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ConcurrencySource!, typeInfo); + } + else if (value.IsCustomToolSource) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartShowItemCustomToolSource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartShowItemCustomToolSource).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.CustomToolSource!, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemConcurrencySourceMeasurementType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemConcurrencySourceMeasurementType.g.cs new file mode 100644 index 00000000..7ca213ac --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemConcurrencySourceMeasurementType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemConcurrencySourceMeasurementTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemConcurrencySourceMeasurementType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemConcurrencySourceMeasurementTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemConcurrencySourceMeasurementType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemConcurrencySourceMeasurementType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemConcurrencySourceMeasurementType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartShowItemConcurrencySourceMeasurementTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemConcurrencySourceMeasurementTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemConcurrencySourceMeasurementTypeNullable.g.cs new file mode 100644 index 00000000..32606a29 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemConcurrencySourceMeasurementTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemConcurrencySourceMeasurementTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemConcurrencySourceMeasurementType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemConcurrencySourceMeasurementTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemConcurrencySourceMeasurementType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemConcurrencySourceMeasurementType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemConcurrencySourceMeasurementType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartShowItemConcurrencySourceMeasurementTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemConcurrencySourceSourceType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemConcurrencySourceSourceType.g.cs new file mode 100644 index 00000000..542dd3a5 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemConcurrencySourceSourceType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemConcurrencySourceSourceTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemConcurrencySourceSourceType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemConcurrencySourceSourceTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemConcurrencySourceSourceType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemConcurrencySourceSourceType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemConcurrencySourceSourceType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartShowItemConcurrencySourceSourceTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemConcurrencySourceSourceTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemConcurrencySourceSourceTypeNullable.g.cs new file mode 100644 index 00000000..807e8cc7 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemConcurrencySourceSourceTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemConcurrencySourceSourceTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemConcurrencySourceSourceType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemConcurrencySourceSourceTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemConcurrencySourceSourceType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemConcurrencySourceSourceType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemConcurrencySourceSourceType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartShowItemConcurrencySourceSourceTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceMeasurementType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceMeasurementType.g.cs new file mode 100644 index 00000000..7a0c72d5 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceMeasurementType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemCustomFieldSourceMeasurementTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemCustomFieldSourceMeasurementTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartShowItemCustomFieldSourceMeasurementTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceMeasurementTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceMeasurementTypeNullable.g.cs new file mode 100644 index 00000000..35b4c10f --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceMeasurementTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemCustomFieldSourceMeasurementTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemCustomFieldSourceMeasurementTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartShowItemCustomFieldSourceMeasurementTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceCast.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceCast.g.cs new file mode 100644 index 00000000..772ea18a --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceCast.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemCustomFieldSourceSourceCastJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemCustomFieldSourceSourceCast Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemCustomFieldSourceSourceCastExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemCustomFieldSourceSourceCast)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemCustomFieldSourceSourceCast); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemCustomFieldSourceSourceCast value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartShowItemCustomFieldSourceSourceCastExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceCastNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceCastNullable.g.cs new file mode 100644 index 00000000..2449dfbb --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceCastNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemCustomFieldSourceSourceCastNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemCustomFieldSourceSourceCast? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemCustomFieldSourceSourceCastExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemCustomFieldSourceSourceCast)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemCustomFieldSourceSourceCast?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemCustomFieldSourceSourceCast? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartShowItemCustomFieldSourceSourceCastExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceType.g.cs new file mode 100644 index 00000000..c8760478 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemCustomFieldSourceSourceTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemCustomFieldSourceSourceType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemCustomFieldSourceSourceTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemCustomFieldSourceSourceType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemCustomFieldSourceSourceType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemCustomFieldSourceSourceType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartShowItemCustomFieldSourceSourceTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceTypeNullable.g.cs new file mode 100644 index 00000000..1a3d8156 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemCustomFieldSourceSourceTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemCustomFieldSourceSourceType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemCustomFieldSourceSourceTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemCustomFieldSourceSourceType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemCustomFieldSourceSourceType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemCustomFieldSourceSourceType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartShowItemCustomFieldSourceSourceTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomToolSourceMeasurementType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomToolSourceMeasurementType.g.cs new file mode 100644 index 00000000..39dc7966 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomToolSourceMeasurementType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemCustomToolSourceMeasurementTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemCustomToolSourceMeasurementType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemCustomToolSourceMeasurementTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemCustomToolSourceMeasurementType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemCustomToolSourceMeasurementType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemCustomToolSourceMeasurementType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartShowItemCustomToolSourceMeasurementTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomToolSourceMeasurementTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomToolSourceMeasurementTypeNullable.g.cs new file mode 100644 index 00000000..07421a39 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomToolSourceMeasurementTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemCustomToolSourceMeasurementTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemCustomToolSourceMeasurementType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemCustomToolSourceMeasurementTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemCustomToolSourceMeasurementType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemCustomToolSourceMeasurementType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemCustomToolSourceMeasurementType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartShowItemCustomToolSourceMeasurementTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomToolSourceSourceType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomToolSourceSourceType.g.cs new file mode 100644 index 00000000..8599463c --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomToolSourceSourceType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemCustomToolSourceSourceTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemCustomToolSourceSourceType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemCustomToolSourceSourceTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemCustomToolSourceSourceType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemCustomToolSourceSourceType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemCustomToolSourceSourceType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartShowItemCustomToolSourceSourceTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomToolSourceSourceTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomToolSourceSourceTypeNullable.g.cs new file mode 100644 index 00000000..48cd723c --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemCustomToolSourceSourceTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemCustomToolSourceSourceTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemCustomToolSourceSourceType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemCustomToolSourceSourceTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemCustomToolSourceSourceType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemCustomToolSourceSourceType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemCustomToolSourceSourceType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartShowItemCustomToolSourceSourceTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemKeywordSourceMeasurementType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemKeywordSourceMeasurementType.g.cs new file mode 100644 index 00000000..150037aa --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemKeywordSourceMeasurementType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemKeywordSourceMeasurementTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemKeywordSourceMeasurementType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemKeywordSourceMeasurementTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemKeywordSourceMeasurementType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemKeywordSourceMeasurementType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemKeywordSourceMeasurementType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartShowItemKeywordSourceMeasurementTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemKeywordSourceMeasurementTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemKeywordSourceMeasurementTypeNullable.g.cs new file mode 100644 index 00000000..1953b793 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemKeywordSourceMeasurementTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemKeywordSourceMeasurementTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemKeywordSourceMeasurementType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemKeywordSourceMeasurementTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemKeywordSourceMeasurementType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemKeywordSourceMeasurementType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemKeywordSourceMeasurementType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartShowItemKeywordSourceMeasurementTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemKeywordSourceSourceType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemKeywordSourceSourceType.g.cs new file mode 100644 index 00000000..7a803eff --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemKeywordSourceSourceType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemKeywordSourceSourceTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemKeywordSourceSourceType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemKeywordSourceSourceTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemKeywordSourceSourceType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemKeywordSourceSourceType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemKeywordSourceSourceType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartShowItemKeywordSourceSourceTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemKeywordSourceSourceTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemKeywordSourceSourceTypeNullable.g.cs new file mode 100644 index 00000000..00fade89 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemKeywordSourceSourceTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemKeywordSourceSourceTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemKeywordSourceSourceType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemKeywordSourceSourceTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemKeywordSourceSourceType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemKeywordSourceSourceType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemKeywordSourceSourceType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartShowItemKeywordSourceSourceTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemNumericSourceMeasurementType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemNumericSourceMeasurementType.g.cs new file mode 100644 index 00000000..0c3dfe30 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemNumericSourceMeasurementType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemNumericSourceMeasurementTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemNumericSourceMeasurementType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemNumericSourceMeasurementTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemNumericSourceMeasurementType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemNumericSourceMeasurementType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemNumericSourceMeasurementType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartShowItemNumericSourceMeasurementTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemNumericSourceMeasurementTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemNumericSourceMeasurementTypeNullable.g.cs new file mode 100644 index 00000000..64ee2917 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemNumericSourceMeasurementTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemNumericSourceMeasurementTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemNumericSourceMeasurementType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemNumericSourceMeasurementTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemNumericSourceMeasurementType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemNumericSourceMeasurementType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemNumericSourceMeasurementType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartShowItemNumericSourceMeasurementTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemNumericSourceSourceType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemNumericSourceSourceType.g.cs new file mode 100644 index 00000000..71c8b1b9 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemNumericSourceSourceType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemNumericSourceSourceTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemNumericSourceSourceType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemNumericSourceSourceTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemNumericSourceSourceType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemNumericSourceSourceType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemNumericSourceSourceType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartShowItemNumericSourceSourceTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemNumericSourceSourceTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemNumericSourceSourceTypeNullable.g.cs new file mode 100644 index 00000000..504d57e6 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartShowItemNumericSourceSourceTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartShowItemNumericSourceSourceTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartShowItemNumericSourceSourceType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartShowItemNumericSourceSourceTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartShowItemNumericSourceSourceType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartShowItemNumericSourceSourceType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartShowItemNumericSourceSourceType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartShowItemNumericSourceSourceTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRange.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRange.g.cs new file mode 100644 index 00000000..b55a7c23 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRange.g.cs @@ -0,0 +1,286 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace RetellAI.JsonConverters +{ + /// + public class ChartTimeRangeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartTimeRange Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name); + } + } + + } + } + + var __score0 = 0; + if (__jsonProps.Contains("type")) __score0++; + if (__jsonProps.Contains("window")) __score0++; + if (__jsonProps.Contains("window.unit")) __score0++; + if (__jsonProps.Contains("window.value")) __score0++; + var __score1 = 0; + if (__jsonProps.Contains("type")) __score1++; + if (__jsonProps.Contains("value")) __score1++; + var __score2 = 0; + if (__jsonProps.Contains("type")) __score2++; + if (__jsonProps.Contains("unit")) __score2++; + var __score3 = 0; + if (__jsonProps.Contains("type")) __score3++; + if (__jsonProps.Contains("value")) __score3++; + var __score4 = 0; + if (__jsonProps.Contains("type")) __score4++; + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } + if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } + if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } + + global::RetellAI.ChartTimeRangeVariant1? chartTimeRangeVariant1 = default; + global::RetellAI.ChartTimeRangeVariant2? chartTimeRangeVariant2 = default; + global::RetellAI.ChartTimeRangeVariant3? chartTimeRangeVariant3 = default; + global::RetellAI.ChartTimeRangeVariant4? chartTimeRangeVariant4 = default; + global::RetellAI.ChartTimeRangeVariant5? chartTimeRangeVariant5 = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant1).Name}"); + chartTimeRangeVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 1) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant2).Name}"); + chartTimeRangeVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 2) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant3).Name}"); + chartTimeRangeVariant3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 3) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant4).Name}"); + chartTimeRangeVariant4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 4) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant5).Name}"); + chartTimeRangeVariant5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (chartTimeRangeVariant1 == null && chartTimeRangeVariant2 == null && chartTimeRangeVariant3 == null && chartTimeRangeVariant4 == null && chartTimeRangeVariant5 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant1).Name}"); + chartTimeRangeVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (chartTimeRangeVariant1 == null && chartTimeRangeVariant2 == null && chartTimeRangeVariant3 == null && chartTimeRangeVariant4 == null && chartTimeRangeVariant5 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant2).Name}"); + chartTimeRangeVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (chartTimeRangeVariant1 == null && chartTimeRangeVariant2 == null && chartTimeRangeVariant3 == null && chartTimeRangeVariant4 == null && chartTimeRangeVariant5 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant3).Name}"); + chartTimeRangeVariant3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (chartTimeRangeVariant1 == null && chartTimeRangeVariant2 == null && chartTimeRangeVariant3 == null && chartTimeRangeVariant4 == null && chartTimeRangeVariant5 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant4).Name}"); + chartTimeRangeVariant4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (chartTimeRangeVariant1 == null && chartTimeRangeVariant2 == null && chartTimeRangeVariant3 == null && chartTimeRangeVariant4 == null && chartTimeRangeVariant5 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant5).Name}"); + chartTimeRangeVariant5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::RetellAI.ChartTimeRange( + chartTimeRangeVariant1, + + chartTimeRangeVariant2, + + chartTimeRangeVariant3, + + chartTimeRangeVariant4, + + chartTimeRangeVariant5 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartTimeRange value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsChartTimeRangeVariant1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChartTimeRangeVariant1!, typeInfo); + } + else if (value.IsChartTimeRangeVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChartTimeRangeVariant2!, typeInfo); + } + else if (value.IsChartTimeRangeVariant3) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant3).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChartTimeRangeVariant3!, typeInfo); + } + else if (value.IsChartTimeRangeVariant4) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant4).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChartTimeRangeVariant4!, typeInfo); + } + else if (value.IsChartTimeRangeVariant5) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ChartTimeRangeVariant5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ChartTimeRangeVariant5).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChartTimeRangeVariant5!, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant1Type.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant1Type.g.cs new file mode 100644 index 00000000..ca73192f --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant1Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartTimeRangeVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartTimeRangeVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartTimeRangeVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartTimeRangeVariant1Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartTimeRangeVariant1Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartTimeRangeVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant1TypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant1TypeNullable.g.cs new file mode 100644 index 00000000..e47d8e61 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant1TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartTimeRangeVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartTimeRangeVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartTimeRangeVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartTimeRangeVariant1Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartTimeRangeVariant1Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartTimeRangeVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AccessTokenAuthConfigRequestType.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant1WindowUnit.g.cs similarity index 68% rename from src/libs/RetellAI/Generated/RetellAI.JsonConverters.AccessTokenAuthConfigRequestType.g.cs rename to src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant1WindowUnit.g.cs index 8d603e1e..c510f696 100644 --- a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AccessTokenAuthConfigRequestType.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant1WindowUnit.g.cs @@ -3,10 +3,10 @@ namespace RetellAI.JsonConverters { /// - public sealed class AccessTokenAuthConfigRequestTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ChartTimeRangeVariant1WindowUnitJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::RetellAI.AccessTokenAuthConfigRequestType Read( + public override global::RetellAI.ChartTimeRangeVariant1WindowUnit Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class AccessTokenAuthConfigRequestTypeJsonConverter : global::Syst var stringValue = reader.GetString(); if (stringValue != null) { - return global::RetellAI.AccessTokenAuthConfigRequestTypeExtensions.ToEnum(stringValue) ?? default; + return global::RetellAI.ChartTimeRangeVariant1WindowUnitExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class AccessTokenAuthConfigRequestTypeJsonConverter : global::Syst case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::RetellAI.AccessTokenAuthConfigRequestType)numValue; + return (global::RetellAI.ChartTimeRangeVariant1WindowUnit)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::RetellAI.AccessTokenAuthConfigRequestType); + return default(global::RetellAI.ChartTimeRangeVariant1WindowUnit); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class AccessTokenAuthConfigRequestTypeJsonConverter : global::Syst /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::RetellAI.AccessTokenAuthConfigRequestType value, + global::RetellAI.ChartTimeRangeVariant1WindowUnit value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::RetellAI.AccessTokenAuthConfigRequestTypeExtensions.ToValueString(value)); + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant1WindowUnitExtensions.ToValueString(value)); } } } diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AccessTokenAuthConfigRequestTypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant1WindowUnitNullable.g.cs similarity index 69% rename from src/libs/RetellAI/Generated/RetellAI.JsonConverters.AccessTokenAuthConfigRequestTypeNullable.g.cs rename to src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant1WindowUnitNullable.g.cs index c9bb5ac9..b86f3108 100644 --- a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.AccessTokenAuthConfigRequestTypeNullable.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant1WindowUnitNullable.g.cs @@ -3,10 +3,10 @@ namespace RetellAI.JsonConverters { /// - public sealed class AccessTokenAuthConfigRequestTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ChartTimeRangeVariant1WindowUnitNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::RetellAI.AccessTokenAuthConfigRequestType? Read( + public override global::RetellAI.ChartTimeRangeVariant1WindowUnit? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class AccessTokenAuthConfigRequestTypeNullableJsonConverter : glob var stringValue = reader.GetString(); if (stringValue != null) { - return global::RetellAI.AccessTokenAuthConfigRequestTypeExtensions.ToEnum(stringValue); + return global::RetellAI.ChartTimeRangeVariant1WindowUnitExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class AccessTokenAuthConfigRequestTypeNullableJsonConverter : glob case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::RetellAI.AccessTokenAuthConfigRequestType)numValue; + return (global::RetellAI.ChartTimeRangeVariant1WindowUnit)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::RetellAI.AccessTokenAuthConfigRequestType?); + return default(global::RetellAI.ChartTimeRangeVariant1WindowUnit?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class AccessTokenAuthConfigRequestTypeNullableJsonConverter : glob /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::RetellAI.AccessTokenAuthConfigRequestType? value, + global::RetellAI.ChartTimeRangeVariant1WindowUnit? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::RetellAI.AccessTokenAuthConfigRequestTypeExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant1WindowUnitExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant2Type.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant2Type.g.cs new file mode 100644 index 00000000..3d0cd4cc --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant2Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartTimeRangeVariant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartTimeRangeVariant2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartTimeRangeVariant2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartTimeRangeVariant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartTimeRangeVariant2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartTimeRangeVariant2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant2TypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant2TypeNullable.g.cs new file mode 100644 index 00000000..8b87506f --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant2TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartTimeRangeVariant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartTimeRangeVariant2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartTimeRangeVariant2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartTimeRangeVariant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartTimeRangeVariant2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartTimeRangeVariant2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant3Type.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant3Type.g.cs new file mode 100644 index 00000000..19c8bace --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant3Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartTimeRangeVariant3TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartTimeRangeVariant3Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartTimeRangeVariant3TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartTimeRangeVariant3Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartTimeRangeVariant3Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartTimeRangeVariant3Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant3TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant3TypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant3TypeNullable.g.cs new file mode 100644 index 00000000..026791e3 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant3TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartTimeRangeVariant3TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartTimeRangeVariant3Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartTimeRangeVariant3TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartTimeRangeVariant3Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartTimeRangeVariant3Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartTimeRangeVariant3Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant3TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant3Unit.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant3Unit.g.cs new file mode 100644 index 00000000..b87935e8 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant3Unit.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartTimeRangeVariant3UnitJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartTimeRangeVariant3Unit Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartTimeRangeVariant3UnitExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartTimeRangeVariant3Unit)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartTimeRangeVariant3Unit); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartTimeRangeVariant3Unit value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant3UnitExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant3UnitNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant3UnitNullable.g.cs new file mode 100644 index 00000000..58fb50e3 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant3UnitNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartTimeRangeVariant3UnitNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartTimeRangeVariant3Unit? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartTimeRangeVariant3UnitExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartTimeRangeVariant3Unit)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartTimeRangeVariant3Unit?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartTimeRangeVariant3Unit? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant3UnitExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant4Type.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant4Type.g.cs new file mode 100644 index 00000000..7ad2b078 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant4Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartTimeRangeVariant4TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartTimeRangeVariant4Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartTimeRangeVariant4TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartTimeRangeVariant4Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartTimeRangeVariant4Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartTimeRangeVariant4Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant4TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant4TypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant4TypeNullable.g.cs new file mode 100644 index 00000000..63eef7d4 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant4TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartTimeRangeVariant4TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartTimeRangeVariant4Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartTimeRangeVariant4TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartTimeRangeVariant4Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartTimeRangeVariant4Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartTimeRangeVariant4Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant4TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant5Type.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant5Type.g.cs new file mode 100644 index 00000000..6fc51474 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant5Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartTimeRangeVariant5TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartTimeRangeVariant5Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartTimeRangeVariant5TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartTimeRangeVariant5Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartTimeRangeVariant5Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartTimeRangeVariant5Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant5TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant5TypeNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant5TypeNullable.g.cs new file mode 100644 index 00000000..063dda60 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ChartTimeRangeVariant5TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class ChartTimeRangeVariant5TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ChartTimeRangeVariant5Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::RetellAI.ChartTimeRangeVariant5TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.ChartTimeRangeVariant5Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.ChartTimeRangeVariant5Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ChartTimeRangeVariant5Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::RetellAI.ChartTimeRangeVariant5TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ContactConversationListResponse.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ContactConversationListResponse.g.cs new file mode 100644 index 00000000..ade7f63a --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ContactConversationListResponse.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace RetellAI.JsonConverters +{ + /// + public class ContactConversationListResponseJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ContactConversationListResponse Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::RetellAI.PaginatedResponseBase? paginatedBase = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.PaginatedResponseBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.PaginatedResponseBase).Name}"); + paginatedBase = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::RetellAI.ContactConversationListResponseVariant2? contactConversationListResponseVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ContactConversationListResponseVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ContactConversationListResponseVariant2).Name}"); + contactConversationListResponseVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::RetellAI.ContactConversationListResponse( + paginatedBase, + + contactConversationListResponseVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ContactConversationListResponse value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsPaginatedBase) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.PaginatedResponseBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.PaginatedResponseBase).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PaginatedBase!, typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsContactConversationListResponseVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ContactConversationListResponseVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ContactConversationListResponseVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.ContactConversationListResponseVariant2!, typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ContactListResponse.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ContactListResponse.g.cs new file mode 100644 index 00000000..5458d576 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.ContactListResponse.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace RetellAI.JsonConverters +{ + /// + public class ContactListResponseJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.ContactListResponse Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::RetellAI.PaginatedResponseBase? paginatedBase = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.PaginatedResponseBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.PaginatedResponseBase).Name}"); + paginatedBase = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::RetellAI.ContactListResponseVariant2? contactListResponseVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ContactListResponseVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ContactListResponseVariant2).Name}"); + contactListResponseVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::RetellAI.ContactListResponse( + paginatedBase, + + contactListResponseVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.ContactListResponse value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsPaginatedBase) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.PaginatedResponseBase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.PaginatedResponseBase).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PaginatedBase!, typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsContactListResponseVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::RetellAI.ContactListResponseVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::RetellAI.ContactListResponseVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.ContactListResponseVariant2!, typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContext.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContext.g.cs index 4754421c..e0b2edad 100644 --- a/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContext.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContext.g.cs @@ -769,7 +769,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ConductorOverageConfigVariant3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ConductorOverageConfigVariant3Mode), TypeInfoPropertyName = "ConductorOverageConfigVariant3Mode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.Contact))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactListResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactListResponse), TypeInfoPropertyName = "ContactListResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactListResponseVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactConversation), TypeInfoPropertyName = "ContactConversation2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactCall))] @@ -780,7 +781,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactChatType), TypeInfoPropertyName = "ContactChatType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactChatDirection), TypeInfoPropertyName = "ContactChatDirection2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactChatSentiment), TypeInfoPropertyName = "ContactChatSentiment2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactConversationListResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactConversationListResponse), TypeInfoPropertyName = "ContactConversationListResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactConversationListResponseVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AppType), TypeInfoPropertyName = "AppType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AppConnectionStatus), TypeInfoPropertyName = "AppConnectionStatus2")] @@ -788,12 +790,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.OAuthConfigRequestType), TypeInfoPropertyName = "OAuthConfigRequestType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ApiKeyAuthConfigRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ApiKeyAuthConfigRequestType), TypeInfoPropertyName = "ApiKeyAuthConfigRequestType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AccessTokenAuthConfigRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AccessTokenAuthConfigRequestType), TypeInfoPropertyName = "AccessTokenAuthConfigRequestType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.BasicAuthConfigRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.BasicAuthConfigRequestType), TypeInfoPropertyName = "BasicAuthConfigRequestType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RefreshTokenAuthConfigRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RefreshTokenAuthConfigRequestType), TypeInfoPropertyName = "RefreshTokenAuthConfigRequestType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AuthConfigRequest), TypeInfoPropertyName = "AuthConfigRequest2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.OAuthConfigResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.OAuthConfigResponseType), TypeInfoPropertyName = "OAuthConfigResponseType2")] @@ -810,6 +808,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AppCRMConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AppResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AppResponseTenantType), TypeInfoPropertyName = "AppResponseTenantType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AppUsageResponse), TypeInfoPropertyName = "AppUsageResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentAppUsage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.KnowledgeBaseAppUsage))] @@ -825,12 +824,65 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.JobStatus))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.JobStatusStatus), TypeInfoPropertyName = "JobStatusStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.JobStatusTriggeredBy), TypeInfoPropertyName = "JobStatusTriggeredBy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartGroupType), TypeInfoPropertyName = "ChartGroupType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DashboardSource), TypeInfoPropertyName = "DashboardSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartGroupItem), TypeInfoPropertyName = "ChartGroupItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartGroupItemVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartGroupItemVariant1Type), TypeInfoPropertyName = "ChartGroupItemVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartGroupItemVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartGroupItemVariant2Type), TypeInfoPropertyName = "ChartGroupItemVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItem), TypeInfoPropertyName = "ChartShowItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemKeywordSource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemKeywordSourceSource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemKeywordSourceSourceType), TypeInfoPropertyName = "ChartShowItemKeywordSourceSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemKeywordSourceMeasurement))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemKeywordSourceMeasurementType), TypeInfoPropertyName = "ChartShowItemKeywordSourceMeasurementType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemNumericSource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemNumericSourceSource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemNumericSourceSourceType), TypeInfoPropertyName = "ChartShowItemNumericSourceSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemNumericSourceMeasurement))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemNumericSourceMeasurementType), TypeInfoPropertyName = "ChartShowItemNumericSourceMeasurementType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomFieldSource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomFieldSourceSource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomFieldSourceSourceType), TypeInfoPropertyName = "ChartShowItemCustomFieldSourceSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomFieldSourceSourceCast), TypeInfoPropertyName = "ChartShowItemCustomFieldSourceSourceCast2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomFieldSourceMeasurement))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType), TypeInfoPropertyName = "ChartShowItemCustomFieldSourceMeasurementType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemConcurrencySource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemConcurrencySourceSource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemConcurrencySourceSourceType), TypeInfoPropertyName = "ChartShowItemConcurrencySourceSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemConcurrencySourceMeasurement))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemConcurrencySourceMeasurementType), TypeInfoPropertyName = "ChartShowItemConcurrencySourceMeasurementType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomToolSource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomToolSourceSource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomToolSourceSourceType), TypeInfoPropertyName = "ChartShowItemCustomToolSourceSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomToolSourceMeasurement))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomToolSourceMeasurementType), TypeInfoPropertyName = "ChartShowItemCustomToolSourceMeasurementType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRange), TypeInfoPropertyName = "ChartTimeRange2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant1Type), TypeInfoPropertyName = "ChartTimeRangeVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant1Window))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant1WindowUnit), TypeInfoPropertyName = "ChartTimeRangeVariant1WindowUnit2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant2Type), TypeInfoPropertyName = "ChartTimeRangeVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant3Type), TypeInfoPropertyName = "ChartTimeRangeVariant3Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant3Unit), TypeInfoPropertyName = "ChartTimeRangeVariant3Unit2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant4Type), TypeInfoPropertyName = "ChartTimeRangeVariant4Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant5))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant5Type), TypeInfoPropertyName = "ChartTimeRangeVariant5Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartConfigType), TypeInfoPropertyName = "ChartConfigType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.OneOf), TypeInfoPropertyName = "OneOfChartConfigSizeEnumChartConfigSizeEnum22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartConfigSizeEnum), TypeInfoPropertyName = "ChartConfigSizeEnum2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartConfigSizeEnum2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AnyOf), TypeInfoPropertyName = "AnyOfStoredCallFilterChatFilter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartConfigUnit), TypeInfoPropertyName = "ChartConfigUnit2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartDefinition), TypeInfoPropertyName = "ChartDefinition2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AllOf), TypeInfoPropertyName = "AllOfAgentRequestObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateBatchCallRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -974,6 +1026,24 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateTestCaseDefinitionResponseStatus4), TypeInfoPropertyName = "UpdateTestCaseDefinitionResponseStatus42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateTestCaseDefinitionResponse5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateTestCaseDefinitionResponseStatus5), TypeInfoPropertyName = "UpdateTestCaseDefinitionResponseStatus52")] + internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + Converters = new global::System.Type[] + { + })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetBatchTestResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetBatchTestResponseStatus), TypeInfoPropertyName = "GetBatchTestResponseStatus2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetBatchTestResponse2))] @@ -1026,24 +1096,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateChatAgentResponseStatus3), TypeInfoPropertyName = "CreateChatAgentResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateChatAgentResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateChatAgentResponseStatus4), TypeInfoPropertyName = "CreateChatAgentResponseStatus42")] - internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponse2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponseStatus), TypeInfoPropertyName = "AgentPlaygroundCompletionResponseStatus2_3")] @@ -1486,6 +1538,24 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DeleteAgentVersionResponseStatus), TypeInfoPropertyName = "DeleteAgentVersionResponseStatus2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DeleteAgentVersionResponse2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DeleteAgentVersionResponseStatus2), TypeInfoPropertyName = "DeleteAgentVersionResponseStatus22")] + internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + Converters = new global::System.Type[] + { + })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DeleteAgentVersionResponse3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DeleteAgentVersionResponseStatus3), TypeInfoPropertyName = "DeleteAgentVersionResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DeleteAgentVersionResponse4))] @@ -1538,24 +1608,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponseStatus3), TypeInfoPropertyName = "RepairAgentResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponse5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponseStatus4), TypeInfoPropertyName = "RepairAgentResponseStatus42")] - internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponse6))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponseStatus5), TypeInfoPropertyName = "RepairAgentResponseStatus52")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateChatAgentResponse))] @@ -1998,6 +2050,24 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.BranchNodeVariant2Type?), TypeInfoPropertyName = "NullableBranchNodeVariant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ElseEdge?), TypeInfoPropertyName = "NullableElseEdge2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.BridgeTransferNode?), TypeInfoPropertyName = "NullableBridgeTransferNode2")] + internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + Converters = new global::System.Type[] + { + })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.BridgeTransferNodeVariant2Type?), TypeInfoPropertyName = "NullableBridgeTransferNodeVariant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.BridgeTransferToolType?), TypeInfoPropertyName = "NullableBridgeTransferToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.BridgeTransferToolExecutionMessageType?), TypeInfoPropertyName = "NullableBridgeTransferToolExecutionMessageType2")] @@ -2050,24 +2120,6 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.MCPNode?), TypeInfoPropertyName = "NullableMCPNode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ConversationFlowOverrideStartSpeaker?), TypeInfoPropertyName = "NullableConversationFlowOverrideStartSpeaker2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ConversationFlowResponse?), TypeInfoPropertyName = "NullableConversationFlowResponse2")] - internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ConversationFlow?), TypeInfoPropertyName = "NullableConversationFlow2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ConversationNodeVariant3Type?), TypeInfoPropertyName = "NullableConversationNodeVariant3Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.SkipResponseEdge?), TypeInfoPropertyName = "NullableSkipResponseEdge2")] @@ -2299,6 +2351,7 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ConductorOverageConfigVariant1Mode?), TypeInfoPropertyName = "NullableConductorOverageConfigVariant1Mode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ConductorOverageConfigVariant2Mode?), TypeInfoPropertyName = "NullableConductorOverageConfigVariant2Mode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ConductorOverageConfigVariant3Mode?), TypeInfoPropertyName = "NullableConductorOverageConfigVariant3Mode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactListResponse?), TypeInfoPropertyName = "NullableContactListResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactConversation?), TypeInfoPropertyName = "NullableContactConversation2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactCallType?), TypeInfoPropertyName = "NullableContactCallType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactCallDirection?), TypeInfoPropertyName = "NullableContactCallDirection2")] @@ -2306,13 +2359,12 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactChatType?), TypeInfoPropertyName = "NullableContactChatType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactChatDirection?), TypeInfoPropertyName = "NullableContactChatDirection2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactChatSentiment?), TypeInfoPropertyName = "NullableContactChatSentiment2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ContactConversationListResponse?), TypeInfoPropertyName = "NullableContactConversationListResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AppType?), TypeInfoPropertyName = "NullableAppType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AppConnectionStatus?), TypeInfoPropertyName = "NullableAppConnectionStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.OAuthConfigRequestType?), TypeInfoPropertyName = "NullableOAuthConfigRequestType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ApiKeyAuthConfigRequestType?), TypeInfoPropertyName = "NullableApiKeyAuthConfigRequestType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AccessTokenAuthConfigRequestType?), TypeInfoPropertyName = "NullableAccessTokenAuthConfigRequestType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.BasicAuthConfigRequestType?), TypeInfoPropertyName = "NullableBasicAuthConfigRequestType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RefreshTokenAuthConfigRequestType?), TypeInfoPropertyName = "NullableRefreshTokenAuthConfigRequestType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AuthConfigRequest?), TypeInfoPropertyName = "NullableAuthConfigRequest2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.OAuthConfigResponseType?), TypeInfoPropertyName = "NullableOAuthConfigResponseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ApiKeyAuthConfigResponseType?), TypeInfoPropertyName = "NullableApiKeyAuthConfigResponseType2")] @@ -2320,6 +2372,7 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.BasicAuthConfigResponseType?), TypeInfoPropertyName = "NullableBasicAuthConfigResponseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RefreshTokenAuthConfigResponseType?), TypeInfoPropertyName = "NullableRefreshTokenAuthConfigResponseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AppAuthConfigResponse?), TypeInfoPropertyName = "NullableAppAuthConfigResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AppResponseTenantType?), TypeInfoPropertyName = "NullableAppResponseTenantType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AppUsageResponse?), TypeInfoPropertyName = "NullableAppUsageResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentAppUsageType?), TypeInfoPropertyName = "NullableAgentAppUsageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.KnowledgeBaseAppUsageType?), TypeInfoPropertyName = "NullableKnowledgeBaseAppUsageType2")] @@ -2327,10 +2380,37 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CRMAnalysisDataMappingUpdateMode?), TypeInfoPropertyName = "NullableCRMAnalysisDataMappingUpdateMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.JobStatusStatus?), TypeInfoPropertyName = "NullableJobStatusStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.JobStatusTriggeredBy?), TypeInfoPropertyName = "NullableJobStatusTriggeredBy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartGroupType?), TypeInfoPropertyName = "NullableChartGroupType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DashboardSource?), TypeInfoPropertyName = "NullableDashboardSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartGroupItem?), TypeInfoPropertyName = "NullableChartGroupItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartGroupItemVariant1Type?), TypeInfoPropertyName = "NullableChartGroupItemVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartGroupItemVariant2Type?), TypeInfoPropertyName = "NullableChartGroupItemVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItem?), TypeInfoPropertyName = "NullableChartShowItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemKeywordSourceSourceType?), TypeInfoPropertyName = "NullableChartShowItemKeywordSourceSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemKeywordSourceMeasurementType?), TypeInfoPropertyName = "NullableChartShowItemKeywordSourceMeasurementType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemNumericSourceSourceType?), TypeInfoPropertyName = "NullableChartShowItemNumericSourceSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemNumericSourceMeasurementType?), TypeInfoPropertyName = "NullableChartShowItemNumericSourceMeasurementType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomFieldSourceSourceType?), TypeInfoPropertyName = "NullableChartShowItemCustomFieldSourceSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomFieldSourceSourceCast?), TypeInfoPropertyName = "NullableChartShowItemCustomFieldSourceSourceCast2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType?), TypeInfoPropertyName = "NullableChartShowItemCustomFieldSourceMeasurementType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemConcurrencySourceSourceType?), TypeInfoPropertyName = "NullableChartShowItemConcurrencySourceSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemConcurrencySourceMeasurementType?), TypeInfoPropertyName = "NullableChartShowItemConcurrencySourceMeasurementType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomToolSourceSourceType?), TypeInfoPropertyName = "NullableChartShowItemCustomToolSourceSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartShowItemCustomToolSourceMeasurementType?), TypeInfoPropertyName = "NullableChartShowItemCustomToolSourceMeasurementType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRange?), TypeInfoPropertyName = "NullableChartTimeRange2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant1Type?), TypeInfoPropertyName = "NullableChartTimeRangeVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant1WindowUnit?), TypeInfoPropertyName = "NullableChartTimeRangeVariant1WindowUnit2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant2Type?), TypeInfoPropertyName = "NullableChartTimeRangeVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant3Type?), TypeInfoPropertyName = "NullableChartTimeRangeVariant3Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant3Unit?), TypeInfoPropertyName = "NullableChartTimeRangeVariant3Unit2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant4Type?), TypeInfoPropertyName = "NullableChartTimeRangeVariant4Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartTimeRangeVariant5Type?), TypeInfoPropertyName = "NullableChartTimeRangeVariant5Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartConfigType?), TypeInfoPropertyName = "NullableChartConfigType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.OneOf?), TypeInfoPropertyName = "NullableOneOfChartConfigSizeEnumChartConfigSizeEnum22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartConfigSizeEnum?), TypeInfoPropertyName = "NullableChartConfigSizeEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStoredCallFilterChatFilter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartConfigUnit?), TypeInfoPropertyName = "NullableChartConfigUnit2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChartDefinition?), TypeInfoPropertyName = "NullableChartDefinition2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AllOf?), TypeInfoPropertyName = "NullableAllOfAgentRequestObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AllOf?), TypeInfoPropertyName = "NullableAllOfTestCaseDefinitionInputObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AllOf?), TypeInfoPropertyName = "NullableAllOfChatAgentRequestObject2")] @@ -2482,6 +2562,24 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DeleteChatAgentResponseStatus?), TypeInfoPropertyName = "NullableDeleteChatAgentResponseStatus2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DeleteChatAgentResponseStatus2?), TypeInfoPropertyName = "NullableDeleteChatAgentResponseStatus22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DeleteChatAgentResponseStatus3?), TypeInfoPropertyName = "NullableDeleteChatAgentResponseStatus32")] + internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + Converters = new global::System.Type[] + { + })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DeleteChatAgentResponseStatus4?), TypeInfoPropertyName = "NullableDeleteChatAgentResponseStatus42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DeleteConversationFlowComponentResponseStatus?), TypeInfoPropertyName = "NullableDeleteConversationFlowComponentResponseStatus2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.DeleteConversationFlowComponentResponseStatus2?), TypeInfoPropertyName = "NullableDeleteConversationFlowComponentResponseStatus22")] @@ -2562,24 +2660,6 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetPhoneNumberResponseStatus2?), TypeInfoPropertyName = "NullableGetPhoneNumberResponseStatus22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetPhoneNumberResponseStatus3?), TypeInfoPropertyName = "NullableGetPhoneNumberResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetPhoneNumberResponseStatus4?), TypeInfoPropertyName = "NullableGetPhoneNumberResponseStatus42")] - internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetRetellLLMResponseStatus?), TypeInfoPropertyName = "NullableGetRetellLLMResponseStatus2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetRetellLLMResponseStatus2?), TypeInfoPropertyName = "NullableGetRetellLLMResponseStatus22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetRetellLLMResponseStatus3?), TypeInfoPropertyName = "NullableGetRetellLLMResponseStatus32")] @@ -2945,6 +3025,9 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -3082,11 +3165,16 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::RetellAI.JsonConverters.VoicemailActionJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.IvrActionJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.ConductorOverageConfigJsonConverter()); + options.Converters.Add(new global::RetellAI.JsonConverters.ContactListResponseJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.ContactConversationJsonConverter()); + options.Converters.Add(new global::RetellAI.JsonConverters.ContactConversationListResponseJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AuthConfigRequestJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AppAuthConfigResponseJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AppUsageResponseJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.ChartGroupItemJsonConverter()); + options.Converters.Add(new global::RetellAI.JsonConverters.ChartShowItemJsonConverter()); + options.Converters.Add(new global::RetellAI.JsonConverters.ChartTimeRangeJsonConverter()); + options.Converters.Add(new global::RetellAI.JsonConverters.ChartDefinitionJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); @@ -3144,6 +3232,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::RetellAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.OneOfJsonConverter>()); + options.Converters.Add(new global::RetellAI.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::RetellAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); @@ -4155,18 +4245,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::RetellAI.ApiKeyAuthConfigRequestType?) - || typeToConvert == typeof(global::RetellAI.AccessTokenAuthConfigRequestType) - - || typeToConvert == typeof(global::RetellAI.AccessTokenAuthConfigRequestType?) - || typeToConvert == typeof(global::RetellAI.BasicAuthConfigRequestType) || typeToConvert == typeof(global::RetellAI.BasicAuthConfigRequestType?) - || typeToConvert == typeof(global::RetellAI.RefreshTokenAuthConfigRequestType) - - || typeToConvert == typeof(global::RetellAI.RefreshTokenAuthConfigRequestType?) - || typeToConvert == typeof(global::RetellAI.OAuthConfigResponseType) || typeToConvert == typeof(global::RetellAI.OAuthConfigResponseType?) @@ -4187,6 +4269,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::RetellAI.RefreshTokenAuthConfigResponseType?) + || typeToConvert == typeof(global::RetellAI.AppResponseTenantType) + + || typeToConvert == typeof(global::RetellAI.AppResponseTenantType?) + || typeToConvert == typeof(global::RetellAI.AgentAppUsageType) || typeToConvert == typeof(global::RetellAI.AgentAppUsageType?) @@ -4211,6 +4297,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::RetellAI.JobStatusTriggeredBy?) + || typeToConvert == typeof(global::RetellAI.ChartGroupType) + + || typeToConvert == typeof(global::RetellAI.ChartGroupType?) + || typeToConvert == typeof(global::RetellAI.DashboardSource) || typeToConvert == typeof(global::RetellAI.DashboardSource?) @@ -4223,6 +4313,90 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::RetellAI.ChartGroupItemVariant2Type?) + || typeToConvert == typeof(global::RetellAI.ChartShowItemKeywordSourceSourceType) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemKeywordSourceSourceType?) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemKeywordSourceMeasurementType) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemKeywordSourceMeasurementType?) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemNumericSourceSourceType) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemNumericSourceSourceType?) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemNumericSourceMeasurementType) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemNumericSourceMeasurementType?) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemCustomFieldSourceSourceType) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemCustomFieldSourceSourceType?) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemCustomFieldSourceSourceCast) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemCustomFieldSourceSourceCast?) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType?) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemConcurrencySourceSourceType) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemConcurrencySourceSourceType?) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemConcurrencySourceMeasurementType) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemConcurrencySourceMeasurementType?) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemCustomToolSourceSourceType) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemCustomToolSourceSourceType?) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemCustomToolSourceMeasurementType) + + || typeToConvert == typeof(global::RetellAI.ChartShowItemCustomToolSourceMeasurementType?) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant1Type) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant1Type?) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant1WindowUnit) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant1WindowUnit?) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant2Type) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant2Type?) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant3Type) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant3Type?) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant3Unit) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant3Unit?) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant4Type) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant4Type?) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant5Type) + + || typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant5Type?) + + || typeToConvert == typeof(global::RetellAI.ChartConfigType) + + || typeToConvert == typeof(global::RetellAI.ChartConfigType?) + + || typeToConvert == typeof(global::RetellAI.ChartConfigSizeEnum) + + || typeToConvert == typeof(global::RetellAI.ChartConfigSizeEnum?) + + || typeToConvert == typeof(global::RetellAI.ChartConfigUnit) + + || typeToConvert == typeof(global::RetellAI.ChartConfigUnit?) + || typeToConvert == typeof(global::RetellAI.CreatePhoneNumberRequestNumberProvider) || typeToConvert == typeof(global::RetellAI.CreatePhoneNumberRequestNumberProvider?) @@ -8648,16 +8822,6 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::RetellAI.JsonConverters.ApiKeyAuthConfigRequestTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::RetellAI.AccessTokenAuthConfigRequestType)) - { - return new global::RetellAI.JsonConverters.AccessTokenAuthConfigRequestTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::RetellAI.AccessTokenAuthConfigRequestType?)) - { - return new global::RetellAI.JsonConverters.AccessTokenAuthConfigRequestTypeNullableJsonConverter(); - } - if (typeToConvert == typeof(global::RetellAI.BasicAuthConfigRequestType)) { return new global::RetellAI.JsonConverters.BasicAuthConfigRequestTypeJsonConverter(); @@ -8668,16 +8832,6 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::RetellAI.JsonConverters.BasicAuthConfigRequestTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::RetellAI.RefreshTokenAuthConfigRequestType)) - { - return new global::RetellAI.JsonConverters.RefreshTokenAuthConfigRequestTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::RetellAI.RefreshTokenAuthConfigRequestType?)) - { - return new global::RetellAI.JsonConverters.RefreshTokenAuthConfigRequestTypeNullableJsonConverter(); - } - if (typeToConvert == typeof(global::RetellAI.OAuthConfigResponseType)) { return new global::RetellAI.JsonConverters.OAuthConfigResponseTypeJsonConverter(); @@ -8728,6 +8882,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::RetellAI.JsonConverters.RefreshTokenAuthConfigResponseTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::RetellAI.AppResponseTenantType)) + { + return new global::RetellAI.JsonConverters.AppResponseTenantTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.AppResponseTenantType?)) + { + return new global::RetellAI.JsonConverters.AppResponseTenantTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::RetellAI.AgentAppUsageType)) { return new global::RetellAI.JsonConverters.AgentAppUsageTypeJsonConverter(); @@ -8788,6 +8952,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::RetellAI.JsonConverters.JobStatusTriggeredByNullableJsonConverter(); } + if (typeToConvert == typeof(global::RetellAI.ChartGroupType)) + { + return new global::RetellAI.JsonConverters.ChartGroupTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartGroupType?)) + { + return new global::RetellAI.JsonConverters.ChartGroupTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::RetellAI.DashboardSource)) { return new global::RetellAI.JsonConverters.DashboardSourceJsonConverter(); @@ -8818,6 +8992,216 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::RetellAI.JsonConverters.ChartGroupItemVariant2TypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::RetellAI.ChartShowItemKeywordSourceSourceType)) + { + return new global::RetellAI.JsonConverters.ChartShowItemKeywordSourceSourceTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemKeywordSourceSourceType?)) + { + return new global::RetellAI.JsonConverters.ChartShowItemKeywordSourceSourceTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemKeywordSourceMeasurementType)) + { + return new global::RetellAI.JsonConverters.ChartShowItemKeywordSourceMeasurementTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemKeywordSourceMeasurementType?)) + { + return new global::RetellAI.JsonConverters.ChartShowItemKeywordSourceMeasurementTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemNumericSourceSourceType)) + { + return new global::RetellAI.JsonConverters.ChartShowItemNumericSourceSourceTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemNumericSourceSourceType?)) + { + return new global::RetellAI.JsonConverters.ChartShowItemNumericSourceSourceTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemNumericSourceMeasurementType)) + { + return new global::RetellAI.JsonConverters.ChartShowItemNumericSourceMeasurementTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemNumericSourceMeasurementType?)) + { + return new global::RetellAI.JsonConverters.ChartShowItemNumericSourceMeasurementTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemCustomFieldSourceSourceType)) + { + return new global::RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemCustomFieldSourceSourceType?)) + { + return new global::RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemCustomFieldSourceSourceCast)) + { + return new global::RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceCastJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemCustomFieldSourceSourceCast?)) + { + return new global::RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceCastNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType)) + { + return new global::RetellAI.JsonConverters.ChartShowItemCustomFieldSourceMeasurementTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType?)) + { + return new global::RetellAI.JsonConverters.ChartShowItemCustomFieldSourceMeasurementTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemConcurrencySourceSourceType)) + { + return new global::RetellAI.JsonConverters.ChartShowItemConcurrencySourceSourceTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemConcurrencySourceSourceType?)) + { + return new global::RetellAI.JsonConverters.ChartShowItemConcurrencySourceSourceTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemConcurrencySourceMeasurementType)) + { + return new global::RetellAI.JsonConverters.ChartShowItemConcurrencySourceMeasurementTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemConcurrencySourceMeasurementType?)) + { + return new global::RetellAI.JsonConverters.ChartShowItemConcurrencySourceMeasurementTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemCustomToolSourceSourceType)) + { + return new global::RetellAI.JsonConverters.ChartShowItemCustomToolSourceSourceTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemCustomToolSourceSourceType?)) + { + return new global::RetellAI.JsonConverters.ChartShowItemCustomToolSourceSourceTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemCustomToolSourceMeasurementType)) + { + return new global::RetellAI.JsonConverters.ChartShowItemCustomToolSourceMeasurementTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartShowItemCustomToolSourceMeasurementType?)) + { + return new global::RetellAI.JsonConverters.ChartShowItemCustomToolSourceMeasurementTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant1Type)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant1TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant1Type?)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant1TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant1WindowUnit)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant1WindowUnitJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant1WindowUnit?)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant1WindowUnitNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant2Type)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant2Type?)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant2TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant3Type)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant3TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant3Type?)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant3TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant3Unit)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant3UnitJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant3Unit?)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant3UnitNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant4Type)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant4TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant4Type?)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant4TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant5Type)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant5TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartTimeRangeVariant5Type?)) + { + return new global::RetellAI.JsonConverters.ChartTimeRangeVariant5TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartConfigType)) + { + return new global::RetellAI.JsonConverters.ChartConfigTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartConfigType?)) + { + return new global::RetellAI.JsonConverters.ChartConfigTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartConfigSizeEnum)) + { + return new global::RetellAI.JsonConverters.ChartConfigSizeEnumJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartConfigSizeEnum?)) + { + return new global::RetellAI.JsonConverters.ChartConfigSizeEnumNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartConfigUnit)) + { + return new global::RetellAI.JsonConverters.ChartConfigUnitJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.ChartConfigUnit?)) + { + return new global::RetellAI.JsonConverters.ChartConfigUnitNullableJsonConverter(); + } + if (typeToConvert == typeof(global::RetellAI.CreatePhoneNumberRequestNumberProvider)) { return new global::RetellAI.JsonConverters.CreatePhoneNumberRequestNumberProviderJsonConverter(); diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContextTypes.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContextTypes.g.cs index 1e3aa6a3..25228755 100644 --- a/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContextTypes.g.cs @@ -2945,83 +2945,83 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.IList? Type728 { get; set; } + public global::RetellAI.ContactListResponseVariant2? Type728 { get; set; } /// /// /// - public global::RetellAI.ContactConversation? Type729 { get; set; } + public global::System.Collections.Generic.IList? Type729 { get; set; } /// /// /// - public global::RetellAI.ContactCall? Type730 { get; set; } + public global::RetellAI.ContactConversation? Type730 { get; set; } /// /// /// - public global::RetellAI.ContactChat? Type731 { get; set; } + public global::RetellAI.ContactCall? Type731 { get; set; } /// /// /// - public global::RetellAI.ContactCallType? Type732 { get; set; } + public global::RetellAI.ContactChat? Type732 { get; set; } /// /// /// - public global::RetellAI.ContactCallDirection? Type733 { get; set; } + public global::RetellAI.ContactCallType? Type733 { get; set; } /// /// /// - public global::RetellAI.ContactCallSentiment? Type734 { get; set; } + public global::RetellAI.ContactCallDirection? Type734 { get; set; } /// /// /// - public global::RetellAI.ContactChatType? Type735 { get; set; } + public global::RetellAI.ContactCallSentiment? Type735 { get; set; } /// /// /// - public global::RetellAI.ContactChatDirection? Type736 { get; set; } + public global::RetellAI.ContactChatType? Type736 { get; set; } /// /// /// - public global::RetellAI.ContactChatSentiment? Type737 { get; set; } + public global::RetellAI.ContactChatDirection? Type737 { get; set; } /// /// /// - public global::RetellAI.ContactConversationListResponse? Type738 { get; set; } + public global::RetellAI.ContactChatSentiment? Type738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type739 { get; set; } + public global::RetellAI.ContactConversationListResponse? Type739 { get; set; } /// /// /// - public global::RetellAI.AppType? Type740 { get; set; } + public global::RetellAI.ContactConversationListResponseVariant2? Type740 { get; set; } /// /// /// - public global::RetellAI.AppConnectionStatus? Type741 { get; set; } + public global::System.Collections.Generic.IList? Type741 { get; set; } /// /// /// - public global::RetellAI.OAuthConfigRequest? Type742 { get; set; } + public global::RetellAI.AppType? Type742 { get; set; } /// /// /// - public global::RetellAI.OAuthConfigRequestType? Type743 { get; set; } + public global::RetellAI.AppConnectionStatus? Type743 { get; set; } /// /// /// - public global::RetellAI.ApiKeyAuthConfigRequest? Type744 { get; set; } + public global::RetellAI.OAuthConfigRequest? Type744 { get; set; } /// /// /// - public global::RetellAI.ApiKeyAuthConfigRequestType? Type745 { get; set; } + public global::RetellAI.OAuthConfigRequestType? Type745 { get; set; } /// /// /// - public global::RetellAI.AccessTokenAuthConfigRequest? Type746 { get; set; } + public global::RetellAI.ApiKeyAuthConfigRequest? Type746 { get; set; } /// /// /// - public global::RetellAI.AccessTokenAuthConfigRequestType? Type747 { get; set; } + public global::RetellAI.ApiKeyAuthConfigRequestType? Type747 { get; set; } /// /// /// @@ -3033,135 +3033,135 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::RetellAI.RefreshTokenAuthConfigRequest? Type750 { get; set; } + public global::RetellAI.AuthConfigRequest? Type750 { get; set; } /// /// /// - public global::RetellAI.RefreshTokenAuthConfigRequestType? Type751 { get; set; } + public global::RetellAI.OAuthConfigResponse? Type751 { get; set; } /// /// /// - public global::RetellAI.AuthConfigRequest? Type752 { get; set; } + public global::RetellAI.OAuthConfigResponseType? Type752 { get; set; } /// /// /// - public global::RetellAI.OAuthConfigResponse? Type753 { get; set; } + public global::RetellAI.ApiKeyAuthConfigResponse? Type753 { get; set; } /// /// /// - public global::RetellAI.OAuthConfigResponseType? Type754 { get; set; } + public global::RetellAI.ApiKeyAuthConfigResponseType? Type754 { get; set; } /// /// /// - public global::RetellAI.ApiKeyAuthConfigResponse? Type755 { get; set; } + public global::RetellAI.AccessTokenAuthConfigResponse? Type755 { get; set; } /// /// /// - public global::RetellAI.ApiKeyAuthConfigResponseType? Type756 { get; set; } + public global::RetellAI.AccessTokenAuthConfigResponseType? Type756 { get; set; } /// /// /// - public global::RetellAI.AccessTokenAuthConfigResponse? Type757 { get; set; } + public global::RetellAI.BasicAuthConfigResponse? Type757 { get; set; } /// /// /// - public global::RetellAI.AccessTokenAuthConfigResponseType? Type758 { get; set; } + public global::RetellAI.BasicAuthConfigResponseType? Type758 { get; set; } /// /// /// - public global::RetellAI.BasicAuthConfigResponse? Type759 { get; set; } + public global::RetellAI.RefreshTokenAuthConfigResponse? Type759 { get; set; } /// /// /// - public global::RetellAI.BasicAuthConfigResponseType? Type760 { get; set; } + public global::RetellAI.RefreshTokenAuthConfigResponseType? Type760 { get; set; } /// /// /// - public global::RetellAI.RefreshTokenAuthConfigResponse? Type761 { get; set; } + public global::RetellAI.AppAuthConfigResponse? Type761 { get; set; } /// /// /// - public global::RetellAI.RefreshTokenAuthConfigResponseType? Type762 { get; set; } + public global::RetellAI.CRMSyncMapping? Type762 { get; set; } /// /// /// - public global::RetellAI.AppAuthConfigResponse? Type763 { get; set; } + public global::RetellAI.AppCRMConfig? Type763 { get; set; } /// /// /// - public global::RetellAI.CRMSyncMapping? Type764 { get; set; } + public global::System.Collections.Generic.IList? Type764 { get; set; } /// /// /// - public global::RetellAI.AppCRMConfig? Type765 { get; set; } + public global::RetellAI.AppResponse? Type765 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type766 { get; set; } + public global::RetellAI.AppResponseTenantType? Type766 { get; set; } /// /// /// - public global::RetellAI.AppResponse? Type767 { get; set; } + public global::RetellAI.AppUsageResponse? Type767 { get; set; } /// /// /// - public global::RetellAI.AppUsageResponse? Type768 { get; set; } + public global::RetellAI.AgentAppUsage? Type768 { get; set; } /// /// /// - public global::RetellAI.AgentAppUsage? Type769 { get; set; } + public global::RetellAI.KnowledgeBaseAppUsage? Type769 { get; set; } /// /// /// - public global::RetellAI.KnowledgeBaseAppUsage? Type770 { get; set; } + public global::RetellAI.AgentAppUsageType? Type770 { get; set; } /// /// /// - public global::RetellAI.AgentAppUsageType? Type771 { get; set; } + public global::RetellAI.KnowledgeBaseAppUsageType? Type771 { get; set; } /// /// /// - public global::RetellAI.KnowledgeBaseAppUsageType? Type772 { get; set; } + public global::RetellAI.CRMCustomFieldSchema? Type772 { get; set; } /// /// /// - public global::RetellAI.CRMCustomFieldSchema? Type773 { get; set; } + public global::RetellAI.CRMCustomFieldSchemaType? Type773 { get; set; } /// /// /// - public global::RetellAI.CRMCustomFieldSchemaType? Type774 { get; set; } + public global::RetellAI.CRMAnalysisDataMapping? Type774 { get; set; } /// /// /// - public global::RetellAI.CRMAnalysisDataMapping? Type775 { get; set; } + public global::RetellAI.CRMAnalysisDataMappingUpdateMode? Type775 { get; set; } /// /// /// - public global::RetellAI.CRMAnalysisDataMappingUpdateMode? Type776 { get; set; } + public global::RetellAI.CRMConfig? Type776 { get; set; } /// /// /// - public global::RetellAI.CRMConfig? Type777 { get; set; } + public global::System.Collections.Generic.IList? Type777 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type778 { get; set; } + public global::System.Collections.Generic.IList? Type778 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type779 { get; set; } + public global::RetellAI.JobStatus? Type779 { get; set; } /// /// /// - public global::RetellAI.JobStatus? Type780 { get; set; } + public global::RetellAI.JobStatusStatus? Type780 { get; set; } /// /// /// - public global::RetellAI.JobStatusStatus? Type781 { get; set; } + public global::RetellAI.JobStatusTriggeredBy? Type781 { get; set; } /// /// /// - public global::RetellAI.JobStatusTriggeredBy? Type782 { get; set; } + public global::RetellAI.ChartGroupType? Type782 { get; set; } /// /// /// @@ -3189,4259 +3189,4467 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::RetellAI.AllOf? Type789 { get; set; } + public global::RetellAI.ChartShowItem? Type789 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallRequest? Type790 { get; set; } + public global::RetellAI.ChartShowItemKeywordSource? Type790 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type791 { get; set; } + public global::RetellAI.ChartShowItemKeywordSourceSource? Type791 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestRequest? Type792 { get; set; } + public global::RetellAI.ChartShowItemKeywordSourceSourceType? Type792 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type793 { get; set; } + public global::RetellAI.ChartShowItemKeywordSourceMeasurement? Type793 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type794 { get; set; } + public global::RetellAI.ChartShowItemKeywordSourceMeasurementType? Type794 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionRequest? Type795 { get; set; } + public global::RetellAI.ChartShowItemNumericSource? Type795 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type796 { get; set; } + public global::RetellAI.ChartShowItemNumericSourceSource? Type796 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionRequest? Type797 { get; set; } + public global::RetellAI.ChartShowItemNumericSourceSourceType? Type797 { get; set; } /// /// /// - public global::RetellAI.CreateChatRequest? Type798 { get; set; } + public global::RetellAI.ChartShowItemNumericSourceMeasurement? Type798 { get; set; } /// /// /// - public global::RetellAI.CreateAssetRequest? Type799 { get; set; } + public global::RetellAI.ChartShowItemNumericSourceMeasurementType? Type799 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberRequest? Type800 { get; set; } + public global::RetellAI.ChartShowItemCustomFieldSource? Type800 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberRequestNumberProvider? Type801 { get; set; } + public global::RetellAI.ChartShowItemCustomFieldSourceSource? Type801 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberRequestCountryCode? Type802 { get; set; } + public global::RetellAI.ChartShowItemCustomFieldSourceSourceType? Type802 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatRequest? Type803 { get; set; } + public global::RetellAI.ChartShowItemCustomFieldSourceSourceCast? Type803 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceRequest? Type804 { get; set; } + public global::RetellAI.ChartShowItemCustomFieldSourceMeasurement? Type804 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceRequestVoiceProvider? Type805 { get; set; } + public global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType? Type805 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceRequest? Type806 { get; set; } + public global::RetellAI.ChartShowItemConcurrencySource? Type806 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceRequestVoiceProvider? Type807 { get; set; } + public global::RetellAI.ChartShowItemConcurrencySourceSource? Type807 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceRequest? Type808 { get; set; } + public global::RetellAI.ChartShowItemConcurrencySourceSourceType? Type808 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceRequestVoiceProvider? Type809 { get; set; } + public global::RetellAI.ChartShowItemConcurrencySourceMeasurement? Type809 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberRequest? Type810 { get; set; } + public global::RetellAI.ChartShowItemConcurrencySourceMeasurementType? Type810 { get; set; } /// /// /// - public global::RetellAI.ListAgentsRequest? Type811 { get; set; } + public global::RetellAI.ChartShowItemCustomToolSource? Type811 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataRequest? Type812 { get; set; } + public global::RetellAI.ChartShowItemCustomToolSourceSource? Type812 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataRequestDataStorageSetting? Type813 { get; set; } + public global::RetellAI.ChartShowItemCustomToolSourceSourceType? Type813 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberRequest? Type814 { get; set; } + public global::RetellAI.ChartShowItemCustomToolSourceMeasurement? Type814 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallRequest? Type815 { get; set; } + public global::RetellAI.ChartShowItemCustomToolSourceMeasurementType? Type815 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallRequest? Type816 { get; set; } + public global::RetellAI.ChartTimeRange? Type816 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallRequest? Type817 { get; set; } + public global::RetellAI.ChartTimeRangeVariant1? Type817 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallRequestDirection? Type818 { get; set; } + public global::RetellAI.ChartTimeRangeVariant1Type? Type818 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataRequest? Type819 { get; set; } + public global::RetellAI.ChartTimeRangeVariant1Window? Type819 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataRequestDataStorageSetting? Type820 { get; set; } + public global::RetellAI.ChartTimeRangeVariant1WindowUnit? Type820 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallRequest? Type821 { get; set; } + public global::RetellAI.ChartTimeRangeVariant2? Type821 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallRequestFieldsToOverride? Type822 { get; set; } + public global::RetellAI.ChartTimeRangeVariant2Type? Type822 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallRequestFieldsToOverrideDataStorageSetting? Type823 { get; set; } + public global::System.Collections.Generic.IList? Type823 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallRequestCallControl? Type824 { get; set; } + public global::RetellAI.ChartTimeRangeVariant3? Type824 { get; set; } /// /// /// - public global::RetellAI.CreateContactRequest? Type825 { get; set; } + public global::RetellAI.ChartTimeRangeVariant3Type? Type825 { get; set; } /// /// /// - public global::RetellAI.UploadContactImportFileRequest? Type826 { get; set; } + public global::RetellAI.ChartTimeRangeVariant3Unit? Type826 { get; set; } /// /// /// - public global::RetellAI.CreateContactImportRequest? Type827 { get; set; } + public global::RetellAI.ChartTimeRangeVariant4? Type827 { get; set; } /// /// /// - public global::RetellAI.UpdateContactRequest? Type828 { get; set; } + public global::RetellAI.ChartTimeRangeVariant4Type? Type828 { get; set; } /// /// /// - public global::RetellAI.CreateAppRequest? Type829 { get; set; } + public global::RetellAI.ChartTimeRangeVariant5? Type829 { get; set; } /// /// /// - public global::RetellAI.UpdateAppRequest? Type830 { get; set; } + public global::RetellAI.ChartTimeRangeVariant5Type? Type830 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigRequest? Type831 { get; set; } + public global::RetellAI.ChartConfig? Type831 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataRequest? Type832 { get; set; } + public global::RetellAI.ChartConfigType? Type832 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataRequestBackfillCallFilter? Type833 { get; set; } + public global::RetellAI.OneOf? Type833 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsType? Type834 { get; set; } + public global::RetellAI.ChartConfigSizeEnum? Type834 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsType? Type835 { get; set; } + public global::RetellAI.ChartConfigSizeEnum2? Type835 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsSortOrder? Type836 { get; set; } + public global::System.Collections.Generic.IList? Type836 { get; set; } /// /// /// - public global::RetellAI.ListAgentsSortOrder? Type837 { get; set; } + public global::System.Collections.Generic.IList? Type837 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsSortOrder? Type838 { get; set; } + public global::RetellAI.AnyOf? Type838 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsSortOrder? Type839 { get; set; } + public global::RetellAI.ChartConfigUnit? Type839 { get; set; } /// /// /// - public global::RetellAI.ListPhoneNumbersSortOrder? Type840 { get; set; } + public global::RetellAI.ChartDefinition? Type840 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMSortOrder? Type841 { get; set; } + public global::RetellAI.AllOf? Type841 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsSortOrder? Type842 { get; set; } + public global::RetellAI.CreateBatchCallRequest? Type842 { get; set; } /// /// /// - public global::RetellAI.ListAppsSortOrder? Type843 { get; set; } + public global::System.Collections.Generic.IList? Type843 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesSortOrder? Type844 { get; set; } + public global::RetellAI.CreateBatchTestRequest? Type844 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponse? Type845 { get; set; } + public global::RetellAI.AllOf? Type845 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus? Type846 { get; set; } + public global::RetellAI.AllOf? Type846 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponse2? Type847 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionRequest? Type847 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus2? Type848 { get; set; } + public global::System.Collections.Generic.IList? Type848 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponse3? Type849 { get; set; } + public global::RetellAI.CreateChatCompletionRequest? Type849 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus3? Type850 { get; set; } + public global::RetellAI.CreateChatRequest? Type850 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponse4? Type851 { get; set; } + public global::RetellAI.CreateAssetRequest? Type851 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus4? Type852 { get; set; } + public global::RetellAI.CreatePhoneNumberRequest? Type852 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponse5? Type853 { get; set; } + public global::RetellAI.CreatePhoneNumberRequestNumberProvider? Type853 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus5? Type854 { get; set; } + public global::RetellAI.CreatePhoneNumberRequestCountryCode? Type854 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponse? Type855 { get; set; } + public global::RetellAI.CreateSmsChatRequest? Type855 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponseStatus? Type856 { get; set; } + public global::RetellAI.CloneVoiceRequest? Type856 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponse2? Type857 { get; set; } + public global::RetellAI.CloneVoiceRequestVoiceProvider? Type857 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponseStatus2? Type858 { get; set; } + public global::RetellAI.AddCommunityVoiceRequest? Type858 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponse3? Type859 { get; set; } + public global::RetellAI.AddCommunityVoiceRequestVoiceProvider? Type859 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponseStatus3? Type860 { get; set; } + public global::RetellAI.SearchCommunityVoiceRequest? Type860 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponse4? Type861 { get; set; } + public global::RetellAI.SearchCommunityVoiceRequestVoiceProvider? Type861 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponseStatus4? Type862 { get; set; } + public global::RetellAI.ImportPhoneNumberRequest? Type862 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponse? Type863 { get; set; } + public global::RetellAI.ListAgentsRequest? Type863 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponseStatus? Type864 { get; set; } + public global::RetellAI.UpdateChatMetadataRequest? Type864 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponse2? Type865 { get; set; } + public global::RetellAI.UpdateChatMetadataRequestDataStorageSetting? Type865 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponseStatus2? Type866 { get; set; } + public global::RetellAI.UpdatePhoneNumberRequest? Type866 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponse3? Type867 { get; set; } + public global::RetellAI.CreatePhoneCallRequest? Type867 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponseStatus3? Type868 { get; set; } + public global::RetellAI.CreateWebCallRequest? Type868 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponse4? Type869 { get; set; } + public global::RetellAI.RegisterPhoneCallRequest? Type869 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponseStatus4? Type870 { get; set; } + public global::RetellAI.RegisterPhoneCallRequestDirection? Type870 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponse? Type871 { get; set; } + public global::RetellAI.UpdateCallMetadataRequest? Type871 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponseStatus? Type872 { get; set; } + public global::RetellAI.UpdateCallMetadataRequestDataStorageSetting? Type872 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponse2? Type873 { get; set; } + public global::RetellAI.UpdateLiveCallRequest? Type873 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponseStatus2? Type874 { get; set; } + public global::RetellAI.UpdateLiveCallRequestFieldsToOverride? Type874 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponse3? Type875 { get; set; } + public global::RetellAI.UpdateLiveCallRequestFieldsToOverrideDataStorageSetting? Type875 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponseStatus3? Type876 { get; set; } + public global::RetellAI.UpdateLiveCallRequestCallControl? Type876 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponse4? Type877 { get; set; } + public global::RetellAI.CreateContactRequest? Type877 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponseStatus4? Type878 { get; set; } + public global::RetellAI.UploadContactImportFileRequest? Type878 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponse5? Type879 { get; set; } + public global::RetellAI.CreateContactImportRequest? Type879 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponseStatus5? Type880 { get; set; } + public global::RetellAI.UpdateContactRequest? Type880 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponse? Type881 { get; set; } + public global::RetellAI.CreateAppRequest? Type881 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponseStatus? Type882 { get; set; } + public global::RetellAI.UpdateAppRequest? Type882 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponse2? Type883 { get; set; } + public global::RetellAI.UpdateCrmConfigRequest? Type883 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponseStatus2? Type884 { get; set; } + public global::RetellAI.BackfillContactAnalysisDataRequest? Type884 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponse3? Type885 { get; set; } + public global::RetellAI.BackfillContactAnalysisDataRequestBackfillCallFilter? Type885 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponseStatus3? Type886 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsType? Type886 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponse4? Type887 { get; set; } + public global::RetellAI.ListBatchTestsType? Type887 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponseStatus4? Type888 { get; set; } + public global::RetellAI.ListAgentVersionsSortOrder? Type888 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponse5? Type889 { get; set; } + public global::RetellAI.ListAgentsSortOrder? Type889 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponseStatus5? Type890 { get; set; } + public global::RetellAI.ListConversationFlowComponentsSortOrder? Type890 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponse? Type891 { get; set; } + public global::RetellAI.ListConversationFlowsSortOrder? Type891 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponseStatus? Type892 { get; set; } + public global::RetellAI.ListPhoneNumbersSortOrder? Type892 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponse2? Type893 { get; set; } + public global::RetellAI.ListRetellLLMSortOrder? Type893 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponseStatus2? Type894 { get; set; } + public global::RetellAI.ListExportRequestsSortOrder? Type894 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponse3? Type895 { get; set; } + public global::RetellAI.ListAppsSortOrder? Type895 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponseStatus3? Type896 { get; set; } + public global::RetellAI.ListAppUsagesSortOrder? Type896 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponse4? Type897 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponse? Type897 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponseStatus4? Type898 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus? Type898 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponse5? Type899 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponse2? Type899 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponseStatus5? Type900 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus2? Type900 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponse? Type901 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponse3? Type901 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponseStatus? Type902 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus3? Type902 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponse2? Type903 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponse4? Type903 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponseStatus2? Type904 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus4? Type904 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponse3? Type905 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponse5? Type905 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponseStatus3? Type906 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus5? Type906 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponse4? Type907 { get; set; } + public global::RetellAI.CreateAgentResponse? Type907 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponseStatus4? Type908 { get; set; } + public global::RetellAI.CreateAgentResponseStatus? Type908 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponse5? Type909 { get; set; } + public global::RetellAI.CreateAgentResponse2? Type909 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponseStatus5? Type910 { get; set; } + public global::RetellAI.CreateAgentResponseStatus2? Type910 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type911 { get; set; } + public global::RetellAI.CreateAgentResponse3? Type911 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponse2? Type912 { get; set; } + public global::RetellAI.CreateAgentResponseStatus3? Type912 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type913 { get; set; } + public global::RetellAI.CreateAgentResponse4? Type913 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponse3? Type914 { get; set; } + public global::RetellAI.CreateAgentResponseStatus4? Type914 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponseStatus? Type915 { get; set; } + public global::RetellAI.CreateBatchCallResponse? Type915 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponse4? Type916 { get; set; } + public global::RetellAI.CreateBatchCallResponseStatus? Type916 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponseStatus2? Type917 { get; set; } + public global::RetellAI.CreateBatchCallResponse2? Type917 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponse5? Type918 { get; set; } + public global::RetellAI.CreateBatchCallResponseStatus2? Type918 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponseStatus3? Type919 { get; set; } + public global::RetellAI.CreateBatchCallResponse3? Type919 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponse6? Type920 { get; set; } + public global::RetellAI.CreateBatchCallResponseStatus3? Type920 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponseStatus4? Type921 { get; set; } + public global::RetellAI.CreateBatchCallResponse4? Type921 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponse? Type922 { get; set; } + public global::RetellAI.CreateBatchCallResponseStatus4? Type922 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponseStatus? Type923 { get; set; } + public global::RetellAI.CreateBatchTestResponse? Type923 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponse2? Type924 { get; set; } + public global::RetellAI.CreateBatchTestResponseStatus? Type924 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponseStatus2? Type925 { get; set; } + public global::RetellAI.CreateBatchTestResponse2? Type925 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponse3? Type926 { get; set; } + public global::RetellAI.CreateBatchTestResponseStatus2? Type926 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponseStatus3? Type927 { get; set; } + public global::RetellAI.CreateBatchTestResponse3? Type927 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponse4? Type928 { get; set; } + public global::RetellAI.CreateBatchTestResponseStatus3? Type928 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponseStatus4? Type929 { get; set; } + public global::RetellAI.CreateBatchTestResponse4? Type929 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponse5? Type930 { get; set; } + public global::RetellAI.CreateBatchTestResponseStatus4? Type930 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponseStatus5? Type931 { get; set; } + public global::RetellAI.CreateBatchTestResponse5? Type931 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponse? Type932 { get; set; } + public global::RetellAI.CreateBatchTestResponseStatus5? Type932 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponseStatus? Type933 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponse? Type933 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponse2? Type934 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponseStatus? Type934 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponseStatus2? Type935 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponse2? Type935 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponse3? Type936 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponseStatus2? Type936 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponseStatus3? Type937 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponse3? Type937 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponse4? Type938 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponseStatus3? Type938 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponseStatus4? Type939 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponse4? Type939 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponse5? Type940 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponseStatus4? Type940 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponseStatus5? Type941 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponse5? Type941 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type942 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponseStatus5? Type942 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponse2? Type943 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponse? Type943 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type944 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponseStatus? Type944 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponse3? Type945 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponse2? Type945 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponseStatus? Type946 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponseStatus2? Type946 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponse4? Type947 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponse3? Type947 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponseStatus2? Type948 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponseStatus3? Type948 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponse5? Type949 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponse4? Type949 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponseStatus3? Type950 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponseStatus4? Type950 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponse6? Type951 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponse5? Type951 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponseStatus4? Type952 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponseStatus5? Type952 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponse? Type953 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponse? Type953 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponseStatus? Type954 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponseStatus? Type954 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponse2? Type955 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponse2? Type955 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponseStatus2? Type956 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponseStatus2? Type956 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponse3? Type957 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponse3? Type957 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponseStatus3? Type958 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponseStatus3? Type958 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponse4? Type959 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponse4? Type959 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponseStatus4? Type960 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponseStatus4? Type960 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponse5? Type961 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponse5? Type961 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponseStatus5? Type962 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponseStatus5? Type962 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type963 { get; set; } + public global::RetellAI.AllOf? Type963 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponse2? Type964 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponse2? Type964 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type965 { get; set; } + public global::System.Collections.Generic.IList? Type965 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponse3? Type966 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponse3? Type966 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponseStatus? Type967 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponseStatus? Type967 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponse4? Type968 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponse4? Type968 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponseStatus2? Type969 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponseStatus2? Type969 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponse5? Type970 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponse5? Type970 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponseStatus3? Type971 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponseStatus3? Type971 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponse6? Type972 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponse6? Type972 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponseStatus4? Type973 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponseStatus4? Type973 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponse7? Type974 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponse? Type974 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponseStatus5? Type975 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponseStatus? Type975 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponse? Type976 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponse2? Type976 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponseStatus? Type977 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponseStatus2? Type977 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponse2? Type978 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponse3? Type978 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponseStatus2? Type979 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponseStatus3? Type979 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponse3? Type980 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponse4? Type980 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponseStatus3? Type981 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponseStatus4? Type981 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponse4? Type982 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponse5? Type982 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponseStatus4? Type983 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponseStatus5? Type983 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse? Type984 { get; set; } + public global::RetellAI.GetBatchTestResponse? Type984 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse2? Type985 { get; set; } + public global::RetellAI.GetBatchTestResponseStatus? Type985 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponseStatus? Type986 { get; set; } + public global::RetellAI.GetBatchTestResponse2? Type986 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse3? Type987 { get; set; } + public global::RetellAI.GetBatchTestResponseStatus2? Type987 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponseStatus2? Type988 { get; set; } + public global::RetellAI.GetBatchTestResponse3? Type988 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse4? Type989 { get; set; } + public global::RetellAI.GetBatchTestResponseStatus3? Type989 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponseStatus3? Type990 { get; set; } + public global::RetellAI.GetBatchTestResponse4? Type990 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse5? Type991 { get; set; } + public global::RetellAI.GetBatchTestResponseStatus4? Type991 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponseStatus4? Type992 { get; set; } + public global::RetellAI.GetBatchTestResponse5? Type992 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse6? Type993 { get; set; } + public global::RetellAI.GetBatchTestResponseStatus5? Type993 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponseStatus5? Type994 { get; set; } + public global::RetellAI.AllOf? Type994 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse7? Type995 { get; set; } + public global::RetellAI.ListBatchTestsResponse2? Type995 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponseStatus6? Type996 { get; set; } + public global::System.Collections.Generic.IList? Type996 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse? Type997 { get; set; } + public global::RetellAI.ListBatchTestsResponse3? Type997 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse2? Type998 { get; set; } + public global::RetellAI.ListBatchTestsResponseStatus? Type998 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponseStatus? Type999 { get; set; } + public global::RetellAI.ListBatchTestsResponse4? Type999 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse3? Type1000 { get; set; } + public global::RetellAI.ListBatchTestsResponseStatus2? Type1000 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponseStatus2? Type1001 { get; set; } + public global::RetellAI.ListBatchTestsResponse5? Type1001 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse4? Type1002 { get; set; } + public global::RetellAI.ListBatchTestsResponseStatus3? Type1002 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponseStatus3? Type1003 { get; set; } + public global::RetellAI.ListBatchTestsResponse6? Type1003 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse5? Type1004 { get; set; } + public global::RetellAI.ListBatchTestsResponseStatus4? Type1004 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponseStatus4? Type1005 { get; set; } + public global::RetellAI.GetTestRunResponse? Type1005 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse6? Type1006 { get; set; } + public global::RetellAI.GetTestRunResponseStatus? Type1006 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponseStatus5? Type1007 { get; set; } + public global::RetellAI.GetTestRunResponse2? Type1007 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse7? Type1008 { get; set; } + public global::RetellAI.GetTestRunResponseStatus2? Type1008 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponseStatus6? Type1009 { get; set; } + public global::RetellAI.GetTestRunResponse3? Type1009 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponse? Type1010 { get; set; } + public global::RetellAI.GetTestRunResponseStatus3? Type1010 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponseStatus? Type1011 { get; set; } + public global::RetellAI.GetTestRunResponse4? Type1011 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponse2? Type1012 { get; set; } + public global::RetellAI.GetTestRunResponseStatus4? Type1012 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponseStatus2? Type1013 { get; set; } + public global::RetellAI.GetTestRunResponse5? Type1013 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponse3? Type1014 { get; set; } + public global::RetellAI.GetTestRunResponseStatus5? Type1014 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponseStatus3? Type1015 { get; set; } + public global::RetellAI.AllOf? Type1015 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponse4? Type1016 { get; set; } + public global::RetellAI.ListTestRunsResponse2? Type1016 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponseStatus4? Type1017 { get; set; } + public global::System.Collections.Generic.IList? Type1017 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponse5? Type1018 { get; set; } + public global::RetellAI.ListTestRunsResponse3? Type1018 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponseStatus5? Type1019 { get; set; } + public global::RetellAI.ListTestRunsResponseStatus? Type1019 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponse6? Type1020 { get; set; } + public global::RetellAI.ListTestRunsResponse4? Type1020 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponseStatus6? Type1021 { get; set; } + public global::RetellAI.ListTestRunsResponseStatus2? Type1021 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponse? Type1022 { get; set; } + public global::RetellAI.ListTestRunsResponse5? Type1022 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponseStatus? Type1023 { get; set; } + public global::RetellAI.ListTestRunsResponseStatus3? Type1023 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponse2? Type1024 { get; set; } + public global::RetellAI.ListTestRunsResponse6? Type1024 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponseStatus2? Type1025 { get; set; } + public global::RetellAI.ListTestRunsResponseStatus4? Type1025 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponse3? Type1026 { get; set; } + public global::RetellAI.ListTestRunsResponse7? Type1026 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponseStatus3? Type1027 { get; set; } + public global::RetellAI.ListTestRunsResponseStatus5? Type1027 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponse4? Type1028 { get; set; } + public global::RetellAI.CreateChatAgentResponse? Type1028 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponseStatus4? Type1029 { get; set; } + public global::RetellAI.CreateChatAgentResponseStatus? Type1029 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponse5? Type1030 { get; set; } + public global::RetellAI.CreateChatAgentResponse2? Type1030 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponseStatus5? Type1031 { get; set; } + public global::RetellAI.CreateChatAgentResponseStatus2? Type1031 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponse? Type1032 { get; set; } + public global::RetellAI.CreateChatAgentResponse3? Type1032 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponseStatus? Type1033 { get; set; } + public global::RetellAI.CreateChatAgentResponseStatus3? Type1033 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponse2? Type1034 { get; set; } + public global::RetellAI.CreateChatAgentResponse4? Type1034 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponseStatus2? Type1035 { get; set; } + public global::RetellAI.CreateChatAgentResponseStatus4? Type1035 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponse3? Type1036 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse? Type1036 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponseStatus3? Type1037 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse2? Type1037 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponse4? Type1038 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponseStatus? Type1038 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponseStatus4? Type1039 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse3? Type1039 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponse5? Type1040 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponseStatus2? Type1040 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponseStatus5? Type1041 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse4? Type1041 { get; set; } /// /// /// - public global::RetellAI.CreateAssetResponse? Type1042 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponseStatus3? Type1042 { get; set; } /// /// /// - public global::RetellAI.CreateAssetResponseStatus? Type1043 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse5? Type1043 { get; set; } /// /// /// - public global::RetellAI.CreateAssetResponse2? Type1044 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponseStatus4? Type1044 { get; set; } /// /// /// - public global::RetellAI.CreateAssetResponseStatus2? Type1045 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse6? Type1045 { get; set; } /// /// /// - public global::RetellAI.CreateAssetResponse3? Type1046 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponseStatus5? Type1046 { get; set; } /// /// /// - public global::RetellAI.CreateAssetResponseStatus3? Type1047 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse7? Type1047 { get; set; } /// /// /// - public global::RetellAI.CreateAssetResponse4? Type1048 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponseStatus6? Type1048 { get; set; } /// /// /// - public global::RetellAI.CreateAssetResponseStatus4? Type1049 { get; set; } + public global::RetellAI.CreateChatCompletionResponse? Type1049 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponse? Type1050 { get; set; } + public global::RetellAI.CreateChatCompletionResponse2? Type1050 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponseStatus? Type1051 { get; set; } + public global::RetellAI.CreateChatCompletionResponseStatus? Type1051 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponse2? Type1052 { get; set; } + public global::RetellAI.CreateChatCompletionResponse3? Type1052 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponseStatus2? Type1053 { get; set; } + public global::RetellAI.CreateChatCompletionResponseStatus2? Type1053 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponse3? Type1054 { get; set; } + public global::RetellAI.CreateChatCompletionResponse4? Type1054 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponseStatus3? Type1055 { get; set; } + public global::RetellAI.CreateChatCompletionResponseStatus3? Type1055 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponse4? Type1056 { get; set; } + public global::RetellAI.CreateChatCompletionResponse5? Type1056 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponseStatus4? Type1057 { get; set; } + public global::RetellAI.CreateChatCompletionResponseStatus4? Type1057 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponse5? Type1058 { get; set; } + public global::RetellAI.CreateChatCompletionResponse6? Type1058 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponseStatus5? Type1059 { get; set; } + public global::RetellAI.CreateChatCompletionResponseStatus5? Type1059 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberResponse? Type1060 { get; set; } + public global::RetellAI.CreateChatCompletionResponse7? Type1060 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberResponseStatus? Type1061 { get; set; } + public global::RetellAI.CreateChatCompletionResponseStatus6? Type1061 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberResponse2? Type1062 { get; set; } + public global::RetellAI.CreateChatResponse? Type1062 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberResponseStatus2? Type1063 { get; set; } + public global::RetellAI.CreateChatResponseStatus? Type1063 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberResponse3? Type1064 { get; set; } + public global::RetellAI.CreateChatResponse2? Type1064 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberResponseStatus3? Type1065 { get; set; } + public global::RetellAI.CreateChatResponseStatus2? Type1065 { get; set; } /// /// /// - public global::RetellAI.CreateRetellLLMResponse? Type1066 { get; set; } + public global::RetellAI.CreateChatResponse3? Type1066 { get; set; } /// /// /// - public global::RetellAI.CreateRetellLLMResponseStatus? Type1067 { get; set; } + public global::RetellAI.CreateChatResponseStatus3? Type1067 { get; set; } /// /// /// - public global::RetellAI.CreateRetellLLMResponse2? Type1068 { get; set; } + public global::RetellAI.CreateChatResponse4? Type1068 { get; set; } /// /// /// - public global::RetellAI.CreateRetellLLMResponseStatus2? Type1069 { get; set; } + public global::RetellAI.CreateChatResponseStatus4? Type1069 { get; set; } /// /// /// - public global::RetellAI.CreateRetellLLMResponse3? Type1070 { get; set; } + public global::RetellAI.CreateChatResponse5? Type1070 { get; set; } /// /// /// - public global::RetellAI.CreateRetellLLMResponseStatus3? Type1071 { get; set; } + public global::RetellAI.CreateChatResponseStatus5? Type1071 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponse? Type1072 { get; set; } + public global::RetellAI.CreateChatResponse6? Type1072 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponseStatus? Type1073 { get; set; } + public global::RetellAI.CreateChatResponseStatus6? Type1073 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponse2? Type1074 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponse? Type1074 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponseStatus2? Type1075 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponseStatus? Type1075 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponse3? Type1076 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponse2? Type1076 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponseStatus3? Type1077 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponseStatus2? Type1077 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponse4? Type1078 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponse3? Type1078 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponseStatus4? Type1079 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponseStatus3? Type1079 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponse5? Type1080 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponse4? Type1080 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponseStatus5? Type1081 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponseStatus4? Type1081 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponse6? Type1082 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponse5? Type1082 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponseStatus6? Type1083 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponseStatus5? Type1083 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponse? Type1084 { get; set; } + public global::RetellAI.CreateConversationFlowResponse? Type1084 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponseStatus? Type1085 { get; set; } + public global::RetellAI.CreateConversationFlowResponseStatus? Type1085 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponse2? Type1086 { get; set; } + public global::RetellAI.CreateConversationFlowResponse2? Type1086 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponseStatus2? Type1087 { get; set; } + public global::RetellAI.CreateConversationFlowResponseStatus2? Type1087 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponse3? Type1088 { get; set; } + public global::RetellAI.CreateConversationFlowResponse3? Type1088 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponseStatus3? Type1089 { get; set; } + public global::RetellAI.CreateConversationFlowResponseStatus3? Type1089 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponse4? Type1090 { get; set; } + public global::RetellAI.CreateConversationFlowResponse4? Type1090 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponseStatus4? Type1091 { get; set; } + public global::RetellAI.CreateConversationFlowResponseStatus4? Type1091 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponse? Type1092 { get; set; } + public global::RetellAI.CreateConversationFlowResponse5? Type1092 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponseStatus? Type1093 { get; set; } + public global::RetellAI.CreateConversationFlowResponseStatus5? Type1093 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponse2? Type1094 { get; set; } + public global::RetellAI.CreateAssetResponse? Type1094 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponseStatus2? Type1095 { get; set; } + public global::RetellAI.CreateAssetResponseStatus? Type1095 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponse3? Type1096 { get; set; } + public global::RetellAI.CreateAssetResponse2? Type1096 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponseStatus3? Type1097 { get; set; } + public global::RetellAI.CreateAssetResponseStatus2? Type1097 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponse4? Type1098 { get; set; } + public global::RetellAI.CreateAssetResponse3? Type1098 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponseStatus4? Type1099 { get; set; } + public global::RetellAI.CreateAssetResponseStatus3? Type1099 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponse? Type1100 { get; set; } + public global::RetellAI.CreateAssetResponse4? Type1100 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponseStatus? Type1101 { get; set; } + public global::RetellAI.CreateAssetResponseStatus4? Type1101 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponse2? Type1102 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponse? Type1102 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponseStatus2? Type1103 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponseStatus? Type1103 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponse3? Type1104 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponse2? Type1104 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponseStatus3? Type1105 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponseStatus2? Type1105 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponse4? Type1106 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponse3? Type1106 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponseStatus4? Type1107 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponseStatus3? Type1107 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponse? Type1108 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponse4? Type1108 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponseStatus? Type1109 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponseStatus4? Type1109 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponse2? Type1110 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponse5? Type1110 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponseStatus2? Type1111 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponseStatus5? Type1111 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponse3? Type1112 { get; set; } + public global::RetellAI.CreatePhoneNumberResponse? Type1112 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponseStatus3? Type1113 { get; set; } + public global::RetellAI.CreatePhoneNumberResponseStatus? Type1113 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponse4? Type1114 { get; set; } + public global::RetellAI.CreatePhoneNumberResponse2? Type1114 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponseStatus4? Type1115 { get; set; } + public global::RetellAI.CreatePhoneNumberResponseStatus2? Type1115 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponse? Type1116 { get; set; } + public global::RetellAI.CreatePhoneNumberResponse3? Type1116 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponseStatus? Type1117 { get; set; } + public global::RetellAI.CreatePhoneNumberResponseStatus3? Type1117 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponse2? Type1118 { get; set; } + public global::RetellAI.CreateRetellLLMResponse? Type1118 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponseStatus2? Type1119 { get; set; } + public global::RetellAI.CreateRetellLLMResponseStatus? Type1119 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponse3? Type1120 { get; set; } + public global::RetellAI.CreateRetellLLMResponse2? Type1120 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponseStatus3? Type1121 { get; set; } + public global::RetellAI.CreateRetellLLMResponseStatus2? Type1121 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponse4? Type1122 { get; set; } + public global::RetellAI.CreateRetellLLMResponse3? Type1122 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponseStatus4? Type1123 { get; set; } + public global::RetellAI.CreateRetellLLMResponseStatus3? Type1123 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponse5? Type1124 { get; set; } + public global::RetellAI.CreateSmsChatResponse? Type1124 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponseStatus5? Type1125 { get; set; } + public global::RetellAI.CreateSmsChatResponseStatus? Type1125 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponse? Type1126 { get; set; } + public global::RetellAI.CreateSmsChatResponse2? Type1126 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus? Type1127 { get; set; } + public global::RetellAI.CreateSmsChatResponseStatus2? Type1127 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponse2? Type1128 { get; set; } + public global::RetellAI.CreateSmsChatResponse3? Type1128 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus2? Type1129 { get; set; } + public global::RetellAI.CreateSmsChatResponseStatus3? Type1129 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponse3? Type1130 { get; set; } + public global::RetellAI.CreateSmsChatResponse4? Type1130 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus3? Type1131 { get; set; } + public global::RetellAI.CreateSmsChatResponseStatus4? Type1131 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponse4? Type1132 { get; set; } + public global::RetellAI.CreateSmsChatResponse5? Type1132 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus4? Type1133 { get; set; } + public global::RetellAI.CreateSmsChatResponseStatus5? Type1133 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponse? Type1134 { get; set; } + public global::RetellAI.CreateSmsChatResponse6? Type1134 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponseStatus? Type1135 { get; set; } + public global::RetellAI.CreateSmsChatResponseStatus6? Type1135 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponse2? Type1136 { get; set; } + public global::RetellAI.DeleteAgentResponse? Type1136 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponseStatus2? Type1137 { get; set; } + public global::RetellAI.DeleteAgentResponseStatus? Type1137 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponse3? Type1138 { get; set; } + public global::RetellAI.DeleteAgentResponse2? Type1138 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponseStatus3? Type1139 { get; set; } + public global::RetellAI.DeleteAgentResponseStatus2? Type1139 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponse4? Type1140 { get; set; } + public global::RetellAI.DeleteAgentResponse3? Type1140 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponseStatus4? Type1141 { get; set; } + public global::RetellAI.DeleteAgentResponseStatus3? Type1141 { get; set; } /// /// /// - public global::RetellAI.DeletePhoneNumberResponse? Type1142 { get; set; } + public global::RetellAI.DeleteAgentResponse4? Type1142 { get; set; } /// /// /// - public global::RetellAI.DeletePhoneNumberResponseStatus? Type1143 { get; set; } + public global::RetellAI.DeleteAgentResponseStatus4? Type1143 { get; set; } /// /// /// - public global::RetellAI.DeletePhoneNumberResponse2? Type1144 { get; set; } + public global::RetellAI.DeleteChatResponse? Type1144 { get; set; } /// /// /// - public global::RetellAI.DeletePhoneNumberResponseStatus2? Type1145 { get; set; } + public global::RetellAI.DeleteChatResponseStatus? Type1145 { get; set; } /// /// /// - public global::RetellAI.DeletePhoneNumberResponse3? Type1146 { get; set; } + public global::RetellAI.DeleteChatResponse2? Type1146 { get; set; } /// /// /// - public global::RetellAI.DeletePhoneNumberResponseStatus3? Type1147 { get; set; } + public global::RetellAI.DeleteChatResponseStatus2? Type1147 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponse? Type1148 { get; set; } + public global::RetellAI.DeleteChatResponse3? Type1148 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponseStatus? Type1149 { get; set; } + public global::RetellAI.DeleteChatResponseStatus3? Type1149 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponse2? Type1150 { get; set; } + public global::RetellAI.DeleteChatResponse4? Type1150 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponseStatus2? Type1151 { get; set; } + public global::RetellAI.DeleteChatResponseStatus4? Type1151 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponse3? Type1152 { get; set; } + public global::RetellAI.DeleteChatAgentResponse? Type1152 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponseStatus3? Type1153 { get; set; } + public global::RetellAI.DeleteChatAgentResponseStatus? Type1153 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponse4? Type1154 { get; set; } + public global::RetellAI.DeleteChatAgentResponse2? Type1154 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponseStatus4? Type1155 { get; set; } + public global::RetellAI.DeleteChatAgentResponseStatus2? Type1155 { get; set; } /// /// /// - public global::RetellAI.EndChatResponse? Type1156 { get; set; } + public global::RetellAI.DeleteChatAgentResponse3? Type1156 { get; set; } /// /// /// - public global::RetellAI.EndChatResponseStatus? Type1157 { get; set; } + public global::RetellAI.DeleteChatAgentResponseStatus3? Type1157 { get; set; } /// /// /// - public global::RetellAI.EndChatResponse2? Type1158 { get; set; } + public global::RetellAI.DeleteChatAgentResponse4? Type1158 { get; set; } /// /// /// - public global::RetellAI.EndChatResponseStatus2? Type1159 { get; set; } + public global::RetellAI.DeleteChatAgentResponseStatus4? Type1159 { get; set; } /// /// /// - public global::RetellAI.EndChatResponse3? Type1160 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponse? Type1160 { get; set; } /// /// /// - public global::RetellAI.EndChatResponseStatus3? Type1161 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponseStatus? Type1161 { get; set; } /// /// /// - public global::RetellAI.EndChatResponse4? Type1162 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponse2? Type1162 { get; set; } /// /// /// - public global::RetellAI.EndChatResponseStatus4? Type1163 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponseStatus2? Type1163 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1164 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponse3? Type1164 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse2? Type1165 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponseStatus3? Type1165 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1166 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponse4? Type1166 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse3? Type1167 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponseStatus4? Type1167 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponseStatus? Type1168 { get; set; } + public global::RetellAI.DeleteConversationFlowResponse? Type1168 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse4? Type1169 { get; set; } + public global::RetellAI.DeleteConversationFlowResponseStatus? Type1169 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponseStatus2? Type1170 { get; set; } + public global::RetellAI.DeleteConversationFlowResponse2? Type1170 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse5? Type1171 { get; set; } + public global::RetellAI.DeleteConversationFlowResponseStatus2? Type1171 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponseStatus3? Type1172 { get; set; } + public global::RetellAI.DeleteConversationFlowResponse3? Type1172 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse6? Type1173 { get; set; } + public global::RetellAI.DeleteConversationFlowResponseStatus3? Type1173 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponseStatus4? Type1174 { get; set; } + public global::RetellAI.DeleteConversationFlowResponse4? Type1174 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse7? Type1175 { get; set; } + public global::RetellAI.DeleteConversationFlowResponseStatus4? Type1175 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponseStatus5? Type1176 { get; set; } + public global::RetellAI.DeleteConversationFlowResponse5? Type1176 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse8? Type1177 { get; set; } + public global::RetellAI.DeleteConversationFlowResponseStatus5? Type1177 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponseStatus6? Type1178 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponse? Type1178 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1179 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus? Type1179 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponse? Type1180 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponse2? Type1180 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponseStatus? Type1181 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus2? Type1181 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponse2? Type1182 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponse3? Type1182 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponseStatus2? Type1183 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus3? Type1183 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponse3? Type1184 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponse4? Type1184 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponseStatus3? Type1185 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus4? Type1185 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponse4? Type1186 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponse? Type1186 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponseStatus4? Type1187 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponseStatus? Type1187 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponse? Type1188 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponse2? Type1188 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponseStatus? Type1189 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponseStatus2? Type1189 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponse2? Type1190 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponse3? Type1190 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponseStatus2? Type1191 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponseStatus3? Type1191 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponse3? Type1192 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponse4? Type1192 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponseStatus3? Type1193 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponseStatus4? Type1193 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponse4? Type1194 { get; set; } + public global::RetellAI.DeletePhoneNumberResponse? Type1194 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponseStatus4? Type1195 { get; set; } + public global::RetellAI.DeletePhoneNumberResponseStatus? Type1195 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1196 { get; set; } + public global::RetellAI.DeletePhoneNumberResponse2? Type1196 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentVersionsResponse? Type1197 { get; set; } + public global::RetellAI.DeletePhoneNumberResponseStatus2? Type1197 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentVersionsResponseStatus? Type1198 { get; set; } + public global::RetellAI.DeletePhoneNumberResponse3? Type1198 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentVersionsResponse2? Type1199 { get; set; } + public global::RetellAI.DeletePhoneNumberResponseStatus3? Type1199 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentVersionsResponseStatus2? Type1200 { get; set; } + public global::RetellAI.DeleteRetellLLMResponse? Type1200 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentVersionsResponse3? Type1201 { get; set; } + public global::RetellAI.DeleteRetellLLMResponseStatus? Type1201 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentVersionsResponseStatus3? Type1202 { get; set; } + public global::RetellAI.DeleteRetellLLMResponse2? Type1202 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponse? Type1203 { get; set; } + public global::RetellAI.DeleteRetellLLMResponseStatus2? Type1203 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponseStatus? Type1204 { get; set; } + public global::RetellAI.DeleteRetellLLMResponse3? Type1204 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponse2? Type1205 { get; set; } + public global::RetellAI.DeleteRetellLLMResponseStatus3? Type1205 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponseStatus2? Type1206 { get; set; } + public global::RetellAI.DeleteRetellLLMResponse4? Type1206 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponse3? Type1207 { get; set; } + public global::RetellAI.DeleteRetellLLMResponseStatus4? Type1207 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponseStatus3? Type1208 { get; set; } + public global::RetellAI.EndChatResponse? Type1208 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponse4? Type1209 { get; set; } + public global::RetellAI.EndChatResponseStatus? Type1209 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponseStatus4? Type1210 { get; set; } + public global::RetellAI.EndChatResponse2? Type1210 { get; set; } /// /// /// - public global::RetellAI.GetChatResponse? Type1211 { get; set; } + public global::RetellAI.EndChatResponseStatus2? Type1211 { get; set; } /// /// /// - public global::RetellAI.GetChatResponseStatus? Type1212 { get; set; } + public global::RetellAI.EndChatResponse3? Type1212 { get; set; } /// /// /// - public global::RetellAI.GetChatResponse2? Type1213 { get; set; } + public global::RetellAI.EndChatResponseStatus3? Type1213 { get; set; } /// /// /// - public global::RetellAI.GetChatResponseStatus2? Type1214 { get; set; } + public global::RetellAI.EndChatResponse4? Type1214 { get; set; } /// /// /// - public global::RetellAI.GetChatResponse3? Type1215 { get; set; } + public global::RetellAI.EndChatResponseStatus4? Type1215 { get; set; } /// /// /// - public global::RetellAI.GetChatResponseStatus3? Type1216 { get; set; } + public global::RetellAI.AllOf? Type1216 { get; set; } /// /// /// - public global::RetellAI.GetChatResponse4? Type1217 { get; set; } + public global::RetellAI.ListAgentVersionsResponse2? Type1217 { get; set; } /// /// /// - public global::RetellAI.GetChatResponseStatus4? Type1218 { get; set; } + public global::System.Collections.Generic.IList? Type1218 { get; set; } /// /// /// - public global::RetellAI.GetConcurrencyResponse? Type1219 { get; set; } + public global::RetellAI.ListAgentVersionsResponse3? Type1219 { get; set; } /// /// /// - public global::RetellAI.GetConcurrencyResponse2? Type1220 { get; set; } + public global::RetellAI.ListAgentVersionsResponseStatus? Type1220 { get; set; } /// /// /// - public global::RetellAI.GetConcurrencyResponseStatus? Type1221 { get; set; } + public global::RetellAI.ListAgentVersionsResponse4? Type1221 { get; set; } /// /// /// - public global::RetellAI.GetConcurrencyResponse3? Type1222 { get; set; } + public global::RetellAI.ListAgentVersionsResponseStatus2? Type1222 { get; set; } /// /// /// - public global::RetellAI.GetConcurrencyResponseStatus2? Type1223 { get; set; } + public global::RetellAI.ListAgentVersionsResponse5? Type1223 { get; set; } /// /// /// - public global::RetellAI.GetApiKeyInfoResponse? Type1224 { get; set; } + public global::RetellAI.ListAgentVersionsResponseStatus3? Type1224 { get; set; } /// /// /// - public global::RetellAI.GetApiKeyInfoResponse2? Type1225 { get; set; } + public global::RetellAI.ListAgentVersionsResponse6? Type1225 { get; set; } /// /// /// - public global::RetellAI.GetApiKeyInfoResponseStatus? Type1226 { get; set; } + public global::RetellAI.ListAgentVersionsResponseStatus4? Type1226 { get; set; } /// /// /// - public global::RetellAI.GetApiKeyInfoResponse3? Type1227 { get; set; } + public global::RetellAI.ListAgentVersionsResponse7? Type1227 { get; set; } /// /// /// - public global::RetellAI.GetApiKeyInfoResponseStatus2? Type1228 { get; set; } + public global::RetellAI.ListAgentVersionsResponseStatus5? Type1228 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponse? Type1229 { get; set; } + public global::RetellAI.ListAgentVersionsResponse8? Type1229 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponseStatus? Type1230 { get; set; } + public global::RetellAI.ListAgentVersionsResponseStatus6? Type1230 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponse2? Type1231 { get; set; } + public global::System.Collections.Generic.IList? Type1231 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponseStatus2? Type1232 { get; set; } + public global::RetellAI.GetAgentVersionsResponse? Type1232 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponse3? Type1233 { get; set; } + public global::RetellAI.GetAgentVersionsResponseStatus? Type1233 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponseStatus3? Type1234 { get; set; } + public global::RetellAI.GetAgentVersionsResponse2? Type1234 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponse4? Type1235 { get; set; } + public global::RetellAI.GetAgentVersionsResponseStatus2? Type1235 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponseStatus4? Type1236 { get; set; } + public global::RetellAI.GetAgentVersionsResponse3? Type1236 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponse? Type1237 { get; set; } + public global::RetellAI.GetAgentVersionsResponseStatus3? Type1237 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponseStatus? Type1238 { get; set; } + public global::RetellAI.GetAgentVersionsResponse4? Type1238 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponse2? Type1239 { get; set; } + public global::RetellAI.GetAgentVersionsResponseStatus4? Type1239 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponseStatus2? Type1240 { get; set; } + public global::RetellAI.GetAgentResponse? Type1240 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponse3? Type1241 { get; set; } + public global::RetellAI.GetAgentResponseStatus? Type1241 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponseStatus3? Type1242 { get; set; } + public global::RetellAI.GetAgentResponse2? Type1242 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponse4? Type1243 { get; set; } + public global::RetellAI.GetAgentResponseStatus2? Type1243 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponseStatus4? Type1244 { get; set; } + public global::RetellAI.GetAgentResponse3? Type1244 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponse5? Type1245 { get; set; } + public global::RetellAI.GetAgentResponseStatus3? Type1245 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponseStatus5? Type1246 { get; set; } + public global::RetellAI.GetAgentResponse4? Type1246 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponse? Type1247 { get; set; } + public global::RetellAI.GetAgentResponseStatus4? Type1247 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponseStatus? Type1248 { get; set; } + public global::System.Collections.Generic.IList? Type1248 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponse2? Type1249 { get; set; } + public global::RetellAI.GetChatAgentVersionsResponse? Type1249 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponseStatus2? Type1250 { get; set; } + public global::RetellAI.GetChatAgentVersionsResponseStatus? Type1250 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponse3? Type1251 { get; set; } + public global::RetellAI.GetChatAgentVersionsResponse2? Type1251 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponseStatus3? Type1252 { get; set; } + public global::RetellAI.GetChatAgentVersionsResponseStatus2? Type1252 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponse4? Type1253 { get; set; } + public global::RetellAI.GetChatAgentVersionsResponse3? Type1253 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponseStatus4? Type1254 { get; set; } + public global::RetellAI.GetChatAgentVersionsResponseStatus3? Type1254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1255 { get; set; } + public global::RetellAI.GetChatAgentResponse? Type1255 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponse? Type1256 { get; set; } + public global::RetellAI.GetChatAgentResponseStatus? Type1256 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponseStatus? Type1257 { get; set; } + public global::RetellAI.GetChatAgentResponse2? Type1257 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponse2? Type1258 { get; set; } + public global::RetellAI.GetChatAgentResponseStatus2? Type1258 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponseStatus2? Type1259 { get; set; } + public global::RetellAI.GetChatAgentResponse3? Type1259 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponse3? Type1260 { get; set; } + public global::RetellAI.GetChatAgentResponseStatus3? Type1260 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponseStatus3? Type1261 { get; set; } + public global::RetellAI.GetChatAgentResponse4? Type1261 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponse4? Type1262 { get; set; } + public global::RetellAI.GetChatAgentResponseStatus4? Type1262 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponseStatus4? Type1263 { get; set; } + public global::RetellAI.GetChatResponse? Type1263 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponse? Type1264 { get; set; } + public global::RetellAI.GetChatResponseStatus? Type1264 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponseStatus? Type1265 { get; set; } + public global::RetellAI.GetChatResponse2? Type1265 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponse2? Type1266 { get; set; } + public global::RetellAI.GetChatResponseStatus2? Type1266 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponseStatus2? Type1267 { get; set; } + public global::RetellAI.GetChatResponse3? Type1267 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponse3? Type1268 { get; set; } + public global::RetellAI.GetChatResponseStatus3? Type1268 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponseStatus3? Type1269 { get; set; } + public global::RetellAI.GetChatResponse4? Type1269 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponse4? Type1270 { get; set; } + public global::RetellAI.GetChatResponseStatus4? Type1270 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponseStatus4? Type1271 { get; set; } + public global::RetellAI.GetConcurrencyResponse? Type1271 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponse? Type1272 { get; set; } + public global::RetellAI.GetConcurrencyResponse2? Type1272 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponseStatus? Type1273 { get; set; } + public global::RetellAI.GetConcurrencyResponseStatus? Type1273 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponse2? Type1274 { get; set; } + public global::RetellAI.GetConcurrencyResponse3? Type1274 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponseStatus2? Type1275 { get; set; } + public global::RetellAI.GetConcurrencyResponseStatus2? Type1275 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponse3? Type1276 { get; set; } + public global::RetellAI.GetApiKeyInfoResponse? Type1276 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponseStatus3? Type1277 { get; set; } + public global::RetellAI.GetApiKeyInfoResponse2? Type1277 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponse4? Type1278 { get; set; } + public global::RetellAI.GetApiKeyInfoResponseStatus? Type1278 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponseStatus4? Type1279 { get; set; } + public global::RetellAI.GetApiKeyInfoResponse3? Type1279 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponse? Type1280 { get; set; } + public global::RetellAI.GetApiKeyInfoResponseStatus2? Type1280 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponseStatus? Type1281 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponse? Type1281 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponse2? Type1282 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponseStatus? Type1282 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponseStatus2? Type1283 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponse2? Type1283 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponse3? Type1284 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponseStatus2? Type1284 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponseStatus3? Type1285 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponse3? Type1285 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponse4? Type1286 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponseStatus3? Type1286 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponseStatus4? Type1287 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponse4? Type1287 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponse? Type1288 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponseStatus4? Type1288 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponseStatus? Type1289 { get; set; } + public global::RetellAI.GetConversationFlowResponse? Type1289 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponse2? Type1290 { get; set; } + public global::RetellAI.GetConversationFlowResponseStatus? Type1290 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponseStatus2? Type1291 { get; set; } + public global::RetellAI.GetConversationFlowResponse2? Type1291 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponse3? Type1292 { get; set; } + public global::RetellAI.GetConversationFlowResponseStatus2? Type1292 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponseStatus3? Type1293 { get; set; } + public global::RetellAI.GetConversationFlowResponse3? Type1293 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponse4? Type1294 { get; set; } + public global::RetellAI.GetConversationFlowResponseStatus3? Type1294 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponseStatus4? Type1295 { get; set; } + public global::RetellAI.GetConversationFlowResponse4? Type1295 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponse5? Type1296 { get; set; } + public global::RetellAI.GetConversationFlowResponseStatus4? Type1296 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponseStatus5? Type1297 { get; set; } + public global::RetellAI.GetConversationFlowResponse5? Type1297 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponse? Type1298 { get; set; } + public global::RetellAI.GetConversationFlowResponseStatus5? Type1298 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponseStatus? Type1299 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponse? Type1299 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponse2? Type1300 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponseStatus? Type1300 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponseStatus2? Type1301 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponse2? Type1301 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponse3? Type1302 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponseStatus2? Type1302 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponseStatus3? Type1303 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponse3? Type1303 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponse4? Type1304 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponseStatus3? Type1304 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponseStatus4? Type1305 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponse4? Type1305 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponse? Type1306 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponseStatus4? Type1306 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1307 { get; set; } + public global::System.Collections.Generic.IList? Type1307 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponseVoice? Type1308 { get; set; } + public global::RetellAI.GetMCPToolsResponse? Type1308 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponse2? Type1309 { get; set; } + public global::RetellAI.GetMCPToolsResponseStatus? Type1309 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponseStatus? Type1310 { get; set; } + public global::RetellAI.GetMCPToolsResponse2? Type1310 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponse3? Type1311 { get; set; } + public global::RetellAI.GetMCPToolsResponseStatus2? Type1311 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponseStatus2? Type1312 { get; set; } + public global::RetellAI.GetMCPToolsResponse3? Type1312 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponse4? Type1313 { get; set; } + public global::RetellAI.GetMCPToolsResponseStatus3? Type1313 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponseStatus3? Type1314 { get; set; } + public global::RetellAI.GetMCPToolsResponse4? Type1314 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponse5? Type1315 { get; set; } + public global::RetellAI.GetMCPToolsResponseStatus4? Type1315 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponseStatus4? Type1316 { get; set; } + public global::RetellAI.GetPhoneNumberResponse? Type1316 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberResponse? Type1317 { get; set; } + public global::RetellAI.GetPhoneNumberResponseStatus? Type1317 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberResponseStatus? Type1318 { get; set; } + public global::RetellAI.GetPhoneNumberResponse2? Type1318 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberResponse2? Type1319 { get; set; } + public global::RetellAI.GetPhoneNumberResponseStatus2? Type1319 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberResponseStatus2? Type1320 { get; set; } + public global::RetellAI.GetPhoneNumberResponse3? Type1320 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberResponse3? Type1321 { get; set; } + public global::RetellAI.GetPhoneNumberResponseStatus3? Type1321 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberResponseStatus3? Type1322 { get; set; } + public global::RetellAI.GetPhoneNumberResponse4? Type1322 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1323 { get; set; } + public global::RetellAI.GetPhoneNumberResponseStatus4? Type1323 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponse2? Type1324 { get; set; } + public global::RetellAI.GetRetellLLMResponse? Type1324 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1325 { get; set; } + public global::RetellAI.GetRetellLLMResponseStatus? Type1325 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponse3? Type1326 { get; set; } + public global::RetellAI.GetRetellLLMResponse2? Type1326 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponseStatus? Type1327 { get; set; } + public global::RetellAI.GetRetellLLMResponseStatus2? Type1327 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponse4? Type1328 { get; set; } + public global::RetellAI.GetRetellLLMResponse3? Type1328 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponseStatus2? Type1329 { get; set; } + public global::RetellAI.GetRetellLLMResponseStatus3? Type1329 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponse5? Type1330 { get; set; } + public global::RetellAI.GetRetellLLMResponse4? Type1330 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponseStatus3? Type1331 { get; set; } + public global::RetellAI.GetRetellLLMResponseStatus4? Type1331 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponse6? Type1332 { get; set; } + public global::RetellAI.GetVoiceResponse? Type1332 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponseStatus4? Type1333 { get; set; } + public global::RetellAI.GetVoiceResponseStatus? Type1333 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1334 { get; set; } + public global::RetellAI.GetVoiceResponse2? Type1334 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponse2? Type1335 { get; set; } + public global::RetellAI.GetVoiceResponseStatus2? Type1335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1336 { get; set; } + public global::RetellAI.GetVoiceResponse3? Type1336 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponse3? Type1337 { get; set; } + public global::RetellAI.GetVoiceResponseStatus3? Type1337 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponseStatus? Type1338 { get; set; } + public global::RetellAI.GetVoiceResponse4? Type1338 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponse4? Type1339 { get; set; } + public global::RetellAI.GetVoiceResponseStatus4? Type1339 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponseStatus2? Type1340 { get; set; } + public global::RetellAI.CloneVoiceResponse? Type1340 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponse5? Type1341 { get; set; } + public global::RetellAI.CloneVoiceResponseStatus? Type1341 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponseStatus3? Type1342 { get; set; } + public global::RetellAI.CloneVoiceResponse2? Type1342 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponse6? Type1343 { get; set; } + public global::RetellAI.CloneVoiceResponseStatus2? Type1343 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponseStatus4? Type1344 { get; set; } + public global::RetellAI.CloneVoiceResponse3? Type1344 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1345 { get; set; } + public global::RetellAI.CloneVoiceResponseStatus3? Type1345 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponse2? Type1346 { get; set; } + public global::RetellAI.CloneVoiceResponse4? Type1346 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1347 { get; set; } + public global::RetellAI.CloneVoiceResponseStatus4? Type1347 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponse3? Type1348 { get; set; } + public global::RetellAI.CloneVoiceResponse5? Type1348 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponseStatus? Type1349 { get; set; } + public global::RetellAI.CloneVoiceResponseStatus5? Type1349 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponse4? Type1350 { get; set; } + public global::RetellAI.AddCommunityVoiceResponse? Type1350 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponseStatus2? Type1351 { get; set; } + public global::RetellAI.AddCommunityVoiceResponseStatus? Type1351 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponse5? Type1352 { get; set; } + public global::RetellAI.AddCommunityVoiceResponse2? Type1352 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponseStatus3? Type1353 { get; set; } + public global::RetellAI.AddCommunityVoiceResponseStatus2? Type1353 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponse6? Type1354 { get; set; } + public global::RetellAI.AddCommunityVoiceResponse3? Type1354 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponseStatus4? Type1355 { get; set; } + public global::RetellAI.AddCommunityVoiceResponseStatus3? Type1355 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1356 { get; set; } + public global::RetellAI.AddCommunityVoiceResponse4? Type1356 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponse2? Type1357 { get; set; } + public global::RetellAI.AddCommunityVoiceResponseStatus4? Type1357 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1358 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponse? Type1358 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponse3? Type1359 { get; set; } + public global::System.Collections.Generic.IList? Type1359 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponseStatus? Type1360 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponseVoice? Type1360 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponse4? Type1361 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponse2? Type1361 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponseStatus2? Type1362 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponseStatus? Type1362 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponse5? Type1363 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponse3? Type1363 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponseStatus3? Type1364 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponseStatus2? Type1364 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponse6? Type1365 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponse4? Type1365 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponseStatus4? Type1366 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponseStatus3? Type1366 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponse7? Type1367 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponse5? Type1367 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponseStatus5? Type1368 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponseStatus4? Type1368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1369 { get; set; } + public global::RetellAI.ImportPhoneNumberResponse? Type1369 { get; set; } /// /// /// - public global::RetellAI.ListKnowledgeBasesResponse? Type1370 { get; set; } + public global::RetellAI.ImportPhoneNumberResponseStatus? Type1370 { get; set; } /// /// /// - public global::RetellAI.ListKnowledgeBasesResponseStatus? Type1371 { get; set; } + public global::RetellAI.ImportPhoneNumberResponse2? Type1371 { get; set; } /// /// /// - public global::RetellAI.ListKnowledgeBasesResponse2? Type1372 { get; set; } + public global::RetellAI.ImportPhoneNumberResponseStatus2? Type1372 { get; set; } /// /// /// - public global::RetellAI.ListKnowledgeBasesResponseStatus2? Type1373 { get; set; } + public global::RetellAI.ImportPhoneNumberResponse3? Type1373 { get; set; } /// /// /// - public global::RetellAI.ListKnowledgeBasesResponse3? Type1374 { get; set; } + public global::RetellAI.ImportPhoneNumberResponseStatus3? Type1374 { get; set; } /// /// /// - public global::RetellAI.ListKnowledgeBasesResponseStatus3? Type1375 { get; set; } + public global::RetellAI.AllOf? Type1375 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1376 { get; set; } + public global::RetellAI.ListAgentsResponse2? Type1376 { get; set; } /// /// /// - public global::RetellAI.ListPhoneNumbersResponse2? Type1377 { get; set; } + public global::System.Collections.Generic.IList? Type1377 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1378 { get; set; } + public global::RetellAI.ListAgentsResponse3? Type1378 { get; set; } /// /// /// - public global::RetellAI.ListPhoneNumbersResponse3? Type1379 { get; set; } + public global::RetellAI.ListAgentsResponseStatus? Type1379 { get; set; } /// /// /// - public global::RetellAI.ListPhoneNumbersResponseStatus? Type1380 { get; set; } + public global::RetellAI.ListAgentsResponse4? Type1380 { get; set; } /// /// /// - public global::RetellAI.ListPhoneNumbersResponse4? Type1381 { get; set; } + public global::RetellAI.ListAgentsResponseStatus2? Type1381 { get; set; } /// /// /// - public global::RetellAI.ListPhoneNumbersResponseStatus2? Type1382 { get; set; } + public global::RetellAI.ListAgentsResponse5? Type1382 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1383 { get; set; } + public global::RetellAI.ListAgentsResponseStatus3? Type1383 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponse2? Type1384 { get; set; } + public global::RetellAI.ListAgentsResponse6? Type1384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1385 { get; set; } + public global::RetellAI.ListAgentsResponseStatus4? Type1385 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponse3? Type1386 { get; set; } + public global::RetellAI.AllOf? Type1386 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponseStatus? Type1387 { get; set; } + public global::RetellAI.ListChatsResponse2? Type1387 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponse4? Type1388 { get; set; } + public global::System.Collections.Generic.IList? Type1388 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponseStatus2? Type1389 { get; set; } + public global::RetellAI.ListChatsResponse3? Type1389 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponse5? Type1390 { get; set; } + public global::RetellAI.ListChatsResponseStatus? Type1390 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponseStatus3? Type1391 { get; set; } + public global::RetellAI.ListChatsResponse4? Type1391 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponse6? Type1392 { get; set; } + public global::RetellAI.ListChatsResponseStatus2? Type1392 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponseStatus4? Type1393 { get; set; } + public global::RetellAI.ListChatsResponse5? Type1393 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponse7? Type1394 { get; set; } + public global::RetellAI.ListChatsResponseStatus3? Type1394 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponseStatus5? Type1395 { get; set; } + public global::RetellAI.ListChatsResponse6? Type1395 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1396 { get; set; } + public global::RetellAI.ListChatsResponseStatus4? Type1396 { get; set; } /// /// /// - public global::RetellAI.ListVoicesResponse? Type1397 { get; set; } + public global::RetellAI.AllOf? Type1397 { get; set; } /// /// /// - public global::RetellAI.ListVoicesResponseStatus? Type1398 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponse2? Type1398 { get; set; } /// /// /// - public global::RetellAI.ListVoicesResponse2? Type1399 { get; set; } + public global::System.Collections.Generic.IList? Type1399 { get; set; } /// /// /// - public global::RetellAI.ListVoicesResponseStatus2? Type1400 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponse3? Type1400 { get; set; } /// /// /// - public global::RetellAI.OneOf? Type1401 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponseStatus? Type1401 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponse2? Type1402 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponse4? Type1402 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponseStatus? Type1403 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponseStatus2? Type1403 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponse3? Type1404 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponse5? Type1404 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponseStatus2? Type1405 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponseStatus3? Type1405 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponse4? Type1406 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponse6? Type1406 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponseStatus3? Type1407 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponseStatus4? Type1407 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponse5? Type1408 { get; set; } + public global::RetellAI.AllOf? Type1408 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponseStatus4? Type1409 { get; set; } + public global::RetellAI.ListConversationFlowsResponse2? Type1409 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponse6? Type1410 { get; set; } + public global::System.Collections.Generic.IList? Type1410 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponseStatus5? Type1411 { get; set; } + public global::RetellAI.ListConversationFlowsResponse3? Type1411 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponse? Type1412 { get; set; } + public global::RetellAI.ListConversationFlowsResponseStatus? Type1412 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponseStatus? Type1413 { get; set; } + public global::RetellAI.ListConversationFlowsResponse4? Type1413 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponse2? Type1414 { get; set; } + public global::RetellAI.ListConversationFlowsResponseStatus2? Type1414 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponseStatus2? Type1415 { get; set; } + public global::RetellAI.ListConversationFlowsResponse5? Type1415 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponse3? Type1416 { get; set; } + public global::RetellAI.ListConversationFlowsResponseStatus3? Type1416 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponseStatus3? Type1417 { get; set; } + public global::RetellAI.ListConversationFlowsResponse6? Type1417 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponse4? Type1418 { get; set; } + public global::RetellAI.ListConversationFlowsResponseStatus4? Type1418 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponseStatus4? Type1419 { get; set; } + public global::RetellAI.ListConversationFlowsResponse7? Type1419 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponse5? Type1420 { get; set; } + public global::RetellAI.ListConversationFlowsResponseStatus5? Type1420 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponseStatus5? Type1421 { get; set; } + public global::System.Collections.Generic.IList? Type1421 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponse? Type1422 { get; set; } + public global::RetellAI.ListKnowledgeBasesResponse? Type1422 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponseStatus? Type1423 { get; set; } + public global::RetellAI.ListKnowledgeBasesResponseStatus? Type1423 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponse2? Type1424 { get; set; } + public global::RetellAI.ListKnowledgeBasesResponse2? Type1424 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponseStatus2? Type1425 { get; set; } + public global::RetellAI.ListKnowledgeBasesResponseStatus2? Type1425 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponse3? Type1426 { get; set; } + public global::RetellAI.ListKnowledgeBasesResponse3? Type1426 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponseStatus3? Type1427 { get; set; } + public global::RetellAI.ListKnowledgeBasesResponseStatus3? Type1427 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponse4? Type1428 { get; set; } + public global::RetellAI.AllOf? Type1428 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponseStatus4? Type1429 { get; set; } + public global::RetellAI.ListPhoneNumbersResponse2? Type1429 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponse5? Type1430 { get; set; } + public global::System.Collections.Generic.IList? Type1430 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponseStatus5? Type1431 { get; set; } + public global::RetellAI.ListPhoneNumbersResponse3? Type1431 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse? Type1432 { get; set; } + public global::RetellAI.ListPhoneNumbersResponseStatus? Type1432 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus? Type1433 { get; set; } + public global::RetellAI.ListPhoneNumbersResponse4? Type1433 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse2? Type1434 { get; set; } + public global::RetellAI.ListPhoneNumbersResponseStatus2? Type1434 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus2? Type1435 { get; set; } + public global::RetellAI.AllOf? Type1435 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse3? Type1436 { get; set; } + public global::RetellAI.ListRetellLLMResponse2? Type1436 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus3? Type1437 { get; set; } + public global::System.Collections.Generic.IList? Type1437 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse4? Type1438 { get; set; } + public global::RetellAI.ListRetellLLMResponse3? Type1438 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus4? Type1439 { get; set; } + public global::RetellAI.ListRetellLLMResponseStatus? Type1439 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse5? Type1440 { get; set; } + public global::RetellAI.ListRetellLLMResponse4? Type1440 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus5? Type1441 { get; set; } + public global::RetellAI.ListRetellLLMResponseStatus2? Type1441 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse6? Type1442 { get; set; } + public global::RetellAI.ListRetellLLMResponse5? Type1442 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus6? Type1443 { get; set; } + public global::RetellAI.ListRetellLLMResponseStatus3? Type1443 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse7? Type1444 { get; set; } + public global::RetellAI.ListRetellLLMResponse6? Type1444 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus7? Type1445 { get; set; } + public global::RetellAI.ListRetellLLMResponseStatus4? Type1445 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse? Type1446 { get; set; } + public global::RetellAI.ListRetellLLMResponse7? Type1446 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus? Type1447 { get; set; } + public global::RetellAI.ListRetellLLMResponseStatus5? Type1447 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse2? Type1448 { get; set; } + public global::System.Collections.Generic.IList? Type1448 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus2? Type1449 { get; set; } + public global::RetellAI.ListVoicesResponse? Type1449 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse3? Type1450 { get; set; } + public global::RetellAI.ListVoicesResponseStatus? Type1450 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus3? Type1451 { get; set; } + public global::RetellAI.ListVoicesResponse2? Type1451 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse4? Type1452 { get; set; } + public global::RetellAI.ListVoicesResponseStatus2? Type1452 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus4? Type1453 { get; set; } + public global::RetellAI.OneOf? Type1453 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse5? Type1454 { get; set; } + public global::RetellAI.CreateAgentVersionResponse2? Type1454 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus5? Type1455 { get; set; } + public global::RetellAI.CreateAgentVersionResponseStatus? Type1455 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse6? Type1456 { get; set; } + public global::RetellAI.CreateAgentVersionResponse3? Type1456 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus6? Type1457 { get; set; } + public global::RetellAI.CreateAgentVersionResponseStatus2? Type1457 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse7? Type1458 { get; set; } + public global::RetellAI.CreateAgentVersionResponse4? Type1458 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus7? Type1459 { get; set; } + public global::RetellAI.CreateAgentVersionResponseStatus3? Type1459 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponse? Type1460 { get; set; } + public global::RetellAI.CreateAgentVersionResponse5? Type1460 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponseStatus? Type1461 { get; set; } + public global::RetellAI.CreateAgentVersionResponseStatus4? Type1461 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponse2? Type1462 { get; set; } + public global::RetellAI.CreateAgentVersionResponse6? Type1462 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponseStatus2? Type1463 { get; set; } + public global::RetellAI.CreateAgentVersionResponseStatus5? Type1463 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponse3? Type1464 { get; set; } + public global::RetellAI.PublishAgentVersionResponse? Type1464 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponseStatus3? Type1465 { get; set; } + public global::RetellAI.PublishAgentVersionResponseStatus? Type1465 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponse4? Type1466 { get; set; } + public global::RetellAI.PublishAgentVersionResponse2? Type1466 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponseStatus4? Type1467 { get; set; } + public global::RetellAI.PublishAgentVersionResponseStatus2? Type1467 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponse5? Type1468 { get; set; } + public global::RetellAI.PublishAgentVersionResponse3? Type1468 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponseStatus5? Type1469 { get; set; } + public global::RetellAI.PublishAgentVersionResponseStatus3? Type1469 { get; set; } /// /// /// - public global::RetellAI.RepairAgentResponse2? Type1470 { get; set; } + public global::RetellAI.PublishAgentVersionResponse4? Type1470 { get; set; } /// /// /// - public global::RetellAI.RepairAgentResponseStatus? Type1471 { get; set; } + public global::RetellAI.PublishAgentVersionResponseStatus4? Type1471 { get; set; } /// /// /// - public global::RetellAI.RepairAgentResponse3? Type1472 { get; set; } + public global::RetellAI.PublishAgentVersionResponse5? Type1472 { get; set; } /// /// /// - public global::RetellAI.RepairAgentResponseStatus2? Type1473 { get; set; } + public global::RetellAI.PublishAgentVersionResponseStatus5? Type1473 { get; set; } /// /// /// - public global::RetellAI.RepairAgentResponse4? Type1474 { get; set; } + public global::RetellAI.DeleteAgentVersionResponse? Type1474 { get; set; } /// /// /// - public global::RetellAI.RepairAgentResponseStatus3? Type1475 { get; set; } + public global::RetellAI.DeleteAgentVersionResponseStatus? Type1475 { get; set; } /// /// /// - public global::RetellAI.RepairAgentResponse5? Type1476 { get; set; } + public global::RetellAI.DeleteAgentVersionResponse2? Type1476 { get; set; } /// /// /// - public global::RetellAI.RepairAgentResponseStatus4? Type1477 { get; set; } + public global::RetellAI.DeleteAgentVersionResponseStatus2? Type1477 { get; set; } /// /// /// - public global::RetellAI.RepairAgentResponse6? Type1478 { get; set; } + public global::RetellAI.DeleteAgentVersionResponse3? Type1478 { get; set; } /// /// /// - public global::RetellAI.RepairAgentResponseStatus5? Type1479 { get; set; } + public global::RetellAI.DeleteAgentVersionResponseStatus3? Type1479 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponse? Type1480 { get; set; } + public global::RetellAI.DeleteAgentVersionResponse4? Type1480 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponseStatus? Type1481 { get; set; } + public global::RetellAI.DeleteAgentVersionResponseStatus4? Type1481 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponse2? Type1482 { get; set; } + public global::RetellAI.DeleteAgentVersionResponse5? Type1482 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponseStatus2? Type1483 { get; set; } + public global::RetellAI.DeleteAgentVersionResponseStatus5? Type1483 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponse3? Type1484 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse? Type1484 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponseStatus3? Type1485 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus? Type1485 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponse4? Type1486 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse2? Type1486 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponseStatus4? Type1487 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus2? Type1487 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponse5? Type1488 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse3? Type1488 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponseStatus5? Type1489 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus3? Type1489 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponse? Type1490 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse4? Type1490 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponseStatus? Type1491 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus4? Type1491 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponse2? Type1492 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse5? Type1492 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponseStatus2? Type1493 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus5? Type1493 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponse3? Type1494 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse6? Type1494 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponseStatus3? Type1495 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus6? Type1495 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponse4? Type1496 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse7? Type1496 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponseStatus4? Type1497 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus7? Type1497 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponse? Type1498 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse? Type1498 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponseStatus? Type1499 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus? Type1499 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponse2? Type1500 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse2? Type1500 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponseStatus2? Type1501 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus2? Type1501 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponse3? Type1502 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse3? Type1502 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponseStatus3? Type1503 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus3? Type1503 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponse4? Type1504 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse4? Type1504 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponseStatus4? Type1505 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus4? Type1505 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponse5? Type1506 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse5? Type1506 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponseStatus5? Type1507 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus5? Type1507 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponse6? Type1508 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse6? Type1508 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponseStatus6? Type1509 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus6? Type1509 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponse? Type1510 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse7? Type1510 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponseStatus? Type1511 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus7? Type1511 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponse2? Type1512 { get; set; } + public global::RetellAI.UpdateAgentResponse? Type1512 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponseStatus2? Type1513 { get; set; } + public global::RetellAI.UpdateAgentResponseStatus? Type1513 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponse3? Type1514 { get; set; } + public global::RetellAI.UpdateAgentResponse2? Type1514 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponseStatus3? Type1515 { get; set; } + public global::RetellAI.UpdateAgentResponseStatus2? Type1515 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponse4? Type1516 { get; set; } + public global::RetellAI.UpdateAgentResponse3? Type1516 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponseStatus4? Type1517 { get; set; } + public global::RetellAI.UpdateAgentResponseStatus3? Type1517 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponse5? Type1518 { get; set; } + public global::RetellAI.UpdateAgentResponse4? Type1518 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponseStatus5? Type1519 { get; set; } + public global::RetellAI.UpdateAgentResponseStatus4? Type1519 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponse6? Type1520 { get; set; } + public global::RetellAI.UpdateAgentResponse5? Type1520 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponseStatus6? Type1521 { get; set; } + public global::RetellAI.UpdateAgentResponseStatus5? Type1521 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponse? Type1522 { get; set; } + public global::RetellAI.RepairAgentResponse2? Type1522 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponseStatus? Type1523 { get; set; } + public global::RetellAI.RepairAgentResponseStatus? Type1523 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponse2? Type1524 { get; set; } + public global::RetellAI.RepairAgentResponse3? Type1524 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponseStatus2? Type1525 { get; set; } + public global::RetellAI.RepairAgentResponseStatus2? Type1525 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponse3? Type1526 { get; set; } + public global::RetellAI.RepairAgentResponse4? Type1526 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponseStatus3? Type1527 { get; set; } + public global::RetellAI.RepairAgentResponseStatus3? Type1527 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponse4? Type1528 { get; set; } + public global::RetellAI.RepairAgentResponse5? Type1528 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponseStatus4? Type1529 { get; set; } + public global::RetellAI.RepairAgentResponseStatus4? Type1529 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponse? Type1530 { get; set; } + public global::RetellAI.RepairAgentResponse6? Type1530 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponseStatus? Type1531 { get; set; } + public global::RetellAI.RepairAgentResponseStatus5? Type1531 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponse2? Type1532 { get; set; } + public global::RetellAI.UpdateChatAgentResponse? Type1532 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponseStatus2? Type1533 { get; set; } + public global::RetellAI.UpdateChatAgentResponseStatus? Type1533 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponse3? Type1534 { get; set; } + public global::RetellAI.UpdateChatAgentResponse2? Type1534 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponseStatus3? Type1535 { get; set; } + public global::RetellAI.UpdateChatAgentResponseStatus2? Type1535 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponse4? Type1536 { get; set; } + public global::RetellAI.UpdateChatAgentResponse3? Type1536 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponseStatus4? Type1537 { get; set; } + public global::RetellAI.UpdateChatAgentResponseStatus3? Type1537 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponse5? Type1538 { get; set; } + public global::RetellAI.UpdateChatAgentResponse4? Type1538 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponseStatus5? Type1539 { get; set; } + public global::RetellAI.UpdateChatAgentResponseStatus4? Type1539 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponse? Type1540 { get; set; } + public global::RetellAI.UpdateChatAgentResponse5? Type1540 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponseStatus? Type1541 { get; set; } + public global::RetellAI.UpdateChatAgentResponseStatus5? Type1541 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponse2? Type1542 { get; set; } + public global::RetellAI.UpdateChatMetadataResponse? Type1542 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponseStatus2? Type1543 { get; set; } + public global::RetellAI.UpdateChatMetadataResponseStatus? Type1543 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponse3? Type1544 { get; set; } + public global::RetellAI.UpdateChatMetadataResponse2? Type1544 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponseStatus3? Type1545 { get; set; } + public global::RetellAI.UpdateChatMetadataResponseStatus2? Type1545 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponse4? Type1546 { get; set; } + public global::RetellAI.UpdateChatMetadataResponse3? Type1546 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponseStatus4? Type1547 { get; set; } + public global::RetellAI.UpdateChatMetadataResponseStatus3? Type1547 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponse5? Type1548 { get; set; } + public global::RetellAI.UpdateChatMetadataResponse4? Type1548 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponseStatus5? Type1549 { get; set; } + public global::RetellAI.UpdateChatMetadataResponseStatus4? Type1549 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponse6? Type1550 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponse? Type1550 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponseStatus6? Type1551 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponseStatus? Type1551 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponse? Type1552 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponse2? Type1552 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponseStatus? Type1553 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponseStatus2? Type1553 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponse2? Type1554 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponse3? Type1554 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponseStatus2? Type1555 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponseStatus3? Type1555 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponse3? Type1556 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponse4? Type1556 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponseStatus3? Type1557 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponseStatus4? Type1557 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponse4? Type1558 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponse5? Type1558 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponseStatus4? Type1559 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponseStatus5? Type1559 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponse5? Type1560 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponse6? Type1560 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponseStatus5? Type1561 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponseStatus6? Type1561 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponse6? Type1562 { get; set; } + public global::RetellAI.UpdateConversationFlowResponse? Type1562 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponseStatus6? Type1563 { get; set; } + public global::RetellAI.UpdateConversationFlowResponseStatus? Type1563 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponse? Type1564 { get; set; } + public global::RetellAI.UpdateConversationFlowResponse2? Type1564 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponseStatus? Type1565 { get; set; } + public global::RetellAI.UpdateConversationFlowResponseStatus2? Type1565 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponse2? Type1566 { get; set; } + public global::RetellAI.UpdateConversationFlowResponse3? Type1566 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponseStatus2? Type1567 { get; set; } + public global::RetellAI.UpdateConversationFlowResponseStatus3? Type1567 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponse3? Type1568 { get; set; } + public global::RetellAI.UpdateConversationFlowResponse4? Type1568 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponseStatus3? Type1569 { get; set; } + public global::RetellAI.UpdateConversationFlowResponseStatus4? Type1569 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponse4? Type1570 { get; set; } + public global::RetellAI.UpdateConversationFlowResponse5? Type1570 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponseStatus4? Type1571 { get; set; } + public global::RetellAI.UpdateConversationFlowResponseStatus5? Type1571 { get; set; } /// /// /// - public global::RetellAI.GetCallResponse? Type1572 { get; set; } + public global::RetellAI.UpdateConversationFlowResponse6? Type1572 { get; set; } /// /// /// - public global::RetellAI.GetCallResponseStatus? Type1573 { get; set; } + public global::RetellAI.UpdateConversationFlowResponseStatus6? Type1573 { get; set; } /// /// /// - public global::RetellAI.GetCallResponse2? Type1574 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponse? Type1574 { get; set; } /// /// /// - public global::RetellAI.GetCallResponseStatus2? Type1575 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponseStatus? Type1575 { get; set; } /// /// /// - public global::RetellAI.GetCallResponse3? Type1576 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponse2? Type1576 { get; set; } /// /// /// - public global::RetellAI.GetCallResponseStatus3? Type1577 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponseStatus2? Type1577 { get; set; } /// /// /// - public global::RetellAI.GetCallResponse4? Type1578 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponse3? Type1578 { get; set; } /// /// /// - public global::RetellAI.GetCallResponseStatus4? Type1579 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponseStatus3? Type1579 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1580 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponse4? Type1580 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponse2? Type1581 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponseStatus4? Type1581 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1582 { get; set; } + public global::RetellAI.UpdateRetellLLMResponse? Type1582 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponse3? Type1583 { get; set; } + public global::RetellAI.UpdateRetellLLMResponseStatus? Type1583 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponseStatus? Type1584 { get; set; } + public global::RetellAI.UpdateRetellLLMResponse2? Type1584 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponse4? Type1585 { get; set; } + public global::RetellAI.UpdateRetellLLMResponseStatus2? Type1585 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponseStatus2? Type1586 { get; set; } + public global::RetellAI.UpdateRetellLLMResponse3? Type1586 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponse5? Type1587 { get; set; } + public global::RetellAI.UpdateRetellLLMResponseStatus3? Type1587 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponseStatus3? Type1588 { get; set; } + public global::RetellAI.UpdateRetellLLMResponse4? Type1588 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponse6? Type1589 { get; set; } + public global::RetellAI.UpdateRetellLLMResponseStatus4? Type1589 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponseStatus4? Type1590 { get; set; } + public global::RetellAI.UpdateRetellLLMResponse5? Type1590 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1591 { get; set; } + public global::RetellAI.UpdateRetellLLMResponseStatus5? Type1591 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponse2? Type1592 { get; set; } + public global::RetellAI.CreatePhoneCallResponse? Type1592 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1593 { get; set; } + public global::RetellAI.CreatePhoneCallResponseStatus? Type1593 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseItem? Type1594 { get; set; } + public global::RetellAI.CreatePhoneCallResponse2? Type1594 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseItemChannel? Type1595 { get; set; } + public global::RetellAI.CreatePhoneCallResponseStatus2? Type1595 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseItemStatus? Type1596 { get; set; } + public global::RetellAI.CreatePhoneCallResponse3? Type1596 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponse3? Type1597 { get; set; } + public global::RetellAI.CreatePhoneCallResponseStatus3? Type1597 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseStatus? Type1598 { get; set; } + public global::RetellAI.CreatePhoneCallResponse4? Type1598 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponse4? Type1599 { get; set; } + public global::RetellAI.CreatePhoneCallResponseStatus4? Type1599 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseStatus2? Type1600 { get; set; } + public global::RetellAI.CreatePhoneCallResponse5? Type1600 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponse5? Type1601 { get; set; } + public global::RetellAI.CreatePhoneCallResponseStatus5? Type1601 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseStatus3? Type1602 { get; set; } + public global::RetellAI.CreatePhoneCallResponse6? Type1602 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponse6? Type1603 { get; set; } + public global::RetellAI.CreatePhoneCallResponseStatus6? Type1603 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseStatus4? Type1604 { get; set; } + public global::RetellAI.CreateWebCallResponse? Type1604 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponse? Type1605 { get; set; } + public global::RetellAI.CreateWebCallResponseStatus? Type1605 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponseStatus? Type1606 { get; set; } + public global::RetellAI.CreateWebCallResponse2? Type1606 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponse2? Type1607 { get; set; } + public global::RetellAI.CreateWebCallResponseStatus2? Type1607 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponseStatus2? Type1608 { get; set; } + public global::RetellAI.CreateWebCallResponse3? Type1608 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponse3? Type1609 { get; set; } + public global::RetellAI.CreateWebCallResponseStatus3? Type1609 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponseStatus3? Type1610 { get; set; } + public global::RetellAI.CreateWebCallResponse4? Type1610 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponse4? Type1611 { get; set; } + public global::RetellAI.CreateWebCallResponseStatus4? Type1611 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponseStatus4? Type1612 { get; set; } + public global::RetellAI.CreateWebCallResponse5? Type1612 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponse5? Type1613 { get; set; } + public global::RetellAI.CreateWebCallResponseStatus5? Type1613 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponseStatus5? Type1614 { get; set; } + public global::RetellAI.CreateWebCallResponse6? Type1614 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponse6? Type1615 { get; set; } + public global::RetellAI.CreateWebCallResponseStatus6? Type1615 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponseStatus6? Type1616 { get; set; } + public global::RetellAI.DeleteCallResponse? Type1616 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponse? Type1617 { get; set; } + public global::RetellAI.DeleteCallResponseStatus? Type1617 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponseStatus? Type1618 { get; set; } + public global::RetellAI.DeleteCallResponse2? Type1618 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponse2? Type1619 { get; set; } + public global::RetellAI.DeleteCallResponseStatus2? Type1619 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponseStatus2? Type1620 { get; set; } + public global::RetellAI.DeleteCallResponse3? Type1620 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponse3? Type1621 { get; set; } + public global::RetellAI.DeleteCallResponseStatus3? Type1621 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponseStatus3? Type1622 { get; set; } + public global::RetellAI.DeleteCallResponse4? Type1622 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponse4? Type1623 { get; set; } + public global::RetellAI.DeleteCallResponseStatus4? Type1623 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponseStatus4? Type1624 { get; set; } + public global::RetellAI.GetCallResponse? Type1624 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponse? Type1625 { get; set; } + public global::RetellAI.GetCallResponseStatus? Type1625 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponse2? Type1626 { get; set; } + public global::RetellAI.GetCallResponse2? Type1626 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponseStatus? Type1627 { get; set; } + public global::RetellAI.GetCallResponseStatus2? Type1627 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponse3? Type1628 { get; set; } + public global::RetellAI.GetCallResponse3? Type1628 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponseStatus2? Type1629 { get; set; } + public global::RetellAI.GetCallResponseStatus3? Type1629 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponse4? Type1630 { get; set; } + public global::RetellAI.GetCallResponse4? Type1630 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponseStatus3? Type1631 { get; set; } + public global::RetellAI.GetCallResponseStatus4? Type1631 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponse5? Type1632 { get; set; } + public global::RetellAI.AllOf? Type1632 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponseStatus4? Type1633 { get; set; } + public global::RetellAI.ListCallsResponse2? Type1633 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponse6? Type1634 { get; set; } + public global::System.Collections.Generic.IList? Type1634 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponseStatus5? Type1635 { get; set; } + public global::RetellAI.ListCallsResponse3? Type1635 { get; set; } /// /// /// - public global::RetellAI.StopCallResponse? Type1636 { get; set; } + public global::RetellAI.ListCallsResponseStatus? Type1636 { get; set; } /// /// /// - public global::RetellAI.StopCallResponseStatus? Type1637 { get; set; } + public global::RetellAI.ListCallsResponse4? Type1637 { get; set; } /// /// /// - public global::RetellAI.StopCallResponse2? Type1638 { get; set; } + public global::RetellAI.ListCallsResponseStatus2? Type1638 { get; set; } /// /// /// - public global::RetellAI.StopCallResponseStatus2? Type1639 { get; set; } + public global::RetellAI.ListCallsResponse5? Type1639 { get; set; } /// /// /// - public global::RetellAI.StopCallResponse3? Type1640 { get; set; } + public global::RetellAI.ListCallsResponseStatus3? Type1640 { get; set; } /// /// /// - public global::RetellAI.StopCallResponseStatus3? Type1641 { get; set; } + public global::RetellAI.ListCallsResponse6? Type1641 { get; set; } /// /// /// - public global::RetellAI.StopCallResponse4? Type1642 { get; set; } + public global::RetellAI.ListCallsResponseStatus4? Type1642 { get; set; } /// /// /// - public global::RetellAI.StopCallResponseStatus4? Type1643 { get; set; } + public global::RetellAI.AllOf? Type1643 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponse? Type1644 { get; set; } + public global::RetellAI.ListExportRequestsResponse2? Type1644 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponseStatus? Type1645 { get; set; } + public global::System.Collections.Generic.IList? Type1645 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponse2? Type1646 { get; set; } + public global::RetellAI.ListExportRequestsResponseItem? Type1646 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponseStatus2? Type1647 { get; set; } + public global::RetellAI.ListExportRequestsResponseItemChannel? Type1647 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponse3? Type1648 { get; set; } + public global::RetellAI.ListExportRequestsResponseItemStatus? Type1648 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponseStatus3? Type1649 { get; set; } + public global::RetellAI.ListExportRequestsResponse3? Type1649 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponse4? Type1650 { get; set; } + public global::RetellAI.ListExportRequestsResponseStatus? Type1650 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponseStatus4? Type1651 { get; set; } + public global::RetellAI.ListExportRequestsResponse4? Type1651 { get; set; } /// /// /// - public global::RetellAI.UploadContactImportFileResponse? Type1652 { get; set; } + public global::RetellAI.ListExportRequestsResponseStatus2? Type1652 { get; set; } /// /// /// - public global::RetellAI.UploadContactImportFileResponse2? Type1653 { get; set; } + public global::RetellAI.ListExportRequestsResponse5? Type1653 { get; set; } /// /// /// - public global::RetellAI.UploadContactImportFileResponseStatus? Type1654 { get; set; } + public global::RetellAI.ListExportRequestsResponseStatus3? Type1654 { get; set; } /// /// /// - public global::RetellAI.UploadContactImportFileResponse3? Type1655 { get; set; } + public global::RetellAI.ListExportRequestsResponse6? Type1655 { get; set; } /// /// /// - public global::RetellAI.UploadContactImportFileResponseStatus2? Type1656 { get; set; } + public global::RetellAI.ListExportRequestsResponseStatus4? Type1656 { get; set; } /// /// /// - public global::RetellAI.UploadContactImportFileResponse4? Type1657 { get; set; } + public global::RetellAI.RegisterPhoneCallResponse? Type1657 { get; set; } /// /// /// - public global::RetellAI.UploadContactImportFileResponseStatus3? Type1658 { get; set; } + public global::RetellAI.RegisterPhoneCallResponseStatus? Type1658 { get; set; } /// /// /// - public global::RetellAI.UploadContactImportFileResponse5? Type1659 { get; set; } + public global::RetellAI.RegisterPhoneCallResponse2? Type1659 { get; set; } /// /// /// - public global::RetellAI.UploadContactImportFileResponseStatus4? Type1660 { get; set; } + public global::RetellAI.RegisterPhoneCallResponseStatus2? Type1660 { get; set; } /// /// /// - public global::RetellAI.CreateContactImportResponse? Type1661 { get; set; } + public global::RetellAI.RegisterPhoneCallResponse3? Type1661 { get; set; } /// /// /// - public global::RetellAI.CreateContactImportResponseStatus? Type1662 { get; set; } + public global::RetellAI.RegisterPhoneCallResponseStatus3? Type1662 { get; set; } /// /// /// - public global::RetellAI.CreateContactImportResponse2? Type1663 { get; set; } + public global::RetellAI.RegisterPhoneCallResponse4? Type1663 { get; set; } /// /// /// - public global::RetellAI.CreateContactImportResponseStatus2? Type1664 { get; set; } + public global::RetellAI.RegisterPhoneCallResponseStatus4? Type1664 { get; set; } /// /// /// - public global::RetellAI.CreateContactImportResponse3? Type1665 { get; set; } + public global::RetellAI.RegisterPhoneCallResponse5? Type1665 { get; set; } /// /// /// - public global::RetellAI.CreateContactImportResponseStatus3? Type1666 { get; set; } + public global::RetellAI.RegisterPhoneCallResponseStatus5? Type1666 { get; set; } /// /// /// - public global::RetellAI.CreateContactImportResponse4? Type1667 { get; set; } + public global::RetellAI.RegisterPhoneCallResponse6? Type1667 { get; set; } /// /// /// - public global::RetellAI.CreateContactImportResponseStatus4? Type1668 { get; set; } + public global::RetellAI.RegisterPhoneCallResponseStatus6? Type1668 { get; set; } /// /// /// - public global::RetellAI.CreateContactImportResponse5? Type1669 { get; set; } + public global::RetellAI.UpdateCallMetadataResponse? Type1669 { get; set; } /// /// /// - public global::RetellAI.CreateContactImportResponseStatus5? Type1670 { get; set; } + public global::RetellAI.UpdateCallMetadataResponseStatus? Type1670 { get; set; } /// /// /// - public global::RetellAI.GetContactImportResponse? Type1671 { get; set; } + public global::RetellAI.UpdateCallMetadataResponse2? Type1671 { get; set; } /// /// /// - public global::RetellAI.GetContactImportResponseStatus? Type1672 { get; set; } + public global::RetellAI.UpdateCallMetadataResponseStatus2? Type1672 { get; set; } /// /// /// - public global::RetellAI.GetContactImportResponse2? Type1673 { get; set; } + public global::RetellAI.UpdateCallMetadataResponse3? Type1673 { get; set; } /// /// /// - public global::RetellAI.GetContactImportResponseStatus2? Type1674 { get; set; } + public global::RetellAI.UpdateCallMetadataResponseStatus3? Type1674 { get; set; } /// /// /// - public global::RetellAI.GetContactImportResponse3? Type1675 { get; set; } + public global::RetellAI.UpdateCallMetadataResponse4? Type1675 { get; set; } /// /// /// - public global::RetellAI.GetContactImportResponseStatus3? Type1676 { get; set; } + public global::RetellAI.UpdateCallMetadataResponseStatus4? Type1676 { get; set; } /// /// /// - public global::RetellAI.GetContactResponse? Type1677 { get; set; } + public global::RetellAI.UpdateLiveCallResponse? Type1677 { get; set; } /// /// /// - public global::RetellAI.GetContactResponseStatus? Type1678 { get; set; } + public global::RetellAI.UpdateLiveCallResponse2? Type1678 { get; set; } /// /// /// - public global::RetellAI.GetContactResponse2? Type1679 { get; set; } + public global::RetellAI.UpdateLiveCallResponseStatus? Type1679 { get; set; } /// /// /// - public global::RetellAI.GetContactResponseStatus2? Type1680 { get; set; } + public global::RetellAI.UpdateLiveCallResponse3? Type1680 { get; set; } /// /// /// - public global::RetellAI.GetContactResponse3? Type1681 { get; set; } + public global::RetellAI.UpdateLiveCallResponseStatus2? Type1681 { get; set; } /// /// /// - public global::RetellAI.GetContactResponseStatus3? Type1682 { get; set; } + public global::RetellAI.UpdateLiveCallResponse4? Type1682 { get; set; } /// /// /// - public global::RetellAI.GetContactResponse4? Type1683 { get; set; } + public global::RetellAI.UpdateLiveCallResponseStatus3? Type1683 { get; set; } /// /// /// - public global::RetellAI.GetContactResponseStatus4? Type1684 { get; set; } + public global::RetellAI.UpdateLiveCallResponse5? Type1684 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponse? Type1685 { get; set; } + public global::RetellAI.UpdateLiveCallResponseStatus4? Type1685 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponseStatus? Type1686 { get; set; } + public global::RetellAI.UpdateLiveCallResponse6? Type1686 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponse2? Type1687 { get; set; } + public global::RetellAI.UpdateLiveCallResponseStatus5? Type1687 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponseStatus2? Type1688 { get; set; } + public global::RetellAI.StopCallResponse? Type1688 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponse3? Type1689 { get; set; } + public global::RetellAI.StopCallResponseStatus? Type1689 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponseStatus3? Type1690 { get; set; } + public global::RetellAI.StopCallResponse2? Type1690 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponse4? Type1691 { get; set; } + public global::RetellAI.StopCallResponseStatus2? Type1691 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponseStatus4? Type1692 { get; set; } + public global::RetellAI.StopCallResponse3? Type1692 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponse5? Type1693 { get; set; } + public global::RetellAI.StopCallResponseStatus3? Type1693 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponseStatus5? Type1694 { get; set; } + public global::RetellAI.StopCallResponse4? Type1694 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponse? Type1695 { get; set; } + public global::RetellAI.StopCallResponseStatus4? Type1695 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponseStatus? Type1696 { get; set; } + public global::RetellAI.CreateContactResponse? Type1696 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponse2? Type1697 { get; set; } + public global::RetellAI.CreateContactResponseStatus? Type1697 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponseStatus2? Type1698 { get; set; } + public global::RetellAI.CreateContactResponse2? Type1698 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponse3? Type1699 { get; set; } + public global::RetellAI.CreateContactResponseStatus2? Type1699 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponseStatus3? Type1700 { get; set; } + public global::RetellAI.CreateContactResponse3? Type1700 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponse4? Type1701 { get; set; } + public global::RetellAI.CreateContactResponseStatus3? Type1701 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponseStatus4? Type1702 { get; set; } + public global::RetellAI.CreateContactResponse4? Type1702 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponse5? Type1703 { get; set; } + public global::RetellAI.CreateContactResponseStatus4? Type1703 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponseStatus5? Type1704 { get; set; } + public global::RetellAI.UploadContactImportFileResponse? Type1704 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponse? Type1705 { get; set; } + public global::RetellAI.UploadContactImportFileResponse2? Type1705 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponseStatus? Type1706 { get; set; } + public global::RetellAI.UploadContactImportFileResponseStatus? Type1706 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponse2? Type1707 { get; set; } + public global::RetellAI.UploadContactImportFileResponse3? Type1707 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponseStatus2? Type1708 { get; set; } + public global::RetellAI.UploadContactImportFileResponseStatus2? Type1708 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponse3? Type1709 { get; set; } + public global::RetellAI.UploadContactImportFileResponse4? Type1709 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponseStatus3? Type1710 { get; set; } + public global::RetellAI.UploadContactImportFileResponseStatus3? Type1710 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponse4? Type1711 { get; set; } + public global::RetellAI.UploadContactImportFileResponse5? Type1711 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponseStatus4? Type1712 { get; set; } + public global::RetellAI.UploadContactImportFileResponseStatus4? Type1712 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponse5? Type1713 { get; set; } + public global::RetellAI.CreateContactImportResponse? Type1713 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponseStatus5? Type1714 { get; set; } + public global::RetellAI.CreateContactImportResponseStatus? Type1714 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponse? Type1715 { get; set; } + public global::RetellAI.CreateContactImportResponse2? Type1715 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponseStatus? Type1716 { get; set; } + public global::RetellAI.CreateContactImportResponseStatus2? Type1716 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponse2? Type1717 { get; set; } + public global::RetellAI.CreateContactImportResponse3? Type1717 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponseStatus2? Type1718 { get; set; } + public global::RetellAI.CreateContactImportResponseStatus3? Type1718 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponse3? Type1719 { get; set; } + public global::RetellAI.CreateContactImportResponse4? Type1719 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponseStatus3? Type1720 { get; set; } + public global::RetellAI.CreateContactImportResponseStatus4? Type1720 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponse4? Type1721 { get; set; } + public global::RetellAI.CreateContactImportResponse5? Type1721 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponseStatus4? Type1722 { get; set; } + public global::RetellAI.CreateContactImportResponseStatus5? Type1722 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponse? Type1723 { get; set; } + public global::RetellAI.GetContactImportResponse? Type1723 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponseStatus? Type1724 { get; set; } + public global::RetellAI.GetContactImportResponseStatus? Type1724 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponse2? Type1725 { get; set; } + public global::RetellAI.GetContactImportResponse2? Type1725 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponseStatus2? Type1726 { get; set; } + public global::RetellAI.GetContactImportResponseStatus2? Type1726 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponse3? Type1727 { get; set; } + public global::RetellAI.GetContactImportResponse3? Type1727 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponseStatus3? Type1728 { get; set; } + public global::RetellAI.GetContactImportResponseStatus3? Type1728 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponse4? Type1729 { get; set; } + public global::RetellAI.GetContactResponse? Type1729 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponseStatus4? Type1730 { get; set; } + public global::RetellAI.GetContactResponseStatus? Type1730 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponse? Type1731 { get; set; } + public global::RetellAI.GetContactResponse2? Type1731 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponseStatus? Type1732 { get; set; } + public global::RetellAI.GetContactResponseStatus2? Type1732 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponse2? Type1733 { get; set; } + public global::RetellAI.GetContactResponse3? Type1733 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponseStatus2? Type1734 { get; set; } + public global::RetellAI.GetContactResponseStatus3? Type1734 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponse3? Type1735 { get; set; } + public global::RetellAI.GetContactResponse4? Type1735 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponseStatus3? Type1736 { get; set; } + public global::RetellAI.GetContactResponseStatus4? Type1736 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponse4? Type1737 { get; set; } + public global::RetellAI.GetContactByPhoneResponse? Type1737 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponseStatus4? Type1738 { get; set; } + public global::RetellAI.GetContactByPhoneResponseStatus? Type1738 { get; set; } /// /// /// - public global::RetellAI.GetAppResponse? Type1739 { get; set; } + public global::RetellAI.GetContactByPhoneResponse2? Type1739 { get; set; } /// /// /// - public global::RetellAI.GetAppResponseStatus? Type1740 { get; set; } + public global::RetellAI.GetContactByPhoneResponseStatus2? Type1740 { get; set; } /// /// /// - public global::RetellAI.GetAppResponse2? Type1741 { get; set; } + public global::RetellAI.GetContactByPhoneResponse3? Type1741 { get; set; } /// /// /// - public global::RetellAI.GetAppResponseStatus2? Type1742 { get; set; } + public global::RetellAI.GetContactByPhoneResponseStatus3? Type1742 { get; set; } /// /// /// - public global::RetellAI.GetAppResponse3? Type1743 { get; set; } + public global::RetellAI.GetContactByPhoneResponse4? Type1743 { get; set; } /// /// /// - public global::RetellAI.GetAppResponseStatus3? Type1744 { get; set; } + public global::RetellAI.GetContactByPhoneResponseStatus4? Type1744 { get; set; } /// /// /// - public global::RetellAI.GetAppResponse4? Type1745 { get; set; } + public global::RetellAI.GetContactByPhoneResponse5? Type1745 { get; set; } /// /// /// - public global::RetellAI.GetAppResponseStatus4? Type1746 { get; set; } + public global::RetellAI.GetContactByPhoneResponseStatus5? Type1746 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponse? Type1747 { get; set; } + public global::RetellAI.UpdateContactResponse? Type1747 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponseStatus? Type1748 { get; set; } + public global::RetellAI.UpdateContactResponseStatus? Type1748 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponse2? Type1749 { get; set; } + public global::RetellAI.UpdateContactResponse2? Type1749 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponseStatus2? Type1750 { get; set; } + public global::RetellAI.UpdateContactResponseStatus2? Type1750 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponse3? Type1751 { get; set; } + public global::RetellAI.UpdateContactResponse3? Type1751 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponseStatus3? Type1752 { get; set; } + public global::RetellAI.UpdateContactResponseStatus3? Type1752 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponse4? Type1753 { get; set; } + public global::RetellAI.UpdateContactResponse4? Type1753 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponseStatus4? Type1754 { get; set; } + public global::RetellAI.UpdateContactResponseStatus4? Type1754 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponse5? Type1755 { get; set; } + public global::RetellAI.UpdateContactResponse5? Type1755 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponseStatus5? Type1756 { get; set; } + public global::RetellAI.UpdateContactResponseStatus5? Type1756 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponse? Type1757 { get; set; } + public global::RetellAI.DeleteContactResponse? Type1757 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponseStatus? Type1758 { get; set; } + public global::RetellAI.DeleteContactResponseStatus? Type1758 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponse2? Type1759 { get; set; } + public global::RetellAI.DeleteContactResponse2? Type1759 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponseStatus2? Type1760 { get; set; } + public global::RetellAI.DeleteContactResponseStatus2? Type1760 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponse3? Type1761 { get; set; } + public global::RetellAI.DeleteContactResponse3? Type1761 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponseStatus3? Type1762 { get; set; } + public global::RetellAI.DeleteContactResponseStatus3? Type1762 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponse4? Type1763 { get; set; } + public global::RetellAI.DeleteContactResponse4? Type1763 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponseStatus4? Type1764 { get; set; } + public global::RetellAI.DeleteContactResponseStatus4? Type1764 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponse5? Type1765 { get; set; } + public global::RetellAI.DeleteContactResponse5? Type1765 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponseStatus5? Type1766 { get; set; } + public global::RetellAI.DeleteContactResponseStatus5? Type1766 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1767 { get; set; } + public global::RetellAI.ListContactsResponse? Type1767 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponse2? Type1768 { get; set; } + public global::RetellAI.ListContactsResponseStatus? Type1768 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1769 { get; set; } + public global::RetellAI.ListContactsResponse2? Type1769 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponse3? Type1770 { get; set; } + public global::RetellAI.ListContactsResponseStatus2? Type1770 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponseStatus? Type1771 { get; set; } + public global::RetellAI.ListContactsResponse3? Type1771 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponse4? Type1772 { get; set; } + public global::RetellAI.ListContactsResponseStatus3? Type1772 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponseStatus2? Type1773 { get; set; } + public global::RetellAI.ListContactsResponse4? Type1773 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponse5? Type1774 { get; set; } + public global::RetellAI.ListContactsResponseStatus4? Type1774 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponseStatus3? Type1775 { get; set; } + public global::RetellAI.ListContactConversationsResponse? Type1775 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1776 { get; set; } + public global::RetellAI.ListContactConversationsResponseStatus? Type1776 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponse2? Type1777 { get; set; } + public global::RetellAI.ListContactConversationsResponse2? Type1777 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1778 { get; set; } + public global::RetellAI.ListContactConversationsResponseStatus2? Type1778 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponse3? Type1779 { get; set; } + public global::RetellAI.ListContactConversationsResponse3? Type1779 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponseStatus? Type1780 { get; set; } + public global::RetellAI.ListContactConversationsResponseStatus3? Type1780 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponse4? Type1781 { get; set; } + public global::RetellAI.ListContactConversationsResponse4? Type1781 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponseStatus2? Type1782 { get; set; } + public global::RetellAI.ListContactConversationsResponseStatus4? Type1782 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponse5? Type1783 { get; set; } + public global::RetellAI.CreateAppResponse? Type1783 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponseStatus3? Type1784 { get; set; } + public global::RetellAI.CreateAppResponseStatus? Type1784 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponse6? Type1785 { get; set; } + public global::RetellAI.CreateAppResponse2? Type1785 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponseStatus4? Type1786 { get; set; } + public global::RetellAI.CreateAppResponseStatus2? Type1786 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponse? Type1787 { get; set; } + public global::RetellAI.CreateAppResponse3? Type1787 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponse2? Type1788 { get; set; } + public global::RetellAI.CreateAppResponseStatus3? Type1788 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponseStatus? Type1789 { get; set; } + public global::RetellAI.CreateAppResponse4? Type1789 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponse3? Type1790 { get; set; } + public global::RetellAI.CreateAppResponseStatus4? Type1790 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponseStatus2? Type1791 { get; set; } + public global::RetellAI.GetAppResponse? Type1791 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponse4? Type1792 { get; set; } + public global::RetellAI.GetAppResponseStatus? Type1792 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponseStatus3? Type1793 { get; set; } + public global::RetellAI.GetAppResponse2? Type1793 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponse5? Type1794 { get; set; } + public global::RetellAI.GetAppResponseStatus2? Type1794 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponseStatus4? Type1795 { get; set; } + public global::RetellAI.GetAppResponse3? Type1795 { get; set; } /// /// /// - public global::RetellAI.GetCrmConfigResponse? Type1796 { get; set; } + public global::RetellAI.GetAppResponseStatus3? Type1796 { get; set; } /// /// /// - public global::RetellAI.GetCrmConfigResponseStatus? Type1797 { get; set; } + public global::RetellAI.GetAppResponse4? Type1797 { get; set; } /// /// /// - public global::RetellAI.GetCrmConfigResponse2? Type1798 { get; set; } + public global::RetellAI.GetAppResponseStatus4? Type1798 { get; set; } /// /// /// - public global::RetellAI.GetCrmConfigResponseStatus2? Type1799 { get; set; } + public global::RetellAI.UpdateAppResponse? Type1799 { get; set; } /// /// /// - public global::RetellAI.GetCrmConfigResponse3? Type1800 { get; set; } + public global::RetellAI.UpdateAppResponseStatus? Type1800 { get; set; } /// /// /// - public global::RetellAI.GetCrmConfigResponseStatus3? Type1801 { get; set; } + public global::RetellAI.UpdateAppResponse2? Type1801 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponse? Type1802 { get; set; } + public global::RetellAI.UpdateAppResponseStatus2? Type1802 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponseStatus? Type1803 { get; set; } + public global::RetellAI.UpdateAppResponse3? Type1803 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponse2? Type1804 { get; set; } + public global::RetellAI.UpdateAppResponseStatus3? Type1804 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponseStatus2? Type1805 { get; set; } + public global::RetellAI.UpdateAppResponse4? Type1805 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponse3? Type1806 { get; set; } + public global::RetellAI.UpdateAppResponseStatus4? Type1806 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponseStatus3? Type1807 { get; set; } + public global::RetellAI.UpdateAppResponse5? Type1807 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponse4? Type1808 { get; set; } + public global::RetellAI.UpdateAppResponseStatus5? Type1808 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponseStatus4? Type1809 { get; set; } + public global::RetellAI.DeleteAppResponse? Type1809 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponse5? Type1810 { get; set; } + public global::RetellAI.DeleteAppResponseStatus? Type1810 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponseStatus5? Type1811 { get; set; } + public global::RetellAI.DeleteAppResponse2? Type1811 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponse? Type1812 { get; set; } + public global::RetellAI.DeleteAppResponseStatus2? Type1812 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponseStatus? Type1813 { get; set; } + public global::RetellAI.DeleteAppResponse3? Type1813 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponse2? Type1814 { get; set; } + public global::RetellAI.DeleteAppResponseStatus3? Type1814 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponseStatus2? Type1815 { get; set; } + public global::RetellAI.DeleteAppResponse4? Type1815 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponse3? Type1816 { get; set; } + public global::RetellAI.DeleteAppResponseStatus4? Type1816 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponseStatus3? Type1817 { get; set; } + public global::RetellAI.DeleteAppResponse5? Type1817 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponse4? Type1818 { get; set; } + public global::RetellAI.DeleteAppResponseStatus5? Type1818 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponseStatus4? Type1819 { get; set; } + public global::RetellAI.AllOf? Type1819 { get; set; } /// /// /// - public global::RetellAI.GetSyncJobStatusResponse? Type1820 { get; set; } + public global::RetellAI.ListAppsResponse2? Type1820 { get; set; } /// /// /// - public global::RetellAI.GetSyncJobStatusResponseStatus? Type1821 { get; set; } + public global::System.Collections.Generic.IList? Type1821 { get; set; } /// /// /// - public global::RetellAI.GetSyncJobStatusResponse2? Type1822 { get; set; } + public global::RetellAI.ListAppsResponse3? Type1822 { get; set; } /// /// /// - public global::RetellAI.GetSyncJobStatusResponseStatus2? Type1823 { get; set; } + public global::RetellAI.ListAppsResponseStatus? Type1823 { get; set; } /// /// /// - public global::RetellAI.GetSyncJobStatusResponse3? Type1824 { get; set; } + public global::RetellAI.ListAppsResponse4? Type1824 { get; set; } /// /// /// - public global::RetellAI.GetSyncJobStatusResponseStatus3? Type1825 { get; set; } + public global::RetellAI.ListAppsResponseStatus2? Type1825 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponse? Type1826 { get; set; } + public global::RetellAI.ListAppsResponse5? Type1826 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponseStatus? Type1827 { get; set; } + public global::RetellAI.ListAppsResponseStatus3? Type1827 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponse2? Type1828 { get; set; } + public global::RetellAI.AllOf? Type1828 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponseStatus2? Type1829 { get; set; } + public global::RetellAI.ListAppUsagesResponse2? Type1829 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponse3? Type1830 { get; set; } + public global::System.Collections.Generic.IList? Type1830 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponseStatus3? Type1831 { get; set; } + public global::RetellAI.ListAppUsagesResponse3? Type1831 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponse4? Type1832 { get; set; } + public global::RetellAI.ListAppUsagesResponseStatus? Type1832 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponseStatus4? Type1833 { get; set; } + public global::RetellAI.ListAppUsagesResponse4? Type1833 { get; set; } /// /// /// - public global::RetellAI.GetBackfillContactJobStatusResponse? Type1834 { get; set; } + public global::RetellAI.ListAppUsagesResponseStatus2? Type1834 { get; set; } /// /// /// - public global::RetellAI.GetBackfillContactJobStatusResponseStatus? Type1835 { get; set; } + public global::RetellAI.ListAppUsagesResponse5? Type1835 { get; set; } /// /// /// - public global::RetellAI.GetBackfillContactJobStatusResponse2? Type1836 { get; set; } + public global::RetellAI.ListAppUsagesResponseStatus3? Type1836 { get; set; } /// /// /// - public global::RetellAI.GetBackfillContactJobStatusResponseStatus2? Type1837 { get; set; } + public global::RetellAI.ListAppUsagesResponse6? Type1837 { get; set; } /// /// /// - public global::RetellAI.GetBackfillContactJobStatusResponse3? Type1838 { get; set; } + public global::RetellAI.ListAppUsagesResponseStatus4? Type1838 { get; set; } /// /// /// - public global::RetellAI.GetBackfillContactJobStatusResponseStatus3? Type1839 { get; set; } + public global::RetellAI.TestAppAuthResponse? Type1839 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse? Type1840 { get; set; } + public global::RetellAI.TestAppAuthResponse2? Type1840 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse2? Type1841 { get; set; } + public global::RetellAI.TestAppAuthResponseStatus? Type1841 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponseStatus? Type1842 { get; set; } + public global::RetellAI.TestAppAuthResponse3? Type1842 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse3? Type1843 { get; set; } + public global::RetellAI.TestAppAuthResponseStatus2? Type1843 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponseStatus2? Type1844 { get; set; } + public global::RetellAI.TestAppAuthResponse4? Type1844 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse4? Type1845 { get; set; } + public global::RetellAI.TestAppAuthResponseStatus3? Type1845 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponseStatus3? Type1846 { get; set; } + public global::RetellAI.TestAppAuthResponse5? Type1846 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse5? Type1847 { get; set; } + public global::RetellAI.TestAppAuthResponseStatus4? Type1847 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponseStatus4? Type1848 { get; set; } + public global::RetellAI.GetCrmConfigResponse? Type1848 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse6? Type1849 { get; set; } + public global::RetellAI.GetCrmConfigResponseStatus? Type1849 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponseStatus5? Type1850 { get; set; } + public global::RetellAI.GetCrmConfigResponse2? Type1850 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse7? Type1851 { get; set; } + public global::RetellAI.GetCrmConfigResponseStatus2? Type1851 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponseStatus6? Type1852 { get; set; } + public global::RetellAI.GetCrmConfigResponse3? Type1852 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmConfigResponseStatus3? Type1853 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponse? Type1854 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponseStatus? Type1855 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponse2? Type1856 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponseStatus2? Type1857 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponse3? Type1858 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponseStatus3? Type1859 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponse4? Type1860 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponseStatus4? Type1861 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponse5? Type1862 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponseStatus5? Type1863 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponse? Type1864 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponseStatus? Type1865 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponse2? Type1866 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponseStatus2? Type1867 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponse3? Type1868 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponseStatus3? Type1869 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponse4? Type1870 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponseStatus4? Type1871 { get; set; } + /// + /// + /// + public global::RetellAI.GetSyncJobStatusResponse? Type1872 { get; set; } + /// + /// + /// + public global::RetellAI.GetSyncJobStatusResponseStatus? Type1873 { get; set; } + /// + /// + /// + public global::RetellAI.GetSyncJobStatusResponse2? Type1874 { get; set; } + /// + /// + /// + public global::RetellAI.GetSyncJobStatusResponseStatus2? Type1875 { get; set; } + /// + /// + /// + public global::RetellAI.GetSyncJobStatusResponse3? Type1876 { get; set; } + /// + /// + /// + public global::RetellAI.GetSyncJobStatusResponseStatus3? Type1877 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponse? Type1878 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponseStatus? Type1879 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponse2? Type1880 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponseStatus2? Type1881 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponse3? Type1882 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponseStatus3? Type1883 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponse4? Type1884 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponseStatus4? Type1885 { get; set; } + /// + /// + /// + public global::RetellAI.GetBackfillContactJobStatusResponse? Type1886 { get; set; } + /// + /// + /// + public global::RetellAI.GetBackfillContactJobStatusResponseStatus? Type1887 { get; set; } + /// + /// + /// + public global::RetellAI.GetBackfillContactJobStatusResponse2? Type1888 { get; set; } + /// + /// + /// + public global::RetellAI.GetBackfillContactJobStatusResponseStatus2? Type1889 { get; set; } + /// + /// + /// + public global::RetellAI.GetBackfillContactJobStatusResponse3? Type1890 { get; set; } + /// + /// + /// + public global::RetellAI.GetBackfillContactJobStatusResponseStatus3? Type1891 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse? Type1892 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse2? Type1893 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponseStatus? Type1894 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse3? Type1895 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponseStatus2? Type1896 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse4? Type1897 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponseStatus3? Type1898 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse5? Type1899 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponseStatus4? Type1900 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse6? Type1901 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponseStatus5? Type1902 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse7? Type1903 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponseStatus6? Type1904 { get; set; } /// /// @@ -7778,90 +7986,102 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType83 { get; set; } + public global::System.Collections.Generic.List? ListType83 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType84 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType85 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType86 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType84 { get; set; } + public global::System.Collections.Generic.List? ListType87 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType85 { get; set; } + public global::System.Collections.Generic.List? ListType88 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType86 { get; set; } + public global::System.Collections.Generic.List? ListType89 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType87 { get; set; } + public global::System.Collections.Generic.List? ListType90 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType88 { get; set; } + public global::System.Collections.Generic.List? ListType91 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType89 { get; set; } + public global::System.Collections.Generic.List? ListType92 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType90 { get; set; } + public global::System.Collections.Generic.List? ListType93 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType91 { get; set; } + public global::System.Collections.Generic.List? ListType94 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType92 { get; set; } + public global::System.Collections.Generic.List? ListType95 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType93 { get; set; } + public global::System.Collections.Generic.List? ListType96 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType94 { get; set; } + public global::System.Collections.Generic.List? ListType97 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType95 { get; set; } + public global::System.Collections.Generic.List? ListType98 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType96 { get; set; } + public global::System.Collections.Generic.List? ListType99 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType97 { get; set; } + public global::System.Collections.Generic.List? ListType100 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType98 { get; set; } + public global::System.Collections.Generic.List? ListType101 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType99 { get; set; } + public global::System.Collections.Generic.List? ListType102 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType100 { get; set; } + public global::System.Collections.Generic.List? ListType103 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType101 { get; set; } + public global::System.Collections.Generic.List? ListType104 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType102 { get; set; } + public global::System.Collections.Generic.List? ListType105 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType103 { get; set; } + public global::System.Collections.Generic.List? ListType106 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType104 { get; set; } + public global::System.Collections.Generic.List? ListType107 { get; set; } } } \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.AccessTokenAuthConfigRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.AccessTokenAuthConfigRequest.g.cs deleted file mode 100644 index 152868e6..00000000 --- a/src/libs/RetellAI/Generated/RetellAI.Models.AccessTokenAuthConfigRequest.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace RetellAI -{ - /// - /// - /// - public sealed partial class AccessTokenAuthConfigRequest - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.AccessTokenAuthConfigRequestTypeJsonConverter))] - public global::RetellAI.AccessTokenAuthConfigRequestType Type { get; set; } - - /// - /// OAuth-obtained access token used directly as a static bearer secret; stored encrypted at rest. An alternative to the OAuth connect flow, which persists the same config. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("access_token")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string AccessToken { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// OAuth-obtained access token used directly as a static bearer secret; stored encrypted at rest. An alternative to the OAuth connect flow, which persists the same config. - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public AccessTokenAuthConfigRequest( - string accessToken, - global::RetellAI.AccessTokenAuthConfigRequestType type) - { - this.Type = type; - this.AccessToken = accessToken ?? throw new global::System.ArgumentNullException(nameof(accessToken)); - } - - /// - /// Initializes a new instance of the class. - /// - public AccessTokenAuthConfigRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.AgentFilter.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.AgentFilter.g.cs index e6d92ade..8b76e466 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.AgentFilter.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.AgentFilter.g.cs @@ -16,7 +16,7 @@ public sealed partial class AgentFilter public required string AgentId { get; set; } /// - /// Specific versions to filter on. If not provided, all versions are included. + /// Specific versions to filter on. If omitted or empty, all versions are included. /// [global::System.Text.Json.Serialization.JsonPropertyName("version")] public global::System.Collections.Generic.IList? Version { get; set; } @@ -34,7 +34,7 @@ public sealed partial class AgentFilter /// The agent ID to filter on. /// /// - /// Specific versions to filter on. If not provided, all versions are included. + /// Specific versions to filter on. If omitted or empty, all versions are included. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.AgentRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.AgentRequest.g.cs index 3e2c456d..c7292557 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.AgentRequest.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.AgentRequest.g.cs @@ -138,7 +138,7 @@ public sealed partial class AgentRequest public string? ExpressiveModePrompt { get; set; } /// - /// Controls how responsive is the agent. Value ranging from [0,1]. Lower value means less responsive agent (wait more, respond slower), while higher value means faster exchanges (respond when it can). If unset, default value 1 will apply.
+ /// Controls how responsive the agent is. Value ranging from [0,1]. Lower value means less responsive agent (wait more, respond slower), while higher value means faster exchanges (respond when it can). If unset, default value 1 will apply.
/// Example: 1 ///
/// 1 @@ -223,7 +223,7 @@ public sealed partial class AgentRequest public global::RetellAI.OneOf, global::RetellAI.AgentRequestLanguage?>? Language { get; set; } /// - /// The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
+ /// The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will bind webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
/// Example: https://webhook-url-here ///
/// https://webhook-url-here @@ -335,7 +335,7 @@ public sealed partial class AgentRequest public global::RetellAI.CallScreeningOption? CallScreeningOption { get; set; } /// - /// Post Call Extraction data to extract from the call. This data will augment the pre-defined variables extracted in the call analysis. This will be available after the call ends. + /// Post call analysis data to extract from the call. This data will augment the pre-defined variables extracted in the call analysis. This will be available after the call ends. /// [global::System.Text.Json.Serialization.JsonPropertyName("post_call_analysis_data")] public global::System.Collections.Generic.IList? PostCallAnalysisData { get; set; } @@ -514,7 +514,7 @@ public sealed partial class AgentRequest /// Example: Use [sigh] for thoughtful pauses and [excited] for good news. /// /// - /// Controls how responsive is the agent. Value ranging from [0,1]. Lower value means less responsive agent (wait more, respond slower), while higher value means faster exchanges (respond when it can). If unset, default value 1 will apply.
+ /// Controls how responsive the agent is. Value ranging from [0,1]. Lower value means less responsive agent (wait more, respond slower), while higher value means faster exchanges (respond when it can). If unset, default value 1 will apply.
/// Example: 1 /// /// @@ -559,7 +559,7 @@ public sealed partial class AgentRequest /// Specifies what language(s) the agent will operate in. Accepts either a single locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g. `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted as a scalar, and is stored and returned as the ten locales it used to mean. It must not appear inside the array form. Send an explicit locale array instead. If unset, defaults to `en-US`. /// /// - /// The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
+ /// The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will bind webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
/// Example: https://webhook-url-here /// /// @@ -617,7 +617,7 @@ public sealed partial class AgentRequest /// If this option is set, the agent prompt will include call screen handling instructions for identity and call purpose questions. Set this to null to disable call screen prompt instructions. /// /// - /// Post Call Extraction data to extract from the call. This data will augment the pre-defined variables extracted in the call analysis. This will be available after the call ends. + /// Post call analysis data to extract from the call. This data will augment the pre-defined variables extracted in the call analysis. This will be available after the call ends. /// /// /// Available LLM models for agents. diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.AgentRequestVoiceModel.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.AgentRequestVoiceModel.g.cs index 2353d157..7505f15c 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.AgentRequestVoiceModel.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.AgentRequestVoiceModel.g.cs @@ -67,6 +67,10 @@ public enum AgentRequestVoiceModel /// /// /// + Sonic36, + /// + /// + /// Speech02Turbo, /// /// @@ -104,6 +108,7 @@ public static string ToValueString(this AgentRequestVoiceModel value) AgentRequestVoiceModel.Sonic3 => "sonic-3", AgentRequestVoiceModel.Sonic3Latest => "sonic-3-latest", AgentRequestVoiceModel.Sonic35 => "sonic-3.5", + AgentRequestVoiceModel.Sonic36 => "sonic-3.6", AgentRequestVoiceModel.Speech02Turbo => "speech-02-turbo", AgentRequestVoiceModel.Speech28Turbo => "speech-2.8-turbo", AgentRequestVoiceModel.Tts1 => "tts-1", @@ -131,6 +136,7 @@ public static string ToValueString(this AgentRequestVoiceModel value) "sonic-3" => AgentRequestVoiceModel.Sonic3, "sonic-3-latest" => AgentRequestVoiceModel.Sonic3Latest, "sonic-3.5" => AgentRequestVoiceModel.Sonic35, + "sonic-3.6" => AgentRequestVoiceModel.Sonic36, "speech-02-turbo" => AgentRequestVoiceModel.Speech02Turbo, "speech-2.8-turbo" => AgentRequestVoiceModel.Speech28Turbo, "tts-1" => AgentRequestVoiceModel.Tts1, diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.AppResponse.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.AppResponse.g.cs index 871f90a2..4f4adc5d 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.AppResponse.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.AppResponse.g.cs @@ -51,11 +51,18 @@ public sealed partial class AppResponse public string? Name { get; set; } /// - /// Per-tenant API base URL. Set by providers with per-org hosts; omitted by providers on a single global host. + /// Per-tenant API base URL. Set by providers with per-org hosts; omitted by providers on a single global host. For OneDrive for Business, this is the tenant's -my.sharepoint.com origin used by File Picker v8; personal OneDrive omits it. /// [global::System.Text.Json.Serialization.JsonPropertyName("tenant_url")] public string? TenantUrl { get; set; } + /// + /// Microsoft OneDrive account type discovered during OAuth. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tenant_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.AppResponseTenantTypeJsonConverter))] + public global::RetellAI.AppResponseTenantType? TenantType { get; set; } + /// /// Sub-account id, for providers that scope requests by a sub-account id on a shared host. Omitted by every other provider. /// @@ -113,7 +120,10 @@ public sealed partial class AppResponse /// /// /// - /// Per-tenant API base URL. Set by providers with per-org hosts; omitted by providers on a single global host. + /// Per-tenant API base URL. Set by providers with per-org hosts; omitted by providers on a single global host. For OneDrive for Business, this is the tenant's -my.sharepoint.com origin used by File Picker v8; personal OneDrive omits it. + /// + /// + /// Microsoft OneDrive account type discovered during OAuth. /// /// /// Sub-account id, for providers that scope requests by a sub-account id on a shared host. Omitted by every other provider. @@ -135,6 +145,7 @@ public AppResponse( global::RetellAI.AppConnectionStatus? connectionStatus, string? name, string? tenantUrl, + global::RetellAI.AppResponseTenantType? tenantType, string? tenantId, global::RetellAI.AppAuthConfigResponse? authConfig, global::RetellAI.AppCRMConfig? crmConfig) @@ -146,6 +157,7 @@ public AppResponse( this.ConnectionStatus = connectionStatus; this.Name = name; this.TenantUrl = tenantUrl; + this.TenantType = tenantType; this.TenantId = tenantId; this.AuthConfig = authConfig; this.CrmConfig = crmConfig; diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.AppResponseTenantType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.AppResponseTenantType.g.cs new file mode 100644 index 00000000..9881e0fd --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.AppResponseTenantType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// Microsoft OneDrive account type discovered during OAuth. + /// + public enum AppResponseTenantType + { + /// + /// + /// + Business, + /// + /// + /// + Personal, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppResponseTenantTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppResponseTenantType value) + { + return value switch + { + AppResponseTenantType.Business => "business", + AppResponseTenantType.Personal => "personal", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppResponseTenantType? ToEnum(string value) + { + return value switch + { + "business" => AppResponseTenantType.Business, + "personal" => AppResponseTenantType.Personal, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.AuthConfigRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.AuthConfigRequest.g.cs index bd77beaf..91c1ad85 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.AuthConfigRequest.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.AuthConfigRequest.g.cs @@ -5,7 +5,7 @@ namespace RetellAI { /// - /// + /// Caller-managed credentials. Providers using the OAuth callback reject auth_config and must be authorized through connect-app. /// public readonly partial struct AuthConfigRequest : global::System.IEquatable { @@ -83,43 +83,6 @@ public bool TryPickApiKey( ? ApiKey! : throw new global::System.InvalidOperationException($"Expected union variant 'ApiKey' but the value was {ToString()}."); - /// - /// - /// -#if NET6_0_OR_GREATER - public global::RetellAI.AccessTokenAuthConfigRequest? AccessToken { get; init; } -#else - public global::RetellAI.AccessTokenAuthConfigRequest? AccessToken { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AccessToken))] -#endif - public bool IsAccessToken => AccessToken != null; - - /// - /// - /// - public bool TryPickAccessToken( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::RetellAI.AccessTokenAuthConfigRequest? value) - { - value = AccessToken; - return IsAccessToken; - } - - /// - /// - /// - public global::RetellAI.AccessTokenAuthConfigRequest PickAccessToken() => IsAccessToken - ? AccessToken! - : throw new global::System.InvalidOperationException($"Expected union variant 'AccessToken' but the value was {ToString()}."); - /// /// /// @@ -156,43 +119,6 @@ public bool TryPickBasic( public global::RetellAI.BasicAuthConfigRequest PickBasic() => IsBasic ? Basic! : throw new global::System.InvalidOperationException($"Expected union variant 'Basic' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::RetellAI.RefreshTokenAuthConfigRequest? RefreshToken { get; init; } -#else - public global::RetellAI.RefreshTokenAuthConfigRequest? RefreshToken { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(RefreshToken))] -#endif - public bool IsRefreshToken => RefreshToken != null; - - /// - /// - /// - public bool TryPickRefreshToken( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::RetellAI.RefreshTokenAuthConfigRequest? value) - { - value = RefreshToken; - return IsRefreshToken; - } - - /// - /// - /// - public global::RetellAI.RefreshTokenAuthConfigRequest PickRefreshToken() => IsRefreshToken - ? RefreshToken! - : throw new global::System.InvalidOperationException($"Expected union variant 'RefreshToken' but the value was {ToString()}."); /// /// /// @@ -239,29 +165,6 @@ public AuthConfigRequest(global::RetellAI.ApiKeyAuthConfigRequest? value) /// public static AuthConfigRequest FromApiKey(global::RetellAI.ApiKeyAuthConfigRequest? value) => new AuthConfigRequest(value); - /// - /// - /// - public static implicit operator AuthConfigRequest(global::RetellAI.AccessTokenAuthConfigRequest value) => new AuthConfigRequest((global::RetellAI.AccessTokenAuthConfigRequest?)value); - - /// - /// - /// - public static implicit operator global::RetellAI.AccessTokenAuthConfigRequest?(AuthConfigRequest @this) => @this.AccessToken; - - /// - /// - /// - public AuthConfigRequest(global::RetellAI.AccessTokenAuthConfigRequest? value) - { - AccessToken = value; - } - - /// - /// - /// - public static AuthConfigRequest FromAccessToken(global::RetellAI.AccessTokenAuthConfigRequest? value) => new AuthConfigRequest(value); - /// /// /// @@ -285,54 +188,25 @@ public AuthConfigRequest(global::RetellAI.BasicAuthConfigRequest? value) ///
public static AuthConfigRequest FromBasic(global::RetellAI.BasicAuthConfigRequest? value) => new AuthConfigRequest(value); - /// - /// - /// - public static implicit operator AuthConfigRequest(global::RetellAI.RefreshTokenAuthConfigRequest value) => new AuthConfigRequest((global::RetellAI.RefreshTokenAuthConfigRequest?)value); - - /// - /// - /// - public static implicit operator global::RetellAI.RefreshTokenAuthConfigRequest?(AuthConfigRequest @this) => @this.RefreshToken; - - /// - /// - /// - public AuthConfigRequest(global::RetellAI.RefreshTokenAuthConfigRequest? value) - { - RefreshToken = value; - } - - /// - /// - /// - public static AuthConfigRequest FromRefreshToken(global::RetellAI.RefreshTokenAuthConfigRequest? value) => new AuthConfigRequest(value); - /// /// /// public AuthConfigRequest( global::RetellAI.OAuthConfigRequest? o, global::RetellAI.ApiKeyAuthConfigRequest? apiKey, - global::RetellAI.AccessTokenAuthConfigRequest? accessToken, - global::RetellAI.BasicAuthConfigRequest? basic, - global::RetellAI.RefreshTokenAuthConfigRequest? refreshToken + global::RetellAI.BasicAuthConfigRequest? basic ) { O = o; ApiKey = apiKey; - AccessToken = accessToken; Basic = basic; - RefreshToken = refreshToken; } /// /// /// public object? Object => - RefreshToken as object ?? Basic as object ?? - AccessToken as object ?? ApiKey as object ?? O as object ; @@ -343,9 +217,7 @@ O as object public override string? ToString() => O?.ToString() ?? ApiKey?.ToString() ?? - AccessToken?.ToString() ?? - Basic?.ToString() ?? - RefreshToken?.ToString() + Basic?.ToString() ; /// @@ -353,7 +225,7 @@ O as object /// public bool Validate() { - return IsO && !IsApiKey && !IsAccessToken && !IsBasic && !IsRefreshToken || !IsO && IsApiKey && !IsAccessToken && !IsBasic && !IsRefreshToken || !IsO && !IsApiKey && IsAccessToken && !IsBasic && !IsRefreshToken || !IsO && !IsApiKey && !IsAccessToken && IsBasic && !IsRefreshToken || !IsO && !IsApiKey && !IsAccessToken && !IsBasic && IsRefreshToken; + return IsO && !IsApiKey && !IsBasic || !IsO && IsApiKey && !IsBasic || !IsO && !IsApiKey && IsBasic; } /// @@ -362,9 +234,7 @@ public bool Validate() public TResult? Match( global::System.Func? o = null, global::System.Func? apiKey = null, - global::System.Func? accessToken = null, global::System.Func? basic = null, - global::System.Func? refreshToken = null, bool validate = true) { if (validate) @@ -380,18 +250,10 @@ public bool Validate() { return apiKey(ApiKey!); } - else if (IsAccessToken && accessToken != null) - { - return accessToken(AccessToken!); - } else if (IsBasic && basic != null) { return basic(Basic!); } - else if (IsRefreshToken && refreshToken != null) - { - return refreshToken(RefreshToken!); - } return default(TResult); } @@ -404,11 +266,7 @@ public void Match( global::System.Action? apiKey = null, - global::System.Action? accessToken = null, - global::System.Action? basic = null, - - global::System.Action? refreshToken = null, bool validate = true) { if (validate) @@ -424,18 +282,10 @@ public void Match( { apiKey?.Invoke(ApiKey!); } - else if (IsAccessToken) - { - accessToken?.Invoke(AccessToken!); - } else if (IsBasic) { basic?.Invoke(Basic!); } - else if (IsRefreshToken) - { - refreshToken?.Invoke(RefreshToken!); - } } /// @@ -444,9 +294,7 @@ public void Match( public void Switch( global::System.Action? o = null, global::System.Action? apiKey = null, - global::System.Action? accessToken = null, global::System.Action? basic = null, - global::System.Action? refreshToken = null, bool validate = true) { if (validate) @@ -462,18 +310,10 @@ public void Switch( { apiKey?.Invoke(ApiKey!); } - else if (IsAccessToken) - { - accessToken?.Invoke(AccessToken!); - } else if (IsBasic) { basic?.Invoke(Basic!); } - else if (IsRefreshToken) - { - refreshToken?.Invoke(RefreshToken!); - } } /// @@ -487,12 +327,8 @@ public override int GetHashCode() typeof(global::RetellAI.OAuthConfigRequest), ApiKey, typeof(global::RetellAI.ApiKeyAuthConfigRequest), - AccessToken, - typeof(global::RetellAI.AccessTokenAuthConfigRequest), Basic, typeof(global::RetellAI.BasicAuthConfigRequest), - RefreshToken, - typeof(global::RetellAI.RefreshTokenAuthConfigRequest), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -511,9 +347,7 @@ public bool Equals(AuthConfigRequest other) return global::System.Collections.Generic.EqualityComparer.Default.Equals(O, other.O) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ApiKey, other.ApiKey) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AccessToken, other.AccessToken) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Basic, other.Basic) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(RefreshToken, other.RefreshToken) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Basic, other.Basic) ; } diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.BookAppointmentCalTool.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.BookAppointmentCalTool.g.cs index ca4e2e14..8ba4a52d 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.BookAppointmentCalTool.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.BookAppointmentCalTool.g.cs @@ -18,7 +18,7 @@ public sealed partial class BookAppointmentCalTool public global::RetellAI.BookAppointmentCalToolType Type { get; set; } /// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] [global::System.Text.Json.Serialization.JsonRequired] @@ -33,7 +33,7 @@ public sealed partial class BookAppointmentCalTool public string? Description { get; set; } /// - /// Cal.com Api key that have access to the cal.com event you want to book appointment. + /// Cal.com Api key that has access to the cal.com event you want to book appointment. /// [global::System.Text.Json.Serialization.JsonPropertyName("cal_api_key")] [global::System.Text.Json.Serialization.JsonRequired] @@ -66,10 +66,10 @@ public sealed partial class BookAppointmentCalTool /// Initializes a new instance of the class. /// /// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// /// - /// Cal.com Api key that have access to the cal.com event you want to book appointment. + /// Cal.com Api key that has access to the cal.com event you want to book appointment. /// /// /// Cal.com event type id number for the cal.com event you want to book appointment. Can be a number or a dynamic variable in the format `{{variable_name}}` that will be resolved at runtime. diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.BridgeTransferTool.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.BridgeTransferTool.g.cs index 24feb825..31cd7eda 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.BridgeTransferTool.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.BridgeTransferTool.g.cs @@ -16,7 +16,7 @@ public sealed partial class BridgeTransferTool public global::RetellAI.BridgeTransferToolType Type { get; set; } /// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] [global::System.Text.Json.Serialization.JsonRequired] @@ -57,7 +57,7 @@ public sealed partial class BridgeTransferTool /// Initializes a new instance of the class. /// /// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CRMAnalysisDataMapping.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CRMAnalysisDataMapping.g.cs index 9a3f8d81..8e446c8c 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.CRMAnalysisDataMapping.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CRMAnalysisDataMapping.g.cs @@ -16,7 +16,7 @@ public sealed partial class CRMAnalysisDataMapping public required string FieldName { get; set; } /// - /// Name of the Post Call Extraction field to read the value from. A value that does not match the contact field's type is skipped rather than failing the conversation. + /// Name of the post-call analysis field to read the value from. A value that does not match the contact field's type is skipped rather than failing the conversation. /// [global::System.Text.Json.Serialization.JsonPropertyName("analysis_data_name")] [global::System.Text.Json.Serialization.JsonRequired] @@ -43,7 +43,7 @@ public sealed partial class CRMAnalysisDataMapping /// Contact field to write to. Must be an existing built-in or custom contact field, and cannot be phone_number, which identifies the contact. /// /// - /// Name of the Post Call Extraction field to read the value from. A value that does not match the contact field's type is skipped rather than failing the conversation. + /// Name of the post-call analysis field to read the value from. A value that does not match the contact field's type is skipped rather than failing the conversation. /// /// /// How to reconcile the new value with what the contact already holds. `overwrite` always replaces it, `fill_if_empty` writes only when the field is empty, and `merge` combines the existing text with the new value. `merge` is available on string fields only. diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CallAnalysis.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CallAnalysis.g.cs index 7a7eeb89..2f4d63fd 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.CallAnalysis.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CallAnalysis.g.cs @@ -17,7 +17,7 @@ public sealed partial class CallAnalysis public string? CallSummary { get; set; } /// - /// Whether the call is entered voicemail.
+ /// Whether the call entered voicemail.
/// Example: false ///
/// false @@ -42,7 +42,7 @@ public sealed partial class CallAnalysis public bool? CallSuccessful { get; set; } /// - /// Custom analysis data that was extracted based on the schema defined in agent Post Call Extraction data. Can be empty if nothing is specified. + /// Custom analysis data that was extracted based on the schema defined in agent post call analysis data. Can be empty if nothing is specified. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_analysis_data")] public object? CustomAnalysisData { get; set; } @@ -61,7 +61,7 @@ public sealed partial class CallAnalysis /// Example: The agent called the user to ask question about his purchase inquiry. The agent asked several questions regarding his preference and asked if user would like to book an appointment. The user happily agreed and scheduled an appointment next Monday 10am. /// /// - /// Whether the call is entered voicemail.
+ /// Whether the call entered voicemail.
/// Example: false /// /// @@ -73,7 +73,7 @@ public sealed partial class CallAnalysis /// Example: true /// /// - /// Custom analysis data that was extracted based on the schema defined in agent Post Call Extraction data. Can be empty if nothing is specified. + /// Custom analysis data that was extracted based on the schema defined in agent post call analysis data. Can be empty if nothing is specified. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CallAnalysisCustomAnalysisData.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CallAnalysisCustomAnalysisData.g.cs index a744c504..5a6c7919 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.CallAnalysisCustomAnalysisData.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CallAnalysisCustomAnalysisData.g.cs @@ -4,7 +4,7 @@ namespace RetellAI { /// - /// Custom analysis data that was extracted based on the schema defined in agent Post Call Extraction data. Can be empty if nothing is specified. + /// Custom analysis data that was extracted based on the schema defined in agent post call analysis data. Can be empty if nothing is specified. /// public sealed partial class CallAnalysisCustomAnalysisData { diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CallPresetAnalysisData.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CallPresetAnalysisData.g.cs index a89b3125..74f739a9 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.CallPresetAnalysisData.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CallPresetAnalysisData.g.cs @@ -4,7 +4,7 @@ namespace RetellAI { /// - /// System preset for Post Call Extraction (voice agents). Use in post_call_analysis_data to override prompts or mark fields optional. + /// System preset for post-call analysis (voice agents). Use in post_call_analysis_data to override prompts or mark fields optional. /// public sealed partial class CallPresetAnalysisData { diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CancelTransferTool.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CancelTransferTool.g.cs index f730699c..04ef9b82 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.CancelTransferTool.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CancelTransferTool.g.cs @@ -16,7 +16,7 @@ public sealed partial class CancelTransferTool public global::RetellAI.CancelTransferToolType Type { get; set; } /// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] [global::System.Text.Json.Serialization.JsonRequired] @@ -57,7 +57,7 @@ public sealed partial class CancelTransferTool /// Initializes a new instance of the class. ///
/// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfig.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfig.Json.g.cs new file mode 100644 index 00000000..aa74dd3a --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfig.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartConfig + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartConfig? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartConfig), + jsonSerializerContext) as global::RetellAI.ChartConfig; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartConfig? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartConfig? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartConfig), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartConfig; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfig.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfig.g.cs new file mode 100644 index 00000000..6a35cc79 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfig.g.cs @@ -0,0 +1,135 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartConfig + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("chart_id")] + public string? ChartId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartConfigTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartConfigType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.OneOfJsonConverter))] + public global::RetellAI.OneOf? Size { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("show")] + public global::System.Collections.Generic.IList? Show { get; set; } + + /// + /// User-selected additional breakdowns saved on the chart. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("group_criteria")] + public global::System.Collections.Generic.IList? GroupCriteria { get; set; } + + /// + /// Filter criteria saved on the chart. Merged with the dashboard-level filter when fetching data. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("filter_criteria")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.AnyOfJsonConverter))] + public global::RetellAI.AnyOf? FilterCriteria { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("time")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartTimeRangeJsonConverter))] + public global::RetellAI.ChartTimeRange? Time { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comparison")] + public bool? Comparison { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartConfigUnitJsonConverter))] + public global::RetellAI.ChartConfigUnit? Unit { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// + /// User-selected additional breakdowns saved on the chart. + /// + /// + /// Filter criteria saved on the chart. Merged with the dashboard-level filter when fetching data. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartConfig( + global::RetellAI.ChartConfigType type, + string? chartId, + string? title, + global::RetellAI.OneOf? size, + global::System.Collections.Generic.IList? show, + global::System.Collections.Generic.IList? groupCriteria, + global::RetellAI.AnyOf? filterCriteria, + global::RetellAI.ChartTimeRange? time, + bool? comparison, + global::RetellAI.ChartConfigUnit? unit) + { + this.ChartId = chartId; + this.Title = title; + this.Type = type; + this.Size = size; + this.Show = show; + this.GroupCriteria = groupCriteria; + this.FilterCriteria = filterCriteria; + this.Time = time; + this.Comparison = comparison; + this.Unit = unit; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartConfig() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigSizeEnum.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigSizeEnum.g.cs new file mode 100644 index 00000000..f2b4c5e5 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigSizeEnum.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartConfigSizeEnum + { + /// + /// + /// + Large, + /// + /// + /// + Medium, + /// + /// + /// + Small, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartConfigSizeEnumExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartConfigSizeEnum value) + { + return value switch + { + ChartConfigSizeEnum.Large => "large", + ChartConfigSizeEnum.Medium => "medium", + ChartConfigSizeEnum.Small => "small", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartConfigSizeEnum? ToEnum(string value) + { + return value switch + { + "large" => ChartConfigSizeEnum.Large, + "medium" => ChartConfigSizeEnum.Medium, + "small" => ChartConfigSizeEnum.Small, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigSizeEnum2.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigSizeEnum2.Json.g.cs new file mode 100644 index 00000000..80b56bc9 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigSizeEnum2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartConfigSizeEnum2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartConfigSizeEnum2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartConfigSizeEnum2), + jsonSerializerContext) as global::RetellAI.ChartConfigSizeEnum2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartConfigSizeEnum2? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartConfigSizeEnum2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartConfigSizeEnum2), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartConfigSizeEnum2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigSizeEnum2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigSizeEnum2.g.cs new file mode 100644 index 00000000..9c82bfbb --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigSizeEnum2.g.cs @@ -0,0 +1,83 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// Grid placement and span for the chart in a 24-column layout. + /// + public sealed partial class ChartConfigSizeEnum2 + { + /// + /// Starting column. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("col")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Col { get; set; } + + /// + /// Starting row. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("row")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Row { get; set; } + + /// + /// Number of columns the chart spans. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("col_span")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ColSpan { get; set; } + + /// + /// Number of rows the chart spans. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("row_span")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int RowSpan { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Starting column. + /// + /// + /// Starting row. + /// + /// + /// Number of columns the chart spans. + /// + /// + /// Number of rows the chart spans. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartConfigSizeEnum2( + int col, + int row, + int colSpan, + int rowSpan) + { + this.Col = col; + this.Row = row; + this.ColSpan = colSpan; + this.RowSpan = rowSpan; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartConfigSizeEnum2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigType.g.cs new file mode 100644 index 00000000..a32dbdad --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigType.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartConfigType + { + /// + /// + /// + Bar, + /// + /// + /// + Column, + /// + /// + /// + Donut, + /// + /// + /// + Line, + /// + /// + /// + Number, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartConfigTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartConfigType value) + { + return value switch + { + ChartConfigType.Bar => "bar", + ChartConfigType.Column => "column", + ChartConfigType.Donut => "donut", + ChartConfigType.Line => "line", + ChartConfigType.Number => "number", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartConfigType? ToEnum(string value) + { + return value switch + { + "bar" => ChartConfigType.Bar, + "column" => ChartConfigType.Column, + "donut" => ChartConfigType.Donut, + "line" => ChartConfigType.Line, + "number" => ChartConfigType.Number, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigUnit.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigUnit.g.cs new file mode 100644 index 00000000..c1b312d6 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartConfigUnit.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartConfigUnit + { + /// + /// + /// + Day, + /// + /// + /// + Hour, + /// + /// + /// + Month, + /// + /// + /// + Week, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartConfigUnitExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartConfigUnit value) + { + return value switch + { + ChartConfigUnit.Day => "day", + ChartConfigUnit.Hour => "hour", + ChartConfigUnit.Month => "month", + ChartConfigUnit.Week => "week", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartConfigUnit? ToEnum(string value) + { + return value switch + { + "day" => ChartConfigUnit.Day, + "hour" => ChartConfigUnit.Hour, + "month" => ChartConfigUnit.Month, + "week" => ChartConfigUnit.Week, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartDefinition.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartDefinition.Json.g.cs new file mode 100644 index 00000000..0a324b33 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartDefinition.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public readonly partial struct ChartDefinition + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartDefinition? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartDefinition), + jsonSerializerContext) as global::RetellAI.ChartDefinition?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartDefinition? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartDefinition? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartDefinition), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartDefinition?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartDefinition.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartDefinition.g.cs new file mode 100644 index 00000000..046a767b --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartDefinition.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public readonly partial struct ChartDefinition : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::RetellAI.ChartConfig? Config { get; init; } +#else + public global::RetellAI.ChartConfig? Config { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Config))] +#endif + public bool IsConfig => Config != null; + + /// + /// + /// + public bool TryPickConfig( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::RetellAI.ChartConfig? value) + { + value = Config; + return IsConfig; + } + + /// + /// + /// + public global::RetellAI.ChartConfig PickConfig() => IsConfig + ? Config! + : throw new global::System.InvalidOperationException($"Expected union variant 'Config' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? ChartDefinitionVariant2 { get; init; } +#else + public object? ChartDefinitionVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ChartDefinitionVariant2))] +#endif + public bool IsChartDefinitionVariant2 => ChartDefinitionVariant2 != null; + + /// + /// + /// + public bool TryPickChartDefinitionVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = ChartDefinitionVariant2; + return IsChartDefinitionVariant2; + } + + /// + /// + /// + public object PickChartDefinitionVariant2() => IsChartDefinitionVariant2 + ? ChartDefinitionVariant2! + : throw new global::System.InvalidOperationException($"Expected union variant 'ChartDefinitionVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator ChartDefinition(global::RetellAI.ChartConfig value) => new ChartDefinition((global::RetellAI.ChartConfig?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.ChartConfig?(ChartDefinition @this) => @this.Config; + + /// + /// + /// + public ChartDefinition(global::RetellAI.ChartConfig? value) + { + Config = value; + } + + /// + /// + /// + public static ChartDefinition FromConfig(global::RetellAI.ChartConfig? value) => new ChartDefinition(value); + + /// + /// + /// + public ChartDefinition( + global::RetellAI.ChartConfig? config, + object? chartDefinitionVariant2 + ) + { + Config = config; + ChartDefinitionVariant2 = chartDefinitionVariant2; + } + + /// + /// + /// + public object? Object => + ChartDefinitionVariant2 as object ?? + Config as object + ; + + /// + /// + /// + public override string? ToString() => + Config?.ToString() ?? + ChartDefinitionVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsConfig && IsChartDefinitionVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? config = null, + global::System.Func? chartDefinitionVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsConfig && config != null) + { + return config(Config!); + } + else if (IsChartDefinitionVariant2 && chartDefinitionVariant2 != null) + { + return chartDefinitionVariant2(ChartDefinitionVariant2!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? config = null, + + global::System.Action? chartDefinitionVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsConfig) + { + config?.Invoke(Config!); + } + else if (IsChartDefinitionVariant2) + { + chartDefinitionVariant2?.Invoke(ChartDefinitionVariant2!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? config = null, + global::System.Action? chartDefinitionVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsConfig) + { + config?.Invoke(Config!); + } + else if (IsChartDefinitionVariant2) + { + chartDefinitionVariant2?.Invoke(ChartDefinitionVariant2!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Config, + typeof(global::RetellAI.ChartConfig), + ChartDefinitionVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(ChartDefinition other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Config, other.Config) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ChartDefinitionVariant2, other.ChartDefinitionVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(ChartDefinition obj1, ChartDefinition obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(ChartDefinition obj1, ChartDefinition obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ChartDefinition o && Equals(o); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartDefinitionVariant2.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartDefinitionVariant2.Json.g.cs new file mode 100644 index 00000000..d0bb4501 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartDefinitionVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartDefinitionVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartDefinitionVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartDefinitionVariant2), + jsonSerializerContext) as global::RetellAI.ChartDefinitionVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartDefinitionVariant2? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartDefinitionVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartDefinitionVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartDefinitionVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartDefinitionVariant2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartDefinitionVariant2.g.cs new file mode 100644 index 00000000..7721b162 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartDefinitionVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartDefinitionVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartGroupType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartGroupType.g.cs new file mode 100644 index 00000000..ac659228 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartGroupType.g.cs @@ -0,0 +1,123 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartGroupType + { + /// + /// + /// + AgentId, + /// + /// + /// + AgentVersion, + /// + /// + /// + BatchCallId, + /// + /// + /// + CallStatus, + /// + /// + /// + CallSuccessful, + /// + /// + /// + CallType, + /// + /// + /// + ChatStatus, + /// + /// + /// + ChatSuccessful, + /// + /// + /// + CustomAnalysisData, + /// + /// + /// + CustomAttribute, + /// + /// + /// + Direction, + /// + /// + /// + DisconnectionReason, + /// + /// + /// + Time, + /// + /// + /// + UserSentiment, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartGroupTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartGroupType value) + { + return value switch + { + ChartGroupType.AgentId => "agent_id", + ChartGroupType.AgentVersion => "agent_version", + ChartGroupType.BatchCallId => "batch_call_id", + ChartGroupType.CallStatus => "call_status", + ChartGroupType.CallSuccessful => "call_successful", + ChartGroupType.CallType => "call_type", + ChartGroupType.ChatStatus => "chat_status", + ChartGroupType.ChatSuccessful => "chat_successful", + ChartGroupType.CustomAnalysisData => "custom_analysis_data", + ChartGroupType.CustomAttribute => "custom_attribute", + ChartGroupType.Direction => "direction", + ChartGroupType.DisconnectionReason => "disconnection_reason", + ChartGroupType.Time => "time", + ChartGroupType.UserSentiment => "user_sentiment", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartGroupType? ToEnum(string value) + { + return value switch + { + "agent_id" => ChartGroupType.AgentId, + "agent_version" => ChartGroupType.AgentVersion, + "batch_call_id" => ChartGroupType.BatchCallId, + "call_status" => ChartGroupType.CallStatus, + "call_successful" => ChartGroupType.CallSuccessful, + "call_type" => ChartGroupType.CallType, + "chat_status" => ChartGroupType.ChatStatus, + "chat_successful" => ChartGroupType.ChatSuccessful, + "custom_analysis_data" => ChartGroupType.CustomAnalysisData, + "custom_attribute" => ChartGroupType.CustomAttribute, + "direction" => ChartGroupType.Direction, + "disconnection_reason" => ChartGroupType.DisconnectionReason, + "time" => ChartGroupType.Time, + "user_sentiment" => ChartGroupType.UserSentiment, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItem.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItem.Json.g.cs new file mode 100644 index 00000000..06324538 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public readonly partial struct ChartShowItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItem), + jsonSerializerContext) as global::RetellAI.ChartShowItem?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItem? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItem), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItem?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItem.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItem.g.cs new file mode 100644 index 00000000..2eb61aac --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItem.g.cs @@ -0,0 +1,544 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public readonly partial struct ChartShowItem : global::System.IEquatable + { + /// + /// String/enum sources — count only. + /// +#if NET6_0_OR_GREATER + public global::RetellAI.ChartShowItemKeywordSource? KeywordSource { get; init; } +#else + public global::RetellAI.ChartShowItemKeywordSource? KeywordSource { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(KeywordSource))] +#endif + public bool IsKeywordSource => KeywordSource != null; + + /// + /// + /// + public bool TryPickKeywordSource( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::RetellAI.ChartShowItemKeywordSource? value) + { + value = KeywordSource; + return IsKeywordSource; + } + + /// + /// + /// + public global::RetellAI.ChartShowItemKeywordSource PickKeywordSource() => IsKeywordSource + ? KeywordSource! + : throw new global::System.InvalidOperationException($"Expected union variant 'KeywordSource' but the value was {ToString()}."); + + /// + /// Numeric and boolean sources — all measurement types. + /// +#if NET6_0_OR_GREATER + public global::RetellAI.ChartShowItemNumericSource? NumericSource { get; init; } +#else + public global::RetellAI.ChartShowItemNumericSource? NumericSource { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(NumericSource))] +#endif + public bool IsNumericSource => NumericSource != null; + + /// + /// + /// + public bool TryPickNumericSource( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::RetellAI.ChartShowItemNumericSource? value) + { + value = NumericSource; + return IsNumericSource; + } + + /// + /// + /// + public global::RetellAI.ChartShowItemNumericSource PickNumericSource() => IsNumericSource + ? NumericSource! + : throw new global::System.InvalidOperationException($"Expected union variant 'NumericSource' but the value was {ToString()}."); + + /// + /// Custom analysis / attribute sources — field is required. + /// +#if NET6_0_OR_GREATER + public global::RetellAI.ChartShowItemCustomFieldSource? CustomFieldSource { get; init; } +#else + public global::RetellAI.ChartShowItemCustomFieldSource? CustomFieldSource { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CustomFieldSource))] +#endif + public bool IsCustomFieldSource => CustomFieldSource != null; + + /// + /// + /// + public bool TryPickCustomFieldSource( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::RetellAI.ChartShowItemCustomFieldSource? value) + { + value = CustomFieldSource; + return IsCustomFieldSource; + } + + /// + /// + /// + public global::RetellAI.ChartShowItemCustomFieldSource PickCustomFieldSource() => IsCustomFieldSource + ? CustomFieldSource! + : throw new global::System.InvalidOperationException($"Expected union variant 'CustomFieldSource' but the value was {ToString()}."); + + /// + /// Call concurrency — max measurement only. + /// +#if NET6_0_OR_GREATER + public global::RetellAI.ChartShowItemConcurrencySource? ConcurrencySource { get; init; } +#else + public global::RetellAI.ChartShowItemConcurrencySource? ConcurrencySource { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ConcurrencySource))] +#endif + public bool IsConcurrencySource => ConcurrencySource != null; + + /// + /// + /// + public bool TryPickConcurrencySource( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::RetellAI.ChartShowItemConcurrencySource? value) + { + value = ConcurrencySource; + return IsConcurrencySource; + } + + /// + /// + /// + public global::RetellAI.ChartShowItemConcurrencySource PickConcurrencySource() => IsConcurrencySource + ? ConcurrencySource! + : throw new global::System.InvalidOperationException($"Expected union variant 'ConcurrencySource' but the value was {ToString()}."); + + /// + /// Custom tool call metrics — avg measurement only. + /// +#if NET6_0_OR_GREATER + public global::RetellAI.ChartShowItemCustomToolSource? CustomToolSource { get; init; } +#else + public global::RetellAI.ChartShowItemCustomToolSource? CustomToolSource { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CustomToolSource))] +#endif + public bool IsCustomToolSource => CustomToolSource != null; + + /// + /// + /// + public bool TryPickCustomToolSource( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::RetellAI.ChartShowItemCustomToolSource? value) + { + value = CustomToolSource; + return IsCustomToolSource; + } + + /// + /// + /// + public global::RetellAI.ChartShowItemCustomToolSource PickCustomToolSource() => IsCustomToolSource + ? CustomToolSource! + : throw new global::System.InvalidOperationException($"Expected union variant 'CustomToolSource' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator ChartShowItem(global::RetellAI.ChartShowItemKeywordSource value) => new ChartShowItem((global::RetellAI.ChartShowItemKeywordSource?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.ChartShowItemKeywordSource?(ChartShowItem @this) => @this.KeywordSource; + + /// + /// + /// + public ChartShowItem(global::RetellAI.ChartShowItemKeywordSource? value) + { + KeywordSource = value; + } + + /// + /// + /// + public static ChartShowItem FromKeywordSource(global::RetellAI.ChartShowItemKeywordSource? value) => new ChartShowItem(value); + + /// + /// + /// + public static implicit operator ChartShowItem(global::RetellAI.ChartShowItemNumericSource value) => new ChartShowItem((global::RetellAI.ChartShowItemNumericSource?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.ChartShowItemNumericSource?(ChartShowItem @this) => @this.NumericSource; + + /// + /// + /// + public ChartShowItem(global::RetellAI.ChartShowItemNumericSource? value) + { + NumericSource = value; + } + + /// + /// + /// + public static ChartShowItem FromNumericSource(global::RetellAI.ChartShowItemNumericSource? value) => new ChartShowItem(value); + + /// + /// + /// + public static implicit operator ChartShowItem(global::RetellAI.ChartShowItemCustomFieldSource value) => new ChartShowItem((global::RetellAI.ChartShowItemCustomFieldSource?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.ChartShowItemCustomFieldSource?(ChartShowItem @this) => @this.CustomFieldSource; + + /// + /// + /// + public ChartShowItem(global::RetellAI.ChartShowItemCustomFieldSource? value) + { + CustomFieldSource = value; + } + + /// + /// + /// + public static ChartShowItem FromCustomFieldSource(global::RetellAI.ChartShowItemCustomFieldSource? value) => new ChartShowItem(value); + + /// + /// + /// + public static implicit operator ChartShowItem(global::RetellAI.ChartShowItemConcurrencySource value) => new ChartShowItem((global::RetellAI.ChartShowItemConcurrencySource?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.ChartShowItemConcurrencySource?(ChartShowItem @this) => @this.ConcurrencySource; + + /// + /// + /// + public ChartShowItem(global::RetellAI.ChartShowItemConcurrencySource? value) + { + ConcurrencySource = value; + } + + /// + /// + /// + public static ChartShowItem FromConcurrencySource(global::RetellAI.ChartShowItemConcurrencySource? value) => new ChartShowItem(value); + + /// + /// + /// + public static implicit operator ChartShowItem(global::RetellAI.ChartShowItemCustomToolSource value) => new ChartShowItem((global::RetellAI.ChartShowItemCustomToolSource?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.ChartShowItemCustomToolSource?(ChartShowItem @this) => @this.CustomToolSource; + + /// + /// + /// + public ChartShowItem(global::RetellAI.ChartShowItemCustomToolSource? value) + { + CustomToolSource = value; + } + + /// + /// + /// + public static ChartShowItem FromCustomToolSource(global::RetellAI.ChartShowItemCustomToolSource? value) => new ChartShowItem(value); + + /// + /// + /// + public ChartShowItem( + global::RetellAI.ChartShowItemKeywordSource? keywordSource, + global::RetellAI.ChartShowItemNumericSource? numericSource, + global::RetellAI.ChartShowItemCustomFieldSource? customFieldSource, + global::RetellAI.ChartShowItemConcurrencySource? concurrencySource, + global::RetellAI.ChartShowItemCustomToolSource? customToolSource + ) + { + KeywordSource = keywordSource; + NumericSource = numericSource; + CustomFieldSource = customFieldSource; + ConcurrencySource = concurrencySource; + CustomToolSource = customToolSource; + } + + /// + /// + /// + public object? Object => + CustomToolSource as object ?? + ConcurrencySource as object ?? + CustomFieldSource as object ?? + NumericSource as object ?? + KeywordSource as object + ; + + /// + /// + /// + public override string? ToString() => + KeywordSource?.ToString() ?? + NumericSource?.ToString() ?? + CustomFieldSource?.ToString() ?? + ConcurrencySource?.ToString() ?? + CustomToolSource?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsKeywordSource && !IsNumericSource && !IsCustomFieldSource && !IsConcurrencySource && !IsCustomToolSource || !IsKeywordSource && IsNumericSource && !IsCustomFieldSource && !IsConcurrencySource && !IsCustomToolSource || !IsKeywordSource && !IsNumericSource && IsCustomFieldSource && !IsConcurrencySource && !IsCustomToolSource || !IsKeywordSource && !IsNumericSource && !IsCustomFieldSource && IsConcurrencySource && !IsCustomToolSource || !IsKeywordSource && !IsNumericSource && !IsCustomFieldSource && !IsConcurrencySource && IsCustomToolSource; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? keywordSource = null, + global::System.Func? numericSource = null, + global::System.Func? customFieldSource = null, + global::System.Func? concurrencySource = null, + global::System.Func? customToolSource = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsKeywordSource && keywordSource != null) + { + return keywordSource(KeywordSource!); + } + else if (IsNumericSource && numericSource != null) + { + return numericSource(NumericSource!); + } + else if (IsCustomFieldSource && customFieldSource != null) + { + return customFieldSource(CustomFieldSource!); + } + else if (IsConcurrencySource && concurrencySource != null) + { + return concurrencySource(ConcurrencySource!); + } + else if (IsCustomToolSource && customToolSource != null) + { + return customToolSource(CustomToolSource!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? keywordSource = null, + + global::System.Action? numericSource = null, + + global::System.Action? customFieldSource = null, + + global::System.Action? concurrencySource = null, + + global::System.Action? customToolSource = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsKeywordSource) + { + keywordSource?.Invoke(KeywordSource!); + } + else if (IsNumericSource) + { + numericSource?.Invoke(NumericSource!); + } + else if (IsCustomFieldSource) + { + customFieldSource?.Invoke(CustomFieldSource!); + } + else if (IsConcurrencySource) + { + concurrencySource?.Invoke(ConcurrencySource!); + } + else if (IsCustomToolSource) + { + customToolSource?.Invoke(CustomToolSource!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? keywordSource = null, + global::System.Action? numericSource = null, + global::System.Action? customFieldSource = null, + global::System.Action? concurrencySource = null, + global::System.Action? customToolSource = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsKeywordSource) + { + keywordSource?.Invoke(KeywordSource!); + } + else if (IsNumericSource) + { + numericSource?.Invoke(NumericSource!); + } + else if (IsCustomFieldSource) + { + customFieldSource?.Invoke(CustomFieldSource!); + } + else if (IsConcurrencySource) + { + concurrencySource?.Invoke(ConcurrencySource!); + } + else if (IsCustomToolSource) + { + customToolSource?.Invoke(CustomToolSource!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + KeywordSource, + typeof(global::RetellAI.ChartShowItemKeywordSource), + NumericSource, + typeof(global::RetellAI.ChartShowItemNumericSource), + CustomFieldSource, + typeof(global::RetellAI.ChartShowItemCustomFieldSource), + ConcurrencySource, + typeof(global::RetellAI.ChartShowItemConcurrencySource), + CustomToolSource, + typeof(global::RetellAI.ChartShowItemCustomToolSource), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(ChartShowItem other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(KeywordSource, other.KeywordSource) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(NumericSource, other.NumericSource) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CustomFieldSource, other.CustomFieldSource) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ConcurrencySource, other.ConcurrencySource) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CustomToolSource, other.CustomToolSource) + ; + } + + /// + /// + /// + public static bool operator ==(ChartShowItem obj1, ChartShowItem obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(ChartShowItem obj1, ChartShowItem obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ChartShowItem o && Equals(o); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySource.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySource.Json.g.cs new file mode 100644 index 00000000..bdee177c --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySource.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemConcurrencySource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemConcurrencySource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemConcurrencySource), + jsonSerializerContext) as global::RetellAI.ChartShowItemConcurrencySource; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemConcurrencySource? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemConcurrencySource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemConcurrencySource), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemConcurrencySource; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySource.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySource.g.cs new file mode 100644 index 00000000..d2ecc64e --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySource.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// Call concurrency — max measurement only. + /// + public sealed partial class ChartShowItemConcurrencySource + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("source")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemConcurrencySourceSource Source { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("measurement")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemConcurrencySourceMeasurement Measurement { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemConcurrencySource( + global::RetellAI.ChartShowItemConcurrencySourceSource source, + global::RetellAI.ChartShowItemConcurrencySourceMeasurement measurement) + { + this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); + this.Measurement = measurement ?? throw new global::System.ArgumentNullException(nameof(measurement)); + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemConcurrencySource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceMeasurement.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceMeasurement.Json.g.cs new file mode 100644 index 00000000..117ae157 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceMeasurement.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemConcurrencySourceMeasurement + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemConcurrencySourceMeasurement? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemConcurrencySourceMeasurement), + jsonSerializerContext) as global::RetellAI.ChartShowItemConcurrencySourceMeasurement; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemConcurrencySourceMeasurement? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemConcurrencySourceMeasurement? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemConcurrencySourceMeasurement), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemConcurrencySourceMeasurement; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceMeasurement.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceMeasurement.g.cs new file mode 100644 index 00000000..4af75fe0 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceMeasurement.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartShowItemConcurrencySourceMeasurement + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartShowItemConcurrencySourceMeasurementTypeJsonConverter))] + public global::RetellAI.ChartShowItemConcurrencySourceMeasurementType Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemConcurrencySourceMeasurement( + global::RetellAI.ChartShowItemConcurrencySourceMeasurementType type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemConcurrencySourceMeasurement() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceMeasurementType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceMeasurementType.g.cs new file mode 100644 index 00000000..207c83d6 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceMeasurementType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartShowItemConcurrencySourceMeasurementType + { + /// + /// + /// + Max, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartShowItemConcurrencySourceMeasurementTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartShowItemConcurrencySourceMeasurementType value) + { + return value switch + { + ChartShowItemConcurrencySourceMeasurementType.Max => "max", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartShowItemConcurrencySourceMeasurementType? ToEnum(string value) + { + return value switch + { + "max" => ChartShowItemConcurrencySourceMeasurementType.Max, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceSource.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceSource.Json.g.cs new file mode 100644 index 00000000..eb276b5d --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceSource.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemConcurrencySourceSource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemConcurrencySourceSource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemConcurrencySourceSource), + jsonSerializerContext) as global::RetellAI.ChartShowItemConcurrencySourceSource; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemConcurrencySourceSource? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemConcurrencySourceSource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemConcurrencySourceSource), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemConcurrencySourceSource; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceSource.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceSource.g.cs new file mode 100644 index 00000000..f9dfc84b --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceSource.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartShowItemConcurrencySourceSource + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartShowItemConcurrencySourceSourceTypeJsonConverter))] + public global::RetellAI.ChartShowItemConcurrencySourceSourceType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("group")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartGroupTypeJsonConverter))] + public global::RetellAI.ChartGroupType? Group { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemConcurrencySourceSource( + global::RetellAI.ChartShowItemConcurrencySourceSourceType type, + global::RetellAI.ChartGroupType? group) + { + this.Type = type; + this.Group = group; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemConcurrencySourceSource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceSourceType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceSourceType.g.cs new file mode 100644 index 00000000..ead0c7c2 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemConcurrencySourceSourceType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartShowItemConcurrencySourceSourceType + { + /// + /// + /// + CallConcurrency, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartShowItemConcurrencySourceSourceTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartShowItemConcurrencySourceSourceType value) + { + return value switch + { + ChartShowItemConcurrencySourceSourceType.CallConcurrency => "call_concurrency", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartShowItemConcurrencySourceSourceType? ToEnum(string value) + { + return value switch + { + "call_concurrency" => ChartShowItemConcurrencySourceSourceType.CallConcurrency, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSource.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSource.Json.g.cs new file mode 100644 index 00000000..b5ecc78c --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSource.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemCustomFieldSource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemCustomFieldSource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemCustomFieldSource), + jsonSerializerContext) as global::RetellAI.ChartShowItemCustomFieldSource; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemCustomFieldSource? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemCustomFieldSource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemCustomFieldSource), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemCustomFieldSource; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSource.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSource.g.cs new file mode 100644 index 00000000..5adc63b3 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSource.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// Custom analysis / attribute sources — field is required. + /// + public sealed partial class ChartShowItemCustomFieldSource + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("source")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemCustomFieldSourceSource Source { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("measurement")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemCustomFieldSourceMeasurement Measurement { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemCustomFieldSource( + global::RetellAI.ChartShowItemCustomFieldSourceSource source, + global::RetellAI.ChartShowItemCustomFieldSourceMeasurement measurement) + { + this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); + this.Measurement = measurement ?? throw new global::System.ArgumentNullException(nameof(measurement)); + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemCustomFieldSource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceMeasurement.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceMeasurement.Json.g.cs new file mode 100644 index 00000000..cd484378 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceMeasurement.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemCustomFieldSourceMeasurement + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemCustomFieldSourceMeasurement? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemCustomFieldSourceMeasurement), + jsonSerializerContext) as global::RetellAI.ChartShowItemCustomFieldSourceMeasurement; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemCustomFieldSourceMeasurement? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemCustomFieldSourceMeasurement? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemCustomFieldSourceMeasurement), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemCustomFieldSourceMeasurement; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceMeasurement.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceMeasurement.g.cs new file mode 100644 index 00000000..fdba079d --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceMeasurement.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartShowItemCustomFieldSourceMeasurement + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartShowItemCustomFieldSourceMeasurementTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemCustomFieldSourceMeasurement( + global::RetellAI.ChartShowItemCustomFieldSourceMeasurementType type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemCustomFieldSourceMeasurement() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceMeasurementType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceMeasurementType.g.cs new file mode 100644 index 00000000..f73762e0 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceMeasurementType.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartShowItemCustomFieldSourceMeasurementType + { + /// + /// + /// + Avg, + /// + /// + /// + Count, + /// + /// + /// + Max, + /// + /// + /// + Median, + /// + /// + /// + Min, + /// + /// + /// + P90, + /// + /// + /// + Sum, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartShowItemCustomFieldSourceMeasurementTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartShowItemCustomFieldSourceMeasurementType value) + { + return value switch + { + ChartShowItemCustomFieldSourceMeasurementType.Avg => "avg", + ChartShowItemCustomFieldSourceMeasurementType.Count => "count", + ChartShowItemCustomFieldSourceMeasurementType.Max => "max", + ChartShowItemCustomFieldSourceMeasurementType.Median => "median", + ChartShowItemCustomFieldSourceMeasurementType.Min => "min", + ChartShowItemCustomFieldSourceMeasurementType.P90 => "p90", + ChartShowItemCustomFieldSourceMeasurementType.Sum => "sum", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartShowItemCustomFieldSourceMeasurementType? ToEnum(string value) + { + return value switch + { + "avg" => ChartShowItemCustomFieldSourceMeasurementType.Avg, + "count" => ChartShowItemCustomFieldSourceMeasurementType.Count, + "max" => ChartShowItemCustomFieldSourceMeasurementType.Max, + "median" => ChartShowItemCustomFieldSourceMeasurementType.Median, + "min" => ChartShowItemCustomFieldSourceMeasurementType.Min, + "p90" => ChartShowItemCustomFieldSourceMeasurementType.P90, + "sum" => ChartShowItemCustomFieldSourceMeasurementType.Sum, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceSource.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceSource.Json.g.cs new file mode 100644 index 00000000..57d4c02e --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceSource.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemCustomFieldSourceSource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemCustomFieldSourceSource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemCustomFieldSourceSource), + jsonSerializerContext) as global::RetellAI.ChartShowItemCustomFieldSourceSource; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemCustomFieldSourceSource? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemCustomFieldSourceSource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemCustomFieldSourceSource), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemCustomFieldSourceSource; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceSource.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceSource.g.cs new file mode 100644 index 00000000..c4e43888 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceSource.g.cs @@ -0,0 +1,76 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartShowItemCustomFieldSourceSource + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemCustomFieldSourceSourceType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("field")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Field { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cast")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartShowItemCustomFieldSourceSourceCastJsonConverter))] + public global::RetellAI.ChartShowItemCustomFieldSourceSourceCast? Cast { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("group")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartGroupTypeJsonConverter))] + public global::RetellAI.ChartGroupType? Group { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemCustomFieldSourceSource( + global::RetellAI.ChartShowItemCustomFieldSourceSourceType type, + string field, + global::RetellAI.ChartShowItemCustomFieldSourceSourceCast? cast, + global::RetellAI.ChartGroupType? group) + { + this.Type = type; + this.Field = field ?? throw new global::System.ArgumentNullException(nameof(field)); + this.Cast = cast; + this.Group = group; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemCustomFieldSourceSource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceSourceCast.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceSourceCast.g.cs new file mode 100644 index 00000000..e58ac6ae --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceSourceCast.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartShowItemCustomFieldSourceSourceCast + { + /// + /// + /// + Bool, + /// + /// + /// + Float, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartShowItemCustomFieldSourceSourceCastExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartShowItemCustomFieldSourceSourceCast value) + { + return value switch + { + ChartShowItemCustomFieldSourceSourceCast.Bool => "bool", + ChartShowItemCustomFieldSourceSourceCast.Float => "float", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartShowItemCustomFieldSourceSourceCast? ToEnum(string value) + { + return value switch + { + "bool" => ChartShowItemCustomFieldSourceSourceCast.Bool, + "float" => ChartShowItemCustomFieldSourceSourceCast.Float, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceSourceType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceSourceType.g.cs new file mode 100644 index 00000000..b461a668 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomFieldSourceSourceType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartShowItemCustomFieldSourceSourceType + { + /// + /// + /// + CustomAnalysisData, + /// + /// + /// + CustomAttribute, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartShowItemCustomFieldSourceSourceTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartShowItemCustomFieldSourceSourceType value) + { + return value switch + { + ChartShowItemCustomFieldSourceSourceType.CustomAnalysisData => "custom_analysis_data", + ChartShowItemCustomFieldSourceSourceType.CustomAttribute => "custom_attribute", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartShowItemCustomFieldSourceSourceType? ToEnum(string value) + { + return value switch + { + "custom_analysis_data" => ChartShowItemCustomFieldSourceSourceType.CustomAnalysisData, + "custom_attribute" => ChartShowItemCustomFieldSourceSourceType.CustomAttribute, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RefreshTokenAuthConfigRequest.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSource.Json.g.cs similarity index 87% rename from src/libs/RetellAI/Generated/RetellAI.Models.RefreshTokenAuthConfigRequest.Json.g.cs rename to src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSource.Json.g.cs index f7f80253..cf2d4658 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.RefreshTokenAuthConfigRequest.Json.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSource.Json.g.cs @@ -2,7 +2,7 @@ namespace RetellAI { - public sealed partial class RefreshTokenAuthConfigRequest + public sealed partial class ChartShowItemCustomToolSource { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::RetellAI.RefreshTokenAuthConfigRequest? FromJson( + public static global::RetellAI.ChartShowItemCustomToolSource? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::RetellAI.RefreshTokenAuthConfigRequest), - jsonSerializerContext) as global::RetellAI.RefreshTokenAuthConfigRequest; + typeof(global::RetellAI.ChartShowItemCustomToolSource), + jsonSerializerContext) as global::RetellAI.ChartShowItemCustomToolSource; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::RetellAI.RefreshTokenAuthConfigRequest? FromJson( + public static global::RetellAI.ChartShowItemCustomToolSource? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::RetellAI.RefreshTokenAuthConfigRequest? FromJson( + public static global::RetellAI.ChartShowItemCustomToolSource? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::RetellAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::RetellAI.RefreshTokenAuthConfigRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.RefreshTokenAuthConfigRequest; + typeof(global::RetellAI.ChartShowItemCustomToolSource), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemCustomToolSource; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::RetellAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSource.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSource.g.cs new file mode 100644 index 00000000..2382cfeb --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSource.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// Custom tool call metrics — avg measurement only. + /// + public sealed partial class ChartShowItemCustomToolSource + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("source")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemCustomToolSourceSource Source { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("measurement")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemCustomToolSourceMeasurement Measurement { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemCustomToolSource( + global::RetellAI.ChartShowItemCustomToolSourceSource source, + global::RetellAI.ChartShowItemCustomToolSourceMeasurement measurement) + { + this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); + this.Measurement = measurement ?? throw new global::System.ArgumentNullException(nameof(measurement)); + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemCustomToolSource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceMeasurement.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceMeasurement.Json.g.cs new file mode 100644 index 00000000..fead6db5 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceMeasurement.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemCustomToolSourceMeasurement + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemCustomToolSourceMeasurement? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemCustomToolSourceMeasurement), + jsonSerializerContext) as global::RetellAI.ChartShowItemCustomToolSourceMeasurement; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemCustomToolSourceMeasurement? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemCustomToolSourceMeasurement? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemCustomToolSourceMeasurement), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemCustomToolSourceMeasurement; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceMeasurement.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceMeasurement.g.cs new file mode 100644 index 00000000..6a9ae7bd --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceMeasurement.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartShowItemCustomToolSourceMeasurement + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartShowItemCustomToolSourceMeasurementTypeJsonConverter))] + public global::RetellAI.ChartShowItemCustomToolSourceMeasurementType Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemCustomToolSourceMeasurement( + global::RetellAI.ChartShowItemCustomToolSourceMeasurementType type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemCustomToolSourceMeasurement() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceMeasurementType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceMeasurementType.g.cs new file mode 100644 index 00000000..52b49432 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceMeasurementType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartShowItemCustomToolSourceMeasurementType + { + /// + /// + /// + Avg, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartShowItemCustomToolSourceMeasurementTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartShowItemCustomToolSourceMeasurementType value) + { + return value switch + { + ChartShowItemCustomToolSourceMeasurementType.Avg => "avg", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartShowItemCustomToolSourceMeasurementType? ToEnum(string value) + { + return value switch + { + "avg" => ChartShowItemCustomToolSourceMeasurementType.Avg, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceSource.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceSource.Json.g.cs new file mode 100644 index 00000000..bd789319 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceSource.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemCustomToolSourceSource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemCustomToolSourceSource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemCustomToolSourceSource), + jsonSerializerContext) as global::RetellAI.ChartShowItemCustomToolSourceSource; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemCustomToolSourceSource? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemCustomToolSourceSource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemCustomToolSourceSource), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemCustomToolSourceSource; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceSource.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceSource.g.cs new file mode 100644 index 00000000..b18651e8 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceSource.g.cs @@ -0,0 +1,56 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartShowItemCustomToolSourceSource + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartShowItemCustomToolSourceSourceTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemCustomToolSourceSourceType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("group")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartGroupTypeJsonConverter))] + public global::RetellAI.ChartGroupType? Group { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemCustomToolSourceSource( + global::RetellAI.ChartShowItemCustomToolSourceSourceType type, + global::RetellAI.ChartGroupType? group) + { + this.Type = type; + this.Group = group; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemCustomToolSourceSource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceSourceType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceSourceType.g.cs new file mode 100644 index 00000000..3c549e90 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemCustomToolSourceSourceType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartShowItemCustomToolSourceSourceType + { + /// + /// + /// + CustomToolLatency, + /// + /// + /// + CustomToolSuccessRate, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartShowItemCustomToolSourceSourceTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartShowItemCustomToolSourceSourceType value) + { + return value switch + { + ChartShowItemCustomToolSourceSourceType.CustomToolLatency => "custom_tool_latency", + ChartShowItemCustomToolSourceSourceType.CustomToolSuccessRate => "custom_tool_success_rate", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartShowItemCustomToolSourceSourceType? ToEnum(string value) + { + return value switch + { + "custom_tool_latency" => ChartShowItemCustomToolSourceSourceType.CustomToolLatency, + "custom_tool_success_rate" => ChartShowItemCustomToolSourceSourceType.CustomToolSuccessRate, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSource.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSource.Json.g.cs new file mode 100644 index 00000000..dfbe9ea4 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSource.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemKeywordSource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemKeywordSource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemKeywordSource), + jsonSerializerContext) as global::RetellAI.ChartShowItemKeywordSource; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemKeywordSource? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemKeywordSource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemKeywordSource), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemKeywordSource; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSource.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSource.g.cs new file mode 100644 index 00000000..51693e33 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSource.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// String/enum sources — count only. + /// + public sealed partial class ChartShowItemKeywordSource + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("source")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemKeywordSourceSource Source { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("measurement")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemKeywordSourceMeasurement Measurement { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemKeywordSource( + global::RetellAI.ChartShowItemKeywordSourceSource source, + global::RetellAI.ChartShowItemKeywordSourceMeasurement measurement) + { + this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); + this.Measurement = measurement ?? throw new global::System.ArgumentNullException(nameof(measurement)); + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemKeywordSource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceMeasurement.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceMeasurement.Json.g.cs new file mode 100644 index 00000000..a2dca254 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceMeasurement.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemKeywordSourceMeasurement + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemKeywordSourceMeasurement? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemKeywordSourceMeasurement), + jsonSerializerContext) as global::RetellAI.ChartShowItemKeywordSourceMeasurement; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemKeywordSourceMeasurement? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemKeywordSourceMeasurement? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemKeywordSourceMeasurement), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemKeywordSourceMeasurement; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceMeasurement.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceMeasurement.g.cs new file mode 100644 index 00000000..20a98366 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceMeasurement.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartShowItemKeywordSourceMeasurement + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartShowItemKeywordSourceMeasurementTypeJsonConverter))] + public global::RetellAI.ChartShowItemKeywordSourceMeasurementType Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemKeywordSourceMeasurement( + global::RetellAI.ChartShowItemKeywordSourceMeasurementType type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemKeywordSourceMeasurement() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceMeasurementType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceMeasurementType.g.cs new file mode 100644 index 00000000..08732495 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceMeasurementType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartShowItemKeywordSourceMeasurementType + { + /// + /// + /// + Count, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartShowItemKeywordSourceMeasurementTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartShowItemKeywordSourceMeasurementType value) + { + return value switch + { + ChartShowItemKeywordSourceMeasurementType.Count => "count", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartShowItemKeywordSourceMeasurementType? ToEnum(string value) + { + return value switch + { + "count" => ChartShowItemKeywordSourceMeasurementType.Count, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceSource.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceSource.Json.g.cs new file mode 100644 index 00000000..1bd0bffb --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceSource.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemKeywordSourceSource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemKeywordSourceSource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemKeywordSourceSource), + jsonSerializerContext) as global::RetellAI.ChartShowItemKeywordSourceSource; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemKeywordSourceSource? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemKeywordSourceSource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemKeywordSourceSource), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemKeywordSourceSource; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceSource.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceSource.g.cs new file mode 100644 index 00000000..258856af --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceSource.g.cs @@ -0,0 +1,56 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartShowItemKeywordSourceSource + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartShowItemKeywordSourceSourceTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemKeywordSourceSourceType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("group")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartGroupTypeJsonConverter))] + public global::RetellAI.ChartGroupType? Group { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemKeywordSourceSource( + global::RetellAI.ChartShowItemKeywordSourceSourceType type, + global::RetellAI.ChartGroupType? group) + { + this.Type = type; + this.Group = group; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemKeywordSourceSource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceSourceType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceSourceType.g.cs new file mode 100644 index 00000000..0b137c66 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemKeywordSourceSourceType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartShowItemKeywordSourceSourceType + { + /// + /// + /// + CallId, + /// + /// + /// + ChatId, + /// + /// + /// + DisconnectionReason, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartShowItemKeywordSourceSourceTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartShowItemKeywordSourceSourceType value) + { + return value switch + { + ChartShowItemKeywordSourceSourceType.CallId => "call_id", + ChartShowItemKeywordSourceSourceType.ChatId => "chat_id", + ChartShowItemKeywordSourceSourceType.DisconnectionReason => "disconnection_reason", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartShowItemKeywordSourceSourceType? ToEnum(string value) + { + return value switch + { + "call_id" => ChartShowItemKeywordSourceSourceType.CallId, + "chat_id" => ChartShowItemKeywordSourceSourceType.ChatId, + "disconnection_reason" => ChartShowItemKeywordSourceSourceType.DisconnectionReason, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSource.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSource.Json.g.cs new file mode 100644 index 00000000..efae3c57 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSource.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemNumericSource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemNumericSource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemNumericSource), + jsonSerializerContext) as global::RetellAI.ChartShowItemNumericSource; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemNumericSource? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemNumericSource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemNumericSource), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemNumericSource; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSource.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSource.g.cs new file mode 100644 index 00000000..c441c8ef --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSource.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// Numeric and boolean sources — all measurement types. + /// + public sealed partial class ChartShowItemNumericSource + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("source")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemNumericSourceSource Source { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("measurement")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemNumericSourceMeasurement Measurement { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemNumericSource( + global::RetellAI.ChartShowItemNumericSourceSource source, + global::RetellAI.ChartShowItemNumericSourceMeasurement measurement) + { + this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); + this.Measurement = measurement ?? throw new global::System.ArgumentNullException(nameof(measurement)); + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemNumericSource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceMeasurement.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceMeasurement.Json.g.cs new file mode 100644 index 00000000..2ef828a8 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceMeasurement.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemNumericSourceMeasurement + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemNumericSourceMeasurement? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemNumericSourceMeasurement), + jsonSerializerContext) as global::RetellAI.ChartShowItemNumericSourceMeasurement; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemNumericSourceMeasurement? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemNumericSourceMeasurement? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemNumericSourceMeasurement), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemNumericSourceMeasurement; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceMeasurement.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceMeasurement.g.cs new file mode 100644 index 00000000..31753cbe --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceMeasurement.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartShowItemNumericSourceMeasurement + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartShowItemNumericSourceMeasurementTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemNumericSourceMeasurementType Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemNumericSourceMeasurement( + global::RetellAI.ChartShowItemNumericSourceMeasurementType type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemNumericSourceMeasurement() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceMeasurementType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceMeasurementType.g.cs new file mode 100644 index 00000000..9dbb9db9 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceMeasurementType.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartShowItemNumericSourceMeasurementType + { + /// + /// + /// + Avg, + /// + /// + /// + Count, + /// + /// + /// + Max, + /// + /// + /// + Median, + /// + /// + /// + Min, + /// + /// + /// + P90, + /// + /// + /// + Sum, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartShowItemNumericSourceMeasurementTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartShowItemNumericSourceMeasurementType value) + { + return value switch + { + ChartShowItemNumericSourceMeasurementType.Avg => "avg", + ChartShowItemNumericSourceMeasurementType.Count => "count", + ChartShowItemNumericSourceMeasurementType.Max => "max", + ChartShowItemNumericSourceMeasurementType.Median => "median", + ChartShowItemNumericSourceMeasurementType.Min => "min", + ChartShowItemNumericSourceMeasurementType.P90 => "p90", + ChartShowItemNumericSourceMeasurementType.Sum => "sum", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartShowItemNumericSourceMeasurementType? ToEnum(string value) + { + return value switch + { + "avg" => ChartShowItemNumericSourceMeasurementType.Avg, + "count" => ChartShowItemNumericSourceMeasurementType.Count, + "max" => ChartShowItemNumericSourceMeasurementType.Max, + "median" => ChartShowItemNumericSourceMeasurementType.Median, + "min" => ChartShowItemNumericSourceMeasurementType.Min, + "p90" => ChartShowItemNumericSourceMeasurementType.P90, + "sum" => ChartShowItemNumericSourceMeasurementType.Sum, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceSource.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceSource.Json.g.cs new file mode 100644 index 00000000..0c281d5f --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceSource.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartShowItemNumericSourceSource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemNumericSourceSource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartShowItemNumericSourceSource), + jsonSerializerContext) as global::RetellAI.ChartShowItemNumericSourceSource; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartShowItemNumericSourceSource? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartShowItemNumericSourceSource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartShowItemNumericSourceSource), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartShowItemNumericSourceSource; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceSource.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceSource.g.cs new file mode 100644 index 00000000..4da24093 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceSource.g.cs @@ -0,0 +1,56 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartShowItemNumericSourceSource + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartShowItemNumericSourceSourceTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartShowItemNumericSourceSourceType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("group")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartGroupTypeJsonConverter))] + public global::RetellAI.ChartGroupType? Group { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartShowItemNumericSourceSource( + global::RetellAI.ChartShowItemNumericSourceSourceType type, + global::RetellAI.ChartGroupType? group) + { + this.Type = type; + this.Group = group; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartShowItemNumericSourceSource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceSourceType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceSourceType.g.cs new file mode 100644 index 00000000..b41f1ccb --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartShowItemNumericSourceSourceType.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartShowItemNumericSourceSourceType + { + /// + /// + /// + CallPickedUp, + /// + /// + /// + CallSuccessful, + /// + /// + /// + CallTransferred, + /// + /// + /// + ChatSuccessful, + /// + /// + /// + CombinedCost, + /// + /// + /// + DurationMs, + /// + /// + /// + E2eLatencyP50, + /// + /// + /// + InVoicemail, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartShowItemNumericSourceSourceTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartShowItemNumericSourceSourceType value) + { + return value switch + { + ChartShowItemNumericSourceSourceType.CallPickedUp => "call_picked_up", + ChartShowItemNumericSourceSourceType.CallSuccessful => "call_successful", + ChartShowItemNumericSourceSourceType.CallTransferred => "call_transferred", + ChartShowItemNumericSourceSourceType.ChatSuccessful => "chat_successful", + ChartShowItemNumericSourceSourceType.CombinedCost => "combined_cost", + ChartShowItemNumericSourceSourceType.DurationMs => "duration_ms", + ChartShowItemNumericSourceSourceType.E2eLatencyP50 => "e2e_latency_p50", + ChartShowItemNumericSourceSourceType.InVoicemail => "in_voicemail", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartShowItemNumericSourceSourceType? ToEnum(string value) + { + return value switch + { + "call_picked_up" => ChartShowItemNumericSourceSourceType.CallPickedUp, + "call_successful" => ChartShowItemNumericSourceSourceType.CallSuccessful, + "call_transferred" => ChartShowItemNumericSourceSourceType.CallTransferred, + "chat_successful" => ChartShowItemNumericSourceSourceType.ChatSuccessful, + "combined_cost" => ChartShowItemNumericSourceSourceType.CombinedCost, + "duration_ms" => ChartShowItemNumericSourceSourceType.DurationMs, + "e2e_latency_p50" => ChartShowItemNumericSourceSourceType.E2eLatencyP50, + "in_voicemail" => ChartShowItemNumericSourceSourceType.InVoicemail, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRange.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRange.Json.g.cs new file mode 100644 index 00000000..0a8b409e --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRange.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public readonly partial struct ChartTimeRange + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartTimeRange? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartTimeRange), + jsonSerializerContext) as global::RetellAI.ChartTimeRange?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartTimeRange? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartTimeRange? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartTimeRange), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartTimeRange?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRange.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRange.g.cs new file mode 100644 index 00000000..d844198a --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRange.g.cs @@ -0,0 +1,544 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public readonly partial struct ChartTimeRange : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::RetellAI.ChartTimeRangeVariant1? ChartTimeRangeVariant1 { get; init; } +#else + public global::RetellAI.ChartTimeRangeVariant1? ChartTimeRangeVariant1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ChartTimeRangeVariant1))] +#endif + public bool IsChartTimeRangeVariant1 => ChartTimeRangeVariant1 != null; + + /// + /// + /// + public bool TryPickChartTimeRangeVariant1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::RetellAI.ChartTimeRangeVariant1? value) + { + value = ChartTimeRangeVariant1; + return IsChartTimeRangeVariant1; + } + + /// + /// + /// + public global::RetellAI.ChartTimeRangeVariant1 PickChartTimeRangeVariant1() => IsChartTimeRangeVariant1 + ? ChartTimeRangeVariant1! + : throw new global::System.InvalidOperationException($"Expected union variant 'ChartTimeRangeVariant1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::RetellAI.ChartTimeRangeVariant2? ChartTimeRangeVariant2 { get; init; } +#else + public global::RetellAI.ChartTimeRangeVariant2? ChartTimeRangeVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ChartTimeRangeVariant2))] +#endif + public bool IsChartTimeRangeVariant2 => ChartTimeRangeVariant2 != null; + + /// + /// + /// + public bool TryPickChartTimeRangeVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::RetellAI.ChartTimeRangeVariant2? value) + { + value = ChartTimeRangeVariant2; + return IsChartTimeRangeVariant2; + } + + /// + /// + /// + public global::RetellAI.ChartTimeRangeVariant2 PickChartTimeRangeVariant2() => IsChartTimeRangeVariant2 + ? ChartTimeRangeVariant2! + : throw new global::System.InvalidOperationException($"Expected union variant 'ChartTimeRangeVariant2' but the value was {ToString()}."); + + /// + /// The current day, week, month or year so far, resolved per request in the request's timezone. Weeks start Monday. + /// +#if NET6_0_OR_GREATER + public global::RetellAI.ChartTimeRangeVariant3? ChartTimeRangeVariant3 { get; init; } +#else + public global::RetellAI.ChartTimeRangeVariant3? ChartTimeRangeVariant3 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ChartTimeRangeVariant3))] +#endif + public bool IsChartTimeRangeVariant3 => ChartTimeRangeVariant3 != null; + + /// + /// + /// + public bool TryPickChartTimeRangeVariant3( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::RetellAI.ChartTimeRangeVariant3? value) + { + value = ChartTimeRangeVariant3; + return IsChartTimeRangeVariant3; + } + + /// + /// + /// + public global::RetellAI.ChartTimeRangeVariant3 PickChartTimeRangeVariant3() => IsChartTimeRangeVariant3 + ? ChartTimeRangeVariant3! + : throw new global::System.InvalidOperationException($"Expected union variant 'ChartTimeRangeVariant3' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::RetellAI.ChartTimeRangeVariant4? ChartTimeRangeVariant4 { get; init; } +#else + public global::RetellAI.ChartTimeRangeVariant4? ChartTimeRangeVariant4 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ChartTimeRangeVariant4))] +#endif + public bool IsChartTimeRangeVariant4 => ChartTimeRangeVariant4 != null; + + /// + /// + /// + public bool TryPickChartTimeRangeVariant4( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::RetellAI.ChartTimeRangeVariant4? value) + { + value = ChartTimeRangeVariant4; + return IsChartTimeRangeVariant4; + } + + /// + /// + /// + public global::RetellAI.ChartTimeRangeVariant4 PickChartTimeRangeVariant4() => IsChartTimeRangeVariant4 + ? ChartTimeRangeVariant4! + : throw new global::System.InvalidOperationException($"Expected union variant 'ChartTimeRangeVariant4' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::RetellAI.ChartTimeRangeVariant5? ChartTimeRangeVariant5 { get; init; } +#else + public global::RetellAI.ChartTimeRangeVariant5? ChartTimeRangeVariant5 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ChartTimeRangeVariant5))] +#endif + public bool IsChartTimeRangeVariant5 => ChartTimeRangeVariant5 != null; + + /// + /// + /// + public bool TryPickChartTimeRangeVariant5( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::RetellAI.ChartTimeRangeVariant5? value) + { + value = ChartTimeRangeVariant5; + return IsChartTimeRangeVariant5; + } + + /// + /// + /// + public global::RetellAI.ChartTimeRangeVariant5 PickChartTimeRangeVariant5() => IsChartTimeRangeVariant5 + ? ChartTimeRangeVariant5! + : throw new global::System.InvalidOperationException($"Expected union variant 'ChartTimeRangeVariant5' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator ChartTimeRange(global::RetellAI.ChartTimeRangeVariant1 value) => new ChartTimeRange((global::RetellAI.ChartTimeRangeVariant1?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.ChartTimeRangeVariant1?(ChartTimeRange @this) => @this.ChartTimeRangeVariant1; + + /// + /// + /// + public ChartTimeRange(global::RetellAI.ChartTimeRangeVariant1? value) + { + ChartTimeRangeVariant1 = value; + } + + /// + /// + /// + public static ChartTimeRange FromChartTimeRangeVariant1(global::RetellAI.ChartTimeRangeVariant1? value) => new ChartTimeRange(value); + + /// + /// + /// + public static implicit operator ChartTimeRange(global::RetellAI.ChartTimeRangeVariant2 value) => new ChartTimeRange((global::RetellAI.ChartTimeRangeVariant2?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.ChartTimeRangeVariant2?(ChartTimeRange @this) => @this.ChartTimeRangeVariant2; + + /// + /// + /// + public ChartTimeRange(global::RetellAI.ChartTimeRangeVariant2? value) + { + ChartTimeRangeVariant2 = value; + } + + /// + /// + /// + public static ChartTimeRange FromChartTimeRangeVariant2(global::RetellAI.ChartTimeRangeVariant2? value) => new ChartTimeRange(value); + + /// + /// + /// + public static implicit operator ChartTimeRange(global::RetellAI.ChartTimeRangeVariant3 value) => new ChartTimeRange((global::RetellAI.ChartTimeRangeVariant3?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.ChartTimeRangeVariant3?(ChartTimeRange @this) => @this.ChartTimeRangeVariant3; + + /// + /// + /// + public ChartTimeRange(global::RetellAI.ChartTimeRangeVariant3? value) + { + ChartTimeRangeVariant3 = value; + } + + /// + /// + /// + public static ChartTimeRange FromChartTimeRangeVariant3(global::RetellAI.ChartTimeRangeVariant3? value) => new ChartTimeRange(value); + + /// + /// + /// + public static implicit operator ChartTimeRange(global::RetellAI.ChartTimeRangeVariant4 value) => new ChartTimeRange((global::RetellAI.ChartTimeRangeVariant4?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.ChartTimeRangeVariant4?(ChartTimeRange @this) => @this.ChartTimeRangeVariant4; + + /// + /// + /// + public ChartTimeRange(global::RetellAI.ChartTimeRangeVariant4? value) + { + ChartTimeRangeVariant4 = value; + } + + /// + /// + /// + public static ChartTimeRange FromChartTimeRangeVariant4(global::RetellAI.ChartTimeRangeVariant4? value) => new ChartTimeRange(value); + + /// + /// + /// + public static implicit operator ChartTimeRange(global::RetellAI.ChartTimeRangeVariant5 value) => new ChartTimeRange((global::RetellAI.ChartTimeRangeVariant5?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.ChartTimeRangeVariant5?(ChartTimeRange @this) => @this.ChartTimeRangeVariant5; + + /// + /// + /// + public ChartTimeRange(global::RetellAI.ChartTimeRangeVariant5? value) + { + ChartTimeRangeVariant5 = value; + } + + /// + /// + /// + public static ChartTimeRange FromChartTimeRangeVariant5(global::RetellAI.ChartTimeRangeVariant5? value) => new ChartTimeRange(value); + + /// + /// + /// + public ChartTimeRange( + global::RetellAI.ChartTimeRangeVariant1? chartTimeRangeVariant1, + global::RetellAI.ChartTimeRangeVariant2? chartTimeRangeVariant2, + global::RetellAI.ChartTimeRangeVariant3? chartTimeRangeVariant3, + global::RetellAI.ChartTimeRangeVariant4? chartTimeRangeVariant4, + global::RetellAI.ChartTimeRangeVariant5? chartTimeRangeVariant5 + ) + { + ChartTimeRangeVariant1 = chartTimeRangeVariant1; + ChartTimeRangeVariant2 = chartTimeRangeVariant2; + ChartTimeRangeVariant3 = chartTimeRangeVariant3; + ChartTimeRangeVariant4 = chartTimeRangeVariant4; + ChartTimeRangeVariant5 = chartTimeRangeVariant5; + } + + /// + /// + /// + public object? Object => + ChartTimeRangeVariant5 as object ?? + ChartTimeRangeVariant4 as object ?? + ChartTimeRangeVariant3 as object ?? + ChartTimeRangeVariant2 as object ?? + ChartTimeRangeVariant1 as object + ; + + /// + /// + /// + public override string? ToString() => + ChartTimeRangeVariant1?.ToString() ?? + ChartTimeRangeVariant2?.ToString() ?? + ChartTimeRangeVariant3?.ToString() ?? + ChartTimeRangeVariant4?.ToString() ?? + ChartTimeRangeVariant5?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsChartTimeRangeVariant1 && !IsChartTimeRangeVariant2 && !IsChartTimeRangeVariant3 && !IsChartTimeRangeVariant4 && !IsChartTimeRangeVariant5 || !IsChartTimeRangeVariant1 && IsChartTimeRangeVariant2 && !IsChartTimeRangeVariant3 && !IsChartTimeRangeVariant4 && !IsChartTimeRangeVariant5 || !IsChartTimeRangeVariant1 && !IsChartTimeRangeVariant2 && IsChartTimeRangeVariant3 && !IsChartTimeRangeVariant4 && !IsChartTimeRangeVariant5 || !IsChartTimeRangeVariant1 && !IsChartTimeRangeVariant2 && !IsChartTimeRangeVariant3 && IsChartTimeRangeVariant4 && !IsChartTimeRangeVariant5 || !IsChartTimeRangeVariant1 && !IsChartTimeRangeVariant2 && !IsChartTimeRangeVariant3 && !IsChartTimeRangeVariant4 && IsChartTimeRangeVariant5; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? chartTimeRangeVariant1 = null, + global::System.Func? chartTimeRangeVariant2 = null, + global::System.Func? chartTimeRangeVariant3 = null, + global::System.Func? chartTimeRangeVariant4 = null, + global::System.Func? chartTimeRangeVariant5 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsChartTimeRangeVariant1 && chartTimeRangeVariant1 != null) + { + return chartTimeRangeVariant1(ChartTimeRangeVariant1!); + } + else if (IsChartTimeRangeVariant2 && chartTimeRangeVariant2 != null) + { + return chartTimeRangeVariant2(ChartTimeRangeVariant2!); + } + else if (IsChartTimeRangeVariant3 && chartTimeRangeVariant3 != null) + { + return chartTimeRangeVariant3(ChartTimeRangeVariant3!); + } + else if (IsChartTimeRangeVariant4 && chartTimeRangeVariant4 != null) + { + return chartTimeRangeVariant4(ChartTimeRangeVariant4!); + } + else if (IsChartTimeRangeVariant5 && chartTimeRangeVariant5 != null) + { + return chartTimeRangeVariant5(ChartTimeRangeVariant5!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? chartTimeRangeVariant1 = null, + + global::System.Action? chartTimeRangeVariant2 = null, + + global::System.Action? chartTimeRangeVariant3 = null, + + global::System.Action? chartTimeRangeVariant4 = null, + + global::System.Action? chartTimeRangeVariant5 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsChartTimeRangeVariant1) + { + chartTimeRangeVariant1?.Invoke(ChartTimeRangeVariant1!); + } + else if (IsChartTimeRangeVariant2) + { + chartTimeRangeVariant2?.Invoke(ChartTimeRangeVariant2!); + } + else if (IsChartTimeRangeVariant3) + { + chartTimeRangeVariant3?.Invoke(ChartTimeRangeVariant3!); + } + else if (IsChartTimeRangeVariant4) + { + chartTimeRangeVariant4?.Invoke(ChartTimeRangeVariant4!); + } + else if (IsChartTimeRangeVariant5) + { + chartTimeRangeVariant5?.Invoke(ChartTimeRangeVariant5!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? chartTimeRangeVariant1 = null, + global::System.Action? chartTimeRangeVariant2 = null, + global::System.Action? chartTimeRangeVariant3 = null, + global::System.Action? chartTimeRangeVariant4 = null, + global::System.Action? chartTimeRangeVariant5 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsChartTimeRangeVariant1) + { + chartTimeRangeVariant1?.Invoke(ChartTimeRangeVariant1!); + } + else if (IsChartTimeRangeVariant2) + { + chartTimeRangeVariant2?.Invoke(ChartTimeRangeVariant2!); + } + else if (IsChartTimeRangeVariant3) + { + chartTimeRangeVariant3?.Invoke(ChartTimeRangeVariant3!); + } + else if (IsChartTimeRangeVariant4) + { + chartTimeRangeVariant4?.Invoke(ChartTimeRangeVariant4!); + } + else if (IsChartTimeRangeVariant5) + { + chartTimeRangeVariant5?.Invoke(ChartTimeRangeVariant5!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + ChartTimeRangeVariant1, + typeof(global::RetellAI.ChartTimeRangeVariant1), + ChartTimeRangeVariant2, + typeof(global::RetellAI.ChartTimeRangeVariant2), + ChartTimeRangeVariant3, + typeof(global::RetellAI.ChartTimeRangeVariant3), + ChartTimeRangeVariant4, + typeof(global::RetellAI.ChartTimeRangeVariant4), + ChartTimeRangeVariant5, + typeof(global::RetellAI.ChartTimeRangeVariant5), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(ChartTimeRange other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(ChartTimeRangeVariant1, other.ChartTimeRangeVariant1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ChartTimeRangeVariant2, other.ChartTimeRangeVariant2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ChartTimeRangeVariant3, other.ChartTimeRangeVariant3) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ChartTimeRangeVariant4, other.ChartTimeRangeVariant4) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ChartTimeRangeVariant5, other.ChartTimeRangeVariant5) + ; + } + + /// + /// + /// + public static bool operator ==(ChartTimeRange obj1, ChartTimeRange obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(ChartTimeRange obj1, ChartTimeRange obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ChartTimeRange o && Equals(o); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1.Json.g.cs new file mode 100644 index 00000000..93b767dc --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartTimeRangeVariant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartTimeRangeVariant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartTimeRangeVariant1), + jsonSerializerContext) as global::RetellAI.ChartTimeRangeVariant1; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartTimeRangeVariant1? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartTimeRangeVariant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartTimeRangeVariant1), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartTimeRangeVariant1; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1.g.cs new file mode 100644 index 00000000..e38115ee --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartTimeRangeVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartTimeRangeVariant1TypeJsonConverter))] + public global::RetellAI.ChartTimeRangeVariant1Type Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("window")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartTimeRangeVariant1Window Window { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartTimeRangeVariant1( + global::RetellAI.ChartTimeRangeVariant1Window window, + global::RetellAI.ChartTimeRangeVariant1Type type) + { + this.Type = type; + this.Window = window ?? throw new global::System.ArgumentNullException(nameof(window)); + } + + /// + /// Initializes a new instance of the class. + /// + public ChartTimeRangeVariant1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.AccessTokenAuthConfigRequestType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1Type.g.cs similarity index 61% rename from src/libs/RetellAI/Generated/RetellAI.Models.AccessTokenAuthConfigRequestType.g.cs rename to src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1Type.g.cs index 01c998be..4d65973c 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.AccessTokenAuthConfigRequestType.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1Type.g.cs @@ -6,38 +6,38 @@ namespace RetellAI /// /// /// - public enum AccessTokenAuthConfigRequestType + public enum ChartTimeRangeVariant1Type { /// /// /// - AccessToken, + Last, } /// /// Enum extensions to do fast conversions without the reflection. /// - public static class AccessTokenAuthConfigRequestTypeExtensions + public static class ChartTimeRangeVariant1TypeExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this AccessTokenAuthConfigRequestType value) + public static string ToValueString(this ChartTimeRangeVariant1Type value) { return value switch { - AccessTokenAuthConfigRequestType.AccessToken => "access_token", + ChartTimeRangeVariant1Type.Last => "last", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static AccessTokenAuthConfigRequestType? ToEnum(string value) + public static ChartTimeRangeVariant1Type? ToEnum(string value) { return value switch { - "access_token" => AccessTokenAuthConfigRequestType.AccessToken, + "last" => ChartTimeRangeVariant1Type.Last, _ => null, }; } diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.AccessTokenAuthConfigRequest.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1Window.Json.g.cs similarity index 87% rename from src/libs/RetellAI/Generated/RetellAI.Models.AccessTokenAuthConfigRequest.Json.g.cs rename to src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1Window.Json.g.cs index 7ea08863..3fad5f40 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.AccessTokenAuthConfigRequest.Json.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1Window.Json.g.cs @@ -2,7 +2,7 @@ namespace RetellAI { - public sealed partial class AccessTokenAuthConfigRequest + public sealed partial class ChartTimeRangeVariant1Window { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::RetellAI.AccessTokenAuthConfigRequest? FromJson( + public static global::RetellAI.ChartTimeRangeVariant1Window? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::RetellAI.AccessTokenAuthConfigRequest), - jsonSerializerContext) as global::RetellAI.AccessTokenAuthConfigRequest; + typeof(global::RetellAI.ChartTimeRangeVariant1Window), + jsonSerializerContext) as global::RetellAI.ChartTimeRangeVariant1Window; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::RetellAI.AccessTokenAuthConfigRequest? FromJson( + public static global::RetellAI.ChartTimeRangeVariant1Window? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::RetellAI.AccessTokenAuthConfigRequest? FromJson( + public static global::RetellAI.ChartTimeRangeVariant1Window? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::RetellAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::RetellAI.AccessTokenAuthConfigRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.AccessTokenAuthConfigRequest; + typeof(global::RetellAI.ChartTimeRangeVariant1Window), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartTimeRangeVariant1Window; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::RetellAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1Window.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1Window.g.cs new file mode 100644 index 00000000..cfa74f5f --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1Window.g.cs @@ -0,0 +1,56 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartTimeRangeVariant1Window + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartTimeRangeVariant1WindowUnitJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartTimeRangeVariant1WindowUnit Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartTimeRangeVariant1Window( + global::RetellAI.ChartTimeRangeVariant1WindowUnit unit, + int value) + { + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartTimeRangeVariant1Window() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1WindowUnit.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1WindowUnit.g.cs new file mode 100644 index 00000000..938a670f --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant1WindowUnit.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartTimeRangeVariant1WindowUnit + { + /// + /// + /// + Day, + /// + /// + /// + Month, + /// + /// + /// + Week, + /// + /// + /// + Year, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartTimeRangeVariant1WindowUnitExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartTimeRangeVariant1WindowUnit value) + { + return value switch + { + ChartTimeRangeVariant1WindowUnit.Day => "day", + ChartTimeRangeVariant1WindowUnit.Month => "month", + ChartTimeRangeVariant1WindowUnit.Week => "week", + ChartTimeRangeVariant1WindowUnit.Year => "year", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartTimeRangeVariant1WindowUnit? ToEnum(string value) + { + return value switch + { + "day" => ChartTimeRangeVariant1WindowUnit.Day, + "month" => ChartTimeRangeVariant1WindowUnit.Month, + "week" => ChartTimeRangeVariant1WindowUnit.Week, + "year" => ChartTimeRangeVariant1WindowUnit.Year, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant2.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant2.Json.g.cs new file mode 100644 index 00000000..e9e8c456 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartTimeRangeVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartTimeRangeVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartTimeRangeVariant2), + jsonSerializerContext) as global::RetellAI.ChartTimeRangeVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartTimeRangeVariant2? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartTimeRangeVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartTimeRangeVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartTimeRangeVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant2.g.cs new file mode 100644 index 00000000..ce6ee893 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant2.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartTimeRangeVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartTimeRangeVariant2TypeJsonConverter))] + public global::RetellAI.ChartTimeRangeVariant2Type Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartTimeRangeVariant2( + global::System.Collections.Generic.IList value, + global::RetellAI.ChartTimeRangeVariant2Type type) + { + this.Type = type; + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// Initializes a new instance of the class. + /// + public ChartTimeRangeVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RefreshTokenAuthConfigRequestType.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant2Type.g.cs similarity index 61% rename from src/libs/RetellAI/Generated/RetellAI.Models.RefreshTokenAuthConfigRequestType.g.cs rename to src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant2Type.g.cs index fe8158b6..af1ceff3 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.RefreshTokenAuthConfigRequestType.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant2Type.g.cs @@ -6,38 +6,38 @@ namespace RetellAI /// /// /// - public enum RefreshTokenAuthConfigRequestType + public enum ChartTimeRangeVariant2Type { /// /// /// - RefreshToken, + Since, } /// /// Enum extensions to do fast conversions without the reflection. /// - public static class RefreshTokenAuthConfigRequestTypeExtensions + public static class ChartTimeRangeVariant2TypeExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this RefreshTokenAuthConfigRequestType value) + public static string ToValueString(this ChartTimeRangeVariant2Type value) { return value switch { - RefreshTokenAuthConfigRequestType.RefreshToken => "refresh_token", + ChartTimeRangeVariant2Type.Since => "since", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static RefreshTokenAuthConfigRequestType? ToEnum(string value) + public static ChartTimeRangeVariant2Type? ToEnum(string value) { return value switch { - "refresh_token" => RefreshTokenAuthConfigRequestType.RefreshToken, + "since" => ChartTimeRangeVariant2Type.Since, _ => null, }; } diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant3.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant3.Json.g.cs new file mode 100644 index 00000000..32b68350 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartTimeRangeVariant3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartTimeRangeVariant3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartTimeRangeVariant3), + jsonSerializerContext) as global::RetellAI.ChartTimeRangeVariant3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartTimeRangeVariant3? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartTimeRangeVariant3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartTimeRangeVariant3), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartTimeRangeVariant3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant3.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant3.g.cs new file mode 100644 index 00000000..80dba538 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant3.g.cs @@ -0,0 +1,56 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// The current day, week, month or year so far, resolved per request in the request's timezone. Weeks start Monday. + /// + public sealed partial class ChartTimeRangeVariant3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartTimeRangeVariant3TypeJsonConverter))] + public global::RetellAI.ChartTimeRangeVariant3Type Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartTimeRangeVariant3UnitJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.ChartTimeRangeVariant3Unit Unit { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartTimeRangeVariant3( + global::RetellAI.ChartTimeRangeVariant3Unit unit, + global::RetellAI.ChartTimeRangeVariant3Type type) + { + this.Type = type; + this.Unit = unit; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartTimeRangeVariant3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant3Type.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant3Type.g.cs new file mode 100644 index 00000000..c5a95098 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant3Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartTimeRangeVariant3Type + { + /// + /// + /// + ToDate, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartTimeRangeVariant3TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartTimeRangeVariant3Type value) + { + return value switch + { + ChartTimeRangeVariant3Type.ToDate => "to_date", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartTimeRangeVariant3Type? ToEnum(string value) + { + return value switch + { + "to_date" => ChartTimeRangeVariant3Type.ToDate, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant3Unit.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant3Unit.g.cs new file mode 100644 index 00000000..f0a43a3f --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant3Unit.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartTimeRangeVariant3Unit + { + /// + /// + /// + Day, + /// + /// + /// + Month, + /// + /// + /// + Week, + /// + /// + /// + Year, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartTimeRangeVariant3UnitExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartTimeRangeVariant3Unit value) + { + return value switch + { + ChartTimeRangeVariant3Unit.Day => "day", + ChartTimeRangeVariant3Unit.Month => "month", + ChartTimeRangeVariant3Unit.Week => "week", + ChartTimeRangeVariant3Unit.Year => "year", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartTimeRangeVariant3Unit? ToEnum(string value) + { + return value switch + { + "day" => ChartTimeRangeVariant3Unit.Day, + "month" => ChartTimeRangeVariant3Unit.Month, + "week" => ChartTimeRangeVariant3Unit.Week, + "year" => ChartTimeRangeVariant3Unit.Year, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant4.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant4.Json.g.cs new file mode 100644 index 00000000..a0af1943 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartTimeRangeVariant4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartTimeRangeVariant4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartTimeRangeVariant4), + jsonSerializerContext) as global::RetellAI.ChartTimeRangeVariant4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartTimeRangeVariant4? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartTimeRangeVariant4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartTimeRangeVariant4), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartTimeRangeVariant4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant4.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant4.g.cs new file mode 100644 index 00000000..f4490871 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant4.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartTimeRangeVariant4 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartTimeRangeVariant4TypeJsonConverter))] + public global::RetellAI.ChartTimeRangeVariant4Type Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartTimeRangeVariant4( + global::System.Collections.Generic.IList value, + global::RetellAI.ChartTimeRangeVariant4Type type) + { + this.Type = type; + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// Initializes a new instance of the class. + /// + public ChartTimeRangeVariant4() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant4Type.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant4Type.g.cs new file mode 100644 index 00000000..727ffc87 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant4Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartTimeRangeVariant4Type + { + /// + /// + /// + Fixed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartTimeRangeVariant4TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartTimeRangeVariant4Type value) + { + return value switch + { + ChartTimeRangeVariant4Type.Fixed => "fixed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartTimeRangeVariant4Type? ToEnum(string value) + { + return value switch + { + "fixed" => ChartTimeRangeVariant4Type.Fixed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant5.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant5.Json.g.cs new file mode 100644 index 00000000..7b3217fc --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ChartTimeRangeVariant5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ChartTimeRangeVariant5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ChartTimeRangeVariant5), + jsonSerializerContext) as global::RetellAI.ChartTimeRangeVariant5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ChartTimeRangeVariant5? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ChartTimeRangeVariant5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ChartTimeRangeVariant5), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ChartTimeRangeVariant5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant5.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant5.g.cs new file mode 100644 index 00000000..d95bc466 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant5.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ChartTimeRangeVariant5 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ChartTimeRangeVariant5TypeJsonConverter))] + public global::RetellAI.ChartTimeRangeVariant5Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChartTimeRangeVariant5( + global::RetellAI.ChartTimeRangeVariant5Type type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ChartTimeRangeVariant5() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant5Type.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant5Type.g.cs new file mode 100644 index 00000000..2a98ed74 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChartTimeRangeVariant5Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum ChartTimeRangeVariant5Type + { + /// + /// + /// + All, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChartTimeRangeVariant5TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChartTimeRangeVariant5Type value) + { + return value switch + { + ChartTimeRangeVariant5Type.All => "all", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChartTimeRangeVariant5Type? ToEnum(string value) + { + return value switch + { + "all" => ChartTimeRangeVariant5Type.All, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChatAgentRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChatAgentRequest.g.cs index f1dd18b1..652008e0 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ChatAgentRequest.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChatAgentRequest.g.cs @@ -57,7 +57,7 @@ public sealed partial class ChatAgentRequest public global::RetellAI.OneOf, global::RetellAI.ChatAgentRequestLanguage?>? Language { get; set; } /// - /// The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
+ /// The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will bind webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
/// Example: https://webhook-url-here ///
/// https://webhook-url-here @@ -112,7 +112,7 @@ public sealed partial class ChatAgentRequest public int? SignedUrlExpirationMs { get; set; } /// - /// Post Chat Extraction data to extract from the chat. This data will augment the pre-defined variables extracted in the chat analysis. This will be available after the chat ends. + /// Post chat analysis data to extract from the chat. This data will augment the pre-defined variables extracted in the chat analysis. This will be available after the chat ends. /// [global::System.Text.Json.Serialization.JsonPropertyName("post_chat_analysis_data")] public global::System.Collections.Generic.IList? PostChatAnalysisData { get; set; } @@ -180,7 +180,7 @@ public sealed partial class ChatAgentRequest /// Specifies what language(s) the agent will operate in. Accepts either a single locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g. `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted as a scalar, and is stored and returned as the ten locales it used to mean. It must not appear inside the array form. Send an explicit locale array instead. If unset, defaults to `en-US`. /// /// - /// The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
+ /// The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will bind webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
/// Example: https://webhook-url-here /// /// @@ -207,7 +207,7 @@ public sealed partial class ChatAgentRequest /// Example: 86400000 /// /// - /// Post Chat Extraction data to extract from the chat. This data will augment the pre-defined variables extracted in the chat analysis. This will be available after the chat ends. + /// Post chat analysis data to extract from the chat. This data will augment the pre-defined variables extracted in the chat analysis. This will be available after the chat ends. /// /// /// Available LLM models for agents. diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChatAnalysis.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChatAnalysis.g.cs index b3fc72c4..9c48133b 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ChatAnalysis.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChatAnalysis.g.cs @@ -34,7 +34,7 @@ public sealed partial class ChatAnalysis public bool? ChatSuccessful { get; set; } /// - /// Custom analysis data that was extracted based on the schema defined in chat agent Post Chat Extraction data. Can be empty if nothing is specified. + /// Custom analysis data that was extracted based on the schema defined in chat agent post chat analysis data. Can be empty if nothing is specified. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_analysis_data")] public object? CustomAnalysisData { get; set; } @@ -61,7 +61,7 @@ public sealed partial class ChatAnalysis /// Example: true /// /// - /// Custom analysis data that was extracted based on the schema defined in chat agent Post Chat Extraction data. Can be empty if nothing is specified. + /// Custom analysis data that was extracted based on the schema defined in chat agent post chat analysis data. Can be empty if nothing is specified. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChatAnalysisCustomAnalysisData.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChatAnalysisCustomAnalysisData.g.cs index 87865023..e8b409bd 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ChatAnalysisCustomAnalysisData.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChatAnalysisCustomAnalysisData.g.cs @@ -4,7 +4,7 @@ namespace RetellAI { /// - /// Custom analysis data that was extracted based on the schema defined in chat agent Post Chat Extraction data. Can be empty if nothing is specified. + /// Custom analysis data that was extracted based on the schema defined in chat agent post chat analysis data. Can be empty if nothing is specified. /// public sealed partial class ChatAnalysisCustomAnalysisData { diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChatPresetAnalysisData.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChatPresetAnalysisData.g.cs index deb8ada4..98afd60a 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ChatPresetAnalysisData.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChatPresetAnalysisData.g.cs @@ -4,7 +4,7 @@ namespace RetellAI { /// - /// System preset for Post Chat Extraction (chat agents). Use in post_chat_analysis_data to override prompts or mark fields optional. + /// System preset for post-chat analysis (chat agents). Use in post_chat_analysis_data to override prompts or mark fields optional. /// public sealed partial class ChatPresetAnalysisData { diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CheckAvailabilityCalTool.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CheckAvailabilityCalTool.g.cs index 2db242f0..90085043 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.CheckAvailabilityCalTool.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CheckAvailabilityCalTool.g.cs @@ -18,7 +18,7 @@ public sealed partial class CheckAvailabilityCalTool public global::RetellAI.CheckAvailabilityCalToolType Type { get; set; } /// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] [global::System.Text.Json.Serialization.JsonRequired] @@ -33,7 +33,7 @@ public sealed partial class CheckAvailabilityCalTool public string? Description { get; set; } /// - /// Cal.com Api key that have access to the cal.com event you want to check availability for. + /// Cal.com Api key that has access to the cal.com event you want to check availability for. /// [global::System.Text.Json.Serialization.JsonPropertyName("cal_api_key")] [global::System.Text.Json.Serialization.JsonRequired] @@ -66,10 +66,10 @@ public sealed partial class CheckAvailabilityCalTool /// Initializes a new instance of the class. ///
/// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// /// - /// Cal.com Api key that have access to the cal.com event you want to check availability for. + /// Cal.com Api key that has access to the cal.com event you want to check availability for. /// /// /// Cal.com event type id number for the cal.com event you want to check availability for. Can be a number or a dynamic variable in the format `{{variable_name}}` that will be resolved at runtime. diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CodeTool.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CodeTool.g.cs index dbaa624d..61600d56 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.CodeTool.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CodeTool.g.cs @@ -16,7 +16,7 @@ public sealed partial class CodeTool public global::RetellAI.CodeToolType Type { get; set; } /// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] [global::System.Text.Json.Serialization.JsonRequired] @@ -91,7 +91,7 @@ public sealed partial class CodeTool /// Initializes a new instance of the class. ///
/// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// /// /// JavaScript code to execute in the sandbox. diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ContactCall.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ContactCall.g.cs index 8040fabe..13defd3e 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ContactCall.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ContactCall.g.cs @@ -48,20 +48,20 @@ public sealed partial class ContactCall public string? DisconnectionReason { get; set; } /// - /// Post Call Extraction summary. + /// Post-call analysis summary. /// [global::System.Text.Json.Serialization.JsonPropertyName("summary")] public string? Summary { get; set; } /// - /// User sentiment from Post Call Extraction. + /// User sentiment from post-call analysis. /// [global::System.Text.Json.Serialization.JsonPropertyName("sentiment")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ContactCallSentimentJsonConverter))] public global::RetellAI.ContactCallSentiment? Sentiment { get; set; } /// - /// Whether the call was deemed successful by Post Call Extraction. + /// Whether the call was deemed successful by post-call analysis. /// [global::System.Text.Json.Serialization.JsonPropertyName("successful")] public bool? Successful { get; set; } @@ -90,13 +90,13 @@ public sealed partial class ContactCall /// Reason the call ended. /// /// - /// Post Call Extraction summary. + /// Post-call analysis summary. /// /// - /// User sentiment from Post Call Extraction. + /// User sentiment from post-call analysis. /// /// - /// Whether the call was deemed successful by Post Call Extraction. + /// Whether the call was deemed successful by post-call analysis. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ContactCallSentiment.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ContactCallSentiment.g.cs index cc2c1210..e47fec18 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ContactCallSentiment.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ContactCallSentiment.g.cs @@ -4,7 +4,7 @@ namespace RetellAI { /// - /// User sentiment from Post Call Extraction. + /// User sentiment from post-call analysis. /// public enum ContactCallSentiment { diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ContactChat.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ContactChat.g.cs index 04d6164f..65fc4b80 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ContactChat.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ContactChat.g.cs @@ -48,20 +48,20 @@ public sealed partial class ContactChat public string? DisconnectionReason { get; set; } /// - /// Post Chat Extraction summary. + /// Post-chat analysis summary. /// [global::System.Text.Json.Serialization.JsonPropertyName("summary")] public string? Summary { get; set; } /// - /// User sentiment from Post Chat Extraction. + /// User sentiment from post-chat analysis. /// [global::System.Text.Json.Serialization.JsonPropertyName("sentiment")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.ContactChatSentimentJsonConverter))] public global::RetellAI.ContactChatSentiment? Sentiment { get; set; } /// - /// Whether the chat was deemed successful by Post Chat Extraction. + /// Whether the chat was deemed successful by post-chat analysis. /// [global::System.Text.Json.Serialization.JsonPropertyName("successful")] public bool? Successful { get; set; } @@ -90,13 +90,13 @@ public sealed partial class ContactChat /// Reason the chat ended. /// /// - /// Post Chat Extraction summary. + /// Post-chat analysis summary. /// /// - /// User sentiment from Post Chat Extraction. + /// User sentiment from post-chat analysis. /// /// - /// Whether the chat was deemed successful by Post Chat Extraction. + /// Whether the chat was deemed successful by post-chat analysis. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ContactChatSentiment.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ContactChatSentiment.g.cs index 2721cffb..9863317d 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ContactChatSentiment.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ContactChatSentiment.g.cs @@ -4,7 +4,7 @@ namespace RetellAI { /// - /// User sentiment from Post Chat Extraction. + /// User sentiment from post-chat analysis. /// public enum ContactChatSentiment { diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponse.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponse.Json.g.cs index e1d5bbe2..5da0b9f4 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponse.Json.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace RetellAI { - public sealed partial class ContactConversationListResponse + public readonly partial struct ContactConversationListResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -54,7 +54,7 @@ public string ToJson( return global::System.Text.Json.JsonSerializer.Deserialize( json, typeof(global::RetellAI.ContactConversationListResponse), - jsonSerializerContext) as global::RetellAI.ContactConversationListResponse; + jsonSerializerContext) as global::RetellAI.ContactConversationListResponse?; } /// @@ -101,7 +101,7 @@ public string ToJson( return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, typeof(global::RetellAI.ContactConversationListResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ContactConversationListResponse; + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ContactConversationListResponse?; } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponse.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponse.g.cs index acb9e42d..5f22b5d1 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponse.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponse.g.cs @@ -1,3 +1,4 @@ +#pragma warning disable CS0618 // Type or member is obsolete #nullable enable @@ -6,61 +7,289 @@ namespace RetellAI /// /// /// - public sealed partial class ContactConversationListResponse + public readonly partial struct ContactConversationListResponse : global::System.IEquatable { /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } +#if NET6_0_OR_GREATER + public global::RetellAI.PaginatedResponseBase? PaginatedBase { get; init; } +#else + public global::RetellAI.PaginatedResponseBase? PaginatedBase { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PaginatedBase))] +#endif + public bool IsPaginatedBase => PaginatedBase != null; + + /// + /// + /// + public bool TryPickPaginatedBase( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::RetellAI.PaginatedResponseBase? value) + { + value = PaginatedBase; + return IsPaginatedBase; + } /// - /// Base64url-encoded pagination key. Pass as `pagination_key` query parameter to fetch the next page. + /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("pagination_key")] - public string? PaginationKey { get; set; } + public global::RetellAI.PaginatedResponseBase PickPaginatedBase() => IsPaginatedBase + ? PaginatedBase! + : throw new global::System.InvalidOperationException($"Expected union variant 'PaginatedBase' but the value was {ToString()}."); /// - /// Whether more conversations exist beyond the returned window. + /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("has_more")] - public bool? HasMore { get; set; } +#if NET6_0_OR_GREATER + public global::RetellAI.ContactConversationListResponseVariant2? ContactConversationListResponseVariant2 { get; init; } +#else + public global::RetellAI.ContactConversationListResponseVariant2? ContactConversationListResponseVariant2 { get; } +#endif /// - /// Additional properties that are not explicitly defined in the schema + /// /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ContactConversationListResponseVariant2))] +#endif + public bool IsContactConversationListResponseVariant2 => ContactConversationListResponseVariant2 != null; /// - /// Initializes a new instance of the class. + /// /// - /// - /// - /// Base64url-encoded pagination key. Pass as `pagination_key` query parameter to fetch the next page. - /// - /// - /// Whether more conversations exist beyond the returned window. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public bool TryPickContactConversationListResponseVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif + out global::RetellAI.ContactConversationListResponseVariant2? value) + { + value = ContactConversationListResponseVariant2; + return IsContactConversationListResponseVariant2; + } + + /// + /// + /// + public global::RetellAI.ContactConversationListResponseVariant2 PickContactConversationListResponseVariant2() => IsContactConversationListResponseVariant2 + ? ContactConversationListResponseVariant2! + : throw new global::System.InvalidOperationException($"Expected union variant 'ContactConversationListResponseVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator ContactConversationListResponse(global::RetellAI.PaginatedResponseBase value) => new ContactConversationListResponse((global::RetellAI.PaginatedResponseBase?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.PaginatedResponseBase?(ContactConversationListResponse @this) => @this.PaginatedBase; + + /// + /// + /// + public ContactConversationListResponse(global::RetellAI.PaginatedResponseBase? value) + { + PaginatedBase = value; + } + + /// + /// + /// + public static ContactConversationListResponse FromPaginatedBase(global::RetellAI.PaginatedResponseBase? value) => new ContactConversationListResponse(value); + + /// + /// + /// + public static implicit operator ContactConversationListResponse(global::RetellAI.ContactConversationListResponseVariant2 value) => new ContactConversationListResponse((global::RetellAI.ContactConversationListResponseVariant2?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.ContactConversationListResponseVariant2?(ContactConversationListResponse @this) => @this.ContactConversationListResponseVariant2; + + /// + /// + /// + public ContactConversationListResponse(global::RetellAI.ContactConversationListResponseVariant2? value) + { + ContactConversationListResponseVariant2 = value; + } + + /// + /// + /// + public static ContactConversationListResponse FromContactConversationListResponseVariant2(global::RetellAI.ContactConversationListResponseVariant2? value) => new ContactConversationListResponse(value); + + /// + /// + /// public ContactConversationListResponse( - global::System.Collections.Generic.IList? items, - string? paginationKey, - bool? hasMore) + global::RetellAI.PaginatedResponseBase? paginatedBase, + global::RetellAI.ContactConversationListResponseVariant2? contactConversationListResponseVariant2 + ) + { + PaginatedBase = paginatedBase; + ContactConversationListResponseVariant2 = contactConversationListResponseVariant2; + } + + /// + /// + /// + public object? Object => + ContactConversationListResponseVariant2 as object ?? + PaginatedBase as object + ; + + /// + /// + /// + public override string? ToString() => + PaginatedBase?.ToString() ?? + ContactConversationListResponseVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsPaginatedBase && IsContactConversationListResponseVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? paginatedBase = null, + global::System.Func? contactConversationListResponseVariant2 = null, + bool validate = true) { - this.Items = items; - this.PaginationKey = paginationKey; - this.HasMore = hasMore; + if (validate) + { + Validate(); + } + + if (IsPaginatedBase && paginatedBase != null) + { + return paginatedBase(PaginatedBase!); + } + else if (IsContactConversationListResponseVariant2 && contactConversationListResponseVariant2 != null) + { + return contactConversationListResponseVariant2(ContactConversationListResponseVariant2!); + } + + return default(TResult); } /// - /// Initializes a new instance of the class. + /// /// - public ContactConversationListResponse() + public void Match( + global::System.Action? paginatedBase = null, + + global::System.Action? contactConversationListResponseVariant2 = null, + bool validate = true) { + if (validate) + { + Validate(); + } + + if (IsPaginatedBase) + { + paginatedBase?.Invoke(PaginatedBase!); + } + else if (IsContactConversationListResponseVariant2) + { + contactConversationListResponseVariant2?.Invoke(ContactConversationListResponseVariant2!); + } } + /// + /// + /// + public void Switch( + global::System.Action? paginatedBase = null, + global::System.Action? contactConversationListResponseVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsPaginatedBase) + { + paginatedBase?.Invoke(PaginatedBase!); + } + else if (IsContactConversationListResponseVariant2) + { + contactConversationListResponseVariant2?.Invoke(ContactConversationListResponseVariant2!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + PaginatedBase, + typeof(global::RetellAI.PaginatedResponseBase), + ContactConversationListResponseVariant2, + typeof(global::RetellAI.ContactConversationListResponseVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(ContactConversationListResponse other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(PaginatedBase, other.PaginatedBase) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ContactConversationListResponseVariant2, other.ContactConversationListResponseVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(ContactConversationListResponse obj1, ContactConversationListResponse obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(ContactConversationListResponse obj1, ContactConversationListResponse obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ContactConversationListResponse o && Equals(o); + } } -} \ No newline at end of file +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponseVariant2.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponseVariant2.Json.g.cs new file mode 100644 index 00000000..e9c0453f --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponseVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ContactConversationListResponseVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ContactConversationListResponseVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ContactConversationListResponseVariant2), + jsonSerializerContext) as global::RetellAI.ContactConversationListResponseVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ContactConversationListResponseVariant2? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ContactConversationListResponseVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ContactConversationListResponseVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ContactConversationListResponseVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponseVariant2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponseVariant2.g.cs new file mode 100644 index 00000000..a0bc6868 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ContactConversationListResponseVariant2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ContactConversationListResponseVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("items")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ContactConversationListResponseVariant2( + global::System.Collections.Generic.IList items) + { + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); + } + + /// + /// Initializes a new instance of the class. + /// + public ContactConversationListResponseVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponse.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponse.Json.g.cs index 76a342bd..3bf55b9c 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponse.Json.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace RetellAI { - public sealed partial class ContactListResponse + public readonly partial struct ContactListResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -54,7 +54,7 @@ public string ToJson( return global::System.Text.Json.JsonSerializer.Deserialize( json, typeof(global::RetellAI.ContactListResponse), - jsonSerializerContext) as global::RetellAI.ContactListResponse; + jsonSerializerContext) as global::RetellAI.ContactListResponse?; } /// @@ -101,7 +101,7 @@ public string ToJson( return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, typeof(global::RetellAI.ContactListResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ContactListResponse; + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ContactListResponse?; } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponse.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponse.g.cs index 23edd560..6bbe6d85 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponse.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponse.g.cs @@ -1,3 +1,4 @@ +#pragma warning disable CS0618 // Type or member is obsolete #nullable enable @@ -6,70 +7,289 @@ namespace RetellAI /// /// /// - public sealed partial class ContactListResponse + public readonly partial struct ContactListResponse : global::System.IEquatable { /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } +#if NET6_0_OR_GREATER + public global::RetellAI.PaginatedResponseBase? PaginatedBase { get; init; } +#else + public global::RetellAI.PaginatedResponseBase? PaginatedBase { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PaginatedBase))] +#endif + public bool IsPaginatedBase => PaginatedBase != null; /// - /// Base64url-encoded pagination key for the next page. + /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("pagination_key")] - public string? PaginationKey { get; set; } + public bool TryPickPaginatedBase( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::RetellAI.PaginatedResponseBase? value) + { + value = PaginatedBase; + return IsPaginatedBase; + } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("has_more")] - public bool? HasMore { get; set; } + public global::RetellAI.PaginatedResponseBase PickPaginatedBase() => IsPaginatedBase + ? PaginatedBase! + : throw new global::System.InvalidOperationException($"Expected union variant 'PaginatedBase' but the value was {ToString()}."); /// - /// Total count of contacts matching the filter. + /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("total")] - public double? Total { get; set; } +#if NET6_0_OR_GREATER + public global::RetellAI.ContactListResponseVariant2? ContactListResponseVariant2 { get; init; } +#else + public global::RetellAI.ContactListResponseVariant2? ContactListResponseVariant2 { get; } +#endif /// - /// Additional properties that are not explicitly defined in the schema + /// /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ContactListResponseVariant2))] +#endif + public bool IsContactListResponseVariant2 => ContactListResponseVariant2 != null; /// - /// Initializes a new instance of the class. + /// /// - /// - /// - /// Base64url-encoded pagination key for the next page. - /// - /// - /// - /// Total count of contacts matching the filter. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public bool TryPickContactListResponseVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif + out global::RetellAI.ContactListResponseVariant2? value) + { + value = ContactListResponseVariant2; + return IsContactListResponseVariant2; + } + + /// + /// + /// + public global::RetellAI.ContactListResponseVariant2 PickContactListResponseVariant2() => IsContactListResponseVariant2 + ? ContactListResponseVariant2! + : throw new global::System.InvalidOperationException($"Expected union variant 'ContactListResponseVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator ContactListResponse(global::RetellAI.PaginatedResponseBase value) => new ContactListResponse((global::RetellAI.PaginatedResponseBase?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.PaginatedResponseBase?(ContactListResponse @this) => @this.PaginatedBase; + + /// + /// + /// + public ContactListResponse(global::RetellAI.PaginatedResponseBase? value) + { + PaginatedBase = value; + } + + /// + /// + /// + public static ContactListResponse FromPaginatedBase(global::RetellAI.PaginatedResponseBase? value) => new ContactListResponse(value); + + /// + /// + /// + public static implicit operator ContactListResponse(global::RetellAI.ContactListResponseVariant2 value) => new ContactListResponse((global::RetellAI.ContactListResponseVariant2?)value); + + /// + /// + /// + public static implicit operator global::RetellAI.ContactListResponseVariant2?(ContactListResponse @this) => @this.ContactListResponseVariant2; + + /// + /// + /// + public ContactListResponse(global::RetellAI.ContactListResponseVariant2? value) + { + ContactListResponseVariant2 = value; + } + + /// + /// + /// + public static ContactListResponse FromContactListResponseVariant2(global::RetellAI.ContactListResponseVariant2? value) => new ContactListResponse(value); + + /// + /// + /// public ContactListResponse( - global::System.Collections.Generic.IList? items, - string? paginationKey, - bool? hasMore, - double? total) + global::RetellAI.PaginatedResponseBase? paginatedBase, + global::RetellAI.ContactListResponseVariant2? contactListResponseVariant2 + ) + { + PaginatedBase = paginatedBase; + ContactListResponseVariant2 = contactListResponseVariant2; + } + + /// + /// + /// + public object? Object => + ContactListResponseVariant2 as object ?? + PaginatedBase as object + ; + + /// + /// + /// + public override string? ToString() => + PaginatedBase?.ToString() ?? + ContactListResponseVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() { - this.Items = items; - this.PaginationKey = paginationKey; - this.HasMore = hasMore; - this.Total = total; + return IsPaginatedBase && IsContactListResponseVariant2; } /// - /// Initializes a new instance of the class. + /// /// - public ContactListResponse() + public TResult? Match( + global::System.Func? paginatedBase = null, + global::System.Func? contactListResponseVariant2 = null, + bool validate = true) { + if (validate) + { + Validate(); + } + + if (IsPaginatedBase && paginatedBase != null) + { + return paginatedBase(PaginatedBase!); + } + else if (IsContactListResponseVariant2 && contactListResponseVariant2 != null) + { + return contactListResponseVariant2(ContactListResponseVariant2!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? paginatedBase = null, + + global::System.Action? contactListResponseVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsPaginatedBase) + { + paginatedBase?.Invoke(PaginatedBase!); + } + else if (IsContactListResponseVariant2) + { + contactListResponseVariant2?.Invoke(ContactListResponseVariant2!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? paginatedBase = null, + global::System.Action? contactListResponseVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsPaginatedBase) + { + paginatedBase?.Invoke(PaginatedBase!); + } + else if (IsContactListResponseVariant2) + { + contactListResponseVariant2?.Invoke(ContactListResponseVariant2!); + } } + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + PaginatedBase, + typeof(global::RetellAI.PaginatedResponseBase), + ContactListResponseVariant2, + typeof(global::RetellAI.ContactListResponseVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(ContactListResponse other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(PaginatedBase, other.PaginatedBase) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ContactListResponseVariant2, other.ContactListResponseVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(ContactListResponse obj1, ContactListResponse obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(ContactListResponse obj1, ContactListResponse obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ContactListResponse o && Equals(o); + } } -} \ No newline at end of file +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponseVariant2.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponseVariant2.Json.g.cs new file mode 100644 index 00000000..841cbce6 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponseVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class ContactListResponseVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.ContactListResponseVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.ContactListResponseVariant2), + jsonSerializerContext) as global::RetellAI.ContactListResponseVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.ContactListResponseVariant2? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.ContactListResponseVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.ContactListResponseVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.ContactListResponseVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponseVariant2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponseVariant2.g.cs new file mode 100644 index 00000000..9ffcc968 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ContactListResponseVariant2.g.cs @@ -0,0 +1,56 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class ContactListResponseVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("items")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } + + /// + /// Total count of contacts matching the filter. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total")] + public double? Total { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Total count of contacts matching the filter. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ContactListResponseVariant2( + global::System.Collections.Generic.IList items, + double? total) + { + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); + this.Total = total; + } + + /// + /// Initializes a new instance of the class. + /// + public ContactListResponseVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAppRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAppRequest.g.cs index 6079a8c1..ed25abe5 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAppRequest.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAppRequest.g.cs @@ -42,7 +42,7 @@ public sealed partial class CreateAppRequest public string? TenantId { get; set; } /// - /// + /// Caller-managed credentials. Providers using the OAuth callback reject auth_config and must be authorized through connect-app. /// [global::System.Text.Json.Serialization.JsonPropertyName("auth_config")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.AuthConfigRequestJsonConverter))] @@ -78,7 +78,9 @@ public sealed partial class CreateAppRequest /// /// Sub-account id, for providers that scope requests by a sub-account id on a shared host. /// - /// + /// + /// Caller-managed credentials. Providers using the OAuth callback reject auth_config and must be authorized through connect-app. + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CustomTool.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CustomTool.g.cs index 9ac06778..c062427d 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.CustomTool.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CustomTool.g.cs @@ -16,7 +16,7 @@ public sealed partial class CustomTool public global::RetellAI.CustomToolType Type { get; set; } /// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] [global::System.Text.Json.Serialization.JsonRequired] @@ -59,7 +59,7 @@ public sealed partial class CustomTool public global::System.Collections.Generic.Dictionary? QueryParams { get; set; } /// - /// The parameters the functions accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format. Omitting parameters defines a function with an empty parameter list. + /// The parameters the function accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format. Omitting parameters defines a function with an empty parameter list. /// [global::System.Text.Json.Serialization.JsonPropertyName("parameters")] public global::RetellAI.ToolParameter? Parameters { get; set; } @@ -138,7 +138,7 @@ public sealed partial class CustomTool /// Initializes a new instance of the class. /// /// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// /// /// Describes what the tool does, sometimes can also include information about when to call the tool. @@ -159,7 +159,7 @@ public sealed partial class CustomTool /// Example: {"page":"1","sort":"asc"} /// /// - /// The parameters the functions accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format. Omitting parameters defines a function with an empty parameter list. + /// The parameters the function accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format. Omitting parameters defines a function with an empty parameter list. /// /// /// A mapping of variable names to JSON paths in the response body. These values will be extracted from the response and made available as dynamic variables for use.
diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.EndCallTool.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.EndCallTool.g.cs index da7046ef..643a688f 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.EndCallTool.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.EndCallTool.g.cs @@ -16,7 +16,7 @@ public sealed partial class EndCallTool public global::RetellAI.EndCallToolType Type { get; set; } /// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] [global::System.Text.Json.Serialization.JsonRequired] @@ -57,7 +57,7 @@ public sealed partial class EndCallTool /// Initializes a new instance of the class. ///
/// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ExtractDynamicVariableTool.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ExtractDynamicVariableTool.g.cs index 93ca56f7..5abd2b5f 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ExtractDynamicVariableTool.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ExtractDynamicVariableTool.g.cs @@ -16,7 +16,7 @@ public sealed partial class ExtractDynamicVariableTool public global::RetellAI.ExtractDynamicVariableToolType Type { get; set; } /// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] [global::System.Text.Json.Serialization.JsonRequired] @@ -52,7 +52,7 @@ public sealed partial class ExtractDynamicVariableTool /// Initializes a new instance of the class. ///
/// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// /// /// Describes what the tool does, sometimes can also include information about when to call the tool. diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.GlobalNodeFinetuneTransitionExample.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.GlobalNodeFinetuneTransitionExample.g.cs index 8066ad18..d7b4cf8f 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.GlobalNodeFinetuneTransitionExample.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.GlobalNodeFinetuneTransitionExample.g.cs @@ -9,7 +9,7 @@ namespace RetellAI public sealed partial class GlobalNodeFinetuneTransitionExample { /// - /// Find tune the transition condition to this global node + /// Fine tune the transition condition to this global node /// [global::System.Text.Json.Serialization.JsonPropertyName("transcript")] [global::System.Text.Json.Serialization.JsonRequired] @@ -25,7 +25,7 @@ public sealed partial class GlobalNodeFinetuneTransitionExample /// Initializes a new instance of the class. ///
/// - /// Find tune the transition condition to this global node + /// Fine tune the transition condition to this global node /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ImportPhoneNumberRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ImportPhoneNumberRequest.g.cs index 0ef69277..0cba5589 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ImportPhoneNumberRequest.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ImportPhoneNumberRequest.g.cs @@ -26,7 +26,7 @@ public sealed partial class ImportPhoneNumberRequest public bool? IgnoreE164Validation { get; set; } /// - /// The termination uri to uniquely identify your elastic SIP trunk. This is used for outbound calls. For Twilio elastic SIP trunks it always end with ".pstn.twilio.com".
+ /// The termination uri to uniquely identify your elastic SIP trunk. This is used for outbound calls. For Twilio elastic SIP trunks it always ends with ".pstn.twilio.com".
/// Example: someuri.pstn.twilio.com ///
/// someuri.pstn.twilio.com @@ -116,7 +116,7 @@ public sealed partial class ImportPhoneNumberRequest /// Example: +14157774444 /// /// - /// The termination uri to uniquely identify your elastic SIP trunk. This is used for outbound calls. For Twilio elastic SIP trunks it always end with ".pstn.twilio.com".
+ /// The termination uri to uniquely identify your elastic SIP trunk. This is used for outbound calls. For Twilio elastic SIP trunks it always ends with ".pstn.twilio.com".
/// Example: someuri.pstn.twilio.com /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseRequest.g.cs index b124b809..6d473eb7 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseRequest.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseRequest.g.cs @@ -46,7 +46,7 @@ public sealed partial class KnowledgeBaseRequest public bool? EnableAutoRefresh { get; set; } /// - /// Maximum number of characters per chunk when splitting knowledge base. Default is 2000. content. Immutable after creation.
+ /// Maximum number of characters per chunk when splitting knowledge base content. Default is 2000. Immutable after creation.
/// Example: 2000 ///
/// 2000 @@ -89,7 +89,7 @@ public sealed partial class KnowledgeBaseRequest /// Example: true /// /// - /// Maximum number of characters per chunk when splitting knowledge base. Default is 2000. content. Immutable after creation.
+ /// Maximum number of characters per chunk when splitting knowledge base content. Default is 2000. Immutable after creation.
/// Example: 2000 /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListAgentVersionsResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListAgentVersionsResponse2.g.cs index 71cbf695..5d904f21 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListAgentVersionsResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListAgentVersionsResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListAgentVersionsResponse2 /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,9 +29,9 @@ public sealed partial class ListAgentVersionsResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListAgentVersionsResponse2( - global::System.Collections.Generic.IList? items) + global::System.Collections.Generic.IList items) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListAgentsResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListAgentsResponse2.g.cs index f00ba1eb..4c4292f0 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListAgentsResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListAgentsResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListAgentsResponse2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,9 +29,9 @@ public sealed partial class ListAgentsResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListAgentsResponse2( - global::System.Collections.Generic.IList? items) + global::System.Collections.Generic.IList items) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListAppUsagesResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListAppUsagesResponse2.g.cs index 9e78e9ac..03aabac7 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListAppUsagesResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListAppUsagesResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListAppUsagesResponse2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,9 +29,9 @@ public sealed partial class ListAppUsagesResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListAppUsagesResponse2( - global::System.Collections.Generic.IList? items) + global::System.Collections.Generic.IList items) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListAppsResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListAppsResponse2.g.cs index 24ef5540..979766ce 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListAppsResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListAppsResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListAppsResponse2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,9 +29,9 @@ public sealed partial class ListAppsResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListAppsResponse2( - global::System.Collections.Generic.IList? items) + global::System.Collections.Generic.IList items) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListBatchTestsResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListBatchTestsResponse2.g.cs index 56f81dc1..ca81dd84 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListBatchTestsResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListBatchTestsResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListBatchTestsResponse2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,9 +29,9 @@ public sealed partial class ListBatchTestsResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListBatchTestsResponse2( - global::System.Collections.Generic.IList? items) + global::System.Collections.Generic.IList items) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListCallsResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListCallsResponse2.g.cs index da7fe822..23909f1f 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListCallsResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListCallsResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListCallsResponse2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Total number of calls matching `filter_criteria`. Only present when `include_total` is true. @@ -37,10 +38,10 @@ public sealed partial class ListCallsResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListCallsResponse2( - global::System.Collections.Generic.IList? items, + global::System.Collections.Generic.IList items, int? total) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); this.Total = total; } diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListChatsResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListChatsResponse2.g.cs index f2f80d0a..83d7e8ab 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListChatsResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListChatsResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListChatsResponse2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Total number of chats matching `filter_criteria`. Only present when `include_total` is true. @@ -37,10 +38,10 @@ public sealed partial class ListChatsResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListChatsResponse2( - global::System.Collections.Generic.IList? items, + global::System.Collections.Generic.IList items, int? total) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); this.Total = total; } diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListConversationFlowComponentsResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListConversationFlowComponentsResponse2.g.cs index 8289c339..814009e2 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListConversationFlowComponentsResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListConversationFlowComponentsResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListConversationFlowComponentsResponse2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,9 +29,9 @@ public sealed partial class ListConversationFlowComponentsResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListConversationFlowComponentsResponse2( - global::System.Collections.Generic.IList? items) + global::System.Collections.Generic.IList items) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListConversationFlowsResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListConversationFlowsResponse2.g.cs index 7fcd3829..53958e63 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListConversationFlowsResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListConversationFlowsResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListConversationFlowsResponse2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,9 +29,9 @@ public sealed partial class ListConversationFlowsResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListConversationFlowsResponse2( - global::System.Collections.Generic.IList? items) + global::System.Collections.Generic.IList items) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListExportRequestsResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListExportRequestsResponse2.g.cs index d6b6f9fa..f254bcd8 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListExportRequestsResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListExportRequestsResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListExportRequestsResponse2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,9 +29,9 @@ public sealed partial class ListExportRequestsResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListExportRequestsResponse2( - global::System.Collections.Generic.IList? items) + global::System.Collections.Generic.IList items) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListPhoneNumbersResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListPhoneNumbersResponse2.g.cs index ef816fab..b2ed87eb 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListPhoneNumbersResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListPhoneNumbersResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListPhoneNumbersResponse2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,9 +29,9 @@ public sealed partial class ListPhoneNumbersResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListPhoneNumbersResponse2( - global::System.Collections.Generic.IList? items) + global::System.Collections.Generic.IList items) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListRetellLLMResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListRetellLLMResponse2.g.cs index bc6f6129..b9ce5534 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListRetellLLMResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListRetellLLMResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListRetellLLMResponse2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,9 +29,9 @@ public sealed partial class ListRetellLLMResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListRetellLLMResponse2( - global::System.Collections.Generic.IList? items) + global::System.Collections.Generic.IList items) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListTestCaseDefinitionsResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListTestCaseDefinitionsResponse2.g.cs index fe6b0262..119b5aee 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListTestCaseDefinitionsResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListTestCaseDefinitionsResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListTestCaseDefinitionsResponse2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,9 +29,9 @@ public sealed partial class ListTestCaseDefinitionsResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListTestCaseDefinitionsResponse2( - global::System.Collections.Generic.IList? items) + global::System.Collections.Generic.IList items) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ListTestRunsResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ListTestRunsResponse2.g.cs index 82b8ea12..ed232791 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ListTestRunsResponse2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ListTestRunsResponse2.g.cs @@ -12,7 +12,8 @@ public sealed partial class ListTestRunsResponse2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] - public global::System.Collections.Generic.IList? Items { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,9 +29,9 @@ public sealed partial class ListTestRunsResponse2 [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListTestRunsResponse2( - global::System.Collections.Generic.IList? items) + global::System.Collections.Generic.IList items) { - this.Items = items; + this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.Mcp.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.Mcp.g.cs index a8666246..cd916831 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.Mcp.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.Mcp.g.cs @@ -31,7 +31,7 @@ public sealed partial class Mcp public global::System.Collections.Generic.Dictionary? Headers { get; set; } /// - /// Query parameters to append to the MCP connection request URL.
+ /// Query parameters to append to the MCP connection request URL.
/// Example: {"index":"1","key":"value"} ///
/// {"index":"1","key":"value"} @@ -62,7 +62,7 @@ public sealed partial class Mcp /// Example: {"Authorization":"Bearer 1234567890"} /// /// - /// Query parameters to append to the MCP connection request URL.
+ /// Query parameters to append to the MCP connection request URL.
/// Example: {"index":"1","key":"value"} /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.McpQueryParams.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.McpQueryParams.g.cs index 6a93e77d..b308b5b8 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.McpQueryParams.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.McpQueryParams.g.cs @@ -4,7 +4,7 @@ namespace RetellAI { /// - /// Query parameters to append to the MCP connection request URL.
+ /// Query parameters to append to the MCP connection request URL.
/// Example: {"index":"1","key":"value"} ///
public sealed partial class McpQueryParams diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.NodeTransitionUtterance.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.NodeTransitionUtterance.g.cs index a4cbeecd..8ec91129 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.NodeTransitionUtterance.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.NodeTransitionUtterance.g.cs @@ -9,7 +9,7 @@ namespace RetellAI public sealed partial class NodeTransitionUtterance { /// - /// This is result of a node transition + /// This is the result of a node transition. /// [global::System.Text.Json.Serialization.JsonPropertyName("role")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.NodeTransitionUtteranceRoleJsonConverter))] @@ -72,7 +72,7 @@ public sealed partial class NodeTransitionUtterance /// New node name /// /// - /// This is result of a node transition + /// This is the result of a node transition. /// /// /// How this node was reached. "global" means a global node transition, "global_go_back" means returning from a global node, "interrupt_go_back" means going back due to user interruption, and "normal" means a regular edge transition. diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.NodeTransitionUtteranceRole.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.NodeTransitionUtteranceRole.g.cs index e397a4b0..b604a0e1 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.NodeTransitionUtteranceRole.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.NodeTransitionUtteranceRole.g.cs @@ -4,7 +4,7 @@ namespace RetellAI { /// - /// This is result of a node transition + /// This is the result of a node transition. /// public enum NodeTransitionUtteranceRole { diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.PaginatedResponseBase.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.PaginatedResponseBase.g.cs index d7ab5f8d..1c339ce7 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.PaginatedResponseBase.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.PaginatedResponseBase.g.cs @@ -18,7 +18,8 @@ public sealed partial class PaginatedResponseBase /// Whether more results are available. ///
[global::System.Text.Json.Serialization.JsonPropertyName("has_more")] - public bool? HasMore { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HasMore { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -29,18 +30,18 @@ public sealed partial class PaginatedResponseBase /// /// Initializes a new instance of the class. /// - /// - /// Pagination key for the next page. - /// /// /// Whether more results are available. /// + /// + /// Pagination key for the next page. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public PaginatedResponseBase( - string? paginationKey, - bool? hasMore) + bool hasMore, + string? paginationKey) { this.PaginationKey = paginationKey; this.HasMore = hasMore; diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.PostCallAnalysisData.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.PostCallAnalysisData.g.cs index 604ef911..0aee637d 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.PostCallAnalysisData.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.PostCallAnalysisData.g.cs @@ -5,7 +5,7 @@ namespace RetellAI { /// - /// Post Call Extraction item (custom data or voice preset). Use for voice agent post_call_analysis_data; validates only call presets (call_summary, call_successful, user_sentiment). + /// Post-call analysis item (custom data or voice preset). Use for voice agent post_call_analysis_data; validates only call presets (call_summary, call_successful, user_sentiment). /// public readonly partial struct PostCallAnalysisData : global::System.IEquatable { @@ -47,7 +47,7 @@ public bool TryPickAnalysisData( : throw new global::System.InvalidOperationException($"Expected union variant 'AnalysisData' but the value was {ToString()}."); /// - /// System preset for Post Call Extraction (voice agents). Use in post_call_analysis_data to override prompts or mark fields optional. + /// System preset for post-call analysis (voice agents). Use in post_call_analysis_data to override prompts or mark fields optional. /// #if NET6_0_OR_GREATER public global::RetellAI.CallPresetAnalysisData? Preset { get; init; } diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.PostChatAnalysisData.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.PostChatAnalysisData.g.cs index 69606677..193efaea 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.PostChatAnalysisData.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.PostChatAnalysisData.g.cs @@ -5,7 +5,7 @@ namespace RetellAI { /// - /// Post Chat Extraction item (custom data or chat preset). Use for chat agent post_chat_analysis_data; validates only chat presets (chat_summary, chat_successful, user_sentiment). + /// Post-chat analysis item (custom data or chat preset). Use for chat agent post_chat_analysis_data; validates only chat presets (chat_summary, chat_successful, user_sentiment). /// public readonly partial struct PostChatAnalysisData : global::System.IEquatable { @@ -47,7 +47,7 @@ public bool TryPickAnalysisData( : throw new global::System.InvalidOperationException($"Expected union variant 'AnalysisData' but the value was {ToString()}."); /// - /// System preset for Post Chat Extraction (chat agents). Use in post_chat_analysis_data to override prompts or mark fields optional. + /// System preset for post-chat analysis (chat agents). Use in post_chat_analysis_data to override prompts or mark fields optional. /// #if NET6_0_OR_GREATER public global::RetellAI.ChatPresetAnalysisData? Preset { get; init; } diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.PresetAnalysisData.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.PresetAnalysisData.g.cs index c849b1e5..2dd3c43c 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.PresetAnalysisData.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.PresetAnalysisData.g.cs @@ -4,7 +4,7 @@ namespace RetellAI { /// - /// System preset for Post Call or Post Chat Extraction (summary, success, sentiment). Presets can be included in post_call_analysis_data or post_chat_analysis_data to override prompts or mark fields optional. + /// System preset for post-call or post-chat analysis (summary, success, sentiment). Presets can be included in post_call_analysis_data or post_chat_analysis_data to override prompts or mark fields optional. /// public sealed partial class PresetAnalysisData { diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.PressDigitTool.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.PressDigitTool.g.cs index 33abec47..5bd9c516 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.PressDigitTool.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.PressDigitTool.g.cs @@ -16,7 +16,7 @@ public sealed partial class PressDigitTool public global::RetellAI.PressDigitToolType Type { get; set; } /// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] [global::System.Text.Json.Serialization.JsonRequired] @@ -44,7 +44,7 @@ public sealed partial class PressDigitTool /// Initializes a new instance of the class. /// /// - /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + /// Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). /// /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RefreshTokenAuthConfigRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RefreshTokenAuthConfigRequest.g.cs deleted file mode 100644 index 694bb71d..00000000 --- a/src/libs/RetellAI/Generated/RetellAI.Models.RefreshTokenAuthConfigRequest.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace RetellAI -{ - /// - /// - /// - public sealed partial class RefreshTokenAuthConfigRequest - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.RefreshTokenAuthConfigRequestTypeJsonConverter))] - public global::RetellAI.RefreshTokenAuthConfigRequestType Type { get; set; } - - /// - /// OAuth refresh token; stored encrypted at rest. An alternative to the OAuth connect flow, which persists the same config. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("refresh_token")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RefreshToken { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// OAuth refresh token; stored encrypted at rest. An alternative to the OAuth connect flow, which persists the same config. - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public RefreshTokenAuthConfigRequest( - string refreshToken, - global::RetellAI.RefreshTokenAuthConfigRequestType type) - { - this.Type = type; - this.RefreshToken = refreshToken ?? throw new global::System.ArgumentNullException(nameof(refreshToken)); - } - - /// - /// Initializes a new instance of the class. - /// - public RefreshTokenAuthConfigRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.State.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.State.g.cs index 8938b6cf..5ad97769 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.State.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.State.g.cs @@ -11,7 +11,7 @@ namespace RetellAI public sealed partial class State { /// - /// Name of the state, must be unique for each state. Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed).
+ /// Name of the state, must be unique for each state. Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed).
/// Example: information_collection ///
/// information_collection @@ -55,7 +55,7 @@ public sealed partial class State /// Initializes a new instance of the class. ///
/// - /// Name of the state, must be unique for each state. Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed).
+ /// Name of the state, must be unique for each state. Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed).
/// Example: information_collection /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.StateEdge.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.StateEdge.g.cs index ff532bb7..5ecc198e 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.StateEdge.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.StateEdge.g.cs @@ -23,7 +23,7 @@ public sealed partial class StateEdge public required string Description { get; set; } /// - /// The parameters the functions accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format. Omitting parameters defines a function with an empty parameter list. + /// The parameters the function accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format. Omitting parameters defines a function with an empty parameter list. /// [global::System.Text.Json.Serialization.JsonPropertyName("parameters")] public global::RetellAI.ToolParameter? Parameters { get; set; } @@ -44,7 +44,7 @@ public sealed partial class StateEdge /// Describes what's the transition and at what time / criteria should this transition happen. /// /// - /// The parameters the functions accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format. Omitting parameters defines a function with an empty parameter list. + /// The parameters the function accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format. Omitting parameters defines a function with an empty parameter list. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.StoredCallFilter.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.StoredCallFilter.g.cs index 0d9bdb05..8ed849b0 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.StoredCallFilter.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.StoredCallFilter.g.cs @@ -5,7 +5,7 @@ namespace RetellAI { /// - /// A `CallFilter` as *persisted* on a dashboard or chart. Identical to `CallFilter` for querying purposes — the extra field records how the selection was made, not what to match. Used only by the dashboard configuration endpoints; query endpoints take a plain `CallFilter`. + /// A `CallFilter` as persisted on a dashboard or chart. The extra field records how the selection was made, not what to match. Definition-based chart queries use it while merging filters, then query the combined `agent` field. /// public readonly partial struct StoredCallFilter : global::System.IEquatable { diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ToolParameter.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ToolParameter.g.cs index 91e08268..afb43ec9 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ToolParameter.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ToolParameter.g.cs @@ -4,7 +4,7 @@ namespace RetellAI { /// - /// The parameters the functions accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format. Omitting parameters defines a function with an empty parameter list. + /// The parameters the function accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format. Omitting parameters defines a function with an empty parameter list. /// public sealed partial class ToolParameter { diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UpdateAppRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UpdateAppRequest.g.cs index 7059d1e0..dbc4660f 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.UpdateAppRequest.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UpdateAppRequest.g.cs @@ -27,7 +27,7 @@ public sealed partial class UpdateAppRequest public string? TenantId { get; set; } /// - /// + /// Caller-managed credentials. Providers using the OAuth callback reject auth_config and must be authorized through connect-app. /// [global::System.Text.Json.Serialization.JsonPropertyName("auth_config")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.AuthConfigRequestJsonConverter))] @@ -55,7 +55,9 @@ public sealed partial class UpdateAppRequest /// /// Sub-account id, for providers that scope requests by a sub-account id on a shared host. /// - /// + /// + /// Caller-managed credentials. Providers using the OAuth callback reject auth_config and must be authorized through connect-app. + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.V2CallBase.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.V2CallBase.g.cs index 1840121b..fbe0164b 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.V2CallBase.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.V2CallBase.g.cs @@ -225,7 +225,7 @@ public sealed partial class V2CallBase public string? PublicLogUrl { get; set; } /// - /// URL to the knowledge base retrieved contents of the call. Available after call ends if the call utilizes knowledge base feature. It consists of the respond id and the retrieved contents related to that response. It's already rendered in call history tab of dashboard, and you can also manually download and check against the transcript to view the knowledge base retrieval results.
+ /// URL to the knowledge base retrieved contents of the call. Available after call ends if the call utilizes knowledge base feature. It consists of the response id and the retrieved contents related to that response. It's already rendered in call history tab of dashboard, and you can also manually download and check against the transcript to view the knowledge base retrieval results.
/// Example: https://retellai.s3.us-west-2.amazonaws.com/Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6/kb_retrieved_contents.txt ///
/// https://retellai.s3.us-west-2.amazonaws.com/Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6/kb_retrieved_contents.txt @@ -387,7 +387,7 @@ public sealed partial class V2CallBase /// Example: https://retellai.s3.us-west-2.amazonaws.com/Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6/public_log.txt /// /// - /// URL to the knowledge base retrieved contents of the call. Available after call ends if the call utilizes knowledge base feature. It consists of the respond id and the retrieved contents related to that response. It's already rendered in call history tab of dashboard, and you can also manually download and check against the transcript to view the knowledge base retrieval results.
+ /// URL to the knowledge base retrieved contents of the call. Available after call ends if the call utilizes knowledge base feature. It consists of the response id and the retrieved contents related to that response. It's already rendered in call history tab of dashboard, and you can also manually download and check against the transcript to view the knowledge base retrieval results.
/// Example: https://retellai.s3.us-west-2.amazonaws.com/Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6/kb_retrieved_contents.txt /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.V3CallBase.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.V3CallBase.g.cs index 7045e480..afb6462e 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.V3CallBase.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.V3CallBase.g.cs @@ -185,7 +185,7 @@ public sealed partial class V3CallBase public string? PublicLogUrl { get; set; } /// - /// URL to the knowledge base retrieved contents of the call. Available after call ends if the call utilizes knowledge base feature. It consists of the respond id and the retrieved contents related to that response. It's already rendered in call history tab of dashboard, and you can also manually download and check against the transcript to view the knowledge base retrieval results.
+ /// URL to the knowledge base retrieved contents of the call. Available after call ends if the call utilizes knowledge base feature. It consists of the response id and the retrieved contents related to that response. It's already rendered in call history tab of dashboard, and you can also manually download and check against the transcript to view the knowledge base retrieval results.
/// Example: https://retellai.s3.us-west-2.amazonaws.com/Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6/kb_retrieved_contents.txt ///
/// https://retellai.s3.us-west-2.amazonaws.com/Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6/kb_retrieved_contents.txt @@ -328,7 +328,7 @@ public sealed partial class V3CallBase /// Example: https://retellai.s3.us-west-2.amazonaws.com/Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6/public_log.txt /// /// - /// URL to the knowledge base retrieved contents of the call. Available after call ends if the call utilizes knowledge base feature. It consists of the respond id and the retrieved contents related to that response. It's already rendered in call history tab of dashboard, and you can also manually download and check against the transcript to view the knowledge base retrieval results.
+ /// URL to the knowledge base retrieved contents of the call. Available after call ends if the call utilizes knowledge base feature. It consists of the response id and the retrieved contents related to that response. It's already rendered in call history tab of dashboard, and you can also manually download and check against the transcript to view the knowledge base retrieval results.
/// Example: https://retellai.s3.us-west-2.amazonaws.com/Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6/kb_retrieved_contents.txt /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateApp.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateApp.g.cs index 203c04ef..5facc2d3 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateApp.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateApp.g.cs @@ -42,7 +42,7 @@ partial void ProcessCreateAppResponseContent( ref string content); /// - /// Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers that authenticate with a key, token, or refresh token can be connected in this one call by passing auth_config; the credential is stored encrypted and never returned. Up to 20 apps per provider. + /// Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers with caller-managed credentials accept auth_config. Providers using the OAuth callback must omit auth_config and be authorized through connect-app. Credentials are stored encrypted and never returned. Up to 20 apps per provider. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -64,7 +64,7 @@ partial void ProcessCreateAppResponseContent( return __response.Body; } /// - /// Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers that authenticate with a key, token, or refresh token can be connected in this one call by passing auth_config; the credential is stored encrypted and never returned. Up to 20 apps per provider. + /// Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers with caller-managed credentials accept auth_config. Providers using the OAuth callback must omit auth_config and be authorized through connect-app. Credentials are stored encrypted and never returned. Up to 20 apps per provider. /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -580,7 +580,7 @@ partial void ProcessCreateAppResponseContent( } } /// - /// Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers that authenticate with a key, token, or refresh token can be connected in this one call by passing auth_config; the credential is stored encrypted and never returned. Up to 20 apps per provider. + /// Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers with caller-managed credentials accept auth_config. Providers using the OAuth callback must omit auth_config and be authorized through connect-app. Credentials are stored encrypted and never returned. Up to 20 apps per provider. /// /// /// App integration category. @@ -597,7 +597,9 @@ partial void ProcessCreateAppResponseContent( /// /// Sub-account id, for providers that scope requests by a sub-account id on a shared host. /// - /// + /// + /// Caller-managed credentials. Providers using the OAuth callback reject auth_config and must be authorized through connect-app. + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateKnowledgeBase.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateKnowledgeBase.g.cs index fe0abe4e..ba6ab7cc 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateKnowledgeBase.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateKnowledgeBase.g.cs @@ -699,7 +699,7 @@ partial void ProcessCreateKnowledgeBaseResponseContent( /// Example: true /// /// - /// Maximum number of characters per chunk when splitting knowledge base. Default is 2000. content. Immutable after creation.
+ /// Maximum number of characters per chunk when splitting knowledge base content. Default is 2000. Immutable after creation.
/// Example: 2000 /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetCrmConfig.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetCrmConfig.g.cs index 28c91cd1..8982f6fd 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetCrmConfig.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetCrmConfig.g.cs @@ -40,7 +40,7 @@ partial void ProcessGetCrmConfigResponseContent( ref string content); /// - /// Get the organization's CRM configuration: which CRM app is linked, the custom contact fields defined for it, and how Post Call Extraction data is written back to contacts. Returns an empty configuration when nothing has been set up yet. + /// Get the organization's CRM configuration: which CRM app is linked, the custom contact fields defined for it, and how post-call analysis data is written back to contacts. Returns an empty configuration when nothing has been set up yet. /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -57,7 +57,7 @@ partial void ProcessGetCrmConfigResponseContent( return __response.Body; } /// - /// Get the organization's CRM configuration: which CRM app is linked, the custom contact fields defined for it, and how Post Call Extraction data is written back to contacts. Returns an empty configuration when nothing has been set up yet. + /// Get the organization's CRM configuration: which CRM app is linked, the custom contact fields defined for it, and how post-call analysis data is written back to contacts. Returns an empty configuration when nothing has been set up yet. /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ImportPhoneNumber.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ImportPhoneNumber.g.cs index 4667a053..490d3857 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ImportPhoneNumber.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ImportPhoneNumber.g.cs @@ -554,7 +554,7 @@ partial void ProcessImportPhoneNumberResponseContent( /// Example: true /// /// - /// The termination uri to uniquely identify your elastic SIP trunk. This is used for outbound calls. For Twilio elastic SIP trunks it always end with ".pstn.twilio.com".
+ /// The termination uri to uniquely identify your elastic SIP trunk. This is used for outbound calls. For Twilio elastic SIP trunks it always ends with ".pstn.twilio.com".
/// Example: someuri.pstn.twilio.com /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RerunCallAnalysis.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RerunCallAnalysis.g.cs index 42c56935..5eb1e065 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RerunCallAnalysis.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RerunCallAnalysis.g.cs @@ -42,7 +42,7 @@ partial void ProcessRerunCallAnalysisResponseContent( ref string content); /// - /// Rerun Post Call Extraction for a specific call. This operation incurs charges. + /// Rerun post-call analysis for a specific call. This operation incurs charges. /// /// /// Example: call_119c3f8e47135a29e65947eeb34cf12d @@ -64,7 +64,7 @@ partial void ProcessRerunCallAnalysisResponseContent( return __response.Body; } /// - /// Rerun Post Call Extraction for a specific call. This operation incurs charges. + /// Rerun post-call analysis for a specific call. This operation incurs charges. /// /// /// Example: call_119c3f8e47135a29e65947eeb34cf12d diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RerunChatAnalysis.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RerunChatAnalysis.g.cs index 29543df3..f9c0a568 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RerunChatAnalysis.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RerunChatAnalysis.g.cs @@ -42,7 +42,7 @@ partial void ProcessRerunChatAnalysisResponseContent( ref string content); /// - /// Rerun Post Chat Extraction for a specific chat. This operation incurs charges. + /// Rerun post-chat analysis for a specific chat. This operation incurs charges. /// /// /// Example: chat_16b980523634a6dc504898cda492e939 @@ -64,7 +64,7 @@ partial void ProcessRerunChatAnalysisResponseContent( return __response.Body; } /// - /// Rerun Post Chat Extraction for a specific chat. This operation incurs charges. + /// Rerun post-chat analysis for a specific chat. This operation incurs charges. /// /// /// Example: chat_16b980523634a6dc504898cda492e939 diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateAgent.g.cs index 9943c21d..ccc850b3 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateAgent.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateAgent.g.cs @@ -715,7 +715,7 @@ partial void ProcessUpdateAgentResponseContent( /// Example: Use [sigh] for thoughtful pauses and [excited] for good news. /// /// - /// Controls how responsive is the agent. Value ranging from [0,1]. Lower value means less responsive agent (wait more, respond slower), while higher value means faster exchanges (respond when it can). If unset, default value 1 will apply.
+ /// Controls how responsive the agent is. Value ranging from [0,1]. Lower value means less responsive agent (wait more, respond slower), while higher value means faster exchanges (respond when it can). If unset, default value 1 will apply.
/// Example: 1 /// /// @@ -760,7 +760,7 @@ partial void ProcessUpdateAgentResponseContent( /// Specifies what language(s) the agent will operate in. Accepts either a single locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g. `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted as a scalar, and is stored and returned as the ten locales it used to mean. It must not appear inside the array form. Send an explicit locale array instead. If unset, defaults to `en-US`. /// /// - /// The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
+ /// The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will bind webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
/// Example: https://webhook-url-here /// /// @@ -818,7 +818,7 @@ partial void ProcessUpdateAgentResponseContent( /// If this option is set, the agent prompt will include call screen handling instructions for identity and call purpose questions. Set this to null to disable call screen prompt instructions. /// /// - /// Post Call Extraction data to extract from the call. This data will augment the pre-defined variables extracted in the call analysis. This will be available after the call ends. + /// Post call analysis data to extract from the call. This data will augment the pre-defined variables extracted in the call analysis. This will be available after the call ends. /// /// /// Available LLM models for agents. diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateApp.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateApp.g.cs index cc2ce38f..a619f566 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateApp.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateApp.g.cs @@ -44,7 +44,7 @@ partial void ProcessUpdateAppResponseContent( ref string content); /// - /// Partially update an App. Omitted fields remain unchanged. Updating auth_config invalidates the cached provider token immediately. + /// Partially update an App. Omitted fields remain unchanged. Updating auth_config or tenant metadata invalidates the cached provider token immediately. Providers using the OAuth callback reject auth_config and must be reauthorized through connect-app. /// /// /// @@ -69,7 +69,7 @@ partial void ProcessUpdateAppResponseContent( return __response.Body; } /// - /// Partially update an App. Omitted fields remain unchanged. Updating auth_config invalidates the cached provider token immediately. + /// Partially update an App. Omitted fields remain unchanged. Updating auth_config or tenant metadata invalidates the cached provider token immediately. Providers using the OAuth callback reject auth_config and must be reauthorized through connect-app. /// /// /// @@ -626,7 +626,7 @@ partial void ProcessUpdateAppResponseContent( } } /// - /// Partially update an App. Omitted fields remain unchanged. Updating auth_config invalidates the cached provider token immediately. + /// Partially update an App. Omitted fields remain unchanged. Updating auth_config or tenant metadata invalidates the cached provider token immediately. Providers using the OAuth callback reject auth_config and must be reauthorized through connect-app. /// /// /// @@ -636,7 +636,9 @@ partial void ProcessUpdateAppResponseContent( /// /// Sub-account id, for providers that scope requests by a sub-account id on a shared host. /// - /// + /// + /// Caller-managed credentials. Providers using the OAuth callback reject auth_config and must be authorized through connect-app. + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateChatAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateChatAgent.g.cs index b79e5cbd..b13a3af5 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateChatAgent.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateChatAgent.g.cs @@ -677,7 +677,7 @@ partial void ProcessUpdateChatAgentResponseContent( /// Specifies what language(s) the agent will operate in. Accepts either a single locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g. `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted as a scalar, and is stored and returned as the ten locales it used to mean. It must not appear inside the array form. Send an explicit locale array instead. If unset, defaults to `en-US`. /// /// - /// The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
+ /// The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will bind webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.
/// Example: https://webhook-url-here /// /// @@ -704,7 +704,7 @@ partial void ProcessUpdateChatAgentResponseContent( /// Example: 86400000 /// /// - /// Post Chat Extraction data to extract from the chat. This data will augment the pre-defined variables extracted in the chat analysis. This will be available after the chat ends. + /// Post chat analysis data to extract from the chat. This data will augment the pre-defined variables extracted in the chat analysis. This will be available after the chat ends. /// /// /// Available LLM models for agents. diff --git a/src/libs/RetellAI/Generated/autosdk.generated-examples.json b/src/libs/RetellAI/Generated/autosdk.generated-examples.json index 9b307030..ef062234 100644 --- a/src/libs/RetellAI/Generated/autosdk.generated-examples.json +++ b/src/libs/RetellAI/Generated/autosdk.generated-examples.json @@ -61,7 +61,7 @@ "Slug": "updatephonenumber", "Description": "Update agent bound to a purchased phone number", "Language": "http", - "Code": "### Update agent bound to a purchased phone number\n# @name updatePhoneNumber\nPATCH {{host}}/update-phone-number/{{phone_number}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022inbound_agents\u0022: [\n {\n \u0022agent_id\u0022: \u0022oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD\u0022,\n \u0022agent_version\u0022: 1,\n \u0022weight\u0022: 1\n }\n ],\n \u0022outbound_agents\u0022: [\n {\n \u0022agent_id\u0022: \u0022oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD\u0022,\n \u0022agent_version\u0022: 1,\n \u0022weight\u0022: 1\n }\n ],\n \u0022nickname\u0022: \u0022Frontdesk Number\u0022\n}\n\n## Responses\n# 200\n# Description: Successfully updated an phone number object.\n# Content-Type: application/json\n# 400\n# Description: Bad Request\n# Content-Type: application/json\n# 401\n# Description: Unauthorized\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Content\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error\n# Content-Type: application/json", + "Code": "### Update agent bound to a purchased phone number\n# @name updatePhoneNumber\nPATCH {{host}}/update-phone-number/{{phone_number}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022inbound_agents\u0022: [\n {\n \u0022agent_id\u0022: \u0022oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD\u0022,\n \u0022agent_version\u0022: 1,\n \u0022weight\u0022: 1\n }\n ],\n \u0022outbound_agents\u0022: [\n {\n \u0022agent_id\u0022: \u0022oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD\u0022,\n \u0022agent_version\u0022: 1,\n \u0022weight\u0022: 1\n }\n ],\n \u0022nickname\u0022: \u0022Frontdesk Number\u0022\n}\n\n## Responses\n# 200\n# Description: Successfully updated a phone number object.\n# Content-Type: application/json\n# 400\n# Description: Bad Request\n# Content-Type: application/json\n# 401\n# Description: Unauthorized\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Content\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error\n# Content-Type: application/json", "Format": "http", "OperationId": "updatePhoneNumber", "Setup": null @@ -72,7 +72,7 @@ "Slug": "updateretellllm", "Description": "Update an existing Retell LLM Response Engine", "Language": "http", - "Code": "### Update an existing Retell LLM Response Engine\n# @name updateRetellLLM\nPATCH {{host}}/update-retell-llm/{{llm_id}}?version={{version}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022begin_message\u0022: \u0022Hey I am a virtual assistant calling from Retell Hospital.\u0022\n}\n\n## Responses\n# 200\n# Description: Successfully updated an Retell LLM Response Engine.\n# Content-Type: application/json\n# 400\n# Description: Bad Request\n# Content-Type: application/json\n# 401\n# Description: Unauthorized\n# Content-Type: application/json\n# 412\n# Description: Precondition Failed\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Content\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error\n# Content-Type: application/json", + "Code": "### Update an existing Retell LLM Response Engine\n# @name updateRetellLLM\nPATCH {{host}}/update-retell-llm/{{llm_id}}?version={{version}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022begin_message\u0022: \u0022Hey I am a virtual assistant calling from Retell Hospital.\u0022\n}\n\n## Responses\n# 200\n# Description: Successfully updated a Retell LLM Response Engine.\n# Content-Type: application/json\n# 400\n# Description: Bad Request\n# Content-Type: application/json\n# 401\n# Description: Unauthorized\n# Content-Type: application/json\n# 412\n# Description: Precondition Failed\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Content\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error\n# Content-Type: application/json", "Format": "http", "OperationId": "updateRetellLLM", "Setup": null diff --git a/src/libs/RetellAI/openapi.yaml b/src/libs/RetellAI/openapi.yaml index 69eda99a..efc01f71 100644 --- a/src/libs/RetellAI/openapi.yaml +++ b/src/libs/RetellAI/openapi.yaml @@ -2,7 +2,7 @@ openapi: 3.0.3 info: title: Retell SDK version: 3.0.0 - x-retell-spec-revision: 2026-08-29-ed55dcf + x-retell-spec-revision: 2026-08-31-8036006 contact: name: Retell Support url: https://www.retellai.com/ @@ -249,6 +249,8 @@ components: type: number PaginatedResponseBase: type: object + required: + - has_more properties: pagination_key: type: string @@ -693,6 +695,7 @@ components: - sonic-3 - sonic-3-latest - sonic-3.5 + - sonic-3.6 - tts-1 - gpt-4o-mini-tts - speech-02-turbo @@ -796,7 +799,7 @@ components: minimum: 0 maximum: 1 example: 1 - description: Controls how responsive is the agent. Value ranging from [0,1]. Lower value means less responsive agent (wait more, respond slower), while higher value means faster exchanges (respond + description: Controls how responsive the agent is. Value ranging from [0,1]. Lower value means less responsive agent (wait more, respond slower), while higher value means faster exchanges (respond when it can). If unset, default value 1 will apply. interruption_sensitivity: type: number @@ -886,7 +889,7 @@ components: webhook_url: type: string example: https://webhook-url-here - description: The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified + description: The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will bind webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent. nullable: true webhook_events: @@ -1037,12 +1040,12 @@ components: type: array items: $ref: '#/components/schemas/PostCallAnalysisData' - description: Post Call Extraction data to extract from the call. This data will augment the pre-defined variables extracted in the call analysis. This will be available after the call ends. + description: Post call analysis data to extract from the call. This data will augment the pre-defined variables extracted in the call analysis. This will be available after the call ends. nullable: true post_call_analysis_model: $ref: '#/components/schemas/NullableLLMModel' example: gpt-4.1-mini - description: The model to use for Post Call Extraction. Default to gpt-4.1. + description: The model to use for post call analysis. Default to gpt-4.1. begin_message_delay_ms: type: integer example: 1000 @@ -1281,7 +1284,7 @@ components: description: The version of the agent to swap to. If not specified, will use the latest version post_call_analysis_setting: $ref: '#/components/schemas/PostCallAnalysisSetting' - description: Post Call Extraction setting for the agent swap + description: Post call analysis setting for the agent swap webhook_setting: $ref: '#/components/schemas/AgentSwapWebhookSetting' description: Webhook setting for the agent swap, defaults to only source. @@ -1334,7 +1337,7 @@ components: directly. Defaults to "prompt". post_call_analysis_setting: $ref: '#/components/schemas/PostCallAnalysisSetting' - description: Post Call Extraction setting for the agent swap. + description: Post call analysis setting for the agent swap. webhook_setting: $ref: '#/components/schemas/AgentSwapWebhookSetting' description: Webhook setting for the agent swap, defaults to only source. @@ -1365,12 +1368,12 @@ components: oneOf: - $ref: '#/components/schemas/AnalysisData' - $ref: '#/components/schemas/CallPresetAnalysisData' - description: Post Call Extraction item (custom data or voice preset). Use for voice agent post_call_analysis_data; validates only call presets (call_summary, call_successful, user_sentiment). + description: Post-call analysis item (custom data or voice preset). Use for voice agent post_call_analysis_data; validates only call presets (call_summary, call_successful, user_sentiment). PostChatAnalysisData: oneOf: - $ref: '#/components/schemas/AnalysisData' - $ref: '#/components/schemas/ChatPresetAnalysisData' - description: Post Chat Extraction item (custom data or chat preset). Use for chat agent post_chat_analysis_data; validates only chat presets (chat_summary, chat_successful, user_sentiment). + description: Post-chat analysis item (custom data or chat preset). Use for chat agent post_chat_analysis_data; validates only chat presets (chat_summary, chat_successful, user_sentiment). AverageMetric: type: object required: @@ -1475,14 +1478,14 @@ components: - book_appointment_cal name: type: string - description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain - underscores and dashes, with a maximum length of 64 (no space allowed). + description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores + and dashes, with a maximum length of 64 (no space allowed). description: type: string description: Describes what the tool does, sometimes can also include information about when to call the tool. cal_api_key: type: string - description: Cal.com Api key that have access to the cal.com event you want to book appointment. + description: Cal.com Api key that has access to the cal.com event you want to book appointment. event_type_id: oneOf: - type: number @@ -1606,8 +1609,8 @@ components: - bridge_transfer name: type: string - description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain - underscores and dashes, with a maximum length of 64 (no space allowed). + description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores + and dashes, with a maximum length of 64 (no space allowed). description: type: string description: Describes what the tool does. This tool is only available to transfer agents (agents with isTransferAgent set to true) in agentic warm transfer mode. When invoked, it bridges the @@ -1639,7 +1642,7 @@ components: in_voicemail: type: boolean example: false - description: Whether the call is entered voicemail. + description: Whether the call entered voicemail. user_sentiment: type: string enum: @@ -1655,7 +1658,7 @@ components: description: Whether the agent seems to have a successful call with the user, where the agent finishes the task, and the call was complete without being cutoff. custom_analysis_data: type: object - description: Custom analysis data that was extracted based on the schema defined in agent Post Call Extraction data. Can be empty if nothing is specified. + description: Custom analysis data that was extracted based on the schema defined in agent post call analysis data. Can be empty if nothing is specified. CallLatency: type: object properties: @@ -1843,8 +1846,8 @@ components: - cancel_transfer name: type: string - description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain - underscores and dashes, with a maximum length of 64 (no space allowed). + description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores + and dashes, with a maximum length of 64 (no space allowed). description: type: string description: Describes what the tool does. This tool is only available to transfer agents (agents with isTransferAgent set to true) in agentic warm transfer mode. When invoked, it cancels the @@ -1989,7 +1992,7 @@ components: webhook_url: type: string example: https://webhook-url-here - description: The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified + description: The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will bind webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent. nullable: true webhook_events: @@ -2037,12 +2040,12 @@ components: type: array items: $ref: '#/components/schemas/PostChatAnalysisData' - description: Post Chat Extraction data to extract from the chat. This data will augment the pre-defined variables extracted in the chat analysis. This will be available after the chat ends. + description: Post chat analysis data to extract from the chat. This data will augment the pre-defined variables extracted in the chat analysis. This will be available after the chat ends. nullable: true post_chat_analysis_model: $ref: '#/components/schemas/NullableLLMModel' example: gpt-4.1-mini - description: The model to use for Post Chat Extraction. Default to gpt-4.1. + description: The model to use for post chat analysis. Default to gpt-4.1. pii_config: $ref: '#/components/schemas/PIIConfig' description: Configuration for PII scrubbing from transcripts and recordings. @@ -2119,7 +2122,7 @@ components: description: Whether the agent seems to have a successful chat with the user, where the agent finishes the task, and the call was complete without being cutoff. custom_analysis_data: type: object - description: Custom analysis data that was extracted based on the schema defined in chat agent Post Chat Extraction data. Can be empty if nothing is specified. + description: Custom analysis data that was extracted based on the schema defined in chat agent post chat analysis data. Can be empty if nothing is specified. ChatResponse: type: object required: @@ -2235,7 +2238,7 @@ components: description: Combined cost of all individual costs in cents example: 70 chat_analysis: - description: Post Chat Extraction that includes information such as sentiment, status, summary, and custom defined data to extract. Available after chat ends. Subscribe to `chat_analyzed` webhook + description: Post chat analysis that includes information such as sentiment, status, summary, and custom defined data to extract. Available after chat ends. Subscribe to `chat_analyzed` webhook event type to receive it once ready. $ref: '#/components/schemas/ChatAnalysis' V3ChatResponse: @@ -2303,14 +2306,14 @@ components: - check_availability_cal name: type: string - description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain - underscores and dashes, with a maximum length of 64 (no space allowed). + description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores + and dashes, with a maximum length of 64 (no space allowed). description: type: string description: Describes what the tool does, sometimes can also include information about when to call the tool. cal_api_key: type: string - description: Cal.com Api key that have access to the cal.com event you want to check availability for. + description: Cal.com Api key that has access to the cal.com event you want to check availability for. event_type_id: oneOf: - type: number @@ -3277,7 +3280,7 @@ components: - custom name: type: string - description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must be consisted of a-z, A-Z, 0-9, or contain underscores + description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). url: type: string @@ -3377,7 +3380,7 @@ components: - code name: type: string - description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must be consisted of a-z, A-Z, 0-9, or contain underscores + description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). description: type: string @@ -3642,7 +3645,7 @@ components: type: array items: type: number - description: Specific versions to filter on. If not provided, all versions are included. + description: Specific versions to filter on. If omitted or empty, all versions are included. ToolCallFilter: type: object minProperties: 1 @@ -3819,8 +3822,8 @@ components: description: The subset of `agent` that was selected as transfer agents. Stored and returned verbatim; it is NOT applied when querying — the dashboard merges its transfer-agent selection into `agent`, which is what filtering resolves on. It exists only so that a saved filter, on being read back, can tell which entries of `agent` belong to the transfer-agent picker; without it they all come back as regular agent selections. - description: A `CallFilter` as *persisted* on a dashboard or chart. Identical to `CallFilter` for querying purposes — the extra field records how the selection was made, not what to match. Used only - by the dashboard configuration endpoints; query endpoints take a plain `CallFilter`. + description: A `CallFilter` as persisted on a dashboard or chart. The extra field records how the selection was made, not what to match. Definition-based chart queries use it while merging filters, + then query the combined `agent` field. ChatFilter: type: object description: Filter criteria for chats. All conditions are implicitly connected with AND. @@ -4066,8 +4069,8 @@ components: - end_call name: type: string - description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain - underscores and dashes, with a maximum length of 64 (no space allowed). + description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores + and dashes, with a maximum length of 64 (no space allowed). description: type: string description: Describes what the tool does, sometimes can also include information about when to call the tool. @@ -4196,7 +4199,7 @@ components: - extract_dynamic_variable name: type: string - description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must be consisted of a-z, A-Z, 0-9, or contain underscores + description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state edges). Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). description: type: string @@ -4394,7 +4397,7 @@ components: type: array items: $ref: '#/components/schemas/FinetuneExampleUtterance' - description: Find tune the transition condition to this global node + description: Fine tune the transition condition to this global node GlobalNodeSetting: type: object required: @@ -4549,7 +4552,7 @@ components: minimum: 600 maximum: 6000 example: 2000 - description: Maximum number of characters per chunk when splitting knowledge base. Default is 2000. content. Immutable after creation. + description: Maximum number of characters per chunk when splitting knowledge base content. Default is 2000. Immutable after creation. min_chunk_size: type: integer minimum: 200 @@ -4917,7 +4920,7 @@ components: example: index: '1' key: value - description: Query parameters to append to the MCP connection request URL. + description: Query parameters to append to the MCP connection request URL. timeout_ms: type: integer description: Maximum time to wait for a connection to be established (in milliseconds). Default to 120,000 ms (2 minutes). @@ -5378,7 +5381,7 @@ components: type: string enum: - node_transition - description: This is result of a node transition + description: This is the result of a node transition. former_node_id: type: string description: Former node id @@ -5463,8 +5466,8 @@ components: - type - name - description - description: System preset for Post Call or Post Chat Extraction (summary, success, sentiment). Presets can be included in post_call_analysis_data or post_chat_analysis_data to override prompts or - mark fields optional. + description: System preset for post-call or post-chat analysis (summary, success, sentiment). Presets can be included in post_call_analysis_data or post_chat_analysis_data to override prompts or mark + fields optional. properties: type: type: string @@ -5496,7 +5499,7 @@ components: required: - type - name - description: System preset for Post Call Extraction (voice agents). Use in post_call_analysis_data to override prompts or mark fields optional. + description: System preset for post-call analysis (voice agents). Use in post_call_analysis_data to override prompts or mark fields optional. properties: type: type: string @@ -5526,7 +5529,7 @@ components: required: - type - name - description: System preset for Post Chat Extraction (chat agents). Use in post_chat_analysis_data to override prompts or mark fields optional. + description: System preset for post-chat analysis (chat agents). Use in post_chat_analysis_data to override prompts or mark fields optional. properties: type: type: string @@ -5981,8 +5984,8 @@ components: - press_digit name: type: string - description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must be consisted of a-z, A-Z, 0-9, or contain - underscores and dashes, with a maximum length of 64 (no space allowed). + description: Name of the tool. Must be unique within all tools available to LLM at any given time (general tools + state tools + state transitions). Must consist of a-z, A-Z, 0-9, or contain underscores + and dashes, with a maximum length of 64 (no space allowed). description: type: string description: Describes what the tool does, sometimes can also include information about when to call the tool. @@ -6750,8 +6753,8 @@ components: parameters: $ref: '#/components/schemas/ToolParameter' description: Describes what parameters you want to extract out when the transition changes. The parameters extracted here can be referenced in prompts & function descriptions of later states via - dynamic variables. The parameters the functions accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation - about the format. + dynamic variables. The parameters the function accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about + the format. StateTransitionMessageBase: type: object required: @@ -6790,7 +6793,7 @@ components: name: example: information_collection type: string - description: Name of the state, must be unique for each state. Must be consisted of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). + description: Name of the state, must be unique for each state. Must consist of a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64 (no space allowed). state_prompt: example: '## Task @@ -7222,7 +7225,7 @@ components: description: Whether the tool call was successful. ToolParameter: type: object - description: The parameters the functions accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format. + description: The parameters the function accepts, described as a JSON Schema object. See [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format. Omitting parameters defines a function with an empty parameter list. required: - type @@ -7963,7 +7966,7 @@ components: knowledge_base_retrieved_contents_url: type: string example: https://retellai.s3.us-west-2.amazonaws.com/Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6/kb_retrieved_contents.txt - description: URL to the knowledge base retrieved contents of the call. Available after call ends if the call utilizes knowledge base feature. It consists of the respond id and the retrieved contents + description: URL to the knowledge base retrieved contents of the call. Available after call ends if the call utilizes knowledge base feature. It consists of the response id and the retrieved contents related to that response. It's already rendered in call history tab of dashboard, and you can also manually download and check against the transcript to view the knowledge base retrieval results. latency: type: object @@ -7987,11 +7990,11 @@ components: description: Text-to-speech latency (from the triggering of TTS to first byte received) tracking of the call. $ref: '#/components/schemas/CallLatency' knowledge_base: - description: Knowledge base latency (from the triggering of knowledge base retrival to all relevant context received) tracking of the call. Only populated when using knowledge base feature + description: Knowledge base latency (from the triggering of knowledge base retrieval to all relevant context received) tracking of the call. Only populated when using knowledge base feature for the agent of the call. $ref: '#/components/schemas/CallLatency' s2s: - description: Speech-to-speech latency (from requesting responses of a S2S model to first byte received) tracking of the call. Only populated for calls that uses S2S model like Realtime API. + description: Speech-to-speech latency (from requesting responses of a S2S model to first byte received) tracking of the call. Only populated for calls that use S2S model like Realtime API. $ref: '#/components/schemas/CallLatency' disconnection_reason: $ref: '#/components/schemas/DisconnectionReason' @@ -8004,7 +8007,7 @@ components: are prefixed with "sip:" and may include a ";transport=..." portion (if transport is known) where the transport type can be "tls", "tcp" or "udp". nullable: true call_analysis: - description: Post Call Extraction that includes information such as sentiment, status, summary, and custom defined data to extract. Available after call ends. Subscribe to `call_analyzed` webhook + description: Post call analysis that includes information such as sentiment, status, summary, and custom defined data to extract. Available after call ends. Subscribe to `call_analyzed` webhook event type to receive it once ready. $ref: '#/components/schemas/CallAnalysis' call_cost: @@ -8215,7 +8218,7 @@ components: knowledge_base_retrieved_contents_url: type: string example: https://retellai.s3.us-west-2.amazonaws.com/Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6/kb_retrieved_contents.txt - description: URL to the knowledge base retrieved contents of the call. Available after call ends if the call utilizes knowledge base feature. It consists of the respond id and the retrieved contents + description: URL to the knowledge base retrieved contents of the call. Available after call ends if the call utilizes knowledge base feature. It consists of the response id and the retrieved contents related to that response. It's already rendered in call history tab of dashboard, and you can also manually download and check against the transcript to view the knowledge base retrieval results. latency: type: object @@ -8239,11 +8242,11 @@ components: description: Text-to-speech latency (from the triggering of TTS to first byte received) tracking of the call. $ref: '#/components/schemas/CallLatency' knowledge_base: - description: Knowledge base latency (from the triggering of knowledge base retrival to all relevant context received) tracking of the call. Only populated when using knowledge base feature + description: Knowledge base latency (from the triggering of knowledge base retrieval to all relevant context received) tracking of the call. Only populated when using knowledge base feature for the agent of the call. $ref: '#/components/schemas/CallLatency' s2s: - description: Speech-to-speech latency (from requesting responses of a S2S model to first byte received) tracking of the call. Only populated for calls that uses S2S model like Realtime API. + description: Speech-to-speech latency (from requesting responses of a S2S model to first byte received) tracking of the call. Only populated for calls that use S2S model like Realtime API. $ref: '#/components/schemas/CallLatency' disconnection_reason: $ref: '#/components/schemas/DisconnectionReason' @@ -8256,7 +8259,7 @@ components: are prefixed with "sip:" and may include a ";transport=..." portion (if transport is known) where the transport type can be "tls", "tcp" or "udp". nullable: true call_analysis: - description: Post Call Extraction that includes information such as sentiment, status, summary, and custom defined data to extract. Available after call ends. Subscribe to `call_analyzed` webhook + description: Post call analysis that includes information such as sentiment, status, summary, and custom defined data to extract. Available after call ends. Subscribe to `call_analyzed` webhook event type to receive it once ready. $ref: '#/components/schemas/CallAnalysis' call_cost: @@ -8745,20 +8748,19 @@ components: - phone_number - created_timestamp ContactListResponse: - type: object - properties: - items: - type: array + allOf: + - $ref: '#/components/schemas/PaginatedResponseBase' + - type: object + required: + - items + properties: items: - $ref: '#/components/schemas/Contact' - pagination_key: - type: string - description: Base64url-encoded pagination key for the next page. - has_more: - type: boolean - total: - type: number - description: Total count of contacts matching the filter. + type: array + items: + $ref: '#/components/schemas/Contact' + total: + type: number + description: Total count of contacts matching the filter. ContactConversation: oneOf: - $ref: '#/components/schemas/ContactCall' @@ -8792,7 +8794,7 @@ components: description: Reason the call ended. summary: type: string - description: Post Call Extraction summary. + description: Post-call analysis summary. sentiment: type: string enum: @@ -8800,10 +8802,10 @@ components: - Positive - Neutral - Unknown - description: User sentiment from Post Call Extraction. + description: User sentiment from post-call analysis. successful: type: boolean - description: Whether the call was deemed successful by Post Call Extraction. + description: Whether the call was deemed successful by post-call analysis. ContactChat: type: object required: @@ -8833,7 +8835,7 @@ components: description: Reason the chat ended. summary: type: string - description: Post Chat Extraction summary. + description: Post-chat analysis summary. sentiment: type: string enum: @@ -8841,25 +8843,21 @@ components: - Positive - Neutral - Unknown - description: User sentiment from Post Chat Extraction. + description: User sentiment from post-chat analysis. successful: type: boolean - description: Whether the chat was deemed successful by Post Chat Extraction. + description: Whether the chat was deemed successful by post-chat analysis. ContactConversationListResponse: - type: object - properties: - items: - type: array + allOf: + - $ref: '#/components/schemas/PaginatedResponseBase' + - type: object + required: + - items + properties: items: - $ref: '#/components/schemas/ContactConversation' - pagination_key: - type: string - description: 'Base64url-encoded pagination key. Pass as `pagination_key` query parameter to fetch the next page. - - ' - has_more: - type: boolean - description: Whether more conversations exist beyond the returned window. + type: array + items: + $ref: '#/components/schemas/ContactConversation' AppType: type: string enum: @@ -8912,20 +8910,6 @@ components: type: string minLength: 1 description: API key credential; stored encrypted at rest. - AccessTokenAuthConfigRequest: - type: object - required: - - type - - access_token - properties: - type: - type: string - enum: - - access_token - access_token: - type: string - minLength: 1 - description: OAuth-obtained access token used directly as a static bearer secret; stored encrypted at rest. An alternative to the OAuth connect flow, which persists the same config. BasicAuthConfigRequest: type: object required: @@ -8944,27 +8928,12 @@ components: type: string minLength: 1 description: Password credential; stored encrypted at rest. - RefreshTokenAuthConfigRequest: - type: object - required: - - type - - refresh_token - properties: - type: - type: string - enum: - - refresh_token - refresh_token: - type: string - minLength: 1 - description: OAuth refresh token; stored encrypted at rest. An alternative to the OAuth connect flow, which persists the same config. AuthConfigRequest: + description: Caller-managed credentials. Providers using the OAuth callback reject auth_config and must be authorized through connect-app. oneOf: - $ref: '#/components/schemas/OAuthConfigRequest' - $ref: '#/components/schemas/ApiKeyAuthConfigRequest' - - $ref: '#/components/schemas/AccessTokenAuthConfigRequest' - $ref: '#/components/schemas/BasicAuthConfigRequest' - - $ref: '#/components/schemas/RefreshTokenAuthConfigRequest' OAuthConfigResponse: type: object required: @@ -9081,7 +9050,14 @@ components: type: string tenant_url: type: string - description: Per-tenant API base URL. Set by providers with per-org hosts; omitted by providers on a single global host. + description: Per-tenant API base URL. Set by providers with per-org hosts; omitted by providers on a single global host. For OneDrive for Business, this is the tenant's -my.sharepoint.com origin + used by File Picker v8; personal OneDrive omits it. + tenant_type: + type: string + description: Microsoft OneDrive account type discovered during OAuth. + enum: + - business + - personal tenant_id: type: string description: Sub-account id, for providers that scope requests by a sub-account id on a shared host. Omitted by every other provider. @@ -9177,7 +9153,7 @@ components: description: Contact field to write to. Must be an existing built-in or custom contact field, and cannot be phone_number, which identifies the contact. analysis_data_name: type: string - description: Name of the Post Call Extraction field to read the value from. A value that does not match the contact field's type is skipped rather than failing the conversation. + description: Name of the post-call analysis field to read the value from. A value that does not match the contact field's type is skipped rather than failing the conversation. update_mode: type: string description: How to reconcile the new value with what the contact already holds. `overwrite` always replaces it, `fill_if_empty` writes only when the field is empty, and `merge` combines the existing @@ -9249,6 +9225,23 @@ components: enum: - manual - cron + ChartGroupType: + type: string + enum: + - time + - agent_id + - batch_call_id + - call_successful + - call_status + - user_sentiment + - disconnection_reason + - direction + - custom_analysis_data + - custom_attribute + - chat_successful + - chat_status + - call_type + - agent_version DashboardSource: type: string enum: @@ -9287,6 +9280,339 @@ components: - custom_attribute field: type: string + ChartShowItem: + type: object + required: + - source + - measurement + oneOf: + - title: KeywordSource + description: String/enum sources — count only. + required: + - source + - measurement + properties: + source: + type: object + required: + - type + properties: + type: + type: string + enum: + - call_id + - disconnection_reason + - chat_id + group: + $ref: '#/components/schemas/ChartGroupType' + measurement: + type: object + required: + - type + properties: + type: + type: string + enum: + - count + - title: NumericSource + description: Numeric and boolean sources — all measurement types. + required: + - source + - measurement + properties: + source: + type: object + required: + - type + properties: + type: + type: string + enum: + - e2e_latency_p50 + - duration_ms + - call_successful + - call_picked_up + - call_transferred + - in_voicemail + - chat_successful + - combined_cost + group: + $ref: '#/components/schemas/ChartGroupType' + measurement: + type: object + required: + - type + properties: + type: + type: string + enum: + - count + - sum + - p90 + - median + - min + - avg + - max + - title: CustomFieldSource + description: Custom analysis / attribute sources — field is required. + required: + - source + - measurement + properties: + source: + type: object + required: + - type + - field + properties: + type: + type: string + enum: + - custom_analysis_data + - custom_attribute + field: + type: string + cast: + type: string + enum: + - float + - bool + group: + $ref: '#/components/schemas/ChartGroupType' + measurement: + type: object + required: + - type + properties: + type: + type: string + enum: + - count + - sum + - p90 + - median + - min + - avg + - max + - title: ConcurrencySource + description: Call concurrency — max measurement only. + required: + - source + - measurement + properties: + source: + type: object + required: + - type + properties: + type: + type: string + enum: + - call_concurrency + group: + $ref: '#/components/schemas/ChartGroupType' + measurement: + type: object + required: + - type + properties: + type: + type: string + enum: + - max + - title: CustomToolSource + description: Custom tool call metrics — avg measurement only. + required: + - source + - measurement + properties: + source: + type: object + required: + - type + properties: + type: + type: string + enum: + - custom_tool_latency + - custom_tool_success_rate + group: + $ref: '#/components/schemas/ChartGroupType' + measurement: + type: object + required: + - type + properties: + type: + type: string + enum: + - avg + ChartTimeRange: + oneOf: + - type: object + required: + - type + - window + properties: + type: + type: string + enum: + - last + window: + type: object + required: + - unit + - value + properties: + unit: + type: string + enum: + - day + - week + - month + - year + value: + type: integer + minimum: 0 + - type: object + required: + - type + - value + properties: + type: + type: string + enum: + - since + value: + type: array + items: + type: integer + minItems: 1 + maxItems: 1 + - type: object + description: The current day, week, month or year so far, resolved per request in the request's timezone. Weeks start Monday. + required: + - type + - unit + properties: + type: + type: string + enum: + - to_date + unit: + type: string + enum: + - day + - week + - month + - year + - type: object + required: + - type + - value + properties: + type: + type: string + enum: + - fixed + value: + type: array + items: + type: integer + minItems: 2 + maxItems: 2 + - type: object + required: + - type + properties: + type: + type: string + enum: + - all + ChartConfig: + type: object + required: + - type + properties: + chart_id: + type: string + title: + type: string + type: + type: string + enum: + - bar + - column + - donut + - line + - number + size: + oneOf: + - type: string + enum: + - small + - medium + - large + - type: object + description: Grid placement and span for the chart in a 24-column layout. + properties: + col: + type: integer + minimum: 1 + maximum: 24 + description: Starting column. + row: + type: integer + minimum: 1 + maximum: 500 + description: Starting row. + col_span: + type: integer + minimum: 1 + maximum: 24 + description: Number of columns the chart spans. + row_span: + type: integer + minimum: 1 + maximum: 6 + description: Number of rows the chart spans. + required: + - col + - row + - col_span + - row_span + show: + type: array + items: + $ref: '#/components/schemas/ChartShowItem' + group_criteria: + type: array + description: User-selected additional breakdowns saved on the chart. + items: + $ref: '#/components/schemas/ChartGroupItem' + filter_criteria: + anyOf: + - $ref: '#/components/schemas/StoredCallFilter' + - $ref: '#/components/schemas/ChatFilter' + description: Filter criteria saved on the chart. Merged with the dashboard-level filter when fetching data. + time: + $ref: '#/components/schemas/ChartTimeRange' + comparison: + type: boolean + unit: + type: string + enum: + - hour + - day + - week + - month + ChartDefinition: + allOf: + - $ref: '#/components/schemas/ChartConfig' + - type: object + not: + required: + - chart_id security: - api_key: [] paths: @@ -9570,6 +9896,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -9685,6 +10013,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -9748,6 +10078,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -10596,6 +10928,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -11036,7 +11370,7 @@ paths: description: Optional version of the API to use for this request. Default to latest version. responses: '200': - description: Successfully retrieved an Retell LLM Response Engine. + description: Successfully retrieved a Retell LLM Response Engine. content: application/json: schema: @@ -11267,7 +11601,7 @@ paths: termination_uri: type: string example: someuri.pstn.twilio.com - description: The termination uri to uniquely identify your elastic SIP trunk. This is used for outbound calls. For Twilio elastic SIP trunks it always end with ".pstn.twilio.com". + description: The termination uri to uniquely identify your elastic SIP trunk. This is used for outbound calls. For Twilio elastic SIP trunks it always ends with ".pstn.twilio.com". sip_trunk_auth_username: type: string example: username @@ -11369,6 +11703,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -11401,6 +11737,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -11434,6 +11772,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -11464,6 +11804,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -11515,6 +11857,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -11541,6 +11885,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -11679,7 +12025,7 @@ paths: $ref: '#/components/responses/InternalServerError' /rerun-call-analysis/{call_id}: put: - description: Rerun Post Call Extraction for a specific call. This operation incurs charges. + description: Rerun post-call analysis for a specific call. This operation incurs charges. operationId: rerunCallAnalysis parameters: - in: path @@ -11712,7 +12058,7 @@ paths: $ref: '#/components/responses/InternalServerError' /rerun-chat-analysis/{chat_id}: put: - description: Rerun Post Chat Extraction for a specific chat. This operation incurs charges. + description: Rerun post-chat analysis for a specific chat. This operation incurs charges. operationId: rerunChatAnalysis parameters: - in: path @@ -12144,7 +12490,7 @@ paths: nickname: Frontdesk Number responses: '200': - description: Successfully updated an phone number object. + description: Successfully updated a phone number object. content: application/json: schema: @@ -12186,7 +12532,7 @@ paths: begin_message: Hey I am a virtual assistant calling from Retell Hospital. responses: '200': - description: Successfully updated an Retell LLM Response Engine. + description: Successfully updated a Retell LLM Response Engine. content: application/json: schema: @@ -12413,6 +12759,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -12446,6 +12794,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -13118,8 +13468,8 @@ paths: $ref: '#/components/responses/InternalServerError' /create-app: post: - description: 'Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers that authenticate with a key, token, - or refresh token can be connected in this one call by passing auth_config; the credential is stored encrypted and never returned. Up to 20 apps per provider.' + description: 'Create an App: the connection to one external system (a CRM, calendar, support desk, and so on), holding its credentials and settings. Providers with caller-managed credentials accept + auth_config. Providers using the OAuth callback must omit auth_config and be authorized through connect-app. Credentials are stored encrypted and never returned. Up to 20 apps per provider.' operationId: createApp x-retell-sdk-resource: app x-retell-sdk-method: create @@ -13194,7 +13544,8 @@ paths: $ref: '#/components/responses/InternalServerError' /update-app/{app_id}: patch: - description: Partially update an App. Omitted fields remain unchanged. Updating auth_config invalidates the cached provider token immediately. + description: Partially update an App. Omitted fields remain unchanged. Updating auth_config or tenant metadata invalidates the cached provider token immediately. Providers using the OAuth callback + reject auth_config and must be reauthorized through connect-app. operationId: updateApp x-retell-sdk-resource: app x-retell-sdk-method: update @@ -13290,6 +13641,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -13325,6 +13678,8 @@ paths: allOf: - $ref: '#/components/schemas/PaginatedResponseBase' - type: object + required: + - items properties: items: type: array @@ -13373,7 +13728,7 @@ paths: $ref: '#/components/responses/InternalServerError' /get-crm-config: get: - description: 'Get the organization''s CRM configuration: which CRM app is linked, the custom contact fields defined for it, and how Post Call Extraction data is written back to contacts. Returns an + description: 'Get the organization''s CRM configuration: which CRM app is linked, the custom contact fields defined for it, and how post-call analysis data is written back to contacts. Returns an empty configuration when nothing has been set up yet.' operationId: getCrmConfig x-retell-sdk-resource: crm