Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/libs/Soniox/Generated/Soniox.FilesClient.DeleteFile.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ partial void ProcessDeleteFileResponse(

/// <summary>
/// Delete file<br/>
/// 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`.
/// </summary>
/// <param name="fileId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -57,7 +57,7 @@ await DeleteFileAsResponseAsync(
}
/// <summary>
/// Delete file<br/>
/// 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`.
/// </summary>
/// <param name="fileId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Soniox/Generated/Soniox.IFilesClient.DeleteFile.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public partial interface IFilesClient
{
/// <summary>
/// Delete file<br/>
/// 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`.
/// </summary>
/// <param name="fileId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -18,7 +18,7 @@ public partial interface IFilesClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Delete file<br/>
/// 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`.
/// </summary>
/// <param name="fileId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public partial interface ITranscriptionsClient
/// URL of the audio file to transcribe. Cannot be specified if `file_id` is specified.
/// </param>
/// <param name="fileId">
/// 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`.
/// </param>
/// <param name="languageHints">
/// Expected languages in the audio. If not specified, languages are automatically detected.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public partial interface ITranscriptionsClient
{
/// <summary>
/// Delete transcription<br/>
/// 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.
/// </summary>
/// <param name="transcriptionId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -18,7 +18,7 @@ public partial interface ITranscriptionsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Delete transcription<br/>
/// 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.
/// </summary>
/// <param name="transcriptionId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public sealed partial class CreateTranscriptionPayload
public string? AudioUrl { get; set; }

/// <summary>
/// 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`.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("file_id")]
public global::System.Guid? FileId { get; set; }
Expand Down Expand Up @@ -104,7 +104,7 @@ public sealed partial class CreateTranscriptionPayload
/// URL of the audio file to transcribe. Cannot be specified if `file_id` is specified.
/// </param>
/// <param name="fileId">
/// 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`.
/// </param>
/// <param name="languageHints">
/// Expected languages in the audio. If not specified, languages are automatically detected.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ partial void ProcessCreateTranscriptionResponseContent(
/// URL of the audio file to transcribe. Cannot be specified if `file_id` is specified.
/// </param>
/// <param name="fileId">
/// 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`.
/// </param>
/// <param name="languageHints">
/// Expected languages in the audio. If not specified, languages are automatically detected.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ partial void ProcessDeleteTranscriptionResponse(

/// <summary>
/// Delete transcription<br/>
/// 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.
/// </summary>
/// <param name="transcriptionId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -57,7 +57,7 @@ await DeleteTranscriptionAsResponseAsync(
}
/// <summary>
/// Delete transcription<br/>
/// 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.
/// </summary>
/// <param name="transcriptionId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Soniox/Generated/autosdk.generated-examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions src/libs/Soniox/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down