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
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,16 @@ public partial interface IProjectsClient
/// <param name="geography">
/// Create the project with the specified data residency region. Your organization must have access to Data residency functionality in order to use. See [data residency controls](/docs/guides/your-data#data-residency-controls) to review the functionality and limitations of setting this field.
/// </param>
/// <param name="externalKeyId">
/// External key ID to associate with the project.
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.Project> CreateProjectAsync(
string name,
global::tryAGI.OpenAI.ProjectCreateRequestGeography? geography = default,
string? geography = default,
string? externalKeyId = default,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ public partial interface IProjectsClient
/// <param name="userId">
/// The ID of the user.
/// </param>
/// <param name="email">
/// Email of the user to add.
/// </param>
/// <param name="role">
/// `owner` or `member`
/// </param>
Expand All @@ -33,8 +36,9 @@ public partial interface IProjectsClient
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.ProjectUser> CreateProjectUserAsync(
string projectId,
string userId,
global::tryAGI.OpenAI.ProjectUserCreateRequestRole role,
string role,
string? userId = default,
string? email = default,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,20 @@ public partial interface IProjectsClient
/// <param name="name">
/// The updated name of the project, this name appears in reports.
/// </param>
/// <param name="externalKeyId">
/// External key ID to associate with the project.
/// </param>
/// <param name="geography">
/// Geography for the project.
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.Project> ModifyProjectAsync(
string projectId,
string name,
string? name = default,
string? externalKeyId = default,
string? geography = default,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public partial interface IProjectsClient
global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.ProjectUser> ModifyProjectUserAsync(
string projectId,
string userId,
global::tryAGI.OpenAI.ProjectUserUpdateRequestRole role,
string? role = default,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,24 @@ public partial interface IUsersClient
/// <param name="role">
/// `owner` or `reader`
/// </param>
/// <param name="roleId">
/// Role ID to assign to the user.
/// </param>
/// <param name="technicalLevel">
/// Technical level metadata.
/// </param>
/// <param name="developerPersona">
/// Developer persona metadata.
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.User> ModifyUserAsync(
string userId,
global::tryAGI.OpenAI.UserRoleUpdateRequestRole? role = default,
string? role = default,
string? roleId = default,
string? technicalLevel = default,
string? developerPersona = default,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public class AdminApiKeyCreateResponseJsonConverter : global::System.Text.Json.S
if (__jsonProps.Contains("owner.role")) __score0++;
if (__jsonProps.Contains("owner.type")) __score0++;
if (__jsonProps.Contains("redacted_value")) __score0++;
if (__jsonProps.Contains("value")) __score0++;
var __score1 = 0;
if (__jsonProps.Contains("value")) __score1++;
var __bestScore = 0;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading