diff --git a/src/libs/AI21/Generated/AI21.Ai21Api.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.cs b/src/libs/AI21/Generated/AI21.Ai21Api.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.cs
index 90b2040..b2c3114 100644
--- a/src/libs/AI21/Generated/AI21.Ai21Api.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.cs
+++ b/src/libs/AI21/Generated/AI21.Ai21Api.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.cs
@@ -7,12 +7,10 @@ public partial class Ai21Api
{
partial void PrepareConvertDocumentFileStudioV1ChatFilesConvertPostArguments(
global::System.Net.Http.HttpClient httpClient,
- ref int? requestStartTime,
global::AI21.BodyConvertDocumentFileStudioV1ChatFilesConvertPost request);
partial void PrepareConvertDocumentFileStudioV1ChatFilesConvertPostRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- int? requestStartTime,
global::AI21.BodyConvertDocumentFileStudioV1ChatFilesConvertPost request);
partial void ProcessConvertDocumentFileStudioV1ChatFilesConvertPostResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -26,15 +24,11 @@ partial void ProcessConvertDocumentFileStudioV1ChatFilesConvertPostResponseConte
///
/// Convert Document File
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ConvertDocumentFileStudioV1ChatFilesConvertPostAsync(
global::AI21.BodyConvertDocumentFileStudioV1ChatFilesConvertPost request,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
@@ -43,15 +37,11 @@ partial void ProcessConvertDocumentFileStudioV1ChatFilesConvertPostResponseConte
client: HttpClient);
PrepareConvertDocumentFileStudioV1ChatFilesConvertPostArguments(
httpClient: HttpClient,
- requestStartTime: ref requestStartTime,
request: request);
var __pathBuilder = new PathBuilder(
path: "/studio/v1/chat/files/convert",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -77,12 +67,6 @@ partial void ProcessConvertDocumentFileStudioV1ChatFilesConvertPostResponseConte
}
}
using var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent();
- if (requestStartTime != default)
- {
- __httpRequestContent.Add(
- content: new global::System.Net.Http.StringContent($"{requestStartTime}"),
- name: "request_start_time");
- }
__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent($"[{string.Join(",", global::System.Linq.Enumerable.Select(request.Files, x => x))}]"),
name: "files");
@@ -94,7 +78,6 @@ partial void ProcessConvertDocumentFileStudioV1ChatFilesConvertPostResponseConte
PrepareConvertDocumentFileStudioV1ChatFilesConvertPostRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- requestStartTime: requestStartTime,
request: request);
using var __response = await HttpClient.SendAsync(
@@ -200,15 +183,11 @@ partial void ProcessConvertDocumentFileStudioV1ChatFilesConvertPostResponseConte
///
/// Convert Document File
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ConvertDocumentFileStudioV1ChatFilesConvertPostAsync(
global::System.Collections.Generic.IList files,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::AI21.BodyConvertDocumentFileStudioV1ChatFilesConvertPost
@@ -217,7 +196,6 @@ partial void ProcessConvertDocumentFileStudioV1ChatFilesConvertPostResponseConte
};
return await ConvertDocumentFileStudioV1ChatFilesConvertPostAsync(
- requestStartTime: requestStartTime,
request: __request,
cancellationToken: cancellationToken).ConfigureAwait(false);
}
diff --git a/src/libs/AI21/Generated/AI21.Ai21Api.GenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPost.g.cs b/src/libs/AI21/Generated/AI21.Ai21Api.GenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPost.g.cs
index 431cf5f..d29d119 100644
--- a/src/libs/AI21/Generated/AI21.Ai21Api.GenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPost.g.cs
+++ b/src/libs/AI21/Generated/AI21.Ai21Api.GenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPost.g.cs
@@ -7,13 +7,11 @@ public partial class Ai21Api
{
partial void PrepareGenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPostArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string organizationId,
- ref int? requestStartTime);
+ ref string organizationId);
partial void PrepareGenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPostRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string organizationId,
- int? requestStartTime);
+ string organizationId);
partial void ProcessGenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPostResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -27,29 +25,21 @@ partial void ProcessGenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganization
/// Generate Org Token
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task GenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPostAsync(
string organizationId,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareGenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPostArguments(
httpClient: HttpClient,
- organizationId: ref organizationId,
- requestStartTime: ref requestStartTime);
+ organizationId: ref organizationId);
var __pathBuilder = new PathBuilder(
path: $"/studio/v1/connectors/connected-users/{organizationId}/tokens",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -81,8 +71,7 @@ partial void ProcessGenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganization
PrepareGenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPostRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- organizationId: organizationId,
- requestStartTime: requestStartTime);
+ organizationId: organizationId);
using var __response = await HttpClient.SendAsync(
request: __httpRequest,
diff --git a/src/libs/AI21/Generated/AI21.Ai21Api.GetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGet.g.cs b/src/libs/AI21/Generated/AI21.Ai21Api.GetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGet.g.cs
index f2cbbe4..7370f83 100644
--- a/src/libs/AI21/Generated/AI21.Ai21Api.GetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGet.g.cs
+++ b/src/libs/AI21/Generated/AI21.Ai21Api.GetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGet.g.cs
@@ -8,14 +8,12 @@ public partial class Ai21Api
partial void PrepareGetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGetArguments(
global::System.Net.Http.HttpClient httpClient,
ref string organizationId,
- ref string dataSource,
- ref int? requestStartTime);
+ ref string dataSource);
partial void PrepareGetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGetRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string organizationId,
- string dataSource,
- int? requestStartTime);
+ string dataSource);
partial void ProcessGetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGetResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -30,15 +28,11 @@ partial void ProcessGetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizat
///
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task GetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGetAsync(
string organizationId,
string dataSource,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
@@ -46,15 +40,11 @@ partial void ProcessGetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizat
PrepareGetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGetArguments(
httpClient: HttpClient,
organizationId: ref organizationId,
- dataSource: ref dataSource,
- requestStartTime: ref requestStartTime);
+ dataSource: ref dataSource);
var __pathBuilder = new PathBuilder(
path: $"/studio/v1/connectors/connected-users/{organizationId}/data-sources/{dataSource}/status",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -87,8 +77,7 @@ partial void ProcessGetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizat
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
organizationId: organizationId,
- dataSource: dataSource,
- requestStartTime: requestStartTime);
+ dataSource: dataSource);
using var __response = await HttpClient.SendAsync(
request: __httpRequest,
diff --git a/src/libs/AI21/Generated/AI21.Ai21Api.GetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGet.g.cs b/src/libs/AI21/Generated/AI21.Ai21Api.GetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGet.g.cs
index 77831c0..28953e6 100644
--- a/src/libs/AI21/Generated/AI21.Ai21Api.GetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGet.g.cs
+++ b/src/libs/AI21/Generated/AI21.Ai21Api.GetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGet.g.cs
@@ -7,13 +7,11 @@ public partial class Ai21Api
{
partial void PrepareGetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGetArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string organizationId,
- ref int? requestStartTime);
+ ref string organizationId);
partial void PrepareGetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGetRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string organizationId,
- int? requestStartTime);
+ string organizationId);
partial void ProcessGetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGetResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -27,29 +25,21 @@ partial void ProcessGetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganiz
/// Get Org Data Sources Info
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task GetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGetAsync(
string organizationId,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareGetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGetArguments(
httpClient: HttpClient,
- organizationId: ref organizationId,
- requestStartTime: ref requestStartTime);
+ organizationId: ref organizationId);
var __pathBuilder = new PathBuilder(
path: $"/studio/v1/connectors/connected-users/{organizationId}/data-sources",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -81,8 +71,7 @@ partial void ProcessGetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganiz
PrepareGetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGetRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- organizationId: organizationId,
- requestStartTime: requestStartTime);
+ organizationId: organizationId);
using var __response = await HttpClient.SendAsync(
request: __httpRequest,
diff --git a/src/libs/AI21/Generated/AI21.Ai21Api.RunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceWorkflowsWorkflowNameRunPost.g.cs b/src/libs/AI21/Generated/AI21.Ai21Api.RunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceWorkflowsWorkflowNameRunPost.g.cs
index 05c6611..d90b903 100644
--- a/src/libs/AI21/Generated/AI21.Ai21Api.RunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceWorkflowsWorkflowNameRunPost.g.cs
+++ b/src/libs/AI21/Generated/AI21.Ai21Api.RunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceWorkflowsWorkflowNameRunPost.g.cs
@@ -9,15 +9,13 @@ partial void PrepareRunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDat
global::System.Net.Http.HttpClient httpClient,
ref string organizationId,
ref string dataSource,
- ref string workflowName,
- ref int? requestStartTime);
+ ref string workflowName);
partial void PrepareRunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceWorkflowsWorkflowNameRunPostRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string organizationId,
string dataSource,
- string workflowName,
- int? requestStartTime);
+ string workflowName);
partial void ProcessRunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceWorkflowsWorkflowNameRunPostResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -33,16 +31,12 @@ partial void ProcessRunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDat
///
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task RunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceWorkflowsWorkflowNameRunPostAsync(
string organizationId,
string dataSource,
string workflowName,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
@@ -51,15 +45,11 @@ partial void ProcessRunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDat
httpClient: HttpClient,
organizationId: ref organizationId,
dataSource: ref dataSource,
- workflowName: ref workflowName,
- requestStartTime: ref requestStartTime);
+ workflowName: ref workflowName);
var __pathBuilder = new PathBuilder(
path: $"/studio/v1/connectors/connected-users/{organizationId}/data-sources/{dataSource}/workflows/{workflowName}/run",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -93,8 +83,7 @@ partial void ProcessRunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDat
httpRequestMessage: __httpRequest,
organizationId: organizationId,
dataSource: dataSource,
- workflowName: workflowName,
- requestStartTime: requestStartTime);
+ workflowName: workflowName);
using var __response = await HttpClient.SendAsync(
request: __httpRequest,
diff --git a/src/libs/AI21/Generated/AI21.Ai21Api.V1ConversationalRag.g.cs b/src/libs/AI21/Generated/AI21.Ai21Api.V1ConversationalRag.g.cs
index be4dc13..9d82892 100644
--- a/src/libs/AI21/Generated/AI21.Ai21Api.V1ConversationalRag.g.cs
+++ b/src/libs/AI21/Generated/AI21.Ai21Api.V1ConversationalRag.g.cs
@@ -7,12 +7,10 @@ public partial class Ai21Api
{
partial void PrepareV1ConversationalRagArguments(
global::System.Net.Http.HttpClient httpClient,
- ref int? requestStartTime,
global::AI21.ConversationalRagConfig request);
partial void PrepareV1ConversationalRagRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- int? requestStartTime,
global::AI21.ConversationalRagConfig request);
partial void ProcessV1ConversationalRagResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -26,15 +24,11 @@ partial void ProcessV1ConversationalRagResponseContent(
///
/// Conversational Rag
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task V1ConversationalRagAsync(
global::AI21.ConversationalRagConfig request,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
@@ -43,15 +37,11 @@ partial void ProcessV1ConversationalRagResponseContent(
client: HttpClient);
PrepareV1ConversationalRagArguments(
httpClient: HttpClient,
- requestStartTime: ref requestStartTime,
request: request);
var __pathBuilder = new PathBuilder(
path: "/studio/v1/conversational-rag",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -89,7 +79,6 @@ partial void ProcessV1ConversationalRagResponseContent(
PrepareV1ConversationalRagRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- requestStartTime: requestStartTime,
request: request);
using var __response = await HttpClient.SendAsync(
@@ -199,9 +188,6 @@ partial void ProcessV1ConversationalRagResponseContent(
///
/// Conversational Rag
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// messages
///
@@ -228,7 +214,6 @@ partial void ProcessV1ConversationalRagResponseContent(
///
public async global::System.Threading.Tasks.Task V1ConversationalRagAsync(
global::System.Collections.Generic.IList messages,
- int? requestStartTime = default,
string? path = default,
global::System.Collections.Generic.IList? labels = default,
global::System.Collections.Generic.IList? fileIds = default,
@@ -255,7 +240,6 @@ partial void ProcessV1ConversationalRagResponseContent(
};
return await V1ConversationalRagAsync(
- requestStartTime: requestStartTime,
request: __request,
cancellationToken: cancellationToken).ConfigureAwait(false);
}
diff --git a/src/libs/AI21/Generated/AI21.IAi21Api.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.cs b/src/libs/AI21/Generated/AI21.IAi21Api.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.cs
index 19125e0..4bb3462 100644
--- a/src/libs/AI21/Generated/AI21.IAi21Api.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.cs
+++ b/src/libs/AI21/Generated/AI21.IAi21Api.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.cs
@@ -7,29 +7,21 @@ public partial interface IAi21Api
///
/// Convert Document File
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ConvertDocumentFileStudioV1ChatFilesConvertPostAsync(
global::AI21.BodyConvertDocumentFileStudioV1ChatFilesConvertPost request,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
/// Convert Document File
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ConvertDocumentFileStudioV1ChatFilesConvertPostAsync(
global::System.Collections.Generic.IList files,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/AI21/Generated/AI21.IAi21Api.GenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPost.g.cs b/src/libs/AI21/Generated/AI21.IAi21Api.GenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPost.g.cs
index 3a535c3..003f384 100644
--- a/src/libs/AI21/Generated/AI21.IAi21Api.GenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPost.g.cs
+++ b/src/libs/AI21/Generated/AI21.IAi21Api.GenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPost.g.cs
@@ -8,14 +8,10 @@ public partial interface IAi21Api
/// Generate Org Token
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task GenerateOrgTokenStudioV1ConnectorsConnectedUsersOrganizationIdTokensPostAsync(
string organizationId,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/AI21/Generated/AI21.IAi21Api.GetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGet.g.cs b/src/libs/AI21/Generated/AI21.IAi21Api.GetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGet.g.cs
index 161ee8c..322c4a1 100644
--- a/src/libs/AI21/Generated/AI21.IAi21Api.GetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGet.g.cs
+++ b/src/libs/AI21/Generated/AI21.IAi21Api.GetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGet.g.cs
@@ -9,15 +9,11 @@ public partial interface IAi21Api
///
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task GetDataSourceStatusStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceStatusGetAsync(
string organizationId,
string dataSource,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/AI21/Generated/AI21.IAi21Api.GetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGet.g.cs b/src/libs/AI21/Generated/AI21.IAi21Api.GetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGet.g.cs
index 822448f..77530f0 100644
--- a/src/libs/AI21/Generated/AI21.IAi21Api.GetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGet.g.cs
+++ b/src/libs/AI21/Generated/AI21.IAi21Api.GetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGet.g.cs
@@ -8,14 +8,10 @@ public partial interface IAi21Api
/// Get Org Data Sources Info
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task GetOrgDataSourcesInfoStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesGetAsync(
string organizationId,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/AI21/Generated/AI21.IAi21Api.RunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceWorkflowsWorkflowNameRunPost.g.cs b/src/libs/AI21/Generated/AI21.IAi21Api.RunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceWorkflowsWorkflowNameRunPost.g.cs
index 4a5c447..dfa1c99 100644
--- a/src/libs/AI21/Generated/AI21.IAi21Api.RunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceWorkflowsWorkflowNameRunPost.g.cs
+++ b/src/libs/AI21/Generated/AI21.IAi21Api.RunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceWorkflowsWorkflowNameRunPost.g.cs
@@ -10,16 +10,12 @@ public partial interface IAi21Api
///
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task RunWorkflowStudioV1ConnectorsConnectedUsersOrganizationIdDataSourcesDataSourceWorkflowsWorkflowNameRunPostAsync(
string organizationId,
string dataSource,
string workflowName,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/AI21/Generated/AI21.IAi21Api.V1ConversationalRag.g.cs b/src/libs/AI21/Generated/AI21.IAi21Api.V1ConversationalRag.g.cs
index 1a4908b..33a92e1 100644
--- a/src/libs/AI21/Generated/AI21.IAi21Api.V1ConversationalRag.g.cs
+++ b/src/libs/AI21/Generated/AI21.IAi21Api.V1ConversationalRag.g.cs
@@ -7,23 +7,16 @@ public partial interface IAi21Api
///
/// Conversational Rag
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task V1ConversationalRagAsync(
global::AI21.ConversationalRagConfig request,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
/// Conversational Rag
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// messages
///
@@ -50,7 +43,6 @@ public partial interface IAi21Api
///
global::System.Threading.Tasks.Task V1ConversationalRagAsync(
global::System.Collections.Generic.IList messages,
- int? requestStartTime = default,
string? path = default,
global::System.Collections.Generic.IList? labels = default,
global::System.Collections.Generic.IList? fileIds = default,
diff --git a/src/libs/AI21/Generated/AI21.IJambaCompleteClient.V1ChatComplete.g.cs b/src/libs/AI21/Generated/AI21.IJambaCompleteClient.V1ChatComplete.g.cs
index a935b5d..764f1e5 100644
--- a/src/libs/AI21/Generated/AI21.IJambaCompleteClient.V1ChatComplete.g.cs
+++ b/src/libs/AI21/Generated/AI21.IJambaCompleteClient.V1ChatComplete.g.cs
@@ -12,15 +12,11 @@ public partial interface IJambaCompleteClient
/// You can optionally stream results if you want to get the response as each
/// token is generated, rather than waiting for the entire response.
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task>> V1ChatCompleteAsync(
global::AI21.ChatRequest request,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -31,9 +27,6 @@ public partial interface IJambaCompleteClient
/// You can optionally stream results if you want to get the response as each
/// token is generated, rather than waiting for the entire response.
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// An enumeration.
///
@@ -93,7 +86,6 @@ public partial interface IJambaCompleteClient
global::System.Threading.Tasks.Task>> V1ChatCompleteAsync(
global::AI21.ModelName model,
global::System.Collections.Generic.IList messages,
- int? requestStartTime = default,
global::System.Collections.Generic.IList? tools = default,
int? n = default,
int? maxTokens = default,
diff --git a/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryDelete.g.cs b/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryDelete.g.cs
index 3658863..f701b9e 100644
--- a/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryDelete.g.cs
+++ b/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryDelete.g.cs
@@ -11,14 +11,10 @@ public partial interface ILibraryManagementClient
/// Files in `PROCESSING` status cannot be deleted. Attempts to delete such files will result in a <span style="color:red">422</span> error.
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task V1LibraryDeleteAsync(
global::System.Guid fileId,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryManagement.g.cs b/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryManagement.g.cs
index 8862879..dbb37e1 100644
--- a/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryManagement.g.cs
+++ b/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryManagement.g.cs
@@ -9,9 +9,6 @@ public partial interface ILibraryManagementClient
/// Get metadata about a specific file by file ID. The file ID is generated by
/// AI21 when you upload the file.
///
- ///
- /// Default Value: 1730898900272
- ///
///
///
///
@@ -25,7 +22,6 @@ public partial interface ILibraryManagementClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> V1LibraryManagementAsync(
- int? requestStartTime = default,
string? name = default,
string? path = default,
global::AI21.FileStatus? status = default,
diff --git a/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryManagement2.g.cs b/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryManagement2.g.cs
index 29de315..30757fe 100644
--- a/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryManagement2.g.cs
+++ b/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryManagement2.g.cs
@@ -16,14 +16,10 @@ public partial interface ILibraryManagementClient
/// "financial" AND status UPLOADED will be returned.
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task V1LibraryManagement2Async(
global::System.Guid fileId,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryManagement3.g.cs b/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryManagement3.g.cs
index e6066a4..9af3d5a 100644
--- a/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryManagement3.g.cs
+++ b/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryManagement3.g.cs
@@ -16,16 +16,12 @@ public partial interface ILibraryManagementClient
/// > add "New Label C" and "New Label D" to the list, you must specify `"labels": ["Label A", "Label B", "New Label C", "New Label D"]`.
///
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task V1LibraryManagement3Async(
global::System.Guid fileId,
global::AI21.FilesUpdateRequest request,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -40,9 +36,6 @@ public partial interface ILibraryManagementClient
/// > add "New Label C" and "New Label D" to the list, you must specify `"labels": ["Label A", "Label B", "New Label C", "New Label D"]`.
///
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The public URL of the file, if any. This URL is not validated by
/// AI21 or used in any way. It is strictly a piece of metadata that you can
@@ -56,7 +49,6 @@ public partial interface ILibraryManagementClient
///
global::System.Threading.Tasks.Task V1LibraryManagement3Async(
global::System.Guid fileId,
- int? requestStartTime = default,
string? publicUrl = default,
global::System.Collections.Generic.IList? labels = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryUpload.g.cs b/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryUpload.g.cs
index aaf298a..c499cc8 100644
--- a/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryUpload.g.cs
+++ b/src/libs/AI21/Generated/AI21.ILibraryManagementClient.V1LibraryUpload.g.cs
@@ -13,15 +13,11 @@ public partial interface ILibraryManagementClient
/// - **Max library size:** 1 GB total size. No limit to individual file size.
/// - **Supported file types:** PDF, DocX, HTML, TXT
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task V1LibraryUploadAsync(
global::AI21.BodyV1LibraryUpload request,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -33,9 +29,6 @@ public partial interface ILibraryManagementClient
/// - **Max library size:** 1 GB total size. No limit to individual file size.
/// - **Supported file types:** PDF, DocX, HTML, TXT
///
- ///
- /// Default Value: 1730898900272
- ///
///
///
///
@@ -47,7 +40,6 @@ public partial interface ILibraryManagementClient
global::System.Threading.Tasks.Task V1LibraryUploadAsync(
byte[] file,
string filename,
- int? requestStartTime = default,
string? path = default,
global::System.Collections.Generic.IList? labels = default,
string? publicUrl = default,
diff --git a/src/libs/AI21/Generated/AI21.IRAGEngineClient.V1LibraryManagement.g.cs b/src/libs/AI21/Generated/AI21.IRAGEngineClient.V1LibraryManagement.g.cs
index 3143d02..ec6171a 100644
--- a/src/libs/AI21/Generated/AI21.IRAGEngineClient.V1LibraryManagement.g.cs
+++ b/src/libs/AI21/Generated/AI21.IRAGEngineClient.V1LibraryManagement.g.cs
@@ -8,14 +8,10 @@ public partial interface IRAGEngineClient
/// Generate Documents Signed Url
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task V1LibraryManagementAsync(
global::System.Guid fileId,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/AI21/Generated/AI21.IRAGEngineClient.V1LibrarySearch.g.cs b/src/libs/AI21/Generated/AI21.IRAGEngineClient.V1LibrarySearch.g.cs
index 249013d..9e9bf6c 100644
--- a/src/libs/AI21/Generated/AI21.IRAGEngineClient.V1LibrarySearch.g.cs
+++ b/src/libs/AI21/Generated/AI21.IRAGEngineClient.V1LibrarySearch.g.cs
@@ -7,23 +7,16 @@ public partial interface IRAGEngineClient
///
/// Search
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task V1LibrarySearchAsync(
global::AI21.LibrarySearchRequest request,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
/// Search
///
- ///
- /// Default Value: 1730898900272
- ///
///
///
///
@@ -45,7 +38,6 @@ public partial interface IRAGEngineClient
///
global::System.Threading.Tasks.Task V1LibrarySearchAsync(
string query,
- int? requestStartTime = default,
int? maxSegments = default,
string? path = default,
global::System.Collections.Generic.IList? labels = default,
diff --git a/src/libs/AI21/Generated/AI21.ISecretsClient.V1SecretStorage.g.cs b/src/libs/AI21/Generated/AI21.ISecretsClient.V1SecretStorage.g.cs
index 772b7c9..7972c8b 100644
--- a/src/libs/AI21/Generated/AI21.ISecretsClient.V1SecretStorage.g.cs
+++ b/src/libs/AI21/Generated/AI21.ISecretsClient.V1SecretStorage.g.cs
@@ -7,13 +7,9 @@ public partial interface ISecretsClient
///
/// Get Secret List
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task V1SecretStorageAsync(
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/AI21/Generated/AI21.ISecretsClient.V1SecretStorage2.g.cs b/src/libs/AI21/Generated/AI21.ISecretsClient.V1SecretStorage2.g.cs
index 89915e5..1018b72 100644
--- a/src/libs/AI21/Generated/AI21.ISecretsClient.V1SecretStorage2.g.cs
+++ b/src/libs/AI21/Generated/AI21.ISecretsClient.V1SecretStorage2.g.cs
@@ -9,15 +9,11 @@ public partial interface ISecretsClient
///
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task V1SecretStorage2Async(
string secretName,
string secretValue,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/AI21/Generated/AI21.ISecretsClient.V1SecretStorage3.g.cs b/src/libs/AI21/Generated/AI21.ISecretsClient.V1SecretStorage3.g.cs
index 8885b39..db8b966 100644
--- a/src/libs/AI21/Generated/AI21.ISecretsClient.V1SecretStorage3.g.cs
+++ b/src/libs/AI21/Generated/AI21.ISecretsClient.V1SecretStorage3.g.cs
@@ -8,14 +8,10 @@ public partial interface ISecretsClient
/// Delete Secret
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task V1SecretStorage3Async(
string secretName,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
\ No newline at end of file
diff --git a/src/libs/AI21/Generated/AI21.JambaCompleteClient.V1ChatComplete.g.cs b/src/libs/AI21/Generated/AI21.JambaCompleteClient.V1ChatComplete.g.cs
index 53d2c1f..aac7629 100644
--- a/src/libs/AI21/Generated/AI21.JambaCompleteClient.V1ChatComplete.g.cs
+++ b/src/libs/AI21/Generated/AI21.JambaCompleteClient.V1ChatComplete.g.cs
@@ -7,12 +7,10 @@ public partial class JambaCompleteClient
{
partial void PrepareV1ChatCompleteArguments(
global::System.Net.Http.HttpClient httpClient,
- ref int? requestStartTime,
global::AI21.ChatRequest request);
partial void PrepareV1ChatCompleteRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- int? requestStartTime,
global::AI21.ChatRequest request);
partial void ProcessV1ChatCompleteResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -31,15 +29,11 @@ partial void ProcessV1ChatCompleteResponseContent(
/// You can optionally stream results if you want to get the response as each
/// token is generated, rather than waiting for the entire response.
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task>> V1ChatCompleteAsync(
global::AI21.ChatRequest request,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
@@ -48,15 +42,11 @@ partial void ProcessV1ChatCompleteResponseContent(
client: HttpClient);
PrepareV1ChatCompleteArguments(
httpClient: HttpClient,
- requestStartTime: ref requestStartTime,
request: request);
var __pathBuilder = new PathBuilder(
path: "/studio/v1/chat/completions",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -94,7 +84,6 @@ partial void ProcessV1ChatCompleteResponseContent(
PrepareV1ChatCompleteRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- requestStartTime: requestStartTime,
request: request);
using var __response = await HttpClient.SendAsync(
@@ -209,9 +198,6 @@ partial void ProcessV1ChatCompleteResponseContent(
/// You can optionally stream results if you want to get the response as each
/// token is generated, rather than waiting for the entire response.
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// An enumeration.
///
@@ -271,7 +257,6 @@ partial void ProcessV1ChatCompleteResponseContent(
public async global::System.Threading.Tasks.Task>> V1ChatCompleteAsync(
global::AI21.ModelName model,
global::System.Collections.Generic.IList messages,
- int? requestStartTime = default,
global::System.Collections.Generic.IList? tools = default,
int? n = default,
int? maxTokens = default,
@@ -301,7 +286,6 @@ partial void ProcessV1ChatCompleteResponseContent(
};
return await V1ChatCompleteAsync(
- requestStartTime: requestStartTime,
request: __request,
cancellationToken: cancellationToken).ConfigureAwait(false);
}
diff --git a/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryDelete.g.cs b/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryDelete.g.cs
index cb463fd..ec92534 100644
--- a/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryDelete.g.cs
+++ b/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryDelete.g.cs
@@ -7,13 +7,11 @@ public partial class LibraryManagementClient
{
partial void PrepareV1LibraryDeleteArguments(
global::System.Net.Http.HttpClient httpClient,
- ref global::System.Guid fileId,
- ref int? requestStartTime);
+ ref global::System.Guid fileId);
partial void PrepareV1LibraryDeleteRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid fileId,
- int? requestStartTime);
+ global::System.Guid fileId);
partial void ProcessV1LibraryDeleteResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -30,29 +28,21 @@ partial void ProcessV1LibraryDeleteResponseContent(
/// Files in `PROCESSING` status cannot be deleted. Attempts to delete such files will result in a <span style="color:red">422</span> error.
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task V1LibraryDeleteAsync(
global::System.Guid fileId,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareV1LibraryDeleteArguments(
httpClient: HttpClient,
- fileId: ref fileId,
- requestStartTime: ref requestStartTime);
+ fileId: ref fileId);
var __pathBuilder = new PathBuilder(
path: $"/studio/v1/library/files/{fileId}",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Delete,
@@ -84,8 +74,7 @@ partial void ProcessV1LibraryDeleteResponseContent(
PrepareV1LibraryDeleteRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- fileId: fileId,
- requestStartTime: requestStartTime);
+ fileId: fileId);
using var __response = await HttpClient.SendAsync(
request: __httpRequest,
diff --git a/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryManagement.g.cs b/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryManagement.g.cs
index a4a2661..fdbea51 100644
--- a/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryManagement.g.cs
+++ b/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryManagement.g.cs
@@ -7,7 +7,6 @@ public partial class LibraryManagementClient
{
partial void PrepareV1LibraryManagementArguments(
global::System.Net.Http.HttpClient httpClient,
- ref int? requestStartTime,
ref string? name,
ref string? path,
ref global::AI21.FileStatus? status,
@@ -17,7 +16,6 @@ partial void PrepareV1LibraryManagementArguments(
partial void PrepareV1LibraryManagementRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- int? requestStartTime,
string? name,
string? path,
global::AI21.FileStatus? status,
@@ -38,9 +36,6 @@ partial void ProcessV1LibraryManagementResponseContent(
/// Get metadata about a specific file by file ID. The file ID is generated by
/// AI21 when you upload the file.
///
- ///
- /// Default Value: 1730898900272
- ///
///
///
///
@@ -54,7 +49,6 @@ partial void ProcessV1LibraryManagementResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> V1LibraryManagementAsync(
- int? requestStartTime = default,
string? name = default,
string? path = default,
global::AI21.FileStatus? status = default,
@@ -67,7 +61,6 @@ partial void ProcessV1LibraryManagementResponseContent(
client: HttpClient);
PrepareV1LibraryManagementArguments(
httpClient: HttpClient,
- requestStartTime: ref requestStartTime,
name: ref name,
path: ref path,
status: ref status,
@@ -79,7 +72,6 @@ partial void ProcessV1LibraryManagementResponseContent(
path: "/studio/v1/library/files",
baseUri: HttpClient.BaseAddress);
__pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
.AddOptionalParameter("name", name)
.AddOptionalParameter("path", path)
.AddOptionalParameter("status", status?.ToValueString())
@@ -118,7 +110,6 @@ partial void ProcessV1LibraryManagementResponseContent(
PrepareV1LibraryManagementRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- requestStartTime: requestStartTime,
name: name,
path: path,
status: status,
diff --git a/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryManagement2.g.cs b/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryManagement2.g.cs
index ee0d964..44f1b6b 100644
--- a/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryManagement2.g.cs
+++ b/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryManagement2.g.cs
@@ -7,13 +7,11 @@ public partial class LibraryManagementClient
{
partial void PrepareV1LibraryManagement2Arguments(
global::System.Net.Http.HttpClient httpClient,
- ref global::System.Guid fileId,
- ref int? requestStartTime);
+ ref global::System.Guid fileId);
partial void PrepareV1LibraryManagement2Request(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid fileId,
- int? requestStartTime);
+ global::System.Guid fileId);
partial void ProcessV1LibraryManagement2Response(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -35,29 +33,21 @@ partial void ProcessV1LibraryManagement2ResponseContent(
/// "financial" AND status UPLOADED will be returned.
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task V1LibraryManagement2Async(
global::System.Guid fileId,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareV1LibraryManagement2Arguments(
httpClient: HttpClient,
- fileId: ref fileId,
- requestStartTime: ref requestStartTime);
+ fileId: ref fileId);
var __pathBuilder = new PathBuilder(
path: $"/studio/v1/library/files/{fileId}",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -89,8 +79,7 @@ partial void ProcessV1LibraryManagement2ResponseContent(
PrepareV1LibraryManagement2Request(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- fileId: fileId,
- requestStartTime: requestStartTime);
+ fileId: fileId);
using var __response = await HttpClient.SendAsync(
request: __httpRequest,
diff --git a/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryManagement3.g.cs b/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryManagement3.g.cs
index e8facd4..97f01d4 100644
--- a/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryManagement3.g.cs
+++ b/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryManagement3.g.cs
@@ -8,13 +8,11 @@ public partial class LibraryManagementClient
partial void PrepareV1LibraryManagement3Arguments(
global::System.Net.Http.HttpClient httpClient,
ref global::System.Guid fileId,
- ref int? requestStartTime,
global::AI21.FilesUpdateRequest request);
partial void PrepareV1LibraryManagement3Request(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
global::System.Guid fileId,
- int? requestStartTime,
global::AI21.FilesUpdateRequest request);
partial void ProcessV1LibraryManagement3Response(
global::System.Net.Http.HttpClient httpClient,
@@ -37,16 +35,12 @@ partial void ProcessV1LibraryManagement3ResponseContent(
/// > add "New Label C" and "New Label D" to the list, you must specify `"labels": ["Label A", "Label B", "New Label C", "New Label D"]`.
///
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task V1LibraryManagement3Async(
global::System.Guid fileId,
global::AI21.FilesUpdateRequest request,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
@@ -56,15 +50,11 @@ partial void ProcessV1LibraryManagement3ResponseContent(
PrepareV1LibraryManagement3Arguments(
httpClient: HttpClient,
fileId: ref fileId,
- requestStartTime: ref requestStartTime,
request: request);
var __pathBuilder = new PathBuilder(
path: $"/studio/v1/library/files/{fileId}",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Put,
@@ -103,7 +93,6 @@ partial void ProcessV1LibraryManagement3ResponseContent(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
fileId: fileId,
- requestStartTime: requestStartTime,
request: request);
using var __response = await HttpClient.SendAsync(
@@ -218,9 +207,6 @@ partial void ProcessV1LibraryManagement3ResponseContent(
/// > add "New Label C" and "New Label D" to the list, you must specify `"labels": ["Label A", "Label B", "New Label C", "New Label D"]`.
///
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The public URL of the file, if any. This URL is not validated by
/// AI21 or used in any way. It is strictly a piece of metadata that you can
@@ -234,7 +220,6 @@ partial void ProcessV1LibraryManagement3ResponseContent(
///
public async global::System.Threading.Tasks.Task V1LibraryManagement3Async(
global::System.Guid fileId,
- int? requestStartTime = default,
string? publicUrl = default,
global::System.Collections.Generic.IList? labels = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -247,7 +232,6 @@ partial void ProcessV1LibraryManagement3ResponseContent(
return await V1LibraryManagement3Async(
fileId: fileId,
- requestStartTime: requestStartTime,
request: __request,
cancellationToken: cancellationToken).ConfigureAwait(false);
}
diff --git a/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryUpload.g.cs b/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryUpload.g.cs
index 2a8226d..374ebfe 100644
--- a/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryUpload.g.cs
+++ b/src/libs/AI21/Generated/AI21.LibraryManagementClient.V1LibraryUpload.g.cs
@@ -7,12 +7,10 @@ public partial class LibraryManagementClient
{
partial void PrepareV1LibraryUploadArguments(
global::System.Net.Http.HttpClient httpClient,
- ref int? requestStartTime,
global::AI21.BodyV1LibraryUpload request);
partial void PrepareV1LibraryUploadRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- int? requestStartTime,
global::AI21.BodyV1LibraryUpload request);
partial void ProcessV1LibraryUploadResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -32,15 +30,11 @@ partial void ProcessV1LibraryUploadResponseContent(
/// - **Max library size:** 1 GB total size. No limit to individual file size.
/// - **Supported file types:** PDF, DocX, HTML, TXT
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task V1LibraryUploadAsync(
global::AI21.BodyV1LibraryUpload request,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
@@ -49,15 +43,11 @@ partial void ProcessV1LibraryUploadResponseContent(
client: HttpClient);
PrepareV1LibraryUploadArguments(
httpClient: HttpClient,
- requestStartTime: ref requestStartTime,
request: request);
var __pathBuilder = new PathBuilder(
path: "/studio/v1/library/files",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -83,12 +73,6 @@ partial void ProcessV1LibraryUploadResponseContent(
}
}
using var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent();
- if (requestStartTime != default)
- {
- __httpRequestContent.Add(
- content: new global::System.Net.Http.StringContent($"{requestStartTime}"),
- name: "request_start_time");
- }
__httpRequestContent.Add(
content: new global::System.Net.Http.ByteArrayContent(request.File ?? global::System.Array.Empty()),
name: "file",
@@ -125,7 +109,6 @@ partial void ProcessV1LibraryUploadResponseContent(
PrepareV1LibraryUploadRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- requestStartTime: requestStartTime,
request: request);
using var __response = await HttpClient.SendAsync(
@@ -237,9 +220,6 @@ partial void ProcessV1LibraryUploadResponseContent(
/// - **Max library size:** 1 GB total size. No limit to individual file size.
/// - **Supported file types:** PDF, DocX, HTML, TXT
///
- ///
- /// Default Value: 1730898900272
- ///
///
///
///
@@ -251,7 +231,6 @@ partial void ProcessV1LibraryUploadResponseContent(
public async global::System.Threading.Tasks.Task V1LibraryUploadAsync(
byte[] file,
string filename,
- int? requestStartTime = default,
string? path = default,
global::System.Collections.Generic.IList? labels = default,
string? publicUrl = default,
@@ -269,7 +248,6 @@ partial void ProcessV1LibraryUploadResponseContent(
};
return await V1LibraryUploadAsync(
- requestStartTime: requestStartTime,
request: __request,
cancellationToken: cancellationToken).ConfigureAwait(false);
}
diff --git a/src/libs/AI21/Generated/AI21.RAGEngineClient.V1LibraryManagement.g.cs b/src/libs/AI21/Generated/AI21.RAGEngineClient.V1LibraryManagement.g.cs
index ca5defa..a793668 100644
--- a/src/libs/AI21/Generated/AI21.RAGEngineClient.V1LibraryManagement.g.cs
+++ b/src/libs/AI21/Generated/AI21.RAGEngineClient.V1LibraryManagement.g.cs
@@ -7,13 +7,11 @@ public partial class RAGEngineClient
{
partial void PrepareV1LibraryManagementArguments(
global::System.Net.Http.HttpClient httpClient,
- ref global::System.Guid fileId,
- ref int? requestStartTime);
+ ref global::System.Guid fileId);
partial void PrepareV1LibraryManagementRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- global::System.Guid fileId,
- int? requestStartTime);
+ global::System.Guid fileId);
partial void ProcessV1LibraryManagementResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -27,29 +25,21 @@ partial void ProcessV1LibraryManagementResponseContent(
/// Generate Documents Signed Url
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task V1LibraryManagementAsync(
global::System.Guid fileId,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareV1LibraryManagementArguments(
httpClient: HttpClient,
- fileId: ref fileId,
- requestStartTime: ref requestStartTime);
+ fileId: ref fileId);
var __pathBuilder = new PathBuilder(
path: $"/studio/v1/library/files/{fileId}/download",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -81,8 +71,7 @@ partial void ProcessV1LibraryManagementResponseContent(
PrepareV1LibraryManagementRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- fileId: fileId,
- requestStartTime: requestStartTime);
+ fileId: fileId);
using var __response = await HttpClient.SendAsync(
request: __httpRequest,
diff --git a/src/libs/AI21/Generated/AI21.RAGEngineClient.V1LibrarySearch.g.cs b/src/libs/AI21/Generated/AI21.RAGEngineClient.V1LibrarySearch.g.cs
index 2deb6bd..8c0e6c9 100644
--- a/src/libs/AI21/Generated/AI21.RAGEngineClient.V1LibrarySearch.g.cs
+++ b/src/libs/AI21/Generated/AI21.RAGEngineClient.V1LibrarySearch.g.cs
@@ -7,12 +7,10 @@ public partial class RAGEngineClient
{
partial void PrepareV1LibrarySearchArguments(
global::System.Net.Http.HttpClient httpClient,
- ref int? requestStartTime,
global::AI21.LibrarySearchRequest request);
partial void PrepareV1LibrarySearchRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- int? requestStartTime,
global::AI21.LibrarySearchRequest request);
partial void ProcessV1LibrarySearchResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -26,15 +24,11 @@ partial void ProcessV1LibrarySearchResponseContent(
///
/// Search
///
- ///
- /// Default Value: 1730898900272
- ///
///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task V1LibrarySearchAsync(
global::AI21.LibrarySearchRequest request,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
@@ -43,15 +37,11 @@ partial void ProcessV1LibrarySearchResponseContent(
client: HttpClient);
PrepareV1LibrarySearchArguments(
httpClient: HttpClient,
- requestStartTime: ref requestStartTime,
request: request);
var __pathBuilder = new PathBuilder(
path: "/studio/v1/library/search",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
@@ -89,7 +79,6 @@ partial void ProcessV1LibrarySearchResponseContent(
PrepareV1LibrarySearchRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- requestStartTime: requestStartTime,
request: request);
using var __response = await HttpClient.SendAsync(
@@ -195,9 +184,6 @@ partial void ProcessV1LibrarySearchResponseContent(
///
/// Search
///
- ///
- /// Default Value: 1730898900272
- ///
///
///
///
@@ -219,7 +205,6 @@ partial void ProcessV1LibrarySearchResponseContent(
///
public async global::System.Threading.Tasks.Task V1LibrarySearchAsync(
string query,
- int? requestStartTime = default,
int? maxSegments = default,
string? path = default,
global::System.Collections.Generic.IList? labels = default,
@@ -248,7 +233,6 @@ partial void ProcessV1LibrarySearchResponseContent(
};
return await V1LibrarySearchAsync(
- requestStartTime: requestStartTime,
request: __request,
cancellationToken: cancellationToken).ConfigureAwait(false);
}
diff --git a/src/libs/AI21/Generated/AI21.SecretsClient.V1SecretStorage.g.cs b/src/libs/AI21/Generated/AI21.SecretsClient.V1SecretStorage.g.cs
index cb9f874..63ec835 100644
--- a/src/libs/AI21/Generated/AI21.SecretsClient.V1SecretStorage.g.cs
+++ b/src/libs/AI21/Generated/AI21.SecretsClient.V1SecretStorage.g.cs
@@ -6,12 +6,10 @@ namespace AI21
public partial class SecretsClient
{
partial void PrepareV1SecretStorageArguments(
- global::System.Net.Http.HttpClient httpClient,
- ref int? requestStartTime);
+ global::System.Net.Http.HttpClient httpClient);
partial void PrepareV1SecretStorageRequest(
global::System.Net.Http.HttpClient httpClient,
- global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- int? requestStartTime);
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage);
partial void ProcessV1SecretStorageResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -24,27 +22,19 @@ partial void ProcessV1SecretStorageResponseContent(
///
/// Get Secret List
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task V1SecretStorageAsync(
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareV1SecretStorageArguments(
- httpClient: HttpClient,
- requestStartTime: ref requestStartTime);
+ httpClient: HttpClient);
var __pathBuilder = new PathBuilder(
path: "/studio/v1/secrets",
baseUri: HttpClient.BaseAddress);
- __pathBuilder
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
- ;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
@@ -75,8 +65,7 @@ partial void ProcessV1SecretStorageResponseContent(
request: __httpRequest);
PrepareV1SecretStorageRequest(
httpClient: HttpClient,
- httpRequestMessage: __httpRequest,
- requestStartTime: requestStartTime);
+ httpRequestMessage: __httpRequest);
using var __response = await HttpClient.SendAsync(
request: __httpRequest,
@@ -89,34 +78,6 @@ partial void ProcessV1SecretStorageResponseContent(
ProcessV1SecretStorageResponse(
httpClient: HttpClient,
httpResponseMessage: __response);
- // Validation Error
- if ((int)__response.StatusCode == 422)
- {
- string? __content_422 = null;
- global::AI21.HTTPValidationError? __value_422 = null;
- if (ReadResponseAsString)
- {
- __content_422 = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false);
- __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext);
- }
- else
- {
- var __contentStream_422 = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false);
- __value_422 = await global::AI21.HTTPValidationError.FromJsonStreamAsync(__contentStream_422, JsonSerializerContext).ConfigureAwait(false);
- }
-
- throw new global::AI21.ApiException(
- message: __response.ReasonPhrase ?? string.Empty,
- statusCode: __response.StatusCode)
- {
- ResponseBody = __content_422,
- ResponseObject = __value_422,
- ResponseHeaders = global::System.Linq.Enumerable.ToDictionary(
- __response.Headers,
- h => h.Key,
- h => h.Value),
- };
- }
if (ReadResponseAsString)
{
diff --git a/src/libs/AI21/Generated/AI21.SecretsClient.V1SecretStorage2.g.cs b/src/libs/AI21/Generated/AI21.SecretsClient.V1SecretStorage2.g.cs
index c52ab94..7fea359 100644
--- a/src/libs/AI21/Generated/AI21.SecretsClient.V1SecretStorage2.g.cs
+++ b/src/libs/AI21/Generated/AI21.SecretsClient.V1SecretStorage2.g.cs
@@ -8,14 +8,12 @@ public partial class SecretsClient
partial void PrepareV1SecretStorage2Arguments(
global::System.Net.Http.HttpClient httpClient,
ref string secretName,
- ref string secretValue,
- ref int? requestStartTime);
+ ref string secretValue);
partial void PrepareV1SecretStorage2Request(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string secretName,
- string secretValue,
- int? requestStartTime);
+ string secretValue);
partial void ProcessV1SecretStorage2Response(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -30,15 +28,11 @@ partial void ProcessV1SecretStorage2ResponseContent(
///
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task V1SecretStorage2Async(
string secretName,
string secretValue,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
@@ -46,8 +40,7 @@ partial void ProcessV1SecretStorage2ResponseContent(
PrepareV1SecretStorage2Arguments(
httpClient: HttpClient,
secretName: ref secretName,
- secretValue: ref secretValue,
- requestStartTime: ref requestStartTime);
+ secretValue: ref secretValue);
var __pathBuilder = new PathBuilder(
path: "/studio/v1/secrets",
@@ -55,7 +48,6 @@ partial void ProcessV1SecretStorage2ResponseContent(
__pathBuilder
.AddRequiredParameter("secret_name", secretName)
.AddRequiredParameter("secret_value", secretValue)
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
@@ -89,8 +81,7 @@ partial void ProcessV1SecretStorage2ResponseContent(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
secretName: secretName,
- secretValue: secretValue,
- requestStartTime: requestStartTime);
+ secretValue: secretValue);
using var __response = await HttpClient.SendAsync(
request: __httpRequest,
diff --git a/src/libs/AI21/Generated/AI21.SecretsClient.V1SecretStorage3.g.cs b/src/libs/AI21/Generated/AI21.SecretsClient.V1SecretStorage3.g.cs
index 8741864..df7e9d6 100644
--- a/src/libs/AI21/Generated/AI21.SecretsClient.V1SecretStorage3.g.cs
+++ b/src/libs/AI21/Generated/AI21.SecretsClient.V1SecretStorage3.g.cs
@@ -7,13 +7,11 @@ public partial class SecretsClient
{
partial void PrepareV1SecretStorage3Arguments(
global::System.Net.Http.HttpClient httpClient,
- ref string secretName,
- ref int? requestStartTime);
+ ref string secretName);
partial void PrepareV1SecretStorage3Request(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string secretName,
- int? requestStartTime);
+ string secretName);
partial void ProcessV1SecretStorage3Response(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -27,29 +25,23 @@ partial void ProcessV1SecretStorage3ResponseContent(
/// Delete Secret
///
///
- ///
- /// Default Value: 1730898900272
- ///
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task V1SecretStorage3Async(
string secretName,
- int? requestStartTime = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareV1SecretStorage3Arguments(
httpClient: HttpClient,
- secretName: ref secretName,
- requestStartTime: ref requestStartTime);
+ secretName: ref secretName);
var __pathBuilder = new PathBuilder(
path: "/studio/v1/secrets",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddRequiredParameter("secret_name", secretName)
- .AddOptionalParameter("request_start_time", requestStartTime?.ToString())
;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
@@ -82,8 +74,7 @@ partial void ProcessV1SecretStorage3ResponseContent(
PrepareV1SecretStorage3Request(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- secretName: secretName,
- requestStartTime: requestStartTime);
+ secretName: secretName);
using var __response = await HttpClient.SendAsync(
request: __httpRequest,
diff --git a/src/libs/AI21/openapi.yaml b/src/libs/AI21/openapi.yaml
index b888edc..b99f6b8 100644
--- a/src/libs/AI21/openapi.yaml
+++ b/src/libs/AI21/openapi.yaml
@@ -10,13 +10,6 @@ paths:
post:
summary: Convert Document File
operationId: convert_document_file_studio_v1_chat_files_convert_post
- parameters:
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
requestBody:
content:
multipart/form-data:
@@ -42,13 +35,6 @@ paths:
summary: Studio Chat Complete
description: "This is the endpoint for the [Jamba Instruct model](https://docs.ai21.com/docs/jamba-models).\nThis is a foundation model that supports both single-turn (question answering,\ntext completion) and multi-turn (chat style) interactions.\n\nYou can optionally stream results if you want to get the response as each\ntoken is generated, rather than waiting for the entire response."
operationId: v1_chat_complete
- parameters:
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
requestBody:
content:
application/json:
@@ -77,13 +63,6 @@ paths:
post:
summary: Conversational Rag
operationId: v1_conversational_rag
- parameters:
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
requestBody:
content:
application/json:
@@ -111,12 +90,6 @@ paths:
description: "Get metadata about a specific file by file ID. The file ID is generated by\nAI21 when you upload the file."
operationId: v1_library_management
parameters:
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
- name: name
in: query
schema:
@@ -171,13 +144,6 @@ paths:
summary: Upload Organization File
description: "Upload files to use for [RAG Engine document searches](https://docs.ai21.com/docs/rag-engine-overview).\nYou can assign metadata to your files to limit searches to specific files by file metadata.\nThere is no bulk upload method; files must be loaded one at a time.\n\n- **Max number of files:** No limit. The playground limits bulk uploads to 50 files per request.\n- **Max library size:** 1 GB total size. No limit to individual file size.\n- **Supported file types:** PDF, DocX, HTML, TXT"
operationId: v1_library_upload
- parameters:
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
requestBody:
content:
multipart/form-data:
@@ -211,12 +177,6 @@ paths:
title: File Id
type: string
format: uuid
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
responses:
'200':
description: Successful Response
@@ -244,12 +204,6 @@ paths:
title: File Id
type: string
format: uuid
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
requestBody:
content:
application/json:
@@ -282,12 +236,6 @@ paths:
title: File Id
type: string
format: uuid
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
responses:
'200':
description: Successful Response
@@ -306,13 +254,6 @@ paths:
- RAG Engine
summary: Search
operationId: v1_library_search
- parameters:
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
requestBody:
content:
application/json:
@@ -337,25 +278,12 @@ paths:
- Secrets
summary: Get Secret List
operationId: v1_secret_storage
- parameters:
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
responses:
'200':
description: Successful Response
content:
application/json:
schema: { }
- '422':
- description: Validation Error
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Secrets
@@ -374,12 +302,6 @@ paths:
schema:
title: Secret Value
type: string
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
responses:
'200':
description: Successful Response
@@ -404,12 +326,6 @@ paths:
schema:
title: Secret Name
type: string
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
responses:
'200':
description: Successful Response
@@ -436,12 +352,6 @@ paths:
title: File Id
type: string
format: uuid
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
responses:
'200':
description: Successful Response
@@ -467,12 +377,6 @@ paths:
schema:
title: Organization Id
type: string
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
responses:
'200':
description: Successful Response
@@ -497,12 +401,6 @@ paths:
schema:
title: Organization Id
type: string
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
responses:
'200':
description: Successful Response
@@ -533,12 +431,6 @@ paths:
schema:
title: Data Source
type: string
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
responses:
'200':
description: Successful Response
@@ -575,12 +467,6 @@ paths:
schema:
title: Workflow Name
type: string
- - name: request_start_time
- in: query
- schema:
- title: Request Start Time
- type: integer
- default: '1730898900272'
responses:
'200':
description: Successful Response