From 70de6b602fe62e461e8d08580f89b83a83c53809 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Sun, 8 Sep 2024 01:44:57 +0400 Subject: [PATCH] fix: Fixed some issues because OpenAPI 3.1 spec --- src/helpers/FixOpenApiSpec/Program.cs | 20 +- .../AssemblyAI.Models.PageDetails.g.cs | 4 +- .../AssemblyAI.Models.PageDetailsNextUrl.g.cs | 18 - .../AssemblyAI.Models.PageDetailsPrevUrl.g.cs | 18 - ...mblyAI.Models.SentimentAnalysisResult.g.cs | 2 +- ...Models.SentimentAnalysisResultSpeaker.g.cs | 18 - .../AssemblyAI.Models.Transcript.g.cs | 70 ++-- ...mblyAI.Models.TranscriptAudioDuration.g.cs | 18 - ...ssemblyAI.Models.TranscriptAudioEndAt.g.cs | 18 - ...blyAI.Models.TranscriptAudioStartFrom.g.cs | 18 - ...emblyAI.Models.TranscriptAutoChapters.g.cs | 18 - ...semblyAI.Models.TranscriptBoostParam2.g.cs | 18 - .../AssemblyAI.Models.TranscriptChapters.g.cs | 18 - ...ssemblyAI.Models.TranscriptConfidence.g.cs | 18 - ...mblyAI.Models.TranscriptContentSafety.g.cs | 18 - ...lyAI.Models.TranscriptCustomSpelling2.g.cs | 18 - ...emblyAI.Models.TranscriptCustomTopics.g.cs | 18 - ...emblyAI.Models.TranscriptDisfluencies.g.cs | 18 - ...semblyAI.Models.TranscriptDualChannel.g.cs | 18 - .../AssemblyAI.Models.TranscriptEntities.g.cs | 19 - ...lyAI.Models.TranscriptEntityDetection.g.cs | 18 - ...lyAI.Models.TranscriptFilterProfanity.g.cs | 18 - ...ssemblyAI.Models.TranscriptFormatText.g.cs | 18 - ...mblyAI.Models.TranscriptIabCategories.g.cs | 18 - ...I.Models.TranscriptLanguageConfidence.g.cs | 18 - ...TranscriptLanguageConfidenceThreshold.g.cs | 19 - ...AI.Models.TranscriptLanguageDetection.g.cs | 18 - .../AssemblyAI.Models.TranscriptListItem.g.cs | 4 +- ...AI.Models.TranscriptListItemCompleted.g.cs | 18 - ...mblyAI.Models.TranscriptListItemError.g.cs | 18 - ...blyAI.Models.TranscriptOptionalParams.g.cs | 12 +- ...nscriptOptionalParamsSpeakersExpected.g.cs | 18 - ...anscriptOptionalParamsSpeechThreshold.g.cs | 20 - ...ptOptionalParamsWebhookAuthHeaderName.g.cs | 18 - ...tOptionalParamsWebhookAuthHeaderValue.g.cs | 18 - ...AssemblyAI.Models.TranscriptParagraph.g.cs | 2 +- ...yAI.Models.TranscriptParagraphSpeaker.g.cs | 18 - ...AssemblyAI.Models.TranscriptPunctuate.g.cs | 18 - ...blyAI.Models.TranscriptRedactPiiAudio.g.cs | 19 - ...AI.Models.TranscriptRedactPiiPolicies.g.cs | 19 - .../AssemblyAI.Models.TranscriptSentence.g.cs | 2 +- ...lyAI.Models.TranscriptSentenceSpeaker.g.cs | 18 - ...AI.Models.TranscriptSentimentAnalysis.g.cs | 18 - ...ls.TranscriptSentimentAnalysisResults.g.cs | 19 - ...mblyAI.Models.TranscriptSpeakerLabels.g.cs | 18 - ...yAI.Models.TranscriptSpeakersExpected.g.cs | 18 - ...lyAI.Models.TranscriptSpeechThreshold.g.cs | 19 - ...ssemblyAI.Models.TranscriptSpeedBoost.g.cs | 19 - .../AssemblyAI.Models.TranscriptSummary.g.cs | 18 - ...emblyAI.Models.TranscriptSummaryModel.g.cs | 19 - ...semblyAI.Models.TranscriptSummaryType.g.cs | 18 - .../AssemblyAI.Models.TranscriptText.g.cs | 18 - ...AssemblyAI.Models.TranscriptThrottled.g.cs | 18 - ...ssemblyAI.Models.TranscriptUtterances.g.cs | 19 - ...odels.TranscriptWebhookAuthHeaderName.g.cs | 18 - ...AI.Models.TranscriptWebhookStatusCode.g.cs | 18 - ...ssemblyAI.Models.TranscriptWebhookUrl.g.cs | 20 - .../AssemblyAI.Models.TranscriptWord.g.cs | 2 +- ...semblyAI.Models.TranscriptWordSpeaker.g.cs | 18 - .../AssemblyAI.Models.TranscriptWords.g.cs | 19 - .../Generated/JsonSerializerContextTypes.g.cs | 352 +++++------------- src/libs/AssemblyAI/openapi.yaml | 100 ++++- 62 files changed, 261 insertions(+), 1241 deletions(-) delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.PageDetailsNextUrl.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.PageDetailsPrevUrl.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.SentimentAnalysisResultSpeaker.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAudioDuration.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAudioEndAt.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAudioStartFrom.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAutoChapters.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptBoostParam2.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptChapters.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptConfidence.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptContentSafety.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptCustomSpelling2.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptCustomTopics.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptDisfluencies.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptDualChannel.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptEntities.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptEntityDetection.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptFilterProfanity.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptFormatText.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptIabCategories.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageConfidence.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageConfidenceThreshold.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageDetection.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptListItemCompleted.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptListItemError.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsSpeakersExpected.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsSpeechThreshold.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsWebhookAuthHeaderName.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsWebhookAuthHeaderValue.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParagraphSpeaker.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptPunctuate.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptRedactPiiAudio.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptRedactPiiPolicies.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentenceSpeaker.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentimentAnalysis.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentimentAnalysisResults.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeakerLabels.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeakersExpected.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeechThreshold.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeedBoost.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSummary.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSummaryModel.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSummaryType.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptText.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptThrottled.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptUtterances.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWebhookAuthHeaderName.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWebhookStatusCode.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWebhookUrl.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWordSpeaker.g.cs delete mode 100644 src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWords.g.cs diff --git a/src/helpers/FixOpenApiSpec/Program.cs b/src/helpers/FixOpenApiSpec/Program.cs index 8c68ca6..d3e727c 100644 --- a/src/helpers/FixOpenApiSpec/Program.cs +++ b/src/helpers/FixOpenApiSpec/Program.cs @@ -9,18 +9,28 @@ text = text .Replace("openapi: 3.1.0", "openapi: 3.0.1") + .Replace(" type: [boolean, \"null\"]", @" type: boolean + nullable: true") + .Replace(" type: [number, \"null\"]", @" type: number + nullable: true") + .Replace(" type: [string, \"null\"]", @" type: string + nullable: true") + .Replace(" type: [integer, \"null\"]", @" type: integer + nullable: true") + .Replace(" type: [array, \"null\"]", @" type: array + nullable: true") ; var openApiDocument = new OpenApiStringReader().Read(text, out var diagnostics); -openApiDocument.Components.Schemas["TranscriptOptionalParams"]!.Properties["language_confidence_threshold"]!.Nullable = true; -openApiDocument.Components.Schemas["Transcript"]!.Properties["language_confidence_threshold"]!.Nullable = true; -openApiDocument.Components.Schemas["Transcript"]!.Properties["language_confidence"]!.Nullable = true; -openApiDocument.Components.Schemas["Transcript"]!.Properties["confidence"]!.Nullable = true; - text = openApiDocument.SerializeAsYaml(OpenApiSpecVersion.OpenApi3_0); _ = new OpenApiStringReader().Read(text, out diagnostics); +if (text.Contains(", \"null\"")) +{ + throw new Exception("Failed to remove nullable from OpenAPI 3.1 spec."); +} + if (diagnostics.Errors.Count > 0) { foreach (var error in diagnostics.Errors) diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.PageDetails.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.PageDetails.g.cs index 309329e..a022cc5 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.PageDetails.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.PageDetails.g.cs @@ -34,14 +34,14 @@ public sealed partial class PageDetails /// [global::System.Text.Json.Serialization.JsonPropertyName("prev_url")] [global::System.Text.Json.Serialization.JsonRequired] - public required string PrevUrl { get; set; } + public required string? PrevUrl { get; set; } /// /// The URL to the next page of transcripts. The next URL always points to a page with newer transcripts. /// [global::System.Text.Json.Serialization.JsonPropertyName("next_url")] [global::System.Text.Json.Serialization.JsonRequired] - public required string NextUrl { get; set; } + public required string? NextUrl { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.PageDetailsNextUrl.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.PageDetailsNextUrl.g.cs deleted file mode 100644 index 216cd16..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.PageDetailsNextUrl.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The URL to the next page of transcripts. The next URL always points to a page with newer transcripts. - /// - public sealed partial class PageDetailsNextUrl - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.PageDetailsPrevUrl.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.PageDetailsPrevUrl.g.cs deleted file mode 100644 index c415d0b..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.PageDetailsPrevUrl.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The URL to the next page of transcripts. The previous URL always points to a page with older transcripts. - /// - public sealed partial class PageDetailsPrevUrl - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.SentimentAnalysisResult.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SentimentAnalysisResult.g.cs index e0bc05d..c4d8b5d 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SentimentAnalysisResult.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SentimentAnalysisResult.g.cs @@ -48,7 +48,7 @@ public sealed partial class SentimentAnalysisResult /// The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null /// [global::System.Text.Json.Serialization.JsonPropertyName("speaker")] - public global::AssemblyAI.SentimentAnalysisResultSpeaker? Speaker { get; set; } + public string? Speaker { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SentimentAnalysisResultSpeaker.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SentimentAnalysisResultSpeaker.g.cs deleted file mode 100644 index 2fea56d..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SentimentAnalysisResultSpeaker.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null - /// - public sealed partial class SentimentAnalysisResultSpeaker - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs index 1d12267..cf854c2 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs @@ -45,7 +45,7 @@ public sealed partial class Transcript /// Whether [Automatic language detection](https://www.assemblyai.com/docs/models/speech-recognition#automatic-language-detection) is enabled, either true or false /// [global::System.Text.Json.Serialization.JsonPropertyName("language_detection")] - public global::AssemblyAI.TranscriptLanguageDetection? LanguageDetection { get; set; } + public bool? LanguageDetection { get; set; } /// /// The confidence threshold for the automatically detected language.
@@ -74,21 +74,21 @@ public sealed partial class Transcript /// The textual transcript of your media file ///
[global::System.Text.Json.Serialization.JsonPropertyName("text")] - public global::AssemblyAI.TranscriptText? Text { get; set; } + public string? Text { get; set; } /// /// An array of temporally-sequential word objects, one for each word in the transcript.
/// See [Speech recognition](https://www.assemblyai.com/docs/models/speech-recognition) for more information. ///
[global::System.Text.Json.Serialization.JsonPropertyName("words")] - public global::AssemblyAI.TranscriptWords? Words { get; set; } + public global::System.Collections.Generic.IList? Words { get; set; } /// /// When dual_channel or speaker_labels is enabled, a list of turn-by-turn utterance objects.
/// See [Speaker diarization](https://www.assemblyai.com/docs/models/speaker-diarization) for more information. ///
[global::System.Text.Json.Serialization.JsonPropertyName("utterances")] - public global::AssemblyAI.TranscriptUtterances? Utterances { get; set; } + public global::System.Collections.Generic.IList? Utterances { get; set; } /// /// The confidence score for the transcript, between 0.0 (low confidence) and 1.0 (high confidence) @@ -100,31 +100,31 @@ public sealed partial class Transcript /// The duration of this transcript object's media file, in seconds /// [global::System.Text.Json.Serialization.JsonPropertyName("audio_duration")] - public global::AssemblyAI.TranscriptAudioDuration? AudioDuration { get; set; } + public int? AudioDuration { get; set; } /// /// Whether Automatic Punctuation is enabled, either true or false /// [global::System.Text.Json.Serialization.JsonPropertyName("punctuate")] - public global::AssemblyAI.TranscriptPunctuate? Punctuate { get; set; } + public bool? Punctuate { get; set; } /// /// Whether Text Formatting is enabled, either true or false /// [global::System.Text.Json.Serialization.JsonPropertyName("format_text")] - public global::AssemblyAI.TranscriptFormatText? FormatText { get; set; } + public bool? FormatText { get; set; } /// /// Transcribe Filler Words, like "umm", in your media file; can be true or false /// [global::System.Text.Json.Serialization.JsonPropertyName("disfluencies")] - public global::AssemblyAI.TranscriptDisfluencies? Disfluencies { get; set; } + public bool? Disfluencies { get; set; } /// /// Whether [Dual channel transcription](https://www.assemblyai.com/docs/models/speech-recognition#dual-channel-transcription) was enabled in the transcription request, either true or false /// [global::System.Text.Json.Serialization.JsonPropertyName("dual_channel")] - public global::AssemblyAI.TranscriptDualChannel? DualChannel { get; set; } + public bool? DualChannel { get; set; } /// /// The URL to which we send webhook requests.
@@ -138,7 +138,7 @@ public sealed partial class Transcript /// The status code we received from your server when delivering the transcript completed or failed webhook request, if a webhook URL was provided ///
[global::System.Text.Json.Serialization.JsonPropertyName("webhook_status_code")] - public global::AssemblyAI.TranscriptWebhookStatusCode? WebhookStatusCode { get; set; } + public int? WebhookStatusCode { get; set; } /// /// Whether webhook authentication details were provided @@ -151,14 +151,14 @@ public sealed partial class Transcript /// The header name to be sent with the transcript completed or failed webhook requests /// [global::System.Text.Json.Serialization.JsonPropertyName("webhook_auth_header_name")] - public global::AssemblyAI.TranscriptWebhookAuthHeaderName? WebhookAuthHeaderName { get; set; } + public string? WebhookAuthHeaderName { get; set; } /// /// Whether speed boost is enabled /// [global::System.Text.Json.Serialization.JsonPropertyName("speed_boost")] [global::System.Obsolete("This property marked as deprecated.")] - public global::AssemblyAI.TranscriptSpeedBoost? SpeedBoost { get; set; } + public bool? SpeedBoost { get; set; } /// /// Whether Key Phrases is enabled, either true or false @@ -179,13 +179,13 @@ public sealed partial class Transcript /// The point in time, in milliseconds, in the file at which the transcription was started /// [global::System.Text.Json.Serialization.JsonPropertyName("audio_start_from")] - public global::AssemblyAI.TranscriptAudioStartFrom? AudioStartFrom { get; set; } + public int? AudioStartFrom { get; set; } /// /// The point in time, in milliseconds, in the file at which the transcription was terminated /// [global::System.Text.Json.Serialization.JsonPropertyName("audio_end_at")] - public global::AssemblyAI.TranscriptAudioEndAt? AudioEndAt { get; set; } + public int? AudioEndAt { get; set; } /// /// The list of custom vocabulary to boost transcription probability for @@ -197,13 +197,13 @@ public sealed partial class Transcript /// The word boost parameter value /// [global::System.Text.Json.Serialization.JsonPropertyName("boost_param")] - public global::AssemblyAI.TranscriptBoostParam2? BoostParam { get; set; } + public string? BoostParam { get; set; } /// /// Whether [Profanity Filtering](https://www.assemblyai.com/docs/models/speech-recognition#profanity-filtering) is enabled, either true or false /// [global::System.Text.Json.Serialization.JsonPropertyName("filter_profanity")] - public global::AssemblyAI.TranscriptFilterProfanity? FilterProfanity { get; set; } + public bool? FilterProfanity { get; set; } /// /// Whether [PII Redaction](https://www.assemblyai.com/docs/models/pii-redaction) is enabled, either true or false @@ -217,7 +217,7 @@ public sealed partial class Transcript /// either true or false. See [PII redaction](https://www.assemblyai.com/docs/models/pii-redaction) for more information. /// [global::System.Text.Json.Serialization.JsonPropertyName("redact_pii_audio")] - public global::AssemblyAI.TranscriptRedactPiiAudio? RedactPiiAudio { get; set; } + public bool? RedactPiiAudio { get; set; } /// /// The audio quality of the PII-redacted audio file, if redact_pii_audio is enabled.
@@ -232,7 +232,7 @@ public sealed partial class Transcript /// See [PII redaction](https://www.assemblyai.com/docs/models/pii-redaction) for more information. ///
[global::System.Text.Json.Serialization.JsonPropertyName("redact_pii_policies")] - public global::AssemblyAI.TranscriptRedactPiiPolicies? RedactPiiPolicies { get; set; } + public global::System.Collections.Generic.IList? RedactPiiPolicies { get; set; } /// /// The replacement logic for detected PII, can be "entity_name" or "hash". See [PII redaction](https://www.assemblyai.com/docs/models/pii-redaction) for more details. @@ -245,19 +245,19 @@ public sealed partial class Transcript /// Whether [Speaker diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, can be true or false /// [global::System.Text.Json.Serialization.JsonPropertyName("speaker_labels")] - public global::AssemblyAI.TranscriptSpeakerLabels? SpeakerLabels { get; set; } + public bool? SpeakerLabels { get; set; } /// /// Tell the speaker label model how many speakers it should attempt to identify, up to 10. See [Speaker diarization](https://www.assemblyai.com/docs/models/speaker-diarization) for more details. /// [global::System.Text.Json.Serialization.JsonPropertyName("speakers_expected")] - public global::AssemblyAI.TranscriptSpeakersExpected? SpeakersExpected { get; set; } + public int? SpeakersExpected { get; set; } /// /// Whether [Content Moderation](https://www.assemblyai.com/docs/models/content-moderation) is enabled, can be true or false /// [global::System.Text.Json.Serialization.JsonPropertyName("content_safety")] - public global::AssemblyAI.TranscriptContentSafety? ContentSafety { get; set; } + public bool? ContentSafety { get; set; } /// /// An array of results for the Content Moderation model, if it is enabled.
@@ -271,7 +271,7 @@ public sealed partial class Transcript /// Whether [Topic Detection](https://www.assemblyai.com/docs/models/topic-detection) is enabled, can be true or false ///
[global::System.Text.Json.Serialization.JsonPropertyName("iab_categories")] - public global::AssemblyAI.TranscriptIabCategories? IabCategories { get; set; } + public bool? IabCategories { get; set; } /// /// The result of the Topic Detection model, if it is enabled.
@@ -285,19 +285,19 @@ public sealed partial class Transcript /// Customize how words are spelled and formatted using to and from values ///
[global::System.Text.Json.Serialization.JsonPropertyName("custom_spelling")] - public global::AssemblyAI.TranscriptCustomSpelling2? CustomSpelling { get; set; } + public global::System.Collections.Generic.IList? CustomSpelling { get; set; } /// /// Whether [Auto Chapters](https://www.assemblyai.com/docs/models/auto-chapters) is enabled, can be true or false /// [global::System.Text.Json.Serialization.JsonPropertyName("auto_chapters")] - public global::AssemblyAI.TranscriptAutoChapters? AutoChapters { get; set; } + public bool? AutoChapters { get; set; } /// /// An array of temporally sequential chapters for the audio file /// [global::System.Text.Json.Serialization.JsonPropertyName("chapters")] - public global::AssemblyAI.TranscriptChapters? Chapters { get; set; } + public global::System.Collections.Generic.IList? Chapters { get; set; } /// /// Whether [Summarization](https://www.assemblyai.com/docs/models/summarization) is enabled, either true or false @@ -310,26 +310,26 @@ public sealed partial class Transcript /// The type of summary generated, if [Summarization](https://www.assemblyai.com/docs/models/summarization) is enabled /// [global::System.Text.Json.Serialization.JsonPropertyName("summary_type")] - public global::AssemblyAI.TranscriptSummaryType? SummaryType { get; set; } + public string? SummaryType { get; set; } /// /// The Summarization model used to generate the summary,
/// if [Summarization](https://www.assemblyai.com/docs/models/summarization) is enabled ///
[global::System.Text.Json.Serialization.JsonPropertyName("summary_model")] - public global::AssemblyAI.TranscriptSummaryModel? SummaryModel { get; set; } + public string? SummaryModel { get; set; } /// /// The generated summary of the media file, if [Summarization](https://www.assemblyai.com/docs/models/summarization) is enabled /// [global::System.Text.Json.Serialization.JsonPropertyName("summary")] - public global::AssemblyAI.TranscriptSummary? Summary { get; set; } + public string? Summary { get; set; } /// /// Whether custom topics is enabled, either true or false /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_topics")] - public global::AssemblyAI.TranscriptCustomTopics? CustomTopics { get; set; } + public bool? CustomTopics { get; set; } /// /// The list of custom topics provided if custom topics is enabled @@ -341,40 +341,40 @@ public sealed partial class Transcript /// Whether [Sentiment Analysis](https://www.assemblyai.com/docs/models/sentiment-analysis) is enabled, can be true or false /// [global::System.Text.Json.Serialization.JsonPropertyName("sentiment_analysis")] - public global::AssemblyAI.TranscriptSentimentAnalysis? SentimentAnalysis { get; set; } + public bool? SentimentAnalysis { get; set; } /// /// An array of results for the Sentiment Analysis model, if it is enabled.
/// See [Sentiment Analysis](https://www.assemblyai.com/docs/models/sentiment-analysis) for more information. ///
[global::System.Text.Json.Serialization.JsonPropertyName("sentiment_analysis_results")] - public global::AssemblyAI.TranscriptSentimentAnalysisResults? SentimentAnalysisResults { get; set; } + public global::System.Collections.Generic.IList? SentimentAnalysisResults { get; set; } /// /// Whether [Entity Detection](https://www.assemblyai.com/docs/models/entity-detection) is enabled, can be true or false /// [global::System.Text.Json.Serialization.JsonPropertyName("entity_detection")] - public global::AssemblyAI.TranscriptEntityDetection? EntityDetection { get; set; } + public bool? EntityDetection { get; set; } /// /// An array of results for the Entity Detection model, if it is enabled.
/// See [Entity detection](https://www.assemblyai.com/docs/models/entity-detection) for more information. ///
[global::System.Text.Json.Serialization.JsonPropertyName("entities")] - public global::AssemblyAI.TranscriptEntities? Entities { get; set; } + public global::System.Collections.Generic.IList? Entities { get; set; } /// /// Defaults to null. Reject audio files that contain less than this fraction of speech.
/// Valid values are in the range [0, 1] inclusive. ///
[global::System.Text.Json.Serialization.JsonPropertyName("speech_threshold")] - public float SpeechThreshold { get; set; } + public float? SpeechThreshold { get; set; } /// /// True while a request is throttled and false when a request is no longer throttled /// [global::System.Text.Json.Serialization.JsonPropertyName("throttled")] - public global::AssemblyAI.TranscriptThrottled? Throttled { get; set; } + public bool? Throttled { get; set; } /// /// Error message of why the transcript failed diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAudioDuration.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAudioDuration.g.cs deleted file mode 100644 index 6187c33..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAudioDuration.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The duration of this transcript object's media file, in seconds - /// - public sealed partial class TranscriptAudioDuration - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAudioEndAt.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAudioEndAt.g.cs deleted file mode 100644 index 0812a9a..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAudioEndAt.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The point in time, in milliseconds, in the file at which the transcription was terminated - /// - public sealed partial class TranscriptAudioEndAt - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAudioStartFrom.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAudioStartFrom.g.cs deleted file mode 100644 index 72ae1b7..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAudioStartFrom.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The point in time, in milliseconds, in the file at which the transcription was started - /// - public sealed partial class TranscriptAudioStartFrom - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAutoChapters.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAutoChapters.g.cs deleted file mode 100644 index 82757db..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptAutoChapters.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether [Auto Chapters](https://www.assemblyai.com/docs/models/auto-chapters) is enabled, can be true or false - /// - public sealed partial class TranscriptAutoChapters - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptBoostParam2.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptBoostParam2.g.cs deleted file mode 100644 index d093f9a..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptBoostParam2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The word boost parameter value - /// - public sealed partial class TranscriptBoostParam2 - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptChapters.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptChapters.g.cs deleted file mode 100644 index d867130..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptChapters.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// An array of temporally sequential chapters for the audio file - /// - public sealed partial class TranscriptChapters - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptConfidence.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptConfidence.g.cs deleted file mode 100644 index be4bfef..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptConfidence.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The confidence score for the transcript, between 0.0 (low confidence) and 1.0 (high confidence) - /// - public sealed partial class TranscriptConfidence - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptContentSafety.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptContentSafety.g.cs deleted file mode 100644 index db44657..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptContentSafety.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether [Content Moderation](https://www.assemblyai.com/docs/models/content-moderation) is enabled, can be true or false - /// - public sealed partial class TranscriptContentSafety - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptCustomSpelling2.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptCustomSpelling2.g.cs deleted file mode 100644 index 4959d84..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptCustomSpelling2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Customize how words are spelled and formatted using to and from values - /// - public sealed partial class TranscriptCustomSpelling2 - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptCustomTopics.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptCustomTopics.g.cs deleted file mode 100644 index ed60980..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptCustomTopics.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether custom topics is enabled, either true or false - /// - public sealed partial class TranscriptCustomTopics - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptDisfluencies.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptDisfluencies.g.cs deleted file mode 100644 index b48c19d..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptDisfluencies.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Transcribe Filler Words, like "umm", in your media file; can be true or false - /// - public sealed partial class TranscriptDisfluencies - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptDualChannel.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptDualChannel.g.cs deleted file mode 100644 index b7bcc9a..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptDualChannel.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether [Dual channel transcription](https://www.assemblyai.com/docs/models/speech-recognition#dual-channel-transcription) was enabled in the transcription request, either true or false - /// - public sealed partial class TranscriptDualChannel - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptEntities.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptEntities.g.cs deleted file mode 100644 index e7823b3..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptEntities.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// An array of results for the Entity Detection model, if it is enabled.
- /// See [Entity detection](https://www.assemblyai.com/docs/models/entity-detection) for more information. - ///
- public sealed partial class TranscriptEntities - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptEntityDetection.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptEntityDetection.g.cs deleted file mode 100644 index 51a310b..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptEntityDetection.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether [Entity Detection](https://www.assemblyai.com/docs/models/entity-detection) is enabled, can be true or false - /// - public sealed partial class TranscriptEntityDetection - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptFilterProfanity.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptFilterProfanity.g.cs deleted file mode 100644 index 8c79e96..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptFilterProfanity.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether [Profanity Filtering](https://www.assemblyai.com/docs/models/speech-recognition#profanity-filtering) is enabled, either true or false - /// - public sealed partial class TranscriptFilterProfanity - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptFormatText.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptFormatText.g.cs deleted file mode 100644 index b8540d4..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptFormatText.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether Text Formatting is enabled, either true or false - /// - public sealed partial class TranscriptFormatText - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptIabCategories.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptIabCategories.g.cs deleted file mode 100644 index f961b95..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptIabCategories.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether [Topic Detection](https://www.assemblyai.com/docs/models/topic-detection) is enabled, can be true or false - /// - public sealed partial class TranscriptIabCategories - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageConfidence.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageConfidence.g.cs deleted file mode 100644 index 12dc767..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageConfidence.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The confidence score for the detected language, between 0.0 (low confidence) and 1.0 (high confidence) - /// - public sealed partial class TranscriptLanguageConfidence - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageConfidenceThreshold.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageConfidenceThreshold.g.cs deleted file mode 100644 index 463bec6..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageConfidenceThreshold.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The confidence threshold for the automatically detected language.
- /// An error will be returned if the language confidence is below this threshold. - ///
- public sealed partial class TranscriptLanguageConfidenceThreshold - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageDetection.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageDetection.g.cs deleted file mode 100644 index 2d7b144..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageDetection.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether [Automatic language detection](https://www.assemblyai.com/docs/models/speech-recognition#automatic-language-detection) is enabled, either true or false - /// - public sealed partial class TranscriptLanguageDetection - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptListItem.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptListItem.g.cs index 38d6345..6e84a8c 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptListItem.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptListItem.g.cs @@ -42,7 +42,7 @@ public sealed partial class TranscriptListItem ///
[global::System.Text.Json.Serialization.JsonPropertyName("completed")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::AssemblyAI.TranscriptListItemCompleted Completed { get; set; } + public required string? Completed { get; set; } /// /// @@ -56,7 +56,7 @@ public sealed partial class TranscriptListItem /// [global::System.Text.Json.Serialization.JsonPropertyName("error")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::AssemblyAI.TranscriptListItemError Error { get; set; } + public required string? Error { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptListItemCompleted.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptListItemCompleted.g.cs deleted file mode 100644 index a7d1f12..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptListItemCompleted.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// - /// - public sealed partial class TranscriptListItemCompleted - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptListItemError.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptListItemError.g.cs deleted file mode 100644 index ba6906c..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptListItemError.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Error message of why the transcript failed - /// - public sealed partial class TranscriptListItemError - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs index fb13402..7e74d9d 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs @@ -33,7 +33,7 @@ public sealed partial class TranscriptOptionalParams /// Default Value: 0F /// [global::System.Text.Json.Serialization.JsonPropertyName("language_confidence_threshold")] - public float? LanguageConfidenceThreshold { get; set; } = 0F; + public float LanguageConfidenceThreshold { get; set; } = 0F; /// /// The speech model to use for the transcription. When `null`, the "best" model is used.
@@ -83,13 +83,13 @@ public sealed partial class TranscriptOptionalParams /// The header name to be sent with the transcript completed or failed webhook requests ///
[global::System.Text.Json.Serialization.JsonPropertyName("webhook_auth_header_name")] - public global::AssemblyAI.TranscriptOptionalParamsWebhookAuthHeaderName? WebhookAuthHeaderName { get; set; } + public string? WebhookAuthHeaderName { get; set; } /// /// The header value to send back with the transcript completed or failed webhook requests for added security /// [global::System.Text.Json.Serialization.JsonPropertyName("webhook_auth_header_value")] - public global::AssemblyAI.TranscriptOptionalParamsWebhookAuthHeaderValue? WebhookAuthHeaderValue { get; set; } + public string? WebhookAuthHeaderValue { get; set; } /// /// Enable Key Phrases, either true or false
@@ -177,7 +177,7 @@ public sealed partial class TranscriptOptionalParams /// Tells the speaker label model how many speakers it should attempt to identify, up to 10. See [Speaker diarization](https://www.assemblyai.com/docs/models/speaker-diarization) for more details. ///
[global::System.Text.Json.Serialization.JsonPropertyName("speakers_expected")] - public global::AssemblyAI.TranscriptOptionalParamsSpeakersExpected? SpeakersExpected { get; set; } + public int? SpeakersExpected { get; set; } /// /// Enable [Content Moderation](https://www.assemblyai.com/docs/models/content-moderation), can be true or false
@@ -230,10 +230,10 @@ public sealed partial class TranscriptOptionalParams /// /// Reject audio files that contain less than this fraction of speech.
/// Valid values are in the range [0, 1] inclusive.
- /// Default Value: 0 + /// Default Value: 0F ///
[global::System.Text.Json.Serialization.JsonPropertyName("speech_threshold")] - public float SpeechThreshold { get; set; } = 0; + public float? SpeechThreshold { get; set; } = 0F; /// /// Enable [Summarization](https://www.assemblyai.com/docs/models/summarization), can be true or false
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsSpeakersExpected.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsSpeakersExpected.g.cs deleted file mode 100644 index ff33c9a..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsSpeakersExpected.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Tells the speaker label model how many speakers it should attempt to identify, up to 10. See [Speaker diarization](https://www.assemblyai.com/docs/models/speaker-diarization) for more details. - /// - public sealed partial class TranscriptOptionalParamsSpeakersExpected - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsSpeechThreshold.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsSpeechThreshold.g.cs deleted file mode 100644 index 642b7e1..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsSpeechThreshold.g.cs +++ /dev/null @@ -1,20 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Reject audio files that contain less than this fraction of speech.
- /// Valid values are in the range [0, 1] inclusive.
- /// Default Value: 0 - ///
- public sealed partial class TranscriptOptionalParamsSpeechThreshold - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsWebhookAuthHeaderName.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsWebhookAuthHeaderName.g.cs deleted file mode 100644 index e5cbbcf..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsWebhookAuthHeaderName.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The header name to be sent with the transcript completed or failed webhook requests - /// - public sealed partial class TranscriptOptionalParamsWebhookAuthHeaderName - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsWebhookAuthHeaderValue.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsWebhookAuthHeaderValue.g.cs deleted file mode 100644 index 7cd8235..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsWebhookAuthHeaderValue.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The header value to send back with the transcript completed or failed webhook requests for added security - /// - public sealed partial class TranscriptOptionalParamsWebhookAuthHeaderValue - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParagraph.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParagraph.g.cs index 5eddea1..32e7233 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParagraph.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParagraph.g.cs @@ -47,7 +47,7 @@ public sealed partial class TranscriptParagraph /// The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null ///
[global::System.Text.Json.Serialization.JsonPropertyName("speaker")] - public global::AssemblyAI.TranscriptParagraphSpeaker? Speaker { get; set; } + public string? Speaker { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParagraphSpeaker.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParagraphSpeaker.g.cs deleted file mode 100644 index 792f20e..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParagraphSpeaker.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null - /// - public sealed partial class TranscriptParagraphSpeaker - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptPunctuate.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptPunctuate.g.cs deleted file mode 100644 index 6b4084c..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptPunctuate.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether Automatic Punctuation is enabled, either true or false - /// - public sealed partial class TranscriptPunctuate - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptRedactPiiAudio.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptRedactPiiAudio.g.cs deleted file mode 100644 index 95ffdcb..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptRedactPiiAudio.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether a redacted version of the audio file was generated,
- /// either true or false. See [PII redaction](https://www.assemblyai.com/docs/models/pii-redaction) for more information. - ///
- public sealed partial class TranscriptRedactPiiAudio - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptRedactPiiPolicies.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptRedactPiiPolicies.g.cs deleted file mode 100644 index 87c3440..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptRedactPiiPolicies.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The list of PII Redaction policies that were enabled, if PII Redaction is enabled.
- /// See [PII redaction](https://www.assemblyai.com/docs/models/pii-redaction) for more information. - ///
- public sealed partial class TranscriptRedactPiiPolicies - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentence.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentence.g.cs index ef924bc..41e5fc0 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentence.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentence.g.cs @@ -47,7 +47,7 @@ public sealed partial class TranscriptSentence /// The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null ///
[global::System.Text.Json.Serialization.JsonPropertyName("speaker")] - public global::AssemblyAI.TranscriptSentenceSpeaker? Speaker { get; set; } + public string? Speaker { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentenceSpeaker.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentenceSpeaker.g.cs deleted file mode 100644 index ce5c769..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentenceSpeaker.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null - /// - public sealed partial class TranscriptSentenceSpeaker - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentimentAnalysis.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentimentAnalysis.g.cs deleted file mode 100644 index a116a04..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentimentAnalysis.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether [Sentiment Analysis](https://www.assemblyai.com/docs/models/sentiment-analysis) is enabled, can be true or false - /// - public sealed partial class TranscriptSentimentAnalysis - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentimentAnalysisResults.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentimentAnalysisResults.g.cs deleted file mode 100644 index 54f8ecd..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSentimentAnalysisResults.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// An array of results for the Sentiment Analysis model, if it is enabled.
- /// See [Sentiment Analysis](https://www.assemblyai.com/docs/models/sentiment-analysis) for more information. - ///
- public sealed partial class TranscriptSentimentAnalysisResults - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeakerLabels.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeakerLabels.g.cs deleted file mode 100644 index 8540542..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeakerLabels.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether [Speaker diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, can be true or false - /// - public sealed partial class TranscriptSpeakerLabels - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeakersExpected.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeakersExpected.g.cs deleted file mode 100644 index ca61198..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeakersExpected.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Tell the speaker label model how many speakers it should attempt to identify, up to 10. See [Speaker diarization](https://www.assemblyai.com/docs/models/speaker-diarization) for more details. - /// - public sealed partial class TranscriptSpeakersExpected - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeechThreshold.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeechThreshold.g.cs deleted file mode 100644 index a4936e6..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeechThreshold.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Defaults to null. Reject audio files that contain less than this fraction of speech.
- /// Valid values are in the range [0, 1] inclusive. - ///
- public sealed partial class TranscriptSpeechThreshold - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeedBoost.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeedBoost.g.cs deleted file mode 100644 index 56ce94a..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSpeedBoost.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// Whether speed boost is enabled - /// - [global::System.Obsolete("This model marked as deprecated.")] - public sealed partial class TranscriptSpeedBoost - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSummary.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSummary.g.cs deleted file mode 100644 index eb83d4c..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSummary.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The generated summary of the media file, if [Summarization](https://www.assemblyai.com/docs/models/summarization) is enabled - /// - public sealed partial class TranscriptSummary - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSummaryModel.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSummaryModel.g.cs deleted file mode 100644 index 7a7d599..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSummaryModel.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The Summarization model used to generate the summary,
- /// if [Summarization](https://www.assemblyai.com/docs/models/summarization) is enabled - ///
- public sealed partial class TranscriptSummaryModel - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSummaryType.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSummaryType.g.cs deleted file mode 100644 index 58c51a6..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptSummaryType.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The type of summary generated, if [Summarization](https://www.assemblyai.com/docs/models/summarization) is enabled - /// - public sealed partial class TranscriptSummaryType - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptText.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptText.g.cs deleted file mode 100644 index 996df2f..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptText.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The textual transcript of your media file - /// - public sealed partial class TranscriptText - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptThrottled.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptThrottled.g.cs deleted file mode 100644 index b3db1fc..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptThrottled.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// True while a request is throttled and false when a request is no longer throttled - /// - public sealed partial class TranscriptThrottled - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptUtterances.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptUtterances.g.cs deleted file mode 100644 index cf6c6de..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptUtterances.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// When dual_channel or speaker_labels is enabled, a list of turn-by-turn utterance objects.
- /// See [Speaker diarization](https://www.assemblyai.com/docs/models/speaker-diarization) for more information. - ///
- public sealed partial class TranscriptUtterances - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWebhookAuthHeaderName.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWebhookAuthHeaderName.g.cs deleted file mode 100644 index f0cf164..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWebhookAuthHeaderName.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The header name to be sent with the transcript completed or failed webhook requests - /// - public sealed partial class TranscriptWebhookAuthHeaderName - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWebhookStatusCode.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWebhookStatusCode.g.cs deleted file mode 100644 index 0ec3556..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWebhookStatusCode.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The status code we received from your server when delivering the transcript completed or failed webhook request, if a webhook URL was provided - /// - public sealed partial class TranscriptWebhookStatusCode - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWebhookUrl.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWebhookUrl.g.cs deleted file mode 100644 index c390e7b..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWebhookUrl.g.cs +++ /dev/null @@ -1,20 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The URL to which we send webhook requests.
- /// We sends two different types of webhook requests.
- /// One request when a transcript is completed or failed, and one request when the redacted audio is ready if redact_pii_audio is enabled. - ///
- public sealed partial class TranscriptWebhookUrl - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWord.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWord.g.cs index e33e0e1..2900089 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWord.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWord.g.cs @@ -40,7 +40,7 @@ public sealed partial class TranscriptWord /// The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null ///
[global::System.Text.Json.Serialization.JsonPropertyName("speaker")] - public global::AssemblyAI.TranscriptWordSpeaker? Speaker { get; set; } + public string? Speaker { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWordSpeaker.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWordSpeaker.g.cs deleted file mode 100644 index 528d28a..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWordSpeaker.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null - /// - public sealed partial class TranscriptWordSpeaker - { - - /// - /// 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/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWords.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWords.g.cs deleted file mode 100644 index 1d15785..0000000 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptWords.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AssemblyAI -{ - /// - /// An array of temporally-sequential word objects, one for each word in the transcript.
- /// See [Speech recognition](https://www.assemblyai.com/docs/models/speech-recognition) for more information. - ///
- public sealed partial class TranscriptWords - { - - /// - /// 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/AssemblyAI/Generated/JsonSerializerContextTypes.g.cs b/src/libs/AssemblyAI/Generated/JsonSerializerContextTypes.g.cs index 2c89797..351abc5 100644 --- a/src/libs/AssemblyAI/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/AssemblyAI/Generated/JsonSerializerContextTypes.g.cs @@ -109,550 +109,394 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::AssemblyAI.TranscriptOptionalParamsWebhookAuthHeaderName? Type24 { get; set; } + public global::System.Collections.Generic.IList? Type24 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptOptionalParamsWebhookAuthHeaderValue? Type25 { get; set; } + public global::AssemblyAI.TranscriptBoostParam? Type25 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type26 { get; set; } + public global::AssemblyAI.RedactPiiAudioQuality? Type26 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptBoostParam? Type27 { get; set; } + public global::System.Collections.Generic.IList? Type27 { get; set; } /// /// /// - public global::AssemblyAI.RedactPiiAudioQuality? Type28 { get; set; } + public global::AssemblyAI.PiiPolicy? Type28 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type29 { get; set; } + public global::System.OneOf? Type29 { get; set; } /// /// /// - public global::AssemblyAI.PiiPolicy? Type30 { get; set; } + public global::AssemblyAI.SubstitutionPolicy? Type30 { get; set; } /// /// /// - public global::System.OneOf? Type31 { get; set; } + public global::System.Collections.Generic.IList? Type31 { get; set; } /// /// /// - public global::AssemblyAI.SubstitutionPolicy? Type32 { get; set; } + public global::AssemblyAI.TranscriptCustomSpelling? Type32 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptOptionalParamsSpeakersExpected? Type33 { get; set; } + public global::AssemblyAI.SummaryModel? Type33 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type34 { get; set; } + public global::AssemblyAI.SummaryType? Type34 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptCustomSpelling? Type35 { get; set; } + public global::AssemblyAI.TranscriptParams? Type35 { get; set; } /// /// /// - public global::AssemblyAI.SummaryModel? Type36 { get; set; } + public global::AssemblyAI.TranscriptParamsVariant1? Type36 { get; set; } /// /// /// - public global::AssemblyAI.SummaryType? Type37 { get; set; } + public global::AssemblyAI.TranscriptUtterance? Type37 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptParams? Type38 { get; set; } + public double? Type38 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptParamsVariant1? Type39 { get; set; } + public global::System.Collections.Generic.IList? Type39 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptUtterance? Type40 { get; set; } + public global::AssemblyAI.TranscriptWord? Type40 { get; set; } /// /// /// - public double? Type41 { get; set; } + public global::AssemblyAI.TranscriptStatus? Type41 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type42 { get; set; } + public global::AssemblyAI.Transcript? Type42 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptWord? Type43 { get; set; } + public global::System.Collections.Generic.IList? Type43 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptWordSpeaker? Type44 { get; set; } + public global::System.OneOf? Type44 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptStatus? Type45 { get; set; } + public global::AssemblyAI.AutoHighlightsResult2? Type45 { get; set; } /// /// /// - public global::AssemblyAI.Transcript? Type46 { get; set; } + public global::AssemblyAI.AudioIntelligenceModelStatus? Type46 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptLanguageDetection? Type47 { get; set; } + public global::System.Collections.Generic.IList? Type47 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptText? Type48 { get; set; } + public global::AssemblyAI.AutoHighlightResult? Type48 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptWords? Type49 { get; set; } + public global::System.Collections.Generic.IList? Type49 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptUtterances? Type50 { get; set; } + public global::System.OneOf? Type50 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptAudioDuration? Type51 { get; set; } + public global::System.OneOf? Type51 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptPunctuate? Type52 { get; set; } + public global::AssemblyAI.ContentSafetyLabelsResult? Type52 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptFormatText? Type53 { get; set; } + public global::System.Collections.Generic.IList? Type53 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptDisfluencies? Type54 { get; set; } + public global::AssemblyAI.ContentSafetyLabelResult? Type54 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptDualChannel? Type55 { get; set; } + public global::System.Collections.Generic.IList? Type55 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptWebhookStatusCode? Type56 { get; set; } + public global::AssemblyAI.ContentSafetyLabel? Type56 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptWebhookAuthHeaderName? Type57 { get; set; } + public global::AssemblyAI.ContentSafetyLabelsResultSummary? Type57 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptSpeedBoost? Type58 { get; set; } + public global::AssemblyAI.ContentSafetyLabelsResultSeverityScoreSummary? Type58 { get; set; } /// /// /// - public global::System.OneOf? Type59 { get; set; } + public global::System.OneOf? Type59 { get; set; } /// /// /// - public global::AssemblyAI.AutoHighlightsResult2? Type60 { get; set; } + public global::AssemblyAI.TopicDetectionModelResult? Type60 { get; set; } /// /// /// - public global::AssemblyAI.AudioIntelligenceModelStatus? Type61 { get; set; } + public global::System.Collections.Generic.IList? Type61 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type62 { get; set; } + public global::AssemblyAI.TopicDetectionResult? Type62 { get; set; } /// /// /// - public global::AssemblyAI.AutoHighlightResult? Type63 { get; set; } + public global::System.Collections.Generic.IList? Type63 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type64 { get; set; } + public global::AssemblyAI.TopicDetectionResultLabel? Type64 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptAudioStartFrom? Type65 { get; set; } + public global::AssemblyAI.TopicDetectionModelResultSummary? Type65 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptAudioEndAt? Type66 { get; set; } + public global::System.Collections.Generic.IList? Type66 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptBoostParam2? Type67 { get; set; } + public global::AssemblyAI.Chapter? Type67 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptFilterProfanity? Type68 { get; set; } + public global::System.Collections.Generic.IList? Type68 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptRedactPiiAudio? Type69 { get; set; } + public global::AssemblyAI.SentimentAnalysisResult? Type69 { get; set; } /// /// /// - public global::System.OneOf? Type70 { get; set; } + public global::AssemblyAI.Sentiment? Type70 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptRedactPiiPolicies? Type71 { get; set; } + public global::System.Collections.Generic.IList? Type71 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptSpeakerLabels? Type72 { get; set; } + public global::AssemblyAI.Entity? Type72 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptSpeakersExpected? Type73 { get; set; } + public global::AssemblyAI.EntityType? Type73 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptContentSafety? Type74 { get; set; } + public global::AssemblyAI.SeverityScoreSummary? Type74 { get; set; } /// /// /// - public global::System.OneOf? Type75 { get; set; } + public global::AssemblyAI.TranscriptSentence? Type75 { get; set; } /// /// /// - public global::AssemblyAI.ContentSafetyLabelsResult? Type76 { get; set; } + public global::AssemblyAI.SentencesResponse? Type76 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type77 { get; set; } + public global::System.Collections.Generic.IList? Type77 { get; set; } /// /// /// - public global::AssemblyAI.ContentSafetyLabelResult? Type78 { get; set; } + public global::AssemblyAI.TranscriptParagraph? Type78 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type79 { get; set; } + public global::AssemblyAI.ParagraphsResponse? Type79 { get; set; } /// /// /// - public global::AssemblyAI.ContentSafetyLabel? Type80 { get; set; } + public global::System.Collections.Generic.IList? Type80 { get; set; } /// /// /// - public global::AssemblyAI.ContentSafetyLabelsResultSummary? Type81 { get; set; } + public global::AssemblyAI.PageDetails? Type81 { get; set; } /// /// /// - public global::AssemblyAI.ContentSafetyLabelsResultSeverityScoreSummary? Type82 { get; set; } + public global::AssemblyAI.ListTranscriptParams? Type82 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptIabCategories? Type83 { get; set; } + public long? Type83 { get; set; } /// /// /// - public global::System.OneOf? Type84 { get; set; } + public global::System.DateTime? Type84 { get; set; } /// /// /// - public global::AssemblyAI.TopicDetectionModelResult? Type85 { get; set; } + public global::AssemblyAI.TranscriptListItem? Type85 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type86 { get; set; } + public global::AssemblyAI.TranscriptList? Type86 { get; set; } /// /// /// - public global::AssemblyAI.TopicDetectionResult? Type87 { get; set; } + public global::System.Collections.Generic.IList? Type87 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type88 { get; set; } + public global::AssemblyAI.UploadedFile? Type88 { get; set; } /// /// /// - public global::AssemblyAI.TopicDetectionResultLabel? Type89 { get; set; } + public global::AssemblyAI.CreateRealtimeTemporaryTokenParams? Type89 { get; set; } /// /// /// - public global::AssemblyAI.TopicDetectionModelResultSummary? Type90 { get; set; } + public global::AssemblyAI.RealtimeTemporaryTokenResponse? Type90 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptCustomSpelling2? Type91 { get; set; } + public global::AssemblyAI.PurgeLemurRequestDataResponse? Type91 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptAutoChapters? Type92 { get; set; } + public global::AssemblyAI.LemurBaseResponse? Type92 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptChapters? Type93 { get; set; } + public global::AssemblyAI.LemurUsage? Type93 { get; set; } /// /// /// - public global::AssemblyAI.Chapter? Type94 { get; set; } + public global::AssemblyAI.LemurStringResponse? Type94 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptSummaryType? Type95 { get; set; } + public global::AssemblyAI.LemurStringResponseVariant1? Type95 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptSummaryModel? Type96 { get; set; } + public global::AssemblyAI.LemurTaskResponse? Type96 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptSummary? Type97 { get; set; } + public global::AssemblyAI.LemurSummaryResponse? Type97 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptCustomTopics? Type98 { get; set; } + public global::AssemblyAI.LemurActionItemsResponse? Type98 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptSentimentAnalysis? Type99 { get; set; } + public global::AssemblyAI.LemurQuestionAnswerResponse? Type99 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptSentimentAnalysisResults? Type100 { get; set; } + public global::AssemblyAI.LemurQuestionAnswerResponseVariant2? Type100 { get; set; } /// /// /// - public global::AssemblyAI.SentimentAnalysisResult? Type101 { get; set; } + public global::System.Collections.Generic.IList? Type101 { get; set; } /// /// /// - public global::AssemblyAI.Sentiment? Type102 { get; set; } + public global::AssemblyAI.LemurQuestionAnswer? Type102 { get; set; } /// /// /// - public global::AssemblyAI.SentimentAnalysisResultSpeaker? Type103 { get; set; } + public global::AssemblyAI.LemurResponse? Type103 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptEntityDetection? Type104 { get; set; } + public global::AssemblyAI.LemurBaseParams? Type104 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptEntities? Type105 { get; set; } + public global::System.OneOf? Type105 { get; set; } /// /// /// - public global::AssemblyAI.Entity? Type106 { get; set; } + public global::AssemblyAI.LemurBaseParamsContext? Type106 { get; set; } /// /// /// - public global::AssemblyAI.EntityType? Type107 { get; set; } + public global::System.AnyOf? Type107 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptThrottled? Type108 { get; set; } + public global::AssemblyAI.LemurModel? Type108 { get; set; } /// /// /// - public global::AssemblyAI.SeverityScoreSummary? Type109 { get; set; } + public global::AssemblyAI.LemurTaskParams? Type109 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptSentence? Type110 { get; set; } + public global::AssemblyAI.LemurTaskParamsVariant1? Type110 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptSentenceSpeaker? Type111 { get; set; } + public global::AssemblyAI.LemurSummaryParams? Type111 { get; set; } /// /// /// - public global::AssemblyAI.SentencesResponse? Type112 { get; set; } + public global::AssemblyAI.LemurSummaryParamsVariant2? Type112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type113 { get; set; } + public global::AssemblyAI.LemurQuestionAnswerParams? Type113 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptParagraph? Type114 { get; set; } + public global::AssemblyAI.LemurQuestionAnswerParamsVariant2? Type114 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptParagraphSpeaker? Type115 { get; set; } + public global::System.Collections.Generic.IList? Type115 { get; set; } /// /// /// - public global::AssemblyAI.ParagraphsResponse? Type116 { get; set; } + public global::AssemblyAI.LemurQuestion? Type116 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type117 { get; set; } + public global::System.OneOf? Type117 { get; set; } /// /// /// - public global::AssemblyAI.PageDetails? Type118 { get; set; } + public global::AssemblyAI.LemurQuestionContext? Type118 { get; set; } /// /// /// - public global::AssemblyAI.ListTranscriptParams? Type119 { get; set; } + public global::AssemblyAI.LemurActionItemsParams? Type119 { get; set; } /// /// /// - public long? Type120 { get; set; } + public global::AssemblyAI.LemurActionItemsParamsVariant2? Type120 { get; set; } /// /// /// - public global::System.DateTime? Type121 { get; set; } - /// - /// - /// - public global::AssemblyAI.TranscriptListItem? Type122 { get; set; } - /// - /// - /// - public global::AssemblyAI.TranscriptListItemCompleted? Type123 { get; set; } - /// - /// - /// - public global::AssemblyAI.TranscriptListItemError? Type124 { get; set; } - /// - /// - /// - public global::AssemblyAI.TranscriptList? Type125 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type126 { get; set; } - /// - /// - /// - public global::AssemblyAI.UploadedFile? Type127 { get; set; } - /// - /// - /// - public global::AssemblyAI.CreateRealtimeTemporaryTokenParams? Type128 { get; set; } - /// - /// - /// - public global::AssemblyAI.RealtimeTemporaryTokenResponse? Type129 { get; set; } - /// - /// - /// - public global::AssemblyAI.PurgeLemurRequestDataResponse? Type130 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurBaseResponse? Type131 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurUsage? Type132 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurStringResponse? Type133 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurStringResponseVariant1? Type134 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurTaskResponse? Type135 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurSummaryResponse? Type136 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurActionItemsResponse? Type137 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurQuestionAnswerResponse? Type138 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurQuestionAnswerResponseVariant2? Type139 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type140 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurQuestionAnswer? Type141 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurResponse? Type142 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurBaseParams? Type143 { get; set; } - /// - /// - /// - public global::System.OneOf? Type144 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurBaseParamsContext? Type145 { get; set; } - /// - /// - /// - public global::System.AnyOf? Type146 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurModel? Type147 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurTaskParams? Type148 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurTaskParamsVariant1? Type149 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurSummaryParams? Type150 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurSummaryParamsVariant2? Type151 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurQuestionAnswerParams? Type152 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurQuestionAnswerParamsVariant2? Type153 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type154 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurQuestion? Type155 { get; set; } - /// - /// - /// - public global::System.OneOf? Type156 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurQuestionContext? Type157 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurActionItemsParams? Type158 { get; set; } - /// - /// - /// - public global::AssemblyAI.LemurActionItemsParamsVariant2? Type159 { get; set; } - /// - /// - /// - public global::AssemblyAI.Error? Type160 { get; set; } + public global::AssemblyAI.Error? Type121 { get; set; } } } \ No newline at end of file diff --git a/src/libs/AssemblyAI/openapi.yaml b/src/libs/AssemblyAI/openapi.yaml index 67a57e7..82c0614 100644 --- a/src/libs/AssemblyAI/openapi.yaml +++ b/src/libs/AssemblyAI/openapi.yaml @@ -1127,7 +1127,6 @@ components: description: "The confidence threshold for the automatically detected language.\nAn error will be returned if the language confidence is below this threshold.\nDefaults to 0.\n" format: float default: 0 - nullable: true x-label: Language confidence threshold speech_model: oneOf: @@ -1162,12 +1161,16 @@ components: format: url x-label: Webhook URL webhook_auth_header_name: + type: string description: The header name to be sent with the transcript completed or failed webhook requests default: + nullable: true x-label: Webhook auth header name webhook_auth_header_value: + type: string description: The header value to send back with the transcript completed or failed webhook requests for added security default: + nullable: true x-label: Webhook auth header value auto_highlights: type: boolean @@ -1227,8 +1230,10 @@ components: default: false x-label: Speaker labels speakers_expected: + type: integer description: 'Tells the speaker label model how many speakers it should attempt to identify, up to 10. See [Speaker diarization](https://www.assemblyai.com/docs/models/speaker-diarization) for more details.' default: + nullable: true x-label: Speakers expected content_safety: type: boolean @@ -1271,9 +1276,11 @@ components: speech_threshold: maximum: 1 minimum: 0 + type: number description: "Reject audio files that contain less than this fraction of speech.\nValid values are in the range [0, 1] inclusive.\n" format: float default: 0 + nullable: true x-label: Speech threshold summarization: type: boolean @@ -2288,11 +2295,14 @@ components: x-ts-type: 'LiteralUnion' x-go-type: TranscriptLanguageCode language_detection: + type: boolean description: 'Whether [Automatic language detection](https://www.assemblyai.com/docs/models/speech-recognition#automatic-language-detection) is enabled, either true or false' + nullable: true x-label: Language detection language_confidence_threshold: maximum: 1 minimum: 0 + type: number description: "The confidence threshold for the automatically detected language.\nAn error will be returned if the language confidence is below this threshold.\n" format: float nullable: true @@ -2300,6 +2310,7 @@ components: language_confidence: maximum: 1 minimum: 0 + type: number description: 'The confidence score for the detected language, between 0.0 (low confidence) and 1.0 (high confidence)' format: double nullable: true @@ -2312,56 +2323,81 @@ components: default: x-label: Speech model text: + type: string description: The textual transcript of your media file + nullable: true x-label: Text words: + type: array items: $ref: '#/components/schemas/TranscriptWord' description: "An array of temporally-sequential word objects, one for each word in the transcript.\nSee [Speech recognition](https://www.assemblyai.com/docs/models/speech-recognition) for more information.\n" + nullable: true x-label: Words utterances: + type: array items: $ref: '#/components/schemas/TranscriptUtterance' description: "When dual_channel or speaker_labels is enabled, a list of turn-by-turn utterance objects.\nSee [Speaker diarization](https://www.assemblyai.com/docs/models/speaker-diarization) for more information.\n" + nullable: true x-label: Utterances confidence: maximum: 1 minimum: 0 + type: number description: 'The confidence score for the transcript, between 0.0 (low confidence) and 1.0 (high confidence)' format: double nullable: true x-label: Confidence audio_duration: + type: integer description: 'The duration of this transcript object''s media file, in seconds' + nullable: true x-label: Audio duration punctuate: + type: boolean description: 'Whether Automatic Punctuation is enabled, either true or false' + nullable: true x-label: Punctuate format_text: + type: boolean description: 'Whether Text Formatting is enabled, either true or false' + nullable: true x-label: Format text disfluencies: + type: boolean description: 'Transcribe Filler Words, like "umm", in your media file; can be true or false' + nullable: true x-label: Disfluencies dual_channel: + type: boolean description: 'Whether [Dual channel transcription](https://www.assemblyai.com/docs/models/speech-recognition#dual-channel-transcription) was enabled in the transcription request, either true or false' + nullable: true x-label: Dual channel webhook_url: + type: string description: "The URL to which we send webhook requests.\nWe sends two different types of webhook requests.\nOne request when a transcript is completed or failed, and one request when the redacted audio is ready if redact_pii_audio is enabled.\n" format: url + nullable: true x-label: Webhook URL webhook_status_code: + type: integer description: 'The status code we received from your server when delivering the transcript completed or failed webhook request, if a webhook URL was provided' + nullable: true x-label: Webhook HTTP status code webhook_auth: type: boolean description: Whether webhook authentication details were provided x-label: Webhook auth enabled webhook_auth_header_name: + type: string description: The header name to be sent with the transcript completed or failed webhook requests + nullable: true x-label: Webhook auth header name speed_boost: + type: boolean description: Whether speed boost is enabled + nullable: true deprecated: true x-label: Speed boost auto_highlights: @@ -2375,10 +2411,14 @@ components: description: "An array of results for the Key Phrases model, if it is enabled.\nSee [Key Phrases](https://www.assemblyai.com/docs/models/key-phrases) for more information.\n" x-label: Key Phrases result audio_start_from: + type: integer description: 'The point in time, in milliseconds, in the file at which the transcription was started' + nullable: true x-label: Audio start from audio_end_at: + type: integer description: 'The point in time, in milliseconds, in the file at which the transcription was terminated' + nullable: true x-label: Audio end at word_boost: type: array @@ -2388,17 +2428,23 @@ components: description: The list of custom vocabulary to boost transcription probability for x-label: Word boost boost_param: + type: string description: The word boost parameter value + nullable: true x-label: Boost filter_profanity: + type: boolean description: 'Whether [Profanity Filtering](https://www.assemblyai.com/docs/models/speech-recognition#profanity-filtering) is enabled, either true or false' + nullable: true x-label: Filter profanity redact_pii: type: boolean description: 'Whether [PII Redaction](https://www.assemblyai.com/docs/models/pii-redaction) is enabled, either true or false' x-label: Redact PII redact_pii_audio: + type: boolean description: "Whether a redacted version of the audio file was generated,\neither true or false. See [PII redaction](https://www.assemblyai.com/docs/models/pii-redaction) for more information.\n" + nullable: true x-label: Redact PII audio redact_pii_audio_quality: oneOf: @@ -2407,20 +2453,28 @@ components: description: "The audio quality of the PII-redacted audio file, if redact_pii_audio is enabled.\nSee [PII redaction](https://www.assemblyai.com/docs/models/pii-redaction) for more information.\n" x-label: Redact PII audio quality redact_pii_policies: + type: array items: $ref: '#/components/schemas/PiiPolicy' description: "The list of PII Redaction policies that were enabled, if PII Redaction is enabled.\nSee [PII redaction](https://www.assemblyai.com/docs/models/pii-redaction) for more information.\n" + nullable: true x-label: Redact PII policies redact_pii_sub: $ref: '#/components/schemas/SubstitutionPolicy' speaker_labels: + type: boolean description: 'Whether [Speaker diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, can be true or false' + nullable: true x-label: Speaker labels speakers_expected: + type: integer description: 'Tell the speaker label model how many speakers it should attempt to identify, up to 10. See [Speaker diarization](https://www.assemblyai.com/docs/models/speaker-diarization) for more details.' + nullable: true x-label: Speakers expected content_safety: + type: boolean description: 'Whether [Content Moderation](https://www.assemblyai.com/docs/models/content-moderation) is enabled, can be true or false' + nullable: true x-label: Content Moderation content_safety_labels: oneOf: @@ -2429,7 +2483,9 @@ components: description: "An array of results for the Content Moderation model, if it is enabled.\nSee [Content moderation](https://www.assemblyai.com/docs/models/content-moderation) for more information.\n" x-label: Content Moderation labels iab_categories: + type: boolean description: 'Whether [Topic Detection](https://www.assemblyai.com/docs/models/topic-detection) is enabled, can be true or false' + nullable: true x-label: Topic Detection iab_categories_result: oneOf: @@ -2438,33 +2494,47 @@ components: description: "The result of the Topic Detection model, if it is enabled.\nSee [Topic Detection](https://www.assemblyai.com/docs/models/topic-detection) for more information.\n" x-label: Topic Detection result custom_spelling: + type: array items: $ref: '#/components/schemas/TranscriptCustomSpelling' description: Customize how words are spelled and formatted using to and from values + nullable: true x-label: Custom spellings auto_chapters: + type: boolean description: 'Whether [Auto Chapters](https://www.assemblyai.com/docs/models/auto-chapters) is enabled, can be true or false' + nullable: true x-label: Auto Chapters enabled chapters: + type: array items: $ref: '#/components/schemas/Chapter' description: An array of temporally sequential chapters for the audio file + nullable: true x-label: Chapters summarization: type: boolean description: 'Whether [Summarization](https://www.assemblyai.com/docs/models/summarization) is enabled, either true or false' x-label: Summarization enabled summary_type: + type: string description: 'The type of summary generated, if [Summarization](https://www.assemblyai.com/docs/models/summarization) is enabled' + nullable: true x-label: Summary type summary_model: + type: string description: "The Summarization model used to generate the summary,\nif [Summarization](https://www.assemblyai.com/docs/models/summarization) is enabled\n" + nullable: true x-label: Summary model summary: + type: string description: 'The generated summary of the media file, if [Summarization](https://www.assemblyai.com/docs/models/summarization) is enabled' + nullable: true x-label: Summary custom_topics: + type: boolean description: 'Whether custom topics is enabled, either true or false' + nullable: true x-label: Custom topics enabled topics: type: array @@ -2474,29 +2544,41 @@ components: description: The list of custom topics provided if custom topics is enabled x-label: Topics sentiment_analysis: + type: boolean description: 'Whether [Sentiment Analysis](https://www.assemblyai.com/docs/models/sentiment-analysis) is enabled, can be true or false' + nullable: true x-label: Sentiment Analysis sentiment_analysis_results: + type: array items: $ref: '#/components/schemas/SentimentAnalysisResult' description: "An array of results for the Sentiment Analysis model, if it is enabled.\nSee [Sentiment Analysis](https://www.assemblyai.com/docs/models/sentiment-analysis) for more information.\n" + nullable: true x-label: Sentiment Analysis results entity_detection: + type: boolean description: 'Whether [Entity Detection](https://www.assemblyai.com/docs/models/entity-detection) is enabled, can be true or false' + nullable: true x-label: Entity Detection entities: + type: array items: $ref: '#/components/schemas/Entity' description: "An array of results for the Entity Detection model, if it is enabled.\nSee [Entity detection](https://www.assemblyai.com/docs/models/entity-detection) for more information.\n" + nullable: true x-label: Entities speech_threshold: maximum: 1 minimum: 0 + type: number description: "Defaults to null. Reject audio files that contain less than this fraction of speech.\nValid values are in the range [0, 1] inclusive.\n" format: float + nullable: true x-label: Speech threshold throttled: + type: boolean description: True while a request is throttled and false when a request is no longer throttled + nullable: true x-label: Throttled error: type: string @@ -3436,7 +3518,9 @@ components: format: double x-label: Confidence speaker: + type: string description: 'The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null' + nullable: true x-label: Speaker additionalProperties: false description: The result of the Sentiment Analysis model @@ -3821,7 +3905,9 @@ components: type: string x-label: Text speaker: + type: string description: 'The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null' + nullable: true x-label: Speaker additionalProperties: false example: @@ -3862,7 +3948,9 @@ components: $ref: '#/components/schemas/TranscriptWord' x-label: Words speaker: + type: string description: 'The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null' + nullable: true x-label: Speaker additionalProperties: false example: @@ -4020,7 +4108,9 @@ components: $ref: '#/components/schemas/TranscriptWord' x-label: Words speaker: + type: string description: 'The speaker of the sentence if [Speaker Diarization](https://www.assemblyai.com/docs/models/speaker-diarization) is enabled, else null' + nullable: true x-label: Speaker additionalProperties: false example: @@ -4153,12 +4243,16 @@ components: format: url x-label: Current URL prev_url: + type: string description: The URL to the next page of transcripts. The previous URL always points to a page with older transcripts. format: url + nullable: true x-label: Previous URL next_url: + type: string description: The URL to the next page of transcripts. The next URL always points to a page with newer transcripts. format: url + nullable: true x-label: Next URL additionalProperties: false description: Details of the transcript page. Transcripts are sorted from newest to oldest. The previous URL always points to a page with older transcripts. @@ -4243,6 +4337,8 @@ components: x-ts-type: Date completed: pattern: '^(?:(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2}(?:\.\d+)?))$' + type: string + nullable: true x-label: Completed x-fern-type: optional x-ts-type: Date | null @@ -4251,7 +4347,9 @@ components: format: url x-label: Audio URL error: + type: string description: Error message of why the transcript failed + nullable: true x-label: Error additionalProperties: false example: