diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.ITranscriptClient.ListTranscripts.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.ITranscriptClient.ListTranscripts.g.cs
index 8c9c46d..ae019d7 100644
--- a/src/libs/AssemblyAI/Generated/AssemblyAI.ITranscriptClient.ListTranscripts.g.cs
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.ITranscriptClient.ListTranscripts.g.cs
@@ -11,13 +11,27 @@ public partial interface ITranscriptClient
/// Transcripts are sorted from newest to oldest and can be retrieved for the last 90 days of usage. The previous URL always points to a page with older transcripts.
/// If you need to retrieve transcripts from more than 90 days ago please reach out to our Support team at support@assemblyai.com.
///
+ ///
+ /// Default Value: 10
+ ///
///
/// The status of your transcript. Possible values are queued, processing, completed, or error.
///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: false
+ ///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ListTranscriptsAsync(
+ int? limit = default,
global::AssemblyAI.TranscriptStatus? status = default,
+ global::System.DateTime? createdOn = default,
+ global::System.Guid? beforeId = default,
+ global::System.Guid? afterId = default,
+ bool? throttledOnly = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.TranscriptClient.ListTranscripts.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.TranscriptClient.ListTranscripts.g.cs
index a4cdd84..c07d351 100644
--- a/src/libs/AssemblyAI/Generated/AssemblyAI.TranscriptClient.ListTranscripts.g.cs
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.TranscriptClient.ListTranscripts.g.cs
@@ -7,11 +7,21 @@ public partial class TranscriptClient
{
partial void PrepareListTranscriptsArguments(
global::System.Net.Http.HttpClient httpClient,
- ref global::AssemblyAI.TranscriptStatus? status);
+ ref int? limit,
+ ref global::AssemblyAI.TranscriptStatus? status,
+ ref global::System.DateTime? createdOn,
+ ref global::System.Guid? beforeId,
+ ref global::System.Guid? afterId,
+ ref bool? throttledOnly);
partial void PrepareListTranscriptsRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::AssemblyAI.TranscriptStatus? status);
+ int? limit,
+ global::AssemblyAI.TranscriptStatus? status,
+ global::System.DateTime? createdOn,
+ global::System.Guid? beforeId,
+ global::System.Guid? afterId,
+ bool? throttledOnly);
partial void ProcessListTranscriptsResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -28,26 +38,50 @@ partial void ProcessListTranscriptsResponseContent(
/// Transcripts are sorted from newest to oldest and can be retrieved for the last 90 days of usage. The previous URL always points to a page with older transcripts.
/// If you need to retrieve transcripts from more than 90 days ago please reach out to our Support team at support@assemblyai.com.
///
+ ///
+ /// Default Value: 10
+ ///
///
/// The status of your transcript. Possible values are queued, processing, completed, or error.
///
+ ///
+ ///
+ ///
+ ///
+ /// Default Value: false
+ ///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ListTranscriptsAsync(
+ int? limit = default,
global::AssemblyAI.TranscriptStatus? status = default,
+ global::System.DateTime? createdOn = default,
+ global::System.Guid? beforeId = default,
+ global::System.Guid? afterId = default,
+ bool? throttledOnly = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareListTranscriptsArguments(
httpClient: HttpClient,
- status: ref status);
+ limit: ref limit,
+ status: ref status,
+ createdOn: ref createdOn,
+ beforeId: ref beforeId,
+ afterId: ref afterId,
+ throttledOnly: ref throttledOnly);
var __pathBuilder = new global::AssemblyAI.PathBuilder(
path: "/v2/transcript",
baseUri: HttpClient.BaseAddress);
__pathBuilder
- .AddOptionalParameter("status", status?.ToValueString())
+ .AddOptionalParameter("limit", limit?.ToString())
+ .AddOptionalParameter("status", status?.ToValueString())
+ .AddOptionalParameter("created_on", createdOn?.ToString("yyyy-MM-dd"))
+ .AddOptionalParameter("before_id", beforeId?.ToString())
+ .AddOptionalParameter("after_id", afterId?.ToString())
+ .AddOptionalParameter("throttled_only", throttledOnly?.ToString())
;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
@@ -80,7 +114,12 @@ partial void ProcessListTranscriptsResponseContent(
PrepareListTranscriptsRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- status: status);
+ limit: limit,
+ status: status,
+ createdOn: createdOn,
+ beforeId: beforeId,
+ afterId: afterId,
+ throttledOnly: throttledOnly);
using var __response = await HttpClient.SendAsync(
request: __httpRequest,
diff --git a/src/libs/AssemblyAI/openapi.yaml b/src/libs/AssemblyAI/openapi.yaml
index f8c1806..b5de035 100644
--- a/src/libs/AssemblyAI/openapi.yaml
+++ b/src/libs/AssemblyAI/openapi.yaml
@@ -186,7 +186,10 @@ paths:
in: query
description: Maximum amount of transcripts to retrieve
schema:
- $ref: "#/components/schemas/ListTranscriptParams/properties/limit"
+ type: integer
+ minimum: 1
+ maximum: 200
+ default: 10
- name: status
x-label: Status
in: query
@@ -201,28 +204,32 @@ paths:
in: query
description: Only get transcripts created on this date
schema:
- $ref: "#/components/schemas/ListTranscriptParams/properties/created_on"
+ type: string
+ format: date
- name: before_id
x-label: Before ID
in: query
description: Get transcripts that were created before this transcript ID
schema:
- $ref: "#/components/schemas/ListTranscriptParams/properties/before_id"
+ type: string
+ format: uuid
- name: after_id
x-label: After ID
in: query
description: Get transcripts that were created after this transcript ID
schema:
- $ref: "#/components/schemas/ListTranscriptParams/properties/after_id"
+ type: string
+ format: uuid
- name: throttled_only
x-label: Throttled only
in: query
description: Only get throttled transcripts, overrides the status filter
schema:
- $ref: "#/components/schemas/ListTranscriptParams/properties/throttled_only"
+ type: boolean
+ default: false
deprecated: true
responses:
"200":