diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.ActionItemsRequestBodyActionItemsEffort.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.ActionItemsRequestBodyActionItemsEffort.g.cs
new file mode 100644
index 0000000..b70c946
--- /dev/null
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.ActionItemsRequestBodyActionItemsEffort.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace AssemblyAI.JsonConverters
+{
+ ///
+ public sealed class ActionItemsRequestBodyActionItemsEffortJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::AssemblyAI.ActionItemsRequestBodyActionItemsEffort 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::AssemblyAI.ActionItemsRequestBodyActionItemsEffortExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::AssemblyAI.ActionItemsRequestBodyActionItemsEffort)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::AssemblyAI.ActionItemsRequestBodyActionItemsEffort);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::AssemblyAI.ActionItemsRequestBodyActionItemsEffort value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::AssemblyAI.ActionItemsRequestBodyActionItemsEffortExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.ActionItemsRequestBodyActionItemsEffortNullable.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.ActionItemsRequestBodyActionItemsEffortNullable.g.cs
new file mode 100644
index 0000000..6702480
--- /dev/null
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.ActionItemsRequestBodyActionItemsEffortNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace AssemblyAI.JsonConverters
+{
+ ///
+ public sealed class ActionItemsRequestBodyActionItemsEffortNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::AssemblyAI.ActionItemsRequestBodyActionItemsEffort? 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::AssemblyAI.ActionItemsRequestBodyActionItemsEffortExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::AssemblyAI.ActionItemsRequestBodyActionItemsEffort)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::AssemblyAI.ActionItemsRequestBodyActionItemsEffort?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::AssemblyAI.ActionItemsRequestBodyActionItemsEffort? 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::AssemblyAI.ActionItemsRequestBodyActionItemsEffortExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.OneOf4.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.OneOf5.g.cs
similarity index 79%
rename from src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.OneOf4.g.cs
rename to src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.OneOf5.g.cs
index 3bb45df..f092970 100644
--- a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.OneOf4.g.cs
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.OneOf5.g.cs
@@ -3,10 +3,10 @@
namespace AssemblyAI.JsonConverters
{
///
- public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter>
+ public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter>
{
///
- public override global::AssemblyAI.OneOf Read(
+ public override global::AssemblyAI.OneOf Read(
ref global::System.Text.Json.Utf8JsonReader reader,
global::System.Type typeToConvert,
global::System.Text.Json.JsonSerializerOptions options)
@@ -70,17 +70,30 @@ public class OneOfJsonConverter : global::System.Text.Json.Seria
}
}
}
+ var __score4 = 0;
+ {
+ var __ti = typeInfoResolver.GetTypeInfo(typeof(T5), 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)) __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; }
T1? value1 = default;
T2? value2 = default;
T3? value3 = default;
T4? value4 = default;
+ T5? value5 = default;
if (__bestIndex >= 0)
{
if (__bestIndex == 0)
@@ -150,9 +163,26 @@ public class OneOfJsonConverter : global::System.Text.Json.Seria
{
}
}
+
+ else if (__bestIndex == 4)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}");
+ value5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
}
- if (value1 == null && value2 == null && value3 == null && value4 == null)
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null)
{
try
{
@@ -169,7 +199,7 @@ public class OneOfJsonConverter : global::System.Text.Json.Seria
}
}
- if (value1 == null && value2 == null && value3 == null && value4 == null)
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null)
{
try
{
@@ -186,7 +216,7 @@ public class OneOfJsonConverter : global::System.Text.Json.Seria
}
}
- if (value1 == null && value2 == null && value3 == null && value4 == null)
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null)
{
try
{
@@ -203,7 +233,7 @@ public class OneOfJsonConverter : global::System.Text.Json.Seria
}
}
- if (value1 == null && value2 == null && value3 == null && value4 == null)
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null)
{
try
{
@@ -220,14 +250,33 @@ public class OneOfJsonConverter : global::System.Text.Json.Seria
}
}
- var __value = new global::AssemblyAI.OneOf(
+ if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null)
+ {
+ try
+ {
+
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}");
+ value5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::AssemblyAI.OneOf(
value1,
value2,
value3,
- value4
+ value4,
+
+ value5
);
return __value;
@@ -236,7 +285,7 @@ public class OneOfJsonConverter : global::System.Text.Json.Seria
///
public override void Write(
global::System.Text.Json.Utf8JsonWriter writer,
- global::AssemblyAI.OneOf value,
+ global::AssemblyAI.OneOf value,
global::System.Text.Json.JsonSerializerOptions options)
{
options = options ?? throw new global::System.ArgumentNullException(nameof(options));
@@ -266,6 +315,12 @@ public override void Write(
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value4!, typeInfo);
}
+ else if (value.IsValue5)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5!, typeInfo);
+ }
}
}
}
\ No newline at end of file
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonSerializerContext.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonSerializerContext.g.cs
index ad398fe..2aafe1e 100644
--- a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonSerializerContext.g.cs
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonSerializerContext.g.cs
@@ -93,6 +93,10 @@ namespace AssemblyAI
typeof(global::AssemblyAI.JsonConverters.SummarizationRequestBodySummarizationEffortNullableJsonConverter),
+ typeof(global::AssemblyAI.JsonConverters.ActionItemsRequestBodyActionItemsEffortJsonConverter),
+
+ typeof(global::AssemblyAI.JsonConverters.ActionItemsRequestBodyActionItemsEffortNullableJsonConverter),
+
typeof(global::AssemblyAI.JsonConverters.RedactedAudioNotificationJsonConverter),
typeof(global::AssemblyAI.JsonConverters.TranscriptParamsJsonConverter),
@@ -105,7 +109,7 @@ namespace AssemblyAI
typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter),
- typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter),
+ typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter),
typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter),
@@ -121,9 +125,9 @@ namespace AssemblyAI
typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter),
- typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter),
+ typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter),
- typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter),
+ typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter),
typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter),
@@ -171,11 +175,12 @@ namespace AssemblyAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.TranscriptOptionalParamsSpeakerOptions))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.TranscriptOptionalParamsSpeechUnderstanding))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.OneOf), TypeInfoPropertyName = "OneOfTranslationRequestBodySpeakerIdentificationRequestBodyCustomFormattingRequestBodySummarizationRequestBody2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.OneOf), TypeInfoPropertyName = "ActionItemsRequestBody_96ae176b810c4f16")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.TranslationRequestBody))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.SpeakerIdentificationRequestBody))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.CustomFormattingRequestBody))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.SummarizationRequestBody))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.ActionItemsRequestBody))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.SummaryModel), TypeInfoPropertyName = "SummaryModel2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.SummaryType), TypeInfoPropertyName = "SummaryType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.OneOf), TypeInfoPropertyName = "OneOfTranscriptOptionalParamsRemoveAudioTagsObject2")]
@@ -205,11 +210,12 @@ namespace AssemblyAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.SentimentAnalysisResult))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.TranscriptSpeechUnderstanding))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.OneOf), TypeInfoPropertyName = "OneOfTranslationResponseSpeakerIdentificationResponseCustomFormattingResponseSummarizationResponse2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.OneOf), TypeInfoPropertyName = "OneOfTranslationResponseSpeakerIdentificationResponseCustomFormattingResponseSummarizationResponseActionItemsResponse2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.TranslationResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.SpeakerIdentificationResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.CustomFormattingResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.SummarizationResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.ActionItemsResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.OneOf), TypeInfoPropertyName = "OneOfTranscriptRemoveAudioTagsObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.TranscriptRemoveAudioTags), TypeInfoPropertyName = "TranscriptRemoveAudioTags2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
@@ -253,13 +259,17 @@ namespace AssemblyAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.SummarizationRequestBodySummarization))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.SummarizationRequestBodySummarizationSummaryType), TypeInfoPropertyName = "SummarizationRequestBodySummarizationSummaryType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.SummarizationRequestBodySummarizationEffort), TypeInfoPropertyName = "SummarizationRequestBodySummarizationEffort2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.ActionItemsRequestBodyActionItems))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.ActionItemsRequestBodyActionItemsEffort), TypeInfoPropertyName = "ActionItemsRequestBodyActionItemsEffort2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.TranslationResponseTranslation))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.SpeakerIdentificationResponseSpeakerIdentification))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.CustomFormattingResponseCustomFormatting))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.SummarizationResponseSummarization))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.SummarizationResponseSummarizationSummarization))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList