diff --git a/src/libs/Reducto/Generated/Reducto.JsonConverters.DeepSplitPageEvidenceConfidence2.g.cs b/src/libs/Reducto/Generated/Reducto.JsonConverters.DeepSplitPageEvidenceConfidence.g.cs similarity index 80% rename from src/libs/Reducto/Generated/Reducto.JsonConverters.DeepSplitPageEvidenceConfidence2.g.cs rename to src/libs/Reducto/Generated/Reducto.JsonConverters.DeepSplitPageEvidenceConfidence.g.cs index 6dd3c96..1746b0e 100644 --- a/src/libs/Reducto/Generated/Reducto.JsonConverters.DeepSplitPageEvidenceConfidence2.g.cs +++ b/src/libs/Reducto/Generated/Reducto.JsonConverters.DeepSplitPageEvidenceConfidence.g.cs @@ -3,10 +3,10 @@ namespace Reducto.JsonConverters { /// - public sealed class DeepSplitPageEvidenceConfidence2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class DeepSplitPageEvidenceConfidenceJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Reducto.DeepSplitPageEvidenceConfidence2 Read( + public override global::Reducto.DeepSplitPageEvidenceConfidence 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 DeepSplitPageEvidenceConfidence2JsonConverter : global::Syst var stringValue = reader.GetString(); if (stringValue != null) { - return global::Reducto.DeepSplitPageEvidenceConfidence2Extensions.ToEnum(stringValue) ?? default; + return global::Reducto.DeepSplitPageEvidenceConfidenceExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class DeepSplitPageEvidenceConfidence2JsonConverter : global::Syst case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Reducto.DeepSplitPageEvidenceConfidence2)numValue; + return (global::Reducto.DeepSplitPageEvidenceConfidence)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Reducto.DeepSplitPageEvidenceConfidence2); + return default(global::Reducto.DeepSplitPageEvidenceConfidence); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class DeepSplitPageEvidenceConfidence2JsonConverter : global::Syst /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Reducto.DeepSplitPageEvidenceConfidence2 value, + global::Reducto.DeepSplitPageEvidenceConfidence value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Reducto.DeepSplitPageEvidenceConfidence2Extensions.ToValueString(value)); + writer.WriteStringValue(global::Reducto.DeepSplitPageEvidenceConfidenceExtensions.ToValueString(value)); } } } diff --git a/src/libs/Reducto/Generated/Reducto.JsonConverters.DeepSplitPageEvidenceConfidence2Nullable.g.cs b/src/libs/Reducto/Generated/Reducto.JsonConverters.DeepSplitPageEvidenceConfidenceNullable.g.cs similarity index 81% rename from src/libs/Reducto/Generated/Reducto.JsonConverters.DeepSplitPageEvidenceConfidence2Nullable.g.cs rename to src/libs/Reducto/Generated/Reducto.JsonConverters.DeepSplitPageEvidenceConfidenceNullable.g.cs index 8035d3d..02c2a5d 100644 --- a/src/libs/Reducto/Generated/Reducto.JsonConverters.DeepSplitPageEvidenceConfidence2Nullable.g.cs +++ b/src/libs/Reducto/Generated/Reducto.JsonConverters.DeepSplitPageEvidenceConfidenceNullable.g.cs @@ -3,10 +3,10 @@ namespace Reducto.JsonConverters { /// - public sealed class DeepSplitPageEvidenceConfidence2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class DeepSplitPageEvidenceConfidenceNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Reducto.DeepSplitPageEvidenceConfidence2? Read( + public override global::Reducto.DeepSplitPageEvidenceConfidence? 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 DeepSplitPageEvidenceConfidence2NullableJsonConverter : glob var stringValue = reader.GetString(); if (stringValue != null) { - return global::Reducto.DeepSplitPageEvidenceConfidence2Extensions.ToEnum(stringValue); + return global::Reducto.DeepSplitPageEvidenceConfidenceExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class DeepSplitPageEvidenceConfidence2NullableJsonConverter : glob case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Reducto.DeepSplitPageEvidenceConfidence2)numValue; + return (global::Reducto.DeepSplitPageEvidenceConfidence)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Reducto.DeepSplitPageEvidenceConfidence2?); + return default(global::Reducto.DeepSplitPageEvidenceConfidence?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class DeepSplitPageEvidenceConfidence2NullableJsonConverter : glob /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Reducto.DeepSplitPageEvidenceConfidence2? value, + global::Reducto.DeepSplitPageEvidenceConfidence? 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::Reducto.DeepSplitPageEvidenceConfidence2Extensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Reducto.DeepSplitPageEvidenceConfidenceExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Reducto/Generated/Reducto.JsonConverters.EditOptionsLlmProviderPreference2.g.cs b/src/libs/Reducto/Generated/Reducto.JsonConverters.EditOptionsLlmProviderPreference.g.cs similarity index 80% rename from src/libs/Reducto/Generated/Reducto.JsonConverters.EditOptionsLlmProviderPreference2.g.cs rename to src/libs/Reducto/Generated/Reducto.JsonConverters.EditOptionsLlmProviderPreference.g.cs index a8b78c0..baa9d2d 100644 --- a/src/libs/Reducto/Generated/Reducto.JsonConverters.EditOptionsLlmProviderPreference2.g.cs +++ b/src/libs/Reducto/Generated/Reducto.JsonConverters.EditOptionsLlmProviderPreference.g.cs @@ -3,10 +3,10 @@ namespace Reducto.JsonConverters { /// - public sealed class EditOptionsLlmProviderPreference2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class EditOptionsLlmProviderPreferenceJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Reducto.EditOptionsLlmProviderPreference2 Read( + public override global::Reducto.EditOptionsLlmProviderPreference 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 EditOptionsLlmProviderPreference2JsonConverter : global::Sys var stringValue = reader.GetString(); if (stringValue != null) { - return global::Reducto.EditOptionsLlmProviderPreference2Extensions.ToEnum(stringValue) ?? default; + return global::Reducto.EditOptionsLlmProviderPreferenceExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class EditOptionsLlmProviderPreference2JsonConverter : global::Sys case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Reducto.EditOptionsLlmProviderPreference2)numValue; + return (global::Reducto.EditOptionsLlmProviderPreference)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Reducto.EditOptionsLlmProviderPreference2); + return default(global::Reducto.EditOptionsLlmProviderPreference); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class EditOptionsLlmProviderPreference2JsonConverter : global::Sys /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Reducto.EditOptionsLlmProviderPreference2 value, + global::Reducto.EditOptionsLlmProviderPreference value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Reducto.EditOptionsLlmProviderPreference2Extensions.ToValueString(value)); + writer.WriteStringValue(global::Reducto.EditOptionsLlmProviderPreferenceExtensions.ToValueString(value)); } } } diff --git a/src/libs/Reducto/Generated/Reducto.JsonConverters.EditOptionsLlmProviderPreference2Nullable.g.cs b/src/libs/Reducto/Generated/Reducto.JsonConverters.EditOptionsLlmProviderPreferenceNullable.g.cs similarity index 80% rename from src/libs/Reducto/Generated/Reducto.JsonConverters.EditOptionsLlmProviderPreference2Nullable.g.cs rename to src/libs/Reducto/Generated/Reducto.JsonConverters.EditOptionsLlmProviderPreferenceNullable.g.cs index cca0218..defde14 100644 --- a/src/libs/Reducto/Generated/Reducto.JsonConverters.EditOptionsLlmProviderPreference2Nullable.g.cs +++ b/src/libs/Reducto/Generated/Reducto.JsonConverters.EditOptionsLlmProviderPreferenceNullable.g.cs @@ -3,10 +3,10 @@ namespace Reducto.JsonConverters { /// - public sealed class EditOptionsLlmProviderPreference2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class EditOptionsLlmProviderPreferenceNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Reducto.EditOptionsLlmProviderPreference2? Read( + public override global::Reducto.EditOptionsLlmProviderPreference? 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 EditOptionsLlmProviderPreference2NullableJsonConverter : glo var stringValue = reader.GetString(); if (stringValue != null) { - return global::Reducto.EditOptionsLlmProviderPreference2Extensions.ToEnum(stringValue); + return global::Reducto.EditOptionsLlmProviderPreferenceExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class EditOptionsLlmProviderPreference2NullableJsonConverter : glo case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Reducto.EditOptionsLlmProviderPreference2)numValue; + return (global::Reducto.EditOptionsLlmProviderPreference)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Reducto.EditOptionsLlmProviderPreference2?); + return default(global::Reducto.EditOptionsLlmProviderPreference?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class EditOptionsLlmProviderPreference2NullableJsonConverter : glo /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Reducto.EditOptionsLlmProviderPreference2? value, + global::Reducto.EditOptionsLlmProviderPreference? 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::Reducto.EditOptionsLlmProviderPreference2Extensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Reducto.EditOptionsLlmProviderPreferenceExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Reducto/Generated/Reducto.JsonConverters.EnhancedAsyncJobResponseType2.g.cs b/src/libs/Reducto/Generated/Reducto.JsonConverters.EnhancedAsyncJobResponseType.g.cs similarity index 81% rename from src/libs/Reducto/Generated/Reducto.JsonConverters.EnhancedAsyncJobResponseType2.g.cs rename to src/libs/Reducto/Generated/Reducto.JsonConverters.EnhancedAsyncJobResponseType.g.cs index 742caa7..9f7f837 100644 --- a/src/libs/Reducto/Generated/Reducto.JsonConverters.EnhancedAsyncJobResponseType2.g.cs +++ b/src/libs/Reducto/Generated/Reducto.JsonConverters.EnhancedAsyncJobResponseType.g.cs @@ -3,10 +3,10 @@ namespace Reducto.JsonConverters { /// - public sealed class EnhancedAsyncJobResponseType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class EnhancedAsyncJobResponseTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Reducto.EnhancedAsyncJobResponseType2 Read( + public override global::Reducto.EnhancedAsyncJobResponseType 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 EnhancedAsyncJobResponseType2JsonConverter : global::System. var stringValue = reader.GetString(); if (stringValue != null) { - return global::Reducto.EnhancedAsyncJobResponseType2Extensions.ToEnum(stringValue) ?? default; + return global::Reducto.EnhancedAsyncJobResponseTypeExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class EnhancedAsyncJobResponseType2JsonConverter : global::System. case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Reducto.EnhancedAsyncJobResponseType2)numValue; + return (global::Reducto.EnhancedAsyncJobResponseType)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Reducto.EnhancedAsyncJobResponseType2); + return default(global::Reducto.EnhancedAsyncJobResponseType); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class EnhancedAsyncJobResponseType2JsonConverter : global::System. /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Reducto.EnhancedAsyncJobResponseType2 value, + global::Reducto.EnhancedAsyncJobResponseType value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Reducto.EnhancedAsyncJobResponseType2Extensions.ToValueString(value)); + writer.WriteStringValue(global::Reducto.EnhancedAsyncJobResponseTypeExtensions.ToValueString(value)); } } } diff --git a/src/libs/Reducto/Generated/Reducto.JsonConverters.EnhancedAsyncJobResponseType2Nullable.g.cs b/src/libs/Reducto/Generated/Reducto.JsonConverters.EnhancedAsyncJobResponseTypeNullable.g.cs similarity index 82% rename from src/libs/Reducto/Generated/Reducto.JsonConverters.EnhancedAsyncJobResponseType2Nullable.g.cs rename to src/libs/Reducto/Generated/Reducto.JsonConverters.EnhancedAsyncJobResponseTypeNullable.g.cs index b41e6ae..56342c2 100644 --- a/src/libs/Reducto/Generated/Reducto.JsonConverters.EnhancedAsyncJobResponseType2Nullable.g.cs +++ b/src/libs/Reducto/Generated/Reducto.JsonConverters.EnhancedAsyncJobResponseTypeNullable.g.cs @@ -3,10 +3,10 @@ namespace Reducto.JsonConverters { /// - public sealed class EnhancedAsyncJobResponseType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class EnhancedAsyncJobResponseTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Reducto.EnhancedAsyncJobResponseType2? Read( + public override global::Reducto.EnhancedAsyncJobResponseType? 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 EnhancedAsyncJobResponseType2NullableJsonConverter : global: var stringValue = reader.GetString(); if (stringValue != null) { - return global::Reducto.EnhancedAsyncJobResponseType2Extensions.ToEnum(stringValue); + return global::Reducto.EnhancedAsyncJobResponseTypeExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class EnhancedAsyncJobResponseType2NullableJsonConverter : global: case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Reducto.EnhancedAsyncJobResponseType2)numValue; + return (global::Reducto.EnhancedAsyncJobResponseType)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Reducto.EnhancedAsyncJobResponseType2?); + return default(global::Reducto.EnhancedAsyncJobResponseType?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class EnhancedAsyncJobResponseType2NullableJsonConverter : global: /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Reducto.EnhancedAsyncJobResponseType2? value, + global::Reducto.EnhancedAsyncJobResponseType? 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::Reducto.EnhancedAsyncJobResponseType2Extensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Reducto.EnhancedAsyncJobResponseTypeExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Reducto/Generated/Reducto.JsonConverters.ExtractUsageExtractMode2.g.cs b/src/libs/Reducto/Generated/Reducto.JsonConverters.ExtractUsageExtractMode.g.cs similarity index 79% rename from src/libs/Reducto/Generated/Reducto.JsonConverters.ExtractUsageExtractMode2.g.cs rename to src/libs/Reducto/Generated/Reducto.JsonConverters.ExtractUsageExtractMode.g.cs index 8792a73..3089e6c 100644 --- a/src/libs/Reducto/Generated/Reducto.JsonConverters.ExtractUsageExtractMode2.g.cs +++ b/src/libs/Reducto/Generated/Reducto.JsonConverters.ExtractUsageExtractMode.g.cs @@ -3,10 +3,10 @@ namespace Reducto.JsonConverters { /// - public sealed class ExtractUsageExtractMode2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ExtractUsageExtractModeJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Reducto.ExtractUsageExtractMode2 Read( + public override global::Reducto.ExtractUsageExtractMode 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 ExtractUsageExtractMode2JsonConverter : global::System.Text. var stringValue = reader.GetString(); if (stringValue != null) { - return global::Reducto.ExtractUsageExtractMode2Extensions.ToEnum(stringValue) ?? default; + return global::Reducto.ExtractUsageExtractModeExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class ExtractUsageExtractMode2JsonConverter : global::System.Text. case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Reducto.ExtractUsageExtractMode2)numValue; + return (global::Reducto.ExtractUsageExtractMode)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Reducto.ExtractUsageExtractMode2); + return default(global::Reducto.ExtractUsageExtractMode); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class ExtractUsageExtractMode2JsonConverter : global::System.Text. /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Reducto.ExtractUsageExtractMode2 value, + global::Reducto.ExtractUsageExtractMode value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Reducto.ExtractUsageExtractMode2Extensions.ToValueString(value)); + writer.WriteStringValue(global::Reducto.ExtractUsageExtractModeExtensions.ToValueString(value)); } } } diff --git a/src/libs/Reducto/Generated/Reducto.JsonConverters.ExtractUsageExtractMode2Nullable.g.cs b/src/libs/Reducto/Generated/Reducto.JsonConverters.ExtractUsageExtractModeNullable.g.cs similarity index 80% rename from src/libs/Reducto/Generated/Reducto.JsonConverters.ExtractUsageExtractMode2Nullable.g.cs rename to src/libs/Reducto/Generated/Reducto.JsonConverters.ExtractUsageExtractModeNullable.g.cs index 11f271e..2331865 100644 --- a/src/libs/Reducto/Generated/Reducto.JsonConverters.ExtractUsageExtractMode2Nullable.g.cs +++ b/src/libs/Reducto/Generated/Reducto.JsonConverters.ExtractUsageExtractModeNullable.g.cs @@ -3,10 +3,10 @@ namespace Reducto.JsonConverters { /// - public sealed class ExtractUsageExtractMode2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ExtractUsageExtractModeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Reducto.ExtractUsageExtractMode2? Read( + public override global::Reducto.ExtractUsageExtractMode? 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 ExtractUsageExtractMode2NullableJsonConverter : global::Syst var stringValue = reader.GetString(); if (stringValue != null) { - return global::Reducto.ExtractUsageExtractMode2Extensions.ToEnum(stringValue); + return global::Reducto.ExtractUsageExtractModeExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class ExtractUsageExtractMode2NullableJsonConverter : global::Syst case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Reducto.ExtractUsageExtractMode2)numValue; + return (global::Reducto.ExtractUsageExtractMode)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Reducto.ExtractUsageExtractMode2?); + return default(global::Reducto.ExtractUsageExtractMode?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class ExtractUsageExtractMode2NullableJsonConverter : global::Syst /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Reducto.ExtractUsageExtractMode2? value, + global::Reducto.ExtractUsageExtractMode? 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::Reducto.ExtractUsageExtractMode2Extensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Reducto.ExtractUsageExtractModeExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Reducto/Generated/Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoader2.g.cs b/src/libs/Reducto/Generated/Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoader.g.cs similarity index 79% rename from src/libs/Reducto/Generated/Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoader2.g.cs rename to src/libs/Reducto/Generated/Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoader.g.cs index fc3f206..fd5db1b 100644 --- a/src/libs/Reducto/Generated/Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoader2.g.cs +++ b/src/libs/Reducto/Generated/Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoader.g.cs @@ -3,10 +3,10 @@ namespace Reducto.JsonConverters { /// - public sealed class ProcessingOptionsSpreadsheetLoader2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ProcessingOptionsSpreadsheetLoaderJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Reducto.ProcessingOptionsSpreadsheetLoader2 Read( + public override global::Reducto.ProcessingOptionsSpreadsheetLoader 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 ProcessingOptionsSpreadsheetLoader2JsonConverter : global::S var stringValue = reader.GetString(); if (stringValue != null) { - return global::Reducto.ProcessingOptionsSpreadsheetLoader2Extensions.ToEnum(stringValue) ?? default; + return global::Reducto.ProcessingOptionsSpreadsheetLoaderExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class ProcessingOptionsSpreadsheetLoader2JsonConverter : global::S case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Reducto.ProcessingOptionsSpreadsheetLoader2)numValue; + return (global::Reducto.ProcessingOptionsSpreadsheetLoader)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Reducto.ProcessingOptionsSpreadsheetLoader2); + return default(global::Reducto.ProcessingOptionsSpreadsheetLoader); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class ProcessingOptionsSpreadsheetLoader2JsonConverter : global::S /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Reducto.ProcessingOptionsSpreadsheetLoader2 value, + global::Reducto.ProcessingOptionsSpreadsheetLoader value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Reducto.ProcessingOptionsSpreadsheetLoader2Extensions.ToValueString(value)); + writer.WriteStringValue(global::Reducto.ProcessingOptionsSpreadsheetLoaderExtensions.ToValueString(value)); } } } diff --git a/src/libs/Reducto/Generated/Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoader2Nullable.g.cs b/src/libs/Reducto/Generated/Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoaderNullable.g.cs similarity index 80% rename from src/libs/Reducto/Generated/Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoader2Nullable.g.cs rename to src/libs/Reducto/Generated/Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoaderNullable.g.cs index ef5a4a8..f09e765 100644 --- a/src/libs/Reducto/Generated/Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoader2Nullable.g.cs +++ b/src/libs/Reducto/Generated/Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoaderNullable.g.cs @@ -3,10 +3,10 @@ namespace Reducto.JsonConverters { /// - public sealed class ProcessingOptionsSpreadsheetLoader2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ProcessingOptionsSpreadsheetLoaderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Reducto.ProcessingOptionsSpreadsheetLoader2? Read( + public override global::Reducto.ProcessingOptionsSpreadsheetLoader? 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 ProcessingOptionsSpreadsheetLoader2NullableJsonConverter : g var stringValue = reader.GetString(); if (stringValue != null) { - return global::Reducto.ProcessingOptionsSpreadsheetLoader2Extensions.ToEnum(stringValue); + return global::Reducto.ProcessingOptionsSpreadsheetLoaderExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class ProcessingOptionsSpreadsheetLoader2NullableJsonConverter : g case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Reducto.ProcessingOptionsSpreadsheetLoader2)numValue; + return (global::Reducto.ProcessingOptionsSpreadsheetLoader)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Reducto.ProcessingOptionsSpreadsheetLoader2?); + return default(global::Reducto.ProcessingOptionsSpreadsheetLoader?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class ProcessingOptionsSpreadsheetLoader2NullableJsonConverter : g /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Reducto.ProcessingOptionsSpreadsheetLoader2? value, + global::Reducto.ProcessingOptionsSpreadsheetLoader? 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::Reducto.ProcessingOptionsSpreadsheetLoader2Extensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Reducto.ProcessingOptionsSpreadsheetLoaderExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Reducto/Generated/Reducto.JsonSerializerContext.g.cs b/src/libs/Reducto/Generated/Reducto.JsonSerializerContext.g.cs index cac9e72..7efe851 100644 --- a/src/libs/Reducto/Generated/Reducto.JsonSerializerContext.g.cs +++ b/src/libs/Reducto/Generated/Reducto.JsonSerializerContext.g.cs @@ -57,13 +57,13 @@ namespace Reducto typeof(global::Reducto.JsonConverters.CriteriaConfidenceConfidenceNullableJsonConverter), - typeof(global::Reducto.JsonConverters.DeepSplitPageEvidenceConfidence2JsonConverter), + typeof(global::Reducto.JsonConverters.DeepSplitPageEvidenceConfidenceJsonConverter), - typeof(global::Reducto.JsonConverters.DeepSplitPageEvidenceConfidence2NullableJsonConverter), + typeof(global::Reducto.JsonConverters.DeepSplitPageEvidenceConfidenceNullableJsonConverter), - typeof(global::Reducto.JsonConverters.EditOptionsLlmProviderPreference2JsonConverter), + typeof(global::Reducto.JsonConverters.EditOptionsLlmProviderPreferenceJsonConverter), - typeof(global::Reducto.JsonConverters.EditOptionsLlmProviderPreference2NullableJsonConverter), + typeof(global::Reducto.JsonConverters.EditOptionsLlmProviderPreferenceNullableJsonConverter), typeof(global::Reducto.JsonConverters.EditWidgetTypeJsonConverter), @@ -73,9 +73,9 @@ namespace Reducto typeof(global::Reducto.JsonConverters.EnhancedAsyncJobResponseStatusNullableJsonConverter), - typeof(global::Reducto.JsonConverters.EnhancedAsyncJobResponseType2JsonConverter), + typeof(global::Reducto.JsonConverters.EnhancedAsyncJobResponseTypeJsonConverter), - typeof(global::Reducto.JsonConverters.EnhancedAsyncJobResponseType2NullableJsonConverter), + typeof(global::Reducto.JsonConverters.EnhancedAsyncJobResponseTypeNullableJsonConverter), typeof(global::Reducto.JsonConverters.EnrichConfigModeJsonConverter), @@ -89,9 +89,9 @@ namespace Reducto typeof(global::Reducto.JsonConverters.ExtractConfigOptionsExtractAlgorithmNullableJsonConverter), - typeof(global::Reducto.JsonConverters.ExtractUsageExtractMode2JsonConverter), + typeof(global::Reducto.JsonConverters.ExtractUsageExtractModeJsonConverter), - typeof(global::Reducto.JsonConverters.ExtractUsageExtractMode2NullableJsonConverter), + typeof(global::Reducto.JsonConverters.ExtractUsageExtractModeNullableJsonConverter), typeof(global::Reducto.JsonConverters.FormattingTableOutputFormatJsonConverter), @@ -149,9 +149,9 @@ namespace Reducto typeof(global::Reducto.JsonConverters.ProcessingOptionsSpreadsheetTableClusteringNullableJsonConverter), - typeof(global::Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoader2JsonConverter), + typeof(global::Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoaderJsonConverter), - typeof(global::Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoader2NullableJsonConverter), + typeof(global::Reducto.JsonConverters.ProcessingOptionsSpreadsheetLoaderNullableJsonConverter), typeof(global::Reducto.JsonConverters.ProcessingOptionsLayoutModelJsonConverter), @@ -405,12 +405,12 @@ namespace Reducto [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.DeepSplitPageEvidence))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.DeepSplitPartition))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.DeepSplitPageEvidenceConfidence2), TypeInfoPropertyName = "DeepSplitPageEvidenceConfidence22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.DeepSplitPageEvidenceConfidence), TypeInfoPropertyName = "DeepSplitPageEvidenceConfidence2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.DeepSplitResult))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.DirectWebhookConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.EditConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.EditOptionsLlmProviderPreference2), TypeInfoPropertyName = "EditOptionsLlmProviderPreference22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.EditOptionsLlmProviderPreference), TypeInfoPropertyName = "EditOptionsLlmProviderPreference2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.ParseUsage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.EditWidgetType), TypeInfoPropertyName = "EditWidgetType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] @@ -420,7 +420,7 @@ namespace Reducto [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.TextAgentic))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.EnhancedAsyncJobResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.EnhancedAsyncJobResponseStatus), TypeInfoPropertyName = "EnhancedAsyncJobResponseStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.EnhancedAsyncJobResponseType2), TypeInfoPropertyName = "EnhancedAsyncJobResponseType22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.EnhancedAsyncJobResponseType), TypeInfoPropertyName = "EnhancedAsyncJobResponseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.EnrichConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.EnrichConfigMode), TypeInfoPropertyName = "EnrichConfigMode2")] @@ -438,7 +438,7 @@ namespace Reducto [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.ExtractSplitResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.AnyOf), TypeInfoPropertyName = "AnyOfExtractResponseV3ExtractResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.ExtractUsageExtractMode2), TypeInfoPropertyName = "ExtractUsageExtractMode22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.ExtractUsageExtractMode), TypeInfoPropertyName = "ExtractUsageExtractMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.FormattingTableOutputFormat), TypeInfoPropertyName = "FormattingTableOutputFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.FormattingIncludeItem), TypeInfoPropertyName = "FormattingIncludeItem2")] @@ -487,7 +487,7 @@ namespace Reducto [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.ProcessingOptionsIgnoreBlock), TypeInfoPropertyName = "ProcessingOptionsIgnoreBlock2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.ProcessingOptionsCustomFormat), TypeInfoPropertyName = "ProcessingOptionsCustomFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.ProcessingOptionsSpreadsheetTableClustering), TypeInfoPropertyName = "ProcessingOptionsSpreadsheetTableClustering2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.ProcessingOptionsSpreadsheetLoader2), TypeInfoPropertyName = "ProcessingOptionsSpreadsheetLoader22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.ProcessingOptionsSpreadsheetLoader), TypeInfoPropertyName = "ProcessingOptionsSpreadsheetLoader2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.ProcessingOptionsLayoutModel), TypeInfoPropertyName = "ProcessingOptionsLayoutModel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.ProcessingOptionsAgenticTextThinkingLevel), TypeInfoPropertyName = "ProcessingOptionsAgenticTextThinkingLevel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Reducto.ProcessingOverridesBase))] diff --git a/src/libs/Reducto/Generated/Reducto.JsonSerializerContextTypes.g.cs b/src/libs/Reducto/Generated/Reducto.JsonSerializerContextTypes.g.cs index 00b7a1b..ba107ac 100644 --- a/src/libs/Reducto/Generated/Reducto.JsonSerializerContextTypes.g.cs +++ b/src/libs/Reducto/Generated/Reducto.JsonSerializerContextTypes.g.cs @@ -397,7 +397,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Reducto.DeepSplitPageEvidenceConfidence2? Type91 { get; set; } + public global::Reducto.DeepSplitPageEvidenceConfidence? Type91 { get; set; } /// /// /// @@ -417,7 +417,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Reducto.EditOptionsLlmProviderPreference2? Type96 { get; set; } + public global::Reducto.EditOptionsLlmProviderPreference? Type96 { get; set; } /// /// /// @@ -457,7 +457,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Reducto.EnhancedAsyncJobResponseType2? Type106 { get; set; } + public global::Reducto.EnhancedAsyncJobResponseType? Type106 { get; set; } /// /// /// @@ -529,7 +529,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Reducto.ExtractUsageExtractMode2? Type124 { get; set; } + public global::Reducto.ExtractUsageExtractMode? Type124 { get; set; } /// /// /// @@ -725,7 +725,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Reducto.ProcessingOptionsSpreadsheetLoader2? Type173 { get; set; } + public global::Reducto.ProcessingOptionsSpreadsheetLoader? Type173 { get; set; } /// /// /// diff --git a/src/libs/Reducto/Generated/Reducto.Models.ClassifyResponseResponseConfidence.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ClassifyResponseResponseConfidence.Json.g.cs deleted file mode 100644 index 33af36d..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.ClassifyResponseResponseConfidence.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class ClassifyResponseResponseConfidence - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.ClassifyResponseResponseConfidence? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.ClassifyResponseResponseConfidence), - jsonSerializerContext) as global::Reducto.ClassifyResponseResponseConfidence; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.ClassifyResponseResponseConfidence? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.ClassifyResponseResponseConfidence? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.ClassifyResponseResponseConfidence), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.ClassifyResponseResponseConfidence; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.ClassifyResponseResponseConfidence.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ClassifyResponseResponseConfidence.g.cs deleted file mode 100644 index ae35589..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.ClassifyResponseResponseConfidence.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public sealed partial class ClassifyResponseResponseConfidence - { - - /// - /// 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/Reducto/Generated/Reducto.Models.DeepSplitPageEvidence.g.cs b/src/libs/Reducto/Generated/Reducto.Models.DeepSplitPageEvidence.g.cs index b6ba944..2236187 100644 --- a/src/libs/Reducto/Generated/Reducto.Models.DeepSplitPageEvidence.g.cs +++ b/src/libs/Reducto/Generated/Reducto.Models.DeepSplitPageEvidence.g.cs @@ -26,7 +26,7 @@ public sealed partial class DeepSplitPageEvidence /// /// [global::System.Text.Json.Serialization.JsonPropertyName("confidence")] - public global::Reducto.DeepSplitPageEvidenceConfidence2? Confidence { get; set; } + public global::Reducto.DeepSplitPageEvidenceConfidence? Confidence { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -46,7 +46,7 @@ public sealed partial class DeepSplitPageEvidence public DeepSplitPageEvidence( int pageNumber, string evidence, - global::Reducto.DeepSplitPageEvidenceConfidence2? confidence) + global::Reducto.DeepSplitPageEvidenceConfidence? confidence) { this.PageNumber = pageNumber; this.Evidence = evidence ?? throw new global::System.ArgumentNullException(nameof(evidence)); diff --git a/src/libs/Reducto/Generated/Reducto.Models.DeepSplitPageEvidenceConfidence.g.cs b/src/libs/Reducto/Generated/Reducto.Models.DeepSplitPageEvidenceConfidence.g.cs index 0bf734c..e475732 100644 --- a/src/libs/Reducto/Generated/Reducto.Models.DeepSplitPageEvidenceConfidence.g.cs +++ b/src/libs/Reducto/Generated/Reducto.Models.DeepSplitPageEvidenceConfidence.g.cs @@ -6,14 +6,52 @@ namespace Reducto /// /// /// - public sealed partial class DeepSplitPageEvidenceConfidence + public enum DeepSplitPageEvidenceConfidence { - /// - /// Additional properties that are not explicitly defined in the schema + /// + /// + High, + /// + /// /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + Low, + /// + /// + /// + Medium, + } + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DeepSplitPageEvidenceConfidenceExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DeepSplitPageEvidenceConfidence value) + { + return value switch + { + DeepSplitPageEvidenceConfidence.High => "high", + DeepSplitPageEvidenceConfidence.Low => "low", + DeepSplitPageEvidenceConfidence.Medium => "medium", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DeepSplitPageEvidenceConfidence? ToEnum(string value) + { + return value switch + { + "high" => DeepSplitPageEvidenceConfidence.High, + "low" => DeepSplitPageEvidenceConfidence.Low, + "medium" => DeepSplitPageEvidenceConfidence.Medium, + _ => null, + }; + } } } \ No newline at end of file diff --git a/src/libs/Reducto/Generated/Reducto.Models.DeepSplitPageEvidenceConfidence2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.DeepSplitPageEvidenceConfidence2.g.cs deleted file mode 100644 index 22e90e6..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.DeepSplitPageEvidenceConfidence2.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public enum DeepSplitPageEvidenceConfidence2 - { - /// - /// - /// - High, - /// - /// - /// - Low, - /// - /// - /// - Medium, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class DeepSplitPageEvidenceConfidence2Extensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this DeepSplitPageEvidenceConfidence2 value) - { - return value switch - { - DeepSplitPageEvidenceConfidence2.High => "high", - DeepSplitPageEvidenceConfidence2.Low => "low", - DeepSplitPageEvidenceConfidence2.Medium => "medium", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static DeepSplitPageEvidenceConfidence2? ToEnum(string value) - { - return value switch - { - "high" => DeepSplitPageEvidenceConfidence2.High, - "low" => DeepSplitPageEvidenceConfidence2.Low, - "medium" => DeepSplitPageEvidenceConfidence2.Medium, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Reducto/Generated/Reducto.Models.EditOptions.g.cs b/src/libs/Reducto/Generated/Reducto.Models.EditOptions.g.cs index 41fa204..da77211 100644 --- a/src/libs/Reducto/Generated/Reducto.Models.EditOptions.g.cs +++ b/src/libs/Reducto/Generated/Reducto.Models.EditOptions.g.cs @@ -25,7 +25,7 @@ public sealed partial class EditOptions /// The LLM provider to use for edit processing. If not specified, defaults to 'google' /// [global::System.Text.Json.Serialization.JsonPropertyName("llm_provider_preference")] - public global::Reducto.EditOptionsLlmProviderPreference2? LlmProviderPreference { get; set; } + public global::Reducto.EditOptionsLlmProviderPreference? LlmProviderPreference { get; set; } /// /// If True, creates overflow pages for text that doesn't fit in form fields. Defaults to False.
@@ -74,7 +74,7 @@ public sealed partial class EditOptions public EditOptions( string? color, double? fontSize, - global::Reducto.EditOptionsLlmProviderPreference2? llmProviderPreference, + global::Reducto.EditOptionsLlmProviderPreference? llmProviderPreference, bool? enableOverflowPages, bool? flatten) { diff --git a/src/libs/Reducto/Generated/Reducto.Models.EditOptionsLlmProviderPreference.g.cs b/src/libs/Reducto/Generated/Reducto.Models.EditOptionsLlmProviderPreference.g.cs index e285b19..4df791f 100644 --- a/src/libs/Reducto/Generated/Reducto.Models.EditOptionsLlmProviderPreference.g.cs +++ b/src/libs/Reducto/Generated/Reducto.Models.EditOptionsLlmProviderPreference.g.cs @@ -4,16 +4,54 @@ namespace Reducto { /// - /// The LLM provider to use for edit processing. If not specified, defaults to 'google' + /// /// - public sealed partial class EditOptionsLlmProviderPreference + public enum EditOptionsLlmProviderPreference { - /// - /// Additional properties that are not explicitly defined in the schema + /// + /// + Anthropic, + /// + /// /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + Google, + /// + /// + /// + Openai, + } + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class EditOptionsLlmProviderPreferenceExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this EditOptionsLlmProviderPreference value) + { + return value switch + { + EditOptionsLlmProviderPreference.Anthropic => "anthropic", + EditOptionsLlmProviderPreference.Google => "google", + EditOptionsLlmProviderPreference.Openai => "openai", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static EditOptionsLlmProviderPreference? ToEnum(string value) + { + return value switch + { + "anthropic" => EditOptionsLlmProviderPreference.Anthropic, + "google" => EditOptionsLlmProviderPreference.Google, + "openai" => EditOptionsLlmProviderPreference.Openai, + _ => null, + }; + } } } \ No newline at end of file diff --git a/src/libs/Reducto/Generated/Reducto.Models.EditOptionsLlmProviderPreference2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.EditOptionsLlmProviderPreference2.g.cs deleted file mode 100644 index 5777c24..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.EditOptionsLlmProviderPreference2.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public enum EditOptionsLlmProviderPreference2 - { - /// - /// - /// - Anthropic, - /// - /// - /// - Google, - /// - /// - /// - Openai, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class EditOptionsLlmProviderPreference2Extensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this EditOptionsLlmProviderPreference2 value) - { - return value switch - { - EditOptionsLlmProviderPreference2.Anthropic => "anthropic", - EditOptionsLlmProviderPreference2.Google => "google", - EditOptionsLlmProviderPreference2.Openai => "openai", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static EditOptionsLlmProviderPreference2? ToEnum(string value) - { - return value switch - { - "anthropic" => EditOptionsLlmProviderPreference2.Anthropic, - "google" => EditOptionsLlmProviderPreference2.Google, - "openai" => EditOptionsLlmProviderPreference2.Openai, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Reducto/Generated/Reducto.Models.EditResponseUsage.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.EditResponseUsage.Json.g.cs deleted file mode 100644 index f53b5d2..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.EditResponseUsage.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class EditResponseUsage - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.EditResponseUsage? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.EditResponseUsage), - jsonSerializerContext) as global::Reducto.EditResponseUsage; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.EditResponseUsage? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.EditResponseUsage? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.EditResponseUsage), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.EditResponseUsage; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.EditResponseUsage.g.cs b/src/libs/Reducto/Generated/Reducto.Models.EditResponseUsage.g.cs deleted file mode 100644 index 96c1bb7..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.EditResponseUsage.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// Usage information for the edit operation, including number of pages and credits charged. - /// - public sealed partial class EditResponseUsage - { - - /// - /// 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/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponse.g.cs b/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponse.g.cs index bbe54b0..b22139a 100644 --- a/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponse.g.cs +++ b/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponse.g.cs @@ -39,7 +39,7 @@ public sealed partial class EnhancedAsyncJobResponse /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("type")] - public global::Reducto.EnhancedAsyncJobResponseType2? Type { get; set; } + public global::Reducto.EnhancedAsyncJobResponseType? Type { get; set; } /// /// @@ -112,7 +112,7 @@ public EnhancedAsyncJobResponse( global::Reducto.AnyOf? result, double? progress, string? reason, - global::Reducto.EnhancedAsyncJobResponseType2? type, + global::Reducto.EnhancedAsyncJobResponseType? type, int? numPages, int? totalPages, object? source, diff --git a/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseBucket2.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseBucket2.Json.g.cs deleted file mode 100644 index b884b7c..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseBucket2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class EnhancedAsyncJobResponseBucket2 - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.EnhancedAsyncJobResponseBucket2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.EnhancedAsyncJobResponseBucket2), - jsonSerializerContext) as global::Reducto.EnhancedAsyncJobResponseBucket2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.EnhancedAsyncJobResponseBucket2? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.EnhancedAsyncJobResponseBucket2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.EnhancedAsyncJobResponseBucket2), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.EnhancedAsyncJobResponseBucket2; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseBucket2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseBucket2.g.cs deleted file mode 100644 index 9a15789..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseBucket2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public sealed partial class EnhancedAsyncJobResponseBucket2 - { - - /// - /// 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/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseSource2.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseSource2.Json.g.cs deleted file mode 100644 index a746a02..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseSource2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class EnhancedAsyncJobResponseSource2 - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.EnhancedAsyncJobResponseSource2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.EnhancedAsyncJobResponseSource2), - jsonSerializerContext) as global::Reducto.EnhancedAsyncJobResponseSource2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.EnhancedAsyncJobResponseSource2? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.EnhancedAsyncJobResponseSource2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.EnhancedAsyncJobResponseSource2), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.EnhancedAsyncJobResponseSource2; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseSource2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseSource2.g.cs deleted file mode 100644 index 7e68875..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseSource2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public sealed partial class EnhancedAsyncJobResponseSource2 - { - - /// - /// 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/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseType.g.cs b/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseType.g.cs index 0ff2d9c..cca96ca 100644 --- a/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseType.g.cs +++ b/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseType.g.cs @@ -6,14 +6,70 @@ namespace Reducto /// /// /// - public sealed partial class EnhancedAsyncJobResponseType + public enum EnhancedAsyncJobResponseType { - /// - /// Additional properties that are not explicitly defined in the schema + /// + /// + Classify, + /// + /// + /// + Edit, + /// + /// /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + Extract, + /// + /// + /// + Parse, + /// + /// + /// + Pipeline, + /// + /// + /// + Split, + } + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class EnhancedAsyncJobResponseTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this EnhancedAsyncJobResponseType value) + { + return value switch + { + EnhancedAsyncJobResponseType.Classify => "Classify", + EnhancedAsyncJobResponseType.Edit => "Edit", + EnhancedAsyncJobResponseType.Extract => "Extract", + EnhancedAsyncJobResponseType.Parse => "Parse", + EnhancedAsyncJobResponseType.Pipeline => "Pipeline", + EnhancedAsyncJobResponseType.Split => "Split", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static EnhancedAsyncJobResponseType? ToEnum(string value) + { + return value switch + { + "Classify" => EnhancedAsyncJobResponseType.Classify, + "Edit" => EnhancedAsyncJobResponseType.Edit, + "Extract" => EnhancedAsyncJobResponseType.Extract, + "Parse" => EnhancedAsyncJobResponseType.Parse, + "Pipeline" => EnhancedAsyncJobResponseType.Pipeline, + "Split" => EnhancedAsyncJobResponseType.Split, + _ => null, + }; + } } } \ No newline at end of file diff --git a/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseType2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseType2.g.cs deleted file mode 100644 index d75f2d8..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.EnhancedAsyncJobResponseType2.g.cs +++ /dev/null @@ -1,75 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public enum EnhancedAsyncJobResponseType2 - { - /// - /// - /// - Classify, - /// - /// - /// - Edit, - /// - /// - /// - Extract, - /// - /// - /// - Parse, - /// - /// - /// - Pipeline, - /// - /// - /// - Split, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class EnhancedAsyncJobResponseType2Extensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this EnhancedAsyncJobResponseType2 value) - { - return value switch - { - EnhancedAsyncJobResponseType2.Classify => "Classify", - EnhancedAsyncJobResponseType2.Edit => "Edit", - EnhancedAsyncJobResponseType2.Extract => "Extract", - EnhancedAsyncJobResponseType2.Parse => "Parse", - EnhancedAsyncJobResponseType2.Pipeline => "Pipeline", - EnhancedAsyncJobResponseType2.Split => "Split", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static EnhancedAsyncJobResponseType2? ToEnum(string value) - { - return value switch - { - "Classify" => EnhancedAsyncJobResponseType2.Classify, - "Edit" => EnhancedAsyncJobResponseType2.Edit, - "Extract" => EnhancedAsyncJobResponseType2.Extract, - "Parse" => EnhancedAsyncJobResponseType2.Parse, - "Pipeline" => EnhancedAsyncJobResponseType2.Pipeline, - "Split" => EnhancedAsyncJobResponseType2.Split, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Reducto/Generated/Reducto.Models.ExtractConfigDeepExtractCurrentOutput2.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ExtractConfigDeepExtractCurrentOutput2.Json.g.cs deleted file mode 100644 index 9648e79..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.ExtractConfigDeepExtractCurrentOutput2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class ExtractConfigDeepExtractCurrentOutput2 - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.ExtractConfigDeepExtractCurrentOutput2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.ExtractConfigDeepExtractCurrentOutput2), - jsonSerializerContext) as global::Reducto.ExtractConfigDeepExtractCurrentOutput2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.ExtractConfigDeepExtractCurrentOutput2? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.ExtractConfigDeepExtractCurrentOutput2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.ExtractConfigDeepExtractCurrentOutput2), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.ExtractConfigDeepExtractCurrentOutput2; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.ExtractConfigDeepExtractCurrentOutput2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ExtractConfigDeepExtractCurrentOutput2.g.cs deleted file mode 100644 index b2b099b..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.ExtractConfigDeepExtractCurrentOutput2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public sealed partial class ExtractConfigDeepExtractCurrentOutput2 - { - - /// - /// 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/Reducto/Generated/Reducto.Models.ExtractUsage.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ExtractUsage.g.cs index b3e63fb..42bfd3c 100644 --- a/src/libs/Reducto/Generated/Reducto.Models.ExtractUsage.g.cs +++ b/src/libs/Reducto/Generated/Reducto.Models.ExtractUsage.g.cs @@ -32,7 +32,7 @@ public sealed partial class ExtractUsage /// /// [global::System.Text.Json.Serialization.JsonPropertyName("extract_mode")] - public global::Reducto.ExtractUsageExtractMode2? ExtractMode { get; set; } + public global::Reducto.ExtractUsageExtractMode? ExtractMode { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -54,7 +54,7 @@ public ExtractUsage( int numPages, int numFields, double? credits, - global::Reducto.ExtractUsageExtractMode2? extractMode) + global::Reducto.ExtractUsageExtractMode? extractMode) { this.NumPages = numPages; this.NumFields = numFields; diff --git a/src/libs/Reducto/Generated/Reducto.Models.ExtractUsageExtractMode.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ExtractUsageExtractMode.g.cs index d31fc33..6198e63 100644 --- a/src/libs/Reducto/Generated/Reducto.Models.ExtractUsageExtractMode.g.cs +++ b/src/libs/Reducto/Generated/Reducto.Models.ExtractUsageExtractMode.g.cs @@ -6,14 +6,52 @@ namespace Reducto /// /// /// - public sealed partial class ExtractUsageExtractMode + public enum ExtractUsageExtractMode { - /// - /// Additional properties that are not explicitly defined in the schema + /// + /// + Extract, + /// + /// /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + SpreadsheetAgent, + /// + /// + /// + SuperAgent, + } + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ExtractUsageExtractModeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ExtractUsageExtractMode value) + { + return value switch + { + ExtractUsageExtractMode.Extract => "extract", + ExtractUsageExtractMode.SpreadsheetAgent => "spreadsheet_agent", + ExtractUsageExtractMode.SuperAgent => "super_agent", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ExtractUsageExtractMode? ToEnum(string value) + { + return value switch + { + "extract" => ExtractUsageExtractMode.Extract, + "spreadsheet_agent" => ExtractUsageExtractMode.SpreadsheetAgent, + "super_agent" => ExtractUsageExtractMode.SuperAgent, + _ => null, + }; + } } } \ No newline at end of file diff --git a/src/libs/Reducto/Generated/Reducto.Models.ExtractUsageExtractMode2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ExtractUsageExtractMode2.g.cs deleted file mode 100644 index cb8104f..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.ExtractUsageExtractMode2.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public enum ExtractUsageExtractMode2 - { - /// - /// - /// - Extract, - /// - /// - /// - SpreadsheetAgent, - /// - /// - /// - SuperAgent, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ExtractUsageExtractMode2Extensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ExtractUsageExtractMode2 value) - { - return value switch - { - ExtractUsageExtractMode2.Extract => "extract", - ExtractUsageExtractMode2.SpreadsheetAgent => "spreadsheet_agent", - ExtractUsageExtractMode2.SuperAgent => "super_agent", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ExtractUsageExtractMode2? ToEnum(string value) - { - return value switch - { - "extract" => ExtractUsageExtractMode2.Extract, - "spreadsheet_agent" => ExtractUsageExtractMode2.SpreadsheetAgent, - "super_agent" => ExtractUsageExtractMode2.SuperAgent, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Reducto/Generated/Reducto.Models.FullResultCustom2.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.FullResultCustom2.Json.g.cs deleted file mode 100644 index b741c65..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.FullResultCustom2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class FullResultCustom2 - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.FullResultCustom2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.FullResultCustom2), - jsonSerializerContext) as global::Reducto.FullResultCustom2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.FullResultCustom2? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.FullResultCustom2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.FullResultCustom2), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.FullResultCustom2; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.FullResultCustom2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.FullResultCustom2.g.cs deleted file mode 100644 index 9cba3f0..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.FullResultCustom2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public sealed partial class FullResultCustom2 - { - - /// - /// 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/Reducto/Generated/Reducto.Models.FullResultOcr.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.FullResultOcr.Json.g.cs deleted file mode 100644 index 40420a5..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.FullResultOcr.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class FullResultOcr - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.FullResultOcr? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.FullResultOcr), - jsonSerializerContext) as global::Reducto.FullResultOcr; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.FullResultOcr? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.FullResultOcr? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.FullResultOcr), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.FullResultOcr; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.FullResultOcr.g.cs b/src/libs/Reducto/Generated/Reducto.Models.FullResultOcr.g.cs deleted file mode 100644 index 5d8178d..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.FullResultOcr.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public sealed partial class FullResultOcr - { - - /// - /// 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/Reducto/Generated/Reducto.Models.ParseBlockExtra.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ParseBlockExtra.g.cs index d24de5a..7577fdc 100644 --- a/src/libs/Reducto/Generated/Reducto.Models.ParseBlockExtra.g.cs +++ b/src/libs/Reducto/Generated/Reducto.Models.ParseBlockExtra.g.cs @@ -4,7 +4,7 @@ namespace Reducto { /// - /// Extra metadata fields for the block. Fields like 'is_chart' will only appear when set to True. + /// /// public sealed partial class ParseBlockExtra { diff --git a/src/libs/Reducto/Generated/Reducto.Models.ParseBlockExtra2.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ParseBlockExtra2.Json.g.cs deleted file mode 100644 index 6083630..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.ParseBlockExtra2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class ParseBlockExtra2 - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.ParseBlockExtra2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.ParseBlockExtra2), - jsonSerializerContext) as global::Reducto.ParseBlockExtra2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.ParseBlockExtra2? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.ParseBlockExtra2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.ParseBlockExtra2), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.ParseBlockExtra2; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.ParseBlockExtra2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ParseBlockExtra2.g.cs deleted file mode 100644 index 27a609c..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.ParseBlockExtra2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public sealed partial class ParseBlockExtra2 - { - - /// - /// 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/Reducto/Generated/Reducto.Models.ParseBlockGranularConfidence.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ParseBlockGranularConfidence.Json.g.cs deleted file mode 100644 index b459868..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.ParseBlockGranularConfidence.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class ParseBlockGranularConfidence - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.ParseBlockGranularConfidence? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.ParseBlockGranularConfidence), - jsonSerializerContext) as global::Reducto.ParseBlockGranularConfidence; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.ParseBlockGranularConfidence? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.ParseBlockGranularConfidence? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.ParseBlockGranularConfidence), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.ParseBlockGranularConfidence; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.ParseBlockGranularConfidence.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ParseBlockGranularConfidence.g.cs deleted file mode 100644 index f80fd9b..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.ParseBlockGranularConfidence.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// Granular confidence scores for the block. It is a dictionary of confidence scores for the block. The confidence scores will not be None if the user has enabled numeric confidence scores. - /// - public sealed partial class ParseBlockGranularConfidence - { - - /// - /// 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/Reducto/Generated/Reducto.Models.ParseUsageCreditBreakdown2.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ParseUsageCreditBreakdown2.Json.g.cs deleted file mode 100644 index 1b75866..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.ParseUsageCreditBreakdown2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class ParseUsageCreditBreakdown2 - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.ParseUsageCreditBreakdown2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.ParseUsageCreditBreakdown2), - jsonSerializerContext) as global::Reducto.ParseUsageCreditBreakdown2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.ParseUsageCreditBreakdown2? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.ParseUsageCreditBreakdown2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.ParseUsageCreditBreakdown2), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.ParseUsageCreditBreakdown2; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.ParseUsageCreditBreakdown2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ParseUsageCreditBreakdown2.g.cs deleted file mode 100644 index 75cfbe8..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.ParseUsageCreditBreakdown2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public sealed partial class ParseUsageCreditBreakdown2 - { - - /// - /// 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/Reducto/Generated/Reducto.Models.PipelineResultEdit.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.PipelineResultEdit.Json.g.cs deleted file mode 100644 index 74185e0..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.PipelineResultEdit.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class PipelineResultEdit - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.PipelineResultEdit? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.PipelineResultEdit), - jsonSerializerContext) as global::Reducto.PipelineResultEdit; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.PipelineResultEdit? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.PipelineResultEdit? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.PipelineResultEdit), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.PipelineResultEdit; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.PipelineResultEdit.g.cs b/src/libs/Reducto/Generated/Reducto.Models.PipelineResultEdit.g.cs deleted file mode 100644 index 173ac85..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.PipelineResultEdit.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public sealed partial class PipelineResultEdit - { - - /// - /// 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/Reducto/Generated/Reducto.Models.PipelineResultSplit.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.PipelineResultSplit.Json.g.cs deleted file mode 100644 index 7930d12..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.PipelineResultSplit.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class PipelineResultSplit - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.PipelineResultSplit? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.PipelineResultSplit), - jsonSerializerContext) as global::Reducto.PipelineResultSplit; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.PipelineResultSplit? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.PipelineResultSplit? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.PipelineResultSplit), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.PipelineResultSplit; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.PipelineResultSplit.g.cs b/src/libs/Reducto/Generated/Reducto.Models.PipelineResultSplit.g.cs deleted file mode 100644 index 41e7f54..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.PipelineResultSplit.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public sealed partial class PipelineResultSplit - { - - /// - /// 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/Reducto/Generated/Reducto.Models.ProcessingOptions.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ProcessingOptions.g.cs index 770cf14..314c6f5 100644 --- a/src/libs/Reducto/Generated/Reducto.Models.ProcessingOptions.g.cs +++ b/src/libs/Reducto/Generated/Reducto.Models.ProcessingOptions.g.cs @@ -535,7 +535,7 @@ public sealed partial class ProcessingOptions /// Spreadsheet loader backend. 'default' uses calamine (Rust), 'legacy' uses openpyxl. None defaults to calamine. /// [global::System.Text.Json.Serialization.JsonPropertyName("spreadsheet_loader")] - public global::Reducto.ProcessingOptionsSpreadsheetLoader2? SpreadsheetLoader { get; set; } + public global::Reducto.ProcessingOptionsSpreadsheetLoader? SpreadsheetLoader { get; set; } /// /// If True, filter out boxes with width greater than 50% of the document width. Defaults to False. You probably don't want to use this.
@@ -1186,7 +1186,7 @@ public ProcessingOptions( bool? returnTableImages, bool? returnPageImages, global::Reducto.ProcessingOptionsSpreadsheetTableClustering? spreadsheetTableClustering, - global::Reducto.ProcessingOptionsSpreadsheetLoader2? spreadsheetLoader, + global::Reducto.ProcessingOptionsSpreadsheetLoader? spreadsheetLoader, bool? dangerFilterWideBoxes, bool? addPageMarkers, string? customerId, diff --git a/src/libs/Reducto/Generated/Reducto.Models.ProcessingOptionsSpreadsheetLoader.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ProcessingOptionsSpreadsheetLoader.g.cs index 1d608b2..2bc1082 100644 --- a/src/libs/Reducto/Generated/Reducto.Models.ProcessingOptionsSpreadsheetLoader.g.cs +++ b/src/libs/Reducto/Generated/Reducto.Models.ProcessingOptionsSpreadsheetLoader.g.cs @@ -4,16 +4,48 @@ namespace Reducto { /// - /// Spreadsheet loader backend. 'default' uses calamine (Rust), 'legacy' uses openpyxl. None defaults to calamine. + /// /// - public sealed partial class ProcessingOptionsSpreadsheetLoader + public enum ProcessingOptionsSpreadsheetLoader { - /// - /// Additional properties that are not explicitly defined in the schema + /// + /// + Default, + /// + /// /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + Legacy, + } + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProcessingOptionsSpreadsheetLoaderExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProcessingOptionsSpreadsheetLoader value) + { + return value switch + { + ProcessingOptionsSpreadsheetLoader.Default => "default", + ProcessingOptionsSpreadsheetLoader.Legacy => "legacy", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProcessingOptionsSpreadsheetLoader? ToEnum(string value) + { + return value switch + { + "default" => ProcessingOptionsSpreadsheetLoader.Default, + "legacy" => ProcessingOptionsSpreadsheetLoader.Legacy, + _ => null, + }; + } } } \ No newline at end of file diff --git a/src/libs/Reducto/Generated/Reducto.Models.ProcessingOptionsSpreadsheetLoader2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.ProcessingOptionsSpreadsheetLoader2.g.cs deleted file mode 100644 index c7aa7a2..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.ProcessingOptionsSpreadsheetLoader2.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public enum ProcessingOptionsSpreadsheetLoader2 - { - /// - /// - /// - Default, - /// - /// - /// - Legacy, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ProcessingOptionsSpreadsheetLoader2Extensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ProcessingOptionsSpreadsheetLoader2 value) - { - return value switch - { - ProcessingOptionsSpreadsheetLoader2.Default => "default", - ProcessingOptionsSpreadsheetLoader2.Legacy => "legacy", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ProcessingOptionsSpreadsheetLoader2? ToEnum(string value) - { - return value switch - { - "default" => ProcessingOptionsSpreadsheetLoader2.Default, - "legacy" => ProcessingOptionsSpreadsheetLoader2.Legacy, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Reducto/Generated/Reducto.Models.SingleJobBucket2.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.SingleJobBucket2.Json.g.cs deleted file mode 100644 index 5122ffe..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.SingleJobBucket2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class SingleJobBucket2 - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.SingleJobBucket2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.SingleJobBucket2), - jsonSerializerContext) as global::Reducto.SingleJobBucket2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.SingleJobBucket2? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.SingleJobBucket2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.SingleJobBucket2), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.SingleJobBucket2; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.SingleJobBucket2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.SingleJobBucket2.g.cs deleted file mode 100644 index a775eca..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.SingleJobBucket2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public sealed partial class SingleJobBucket2 - { - - /// - /// 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/Reducto/Generated/Reducto.Models.SingleJobSource2.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.SingleJobSource2.Json.g.cs deleted file mode 100644 index f296781..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.SingleJobSource2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class SingleJobSource2 - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.SingleJobSource2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.SingleJobSource2), - jsonSerializerContext) as global::Reducto.SingleJobSource2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.SingleJobSource2? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.SingleJobSource2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.SingleJobSource2), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.SingleJobSource2; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.SingleJobSource2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.SingleJobSource2.g.cs deleted file mode 100644 index 9a43994..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.SingleJobSource2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public sealed partial class SingleJobSource2 - { - - /// - /// 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/Reducto/Generated/Reducto.Models.SplitResultSectionMapping2.Json.g.cs b/src/libs/Reducto/Generated/Reducto.Models.SplitResultSectionMapping2.Json.g.cs deleted file mode 100644 index fe9ec47..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.SplitResultSectionMapping2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Reducto -{ - public sealed partial class SplitResultSectionMapping2 - { - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Reducto.SplitResultSectionMapping2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Reducto.SplitResultSectionMapping2), - jsonSerializerContext) as global::Reducto.SplitResultSectionMapping2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Reducto.SplitResultSectionMapping2? FromJson( - string json) - { - return FromJson( - json, - global::Reducto.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::Reducto.SplitResultSectionMapping2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Reducto.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::Reducto.SplitResultSectionMapping2), - jsonSerializerContext).ConfigureAwait(false)) as global::Reducto.SplitResultSectionMapping2; - } - - /// - /// 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::Reducto.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::Reducto.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Reducto/Generated/Reducto.Models.SplitResultSectionMapping2.g.cs b/src/libs/Reducto/Generated/Reducto.Models.SplitResultSectionMapping2.g.cs deleted file mode 100644 index 3a55fcb..0000000 --- a/src/libs/Reducto/Generated/Reducto.Models.SplitResultSectionMapping2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Reducto -{ - /// - /// - /// - public sealed partial class SplitResultSectionMapping2 - { - - /// - /// 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