diff --git a/src/libs/Soniox/Generated/Soniox.FilesClient.DeleteFile.g.cs b/src/libs/Soniox/Generated/Soniox.FilesClient.DeleteFile.g.cs index c2fda21..f9009f1 100644 --- a/src/libs/Soniox/Generated/Soniox.FilesClient.DeleteFile.g.cs +++ b/src/libs/Soniox/Generated/Soniox.FilesClient.DeleteFile.g.cs @@ -38,7 +38,7 @@ partial void ProcessDeleteFileResponse( /// /// Delete file
- /// Permanently deletes specified file. + /// Permanently deletes specified file. If a transcription that has not started processing yet still references the file, that transcription fails with `file_not_found`, so delete the file only after the transcription reaches `completed` or `error`. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -57,7 +57,7 @@ await DeleteFileAsResponseAsync( } /// /// Delete file
- /// Permanently deletes specified file. + /// Permanently deletes specified file. If a transcription that has not started processing yet still references the file, that transcription fails with `file_not_found`, so delete the file only after the transcription reaches `completed` or `error`. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/Soniox/Generated/Soniox.IFilesClient.DeleteFile.g.cs b/src/libs/Soniox/Generated/Soniox.IFilesClient.DeleteFile.g.cs index 15ac986..350974e 100644 --- a/src/libs/Soniox/Generated/Soniox.IFilesClient.DeleteFile.g.cs +++ b/src/libs/Soniox/Generated/Soniox.IFilesClient.DeleteFile.g.cs @@ -6,7 +6,7 @@ public partial interface IFilesClient { /// /// Delete file
- /// Permanently deletes specified file. + /// Permanently deletes specified file. If a transcription that has not started processing yet still references the file, that transcription fails with `file_not_found`, so delete the file only after the transcription reaches `completed` or `error`. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -18,7 +18,7 @@ public partial interface IFilesClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Delete file
- /// Permanently deletes specified file. + /// Permanently deletes specified file. If a transcription that has not started processing yet still references the file, that transcription fails with `file_not_found`, so delete the file only after the transcription reaches `completed` or `error`. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/Soniox/Generated/Soniox.ITranscriptionsClient.CreateTranscription.g.cs b/src/libs/Soniox/Generated/Soniox.ITranscriptionsClient.CreateTranscription.g.cs index e2bbc7e..5c85cb4 100644 --- a/src/libs/Soniox/Generated/Soniox.ITranscriptionsClient.CreateTranscription.g.cs +++ b/src/libs/Soniox/Generated/Soniox.ITranscriptionsClient.CreateTranscription.g.cs @@ -41,7 +41,7 @@ public partial interface ITranscriptionsClient /// URL of the audio file to transcribe. Cannot be specified if `file_id` is specified. /// /// - /// ID of the uploaded file to transcribe. Cannot be specified if `audio_url` is specified. + /// ID of the uploaded file to transcribe. Cannot be specified if `audio_url` is specified. Keep the file until the transcription reaches `completed` or `error`; deleting it earlier fails the transcription with `file_not_found`. /// /// /// Expected languages in the audio. If not specified, languages are automatically detected. diff --git a/src/libs/Soniox/Generated/Soniox.ITranscriptionsClient.DeleteTranscription.g.cs b/src/libs/Soniox/Generated/Soniox.ITranscriptionsClient.DeleteTranscription.g.cs index 85b2708..b862ba9 100644 --- a/src/libs/Soniox/Generated/Soniox.ITranscriptionsClient.DeleteTranscription.g.cs +++ b/src/libs/Soniox/Generated/Soniox.ITranscriptionsClient.DeleteTranscription.g.cs @@ -6,7 +6,7 @@ public partial interface ITranscriptionsClient { /// /// Delete transcription
- /// Permanently deletes a transcription and its associated files. Cannot delete transcriptions that are currently processing. + /// Permanently deletes a transcription. Files uploaded through the Files API are not deleted; use the delete file endpoint to remove them. Cannot delete transcriptions that are currently processing. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -18,7 +18,7 @@ public partial interface ITranscriptionsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Delete transcription
- /// Permanently deletes a transcription and its associated files. Cannot delete transcriptions that are currently processing. + /// Permanently deletes a transcription. Files uploaded through the Files API are not deleted; use the delete file endpoint to remove them. Cannot delete transcriptions that are currently processing. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/Soniox/Generated/Soniox.Models.CreateTranscriptionPayload.g.cs b/src/libs/Soniox/Generated/Soniox.Models.CreateTranscriptionPayload.g.cs index ccda276..4b6e09a 100644 --- a/src/libs/Soniox/Generated/Soniox.Models.CreateTranscriptionPayload.g.cs +++ b/src/libs/Soniox/Generated/Soniox.Models.CreateTranscriptionPayload.g.cs @@ -22,7 +22,7 @@ public sealed partial class CreateTranscriptionPayload public string? AudioUrl { get; set; } /// - /// ID of the uploaded file to transcribe. Cannot be specified if `audio_url` is specified. + /// ID of the uploaded file to transcribe. Cannot be specified if `audio_url` is specified. Keep the file until the transcription reaches `completed` or `error`; deleting it earlier fails the transcription with `file_not_found`. /// [global::System.Text.Json.Serialization.JsonPropertyName("file_id")] public global::System.Guid? FileId { get; set; } @@ -104,7 +104,7 @@ public sealed partial class CreateTranscriptionPayload /// URL of the audio file to transcribe. Cannot be specified if `file_id` is specified. /// /// - /// ID of the uploaded file to transcribe. Cannot be specified if `audio_url` is specified. + /// ID of the uploaded file to transcribe. Cannot be specified if `audio_url` is specified. Keep the file until the transcription reaches `completed` or `error`; deleting it earlier fails the transcription with `file_not_found`. /// /// /// Expected languages in the audio. If not specified, languages are automatically detected. diff --git a/src/libs/Soniox/Generated/Soniox.TranscriptionsClient.CreateTranscription.g.cs b/src/libs/Soniox/Generated/Soniox.TranscriptionsClient.CreateTranscription.g.cs index cc6211b..c448b4d 100644 --- a/src/libs/Soniox/Generated/Soniox.TranscriptionsClient.CreateTranscription.g.cs +++ b/src/libs/Soniox/Generated/Soniox.TranscriptionsClient.CreateTranscription.g.cs @@ -629,7 +629,7 @@ partial void ProcessCreateTranscriptionResponseContent( /// URL of the audio file to transcribe. Cannot be specified if `file_id` is specified. /// /// - /// ID of the uploaded file to transcribe. Cannot be specified if `audio_url` is specified. + /// ID of the uploaded file to transcribe. Cannot be specified if `audio_url` is specified. Keep the file until the transcription reaches `completed` or `error`; deleting it earlier fails the transcription with `file_not_found`. /// /// /// Expected languages in the audio. If not specified, languages are automatically detected. diff --git a/src/libs/Soniox/Generated/Soniox.TranscriptionsClient.DeleteTranscription.g.cs b/src/libs/Soniox/Generated/Soniox.TranscriptionsClient.DeleteTranscription.g.cs index 3ea28c9..17a47fe 100644 --- a/src/libs/Soniox/Generated/Soniox.TranscriptionsClient.DeleteTranscription.g.cs +++ b/src/libs/Soniox/Generated/Soniox.TranscriptionsClient.DeleteTranscription.g.cs @@ -38,7 +38,7 @@ partial void ProcessDeleteTranscriptionResponse( /// /// Delete transcription
- /// Permanently deletes a transcription and its associated files. Cannot delete transcriptions that are currently processing. + /// Permanently deletes a transcription. Files uploaded through the Files API are not deleted; use the delete file endpoint to remove them. Cannot delete transcriptions that are currently processing. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -57,7 +57,7 @@ await DeleteTranscriptionAsResponseAsync( } /// /// Delete transcription
- /// Permanently deletes a transcription and its associated files. Cannot delete transcriptions that are currently processing. + /// Permanently deletes a transcription. Files uploaded through the Files API are not deleted; use the delete file endpoint to remove them. Cannot delete transcriptions that are currently processing. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/Soniox/Generated/autosdk.generated-examples.json b/src/libs/Soniox/Generated/autosdk.generated-examples.json index a2efaf3..ac7d433 100644 --- a/src/libs/Soniox/Generated/autosdk.generated-examples.json +++ b/src/libs/Soniox/Generated/autosdk.generated-examples.json @@ -37,7 +37,7 @@ "Order": 4, "Title": "Delete file", "Slug": "delete-file", - "Description": "Permanently deletes specified file.", + "Description": "Permanently deletes specified file. If a transcription that has not started processing yet still references the file, that transcription fails with \u0060file_not_found\u0060, so delete the file only after the transcription reaches \u0060completed\u0060 or \u0060error\u0060.", "Language": "http", "Code": "### Delete file\n# @name delete_file\nDELETE {{host}}/v1/files/{{file_id}}\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 204\n# Description: File deleted.\n# 401\n# Description: Authentication error.\n# Content-Type: application/json\n# 404\n# Description: File not found.\n\nError types:\n- \u0060file_not_found\u0060: No file with this ID exists in the project the API key is scoped to (it may have been deleted, the ID may be wrong, or it may belong to a different project).\n\n# Content-Type: application/json\n# 429\n# Description: Rate / capacity limit exceeded.\n\nError types:\n- \u0060limit_exceeded\u0060: The caller hit a per-minute request rate or other capacity limit. The \u0060message\u0060 describes which limit was hit.\n\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# Content-Type: application/json", "Format": "http", @@ -114,7 +114,7 @@ "Order": 11, "Title": "Delete transcription", "Slug": "delete-transcription", - "Description": "Permanently deletes a transcription and its associated files. Cannot delete transcriptions that are currently processing.", + "Description": "Permanently deletes a transcription. Files uploaded through the Files API are not deleted; use the delete file endpoint to remove them. Cannot delete transcriptions that are currently processing.", "Language": "http", "Code": "### Delete transcription\n# @name delete_transcription\nDELETE {{host}}/v1/transcriptions/{{transcription_id}}\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 204\n# Description: Transcription deleted.\n# 401\n# Description: Authentication error.\n# Content-Type: application/json\n# 404\n# Description: Transcription not found.\n\nError types:\n- \u0060transcription_not_found\u0060: No transcription with this ID exists in the project the API key is scoped to (it may have been deleted, the ID may be wrong, or it may belong to a different project).\n\n# Content-Type: application/json\n# 409\n# Description: Invalid transcription state.\n\nError types:\n- \u0060transcription_invalid_state\u0060: The transcription cannot be deleted in its current state \u2014 it is still processing. Wait until \u0060status\u0060 reaches \u0060completed\u0060 or \u0060error\u0060 and retry.\n\n# Content-Type: application/json\n# 429\n# Description: Rate / capacity limit exceeded.\n\nError types:\n- \u0060limit_exceeded\u0060: The caller hit a per-minute request rate or other capacity limit. The \u0060message\u0060 describes which limit was hit.\n\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# Content-Type: application/json", "Format": "http", diff --git a/src/libs/Soniox/openapi.yaml b/src/libs/Soniox/openapi.yaml index 9621e8b..08a6dfd 100644 --- a/src/libs/Soniox/openapi.yaml +++ b/src/libs/Soniox/openapi.yaml @@ -444,7 +444,7 @@ paths: validation_errors: [] request_id: 3d37a3bd-5078-47ee-a369-b204e3bbedda more_info: https://soniox.com/docs/api-reference/errors#internal-error - description: Permanently deletes specified file. + description: Permanently deletes specified file. If a transcription that has not started processing yet still references the file, that transcription fails with `file_not_found`, so delete the file only after the transcription reaches `completed` or `error`. tags: - Files security: @@ -950,7 +950,7 @@ paths: validation_errors: [] request_id: 3d37a3bd-5078-47ee-a369-b204e3bbedda more_info: https://soniox.com/docs/api-reference/errors#internal-error - description: Permanently deletes a transcription and its associated files. Cannot delete transcriptions that are currently processing. + description: Permanently deletes a transcription. Files uploaded through the Files API are not deleted; use the delete file endpoint to remove them. Cannot delete transcriptions that are currently processing. tags: - Transcriptions security: @@ -2938,7 +2938,7 @@ components: - format: uuid type: string - type: 'null' - description: ID of the uploaded file to transcribe. Cannot be specified if `audio_url` is specified. + description: ID of the uploaded file to transcribe. Cannot be specified if `audio_url` is specified. Keep the file until the transcription reaches `completed` or `error`; deleting it earlier fails the transcription with `file_not_found`. title: File Id language_hints: anyOf: