diff --git a/src/libs/DeepL/Generated/DeepL.IVoiceAPIClient.GetVoiceStreamingUrl.g.cs b/src/libs/DeepL/Generated/DeepL.IVoiceAPIClient.GetVoiceStreamingUrl.g.cs
index ff77abd..87a9025 100644
--- a/src/libs/DeepL/Generated/DeepL.IVoiceAPIClient.GetVoiceStreamingUrl.g.cs
+++ b/src/libs/DeepL/Generated/DeepL.IVoiceAPIClient.GetVoiceStreamingUrl.g.cs
@@ -141,9 +141,20 @@ public partial interface IVoiceAPIClient
/// Example: 7c4f1080-cfe2-41d4-8269-0e6ec15a0354
///
///
- /// A unique ID assigned to a glossary.
+ /// Specify the glossary to use for the target transcripts (translations). For new integrations we
+ /// recommend the more general `glossary_ids`.
+ /// Cannot be used together with `glossary_ids`.
/// Example: def3a26b-3e84-45b3-84ae-0c0aaf3525f7
///
+ ///
+ /// Specify the glossaries to use for the target transcripts (translations), as an array of
+ /// glossary IDs ordered by priority (highest first). Each glossary's matching terms are applied to
+ /// the translation; where entries conflict, the higher-priority glossary wins. Unknown glossary IDs
+ /// are ignored.
+ /// Cannot be used together with `glossary_id`. Requests that exceed the session limit, contain
+ /// duplicates, or combine `glossary_ids` with `glossary_id` are rejected with a `400 Bad Request`
+ /// before a session is created.
+ ///
///
/// Sets whether the translated text should lean towards formal or informal language.
/// Possible options are:
@@ -168,6 +179,7 @@ public partial interface IVoiceAPIClient
global::DeepL.VoiceTargetMediaVoice? targetMediaVoice = default,
global::System.Guid? spokenTermsId = default,
string? glossaryId = default,
+ global::System.Collections.Generic.IList? glossaryIds = default,
global::DeepL.VoiceFormality? formality = default,
global::DeepL.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/DeepL/Generated/DeepL.Models.GetVoiceStreamingUrlRequest.g.cs b/src/libs/DeepL/Generated/DeepL.Models.GetVoiceStreamingUrlRequest.g.cs
index 12f6373..cf1ce58 100644
--- a/src/libs/DeepL/Generated/DeepL.Models.GetVoiceStreamingUrlRequest.g.cs
+++ b/src/libs/DeepL/Generated/DeepL.Models.GetVoiceStreamingUrlRequest.g.cs
@@ -156,13 +156,27 @@ public sealed partial class GetVoiceStreamingUrlRequest
public global::System.Guid? SpokenTermsId { get; set; }
///
- /// A unique ID assigned to a glossary.
+ /// Specify the glossary to use for the target transcripts (translations). For new integrations we
+ /// recommend the more general `glossary_ids`.
+ /// Cannot be used together with `glossary_ids`.
/// Example: def3a26b-3e84-45b3-84ae-0c0aaf3525f7
///
/// def3a26b-3e84-45b3-84ae-0c0aaf3525f7
[global::System.Text.Json.Serialization.JsonPropertyName("glossary_id")]
public string? GlossaryId { get; set; }
+ ///
+ /// Specify the glossaries to use for the target transcripts (translations), as an array of
+ /// glossary IDs ordered by priority (highest first). Each glossary's matching terms are applied to
+ /// the translation; where entries conflict, the higher-priority glossary wins. Unknown glossary IDs
+ /// are ignored.
+ /// Cannot be used together with `glossary_id`. Requests that exceed the session limit, contain
+ /// duplicates, or combine `glossary_ids` with `glossary_id` are rejected with a `400 Bad Request`
+ /// before a session is created.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("glossary_ids")]
+ public global::System.Collections.Generic.IList? GlossaryIds { get; set; }
+
///
/// Sets whether the translated text should lean towards formal or informal language.
/// Possible options are:
@@ -291,9 +305,20 @@ public sealed partial class GetVoiceStreamingUrlRequest
/// Example: 7c4f1080-cfe2-41d4-8269-0e6ec15a0354
///
///
- /// A unique ID assigned to a glossary.
+ /// Specify the glossary to use for the target transcripts (translations). For new integrations we
+ /// recommend the more general `glossary_ids`.
+ /// Cannot be used together with `glossary_ids`.
/// Example: def3a26b-3e84-45b3-84ae-0c0aaf3525f7
///
+ ///
+ /// Specify the glossaries to use for the target transcripts (translations), as an array of
+ /// glossary IDs ordered by priority (highest first). Each glossary's matching terms are applied to
+ /// the translation; where entries conflict, the higher-priority glossary wins. Unknown glossary IDs
+ /// are ignored.
+ /// Cannot be used together with `glossary_id`. Requests that exceed the session limit, contain
+ /// duplicates, or combine `glossary_ids` with `glossary_id` are rejected with a `400 Bad Request`
+ /// before a session is created.
+ ///
///
/// Sets whether the translated text should lean towards formal or informal language.
/// Possible options are:
@@ -317,6 +342,7 @@ public GetVoiceStreamingUrlRequest(
global::DeepL.VoiceTargetMediaVoice? targetMediaVoice,
global::System.Guid? spokenTermsId,
string? glossaryId,
+ global::System.Collections.Generic.IList? glossaryIds,
global::DeepL.VoiceFormality? formality)
{
this.MessageFormat = messageFormat;
@@ -329,6 +355,7 @@ public GetVoiceStreamingUrlRequest(
this.TargetMediaVoice = targetMediaVoice;
this.SpokenTermsId = spokenTermsId;
this.GlossaryId = glossaryId;
+ this.GlossaryIds = glossaryIds;
this.Formality = formality;
}
diff --git a/src/libs/DeepL/Generated/DeepL.VoiceAPIClient.GetVoiceStreamingUrl.g.cs b/src/libs/DeepL/Generated/DeepL.VoiceAPIClient.GetVoiceStreamingUrl.g.cs
index 5f67162..f98df8c 100644
--- a/src/libs/DeepL/Generated/DeepL.VoiceAPIClient.GetVoiceStreamingUrl.g.cs
+++ b/src/libs/DeepL/Generated/DeepL.VoiceAPIClient.GetVoiceStreamingUrl.g.cs
@@ -814,9 +814,20 @@ partial void ProcessGetVoiceStreamingUrlResponseContent(
/// Example: 7c4f1080-cfe2-41d4-8269-0e6ec15a0354
///
///
- /// A unique ID assigned to a glossary.
+ /// Specify the glossary to use for the target transcripts (translations). For new integrations we
+ /// recommend the more general `glossary_ids`.
+ /// Cannot be used together with `glossary_ids`.
/// Example: def3a26b-3e84-45b3-84ae-0c0aaf3525f7
///
+ ///
+ /// Specify the glossaries to use for the target transcripts (translations), as an array of
+ /// glossary IDs ordered by priority (highest first). Each glossary's matching terms are applied to
+ /// the translation; where entries conflict, the higher-priority glossary wins. Unknown glossary IDs
+ /// are ignored.
+ /// Cannot be used together with `glossary_id`. Requests that exceed the session limit, contain
+ /// duplicates, or combine `glossary_ids` with `glossary_id` are rejected with a `400 Bad Request`
+ /// before a session is created.
+ ///
///
/// Sets whether the translated text should lean towards formal or informal language.
/// Possible options are:
@@ -841,6 +852,7 @@ partial void ProcessGetVoiceStreamingUrlResponseContent(
global::DeepL.VoiceTargetMediaVoice? targetMediaVoice = default,
global::System.Guid? spokenTermsId = default,
string? glossaryId = default,
+ global::System.Collections.Generic.IList? glossaryIds = default,
global::DeepL.VoiceFormality? formality = default,
global::DeepL.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -857,6 +869,7 @@ partial void ProcessGetVoiceStreamingUrlResponseContent(
TargetMediaVoice = targetMediaVoice,
SpokenTermsId = spokenTermsId,
GlossaryId = glossaryId,
+ GlossaryIds = glossaryIds,
Formality = formality,
};
diff --git a/src/libs/DeepL/openapi.yaml b/src/libs/DeepL/openapi.yaml
index 6a586ba..453ea80 100644
--- a/src/libs/DeepL/openapi.yaml
+++ b/src/libs/DeepL/openapi.yaml
@@ -4155,7 +4155,27 @@ paths:
spoken_terms_id:
$ref: '#/components/schemas/SpokenTermsId'
glossary_id:
- $ref: '#/components/schemas/GlossaryId'
+ description: |-
+ Specify the glossary to use for the target transcripts (translations). For new integrations we
+ recommend the more general `glossary_ids`.
+
+ Cannot be used together with `glossary_ids`.
+ type: string
+ example: def3a26b-3e84-45b3-84ae-0c0aaf3525f7
+ glossary_ids:
+ description: |-
+ Specify the glossaries to use for the target transcripts (translations), as an array of
+ glossary IDs ordered by priority (highest first). Each glossary's matching terms are applied to
+ the translation; where entries conflict, the higher-priority glossary wins. Unknown glossary IDs
+ are ignored.
+
+ Cannot be used together with `glossary_id`. Requests that exceed the session limit, contain
+ duplicates, or combine `glossary_ids` with `glossary_id` are rejected with a `400 Bad Request`
+ before a session is created.
+ type: array
+ items:
+ type: string
+ example: def3a26b-3e84-45b3-84ae-0c0aaf3525f7
formality:
$ref: '#/components/schemas/VoiceFormality'
examples:
@@ -4177,6 +4197,16 @@ paths:
message_format: 'msgpack'
glossary_id: 'def3a26b-3e84-45b3-84ae-0c0aaf3525f7'
formality: 'formal'
+ with_multiple_glossaries:
+ summary: With multiple glossaries in priority order
+ value:
+ source_media_content_type: 'audio/pcm; encoding=s16le; rate=16000'
+ source_language: 'en'
+ source_language_mode: 'fixed'
+ target_languages: ['de', 'fr']
+ glossary_ids:
+ - 'def3a26b-3e84-45b3-84ae-0c0aaf3525f7'
+ - '7c4f1080-cfe2-41d4-8269-0e6ec15a0354'
with_spoken_terms:
summary: With Spoken Terms to inform transcription
value: