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 @@ -119,6 +119,11 @@ public partial interface IPromptLayerClient : global::System.IDisposable
/// </summary>
public SkillCollectionsClient SkillCollections { get; }

/// <summary>
///
/// </summary>
public SmartTablesClient SmartTables { get; }

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#nullable enable

namespace PromptLayer
{
public partial interface ISmartTablesClient
{
/// <summary>
/// Add Rows<br/>
/// Append one or more rows to a sheet. Text column values can be set immediately; non-text column cells are created with `stale` status and must be triggered via a recalculation.
/// </summary>
/// <param name="tableId"></param>
/// <param name="sheetId"></param>
/// <param name="request"></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::PromptLayer.ApiException"></exception>
global::System.Threading.Tasks.Task<global::PromptLayer.AddTableSheetRowsResponse> AddTableSheetRowsAsync(
global::System.Guid tableId,
global::System.Guid sheetId,

global::PromptLayer.AddTableSheetRowsRequest request,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Add Rows<br/>
/// Append one or more rows to a sheet. Text column values can be set immediately; non-text column cells are created with `stale` status and must be triggered via a recalculation.
/// </summary>
/// <param name="tableId"></param>
/// <param name="sheetId"></param>
/// <param name="request"></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::PromptLayer.ApiException"></exception>
global::System.Threading.Tasks.Task<global::PromptLayer.AutoSDKHttpResponse<global::PromptLayer.AddTableSheetRowsResponse>> AddTableSheetRowsAsResponseAsync(
global::System.Guid tableId,
global::System.Guid sheetId,

global::PromptLayer.AddTableSheetRowsRequest request,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Add Rows<br/>
/// Append one or more rows to a sheet. Text column values can be set immediately; non-text column cells are created with `stale` status and must be triggered via a recalculation.
/// </summary>
/// <param name="tableId"></param>
/// <param name="sheetId"></param>
/// <param name="count">
/// Number of rows to append (1–100).<br/>
/// Default Value: 1
/// </param>
/// <param name="values">
/// Per-row initial values for text columns. Each element is a map of column_id → value.
/// </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::PromptLayer.AddTableSheetRowsResponse> AddTableSheetRowsAsync(
global::System.Guid tableId,
global::System.Guid sheetId,
int? count = default,
global::System.Collections.Generic.IList<object>? values = default,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#nullable enable

namespace PromptLayer
{
public partial interface ISmartTablesClient
{
/// <summary>
/// Create Table<br/>
/// Create a new Table. A default sheet with one text column is created automatically.
/// </summary>
/// <param name="request"></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::PromptLayer.ApiException"></exception>
global::System.Threading.Tasks.Task<global::PromptLayer.CreateTableResponse> CreateTableAsync(

global::PromptLayer.CreateTableRequest request,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create Table<br/>
/// Create a new Table. A default sheet with one text column is created automatically.
/// </summary>
/// <param name="request"></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::PromptLayer.ApiException"></exception>
global::System.Threading.Tasks.Task<global::PromptLayer.AutoSDKHttpResponse<global::PromptLayer.CreateTableResponse>> CreateTableAsResponseAsync(

global::PromptLayer.CreateTableRequest request,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create Table<br/>
/// Create a new Table. A default sheet with one text column is created automatically.
/// </summary>
/// <param name="title">
/// Table title. Defaults to a unique 'Untitled Table' name if omitted.
/// </param>
/// <param name="folderId">
/// Folder to place the table in.
/// </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::PromptLayer.CreateTableResponse> CreateTableAsync(
string? title = default,
int? folderId = default,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#nullable enable

namespace PromptLayer
{
public partial interface ISmartTablesClient
{
/// <summary>
/// Create Sheet<br/>
/// Create a new sheet in a table by importing data from a file (CSV or JSON, base64-encoded) or from request log history.
/// </summary>
/// <param name="tableId"></param>
/// <param name="request"></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::PromptLayer.ApiException"></exception>
global::System.Threading.Tasks.Task<global::PromptLayer.CreateTableSheetResponse> CreateTableSheetAsync(
global::System.Guid tableId,

global::PromptLayer.CreateTableSheetRequest request,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create Sheet<br/>
/// Create a new sheet in a table by importing data from a file (CSV or JSON, base64-encoded) or from request log history.
/// </summary>
/// <param name="tableId"></param>
/// <param name="request"></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::PromptLayer.ApiException"></exception>
global::System.Threading.Tasks.Task<global::PromptLayer.AutoSDKHttpResponse<global::PromptLayer.CreateTableSheetResponse>> CreateTableSheetAsResponseAsync(
global::System.Guid tableId,

global::PromptLayer.CreateTableSheetRequest request,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create Sheet<br/>
/// Create a new sheet in a table by importing data from a file (CSV or JSON, base64-encoded) or from request log history.
/// </summary>
/// <param name="tableId"></param>
/// <param name="title">
/// Sheet title. Defaults to the source file name or 'Request Logs'.
/// </param>
/// <param name="index">
/// Display position within the table (0-based). Defaults to appending at the end.
/// </param>
/// <param name="operationId">
/// Optional idempotency key for the import operation.
/// </param>
/// <param name="source">
/// Data source for the sheet.
/// </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::PromptLayer.CreateTableSheetResponse> CreateTableSheetAsync(
global::System.Guid tableId,
global::PromptLayer.OneOf<global::PromptLayer.CreateTableSheetRequestSourceFileSource, global::PromptLayer.CreateTableSheetRequestSourceRequestLogsSource> source,
string? title = default,
int? index = default,
string? operationId = default,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#nullable enable

namespace PromptLayer
{
public partial interface ISmartTablesClient
{
/// <summary>
/// Recalculate Cell<br/>
/// Trigger recalculation for a single cell.
/// </summary>
/// <param name="tableId"></param>
/// <param name="sheetId"></param>
/// <param name="cellId"></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::PromptLayer.ApiException"></exception>
global::System.Threading.Tasks.Task<global::PromptLayer.CreateTableSheetCellRecalculationResponse> CreateTableSheetCellRecalculationAsync(
global::System.Guid tableId,
global::System.Guid sheetId,
global::System.Guid cellId,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Recalculate Cell<br/>
/// Trigger recalculation for a single cell.
/// </summary>
/// <param name="tableId"></param>
/// <param name="sheetId"></param>
/// <param name="cellId"></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::PromptLayer.ApiException"></exception>
global::System.Threading.Tasks.Task<global::PromptLayer.AutoSDKHttpResponse<global::PromptLayer.CreateTableSheetCellRecalculationResponse>> CreateTableSheetCellRecalculationAsResponseAsync(
global::System.Guid tableId,
global::System.Guid sheetId,
global::System.Guid cellId,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#nullable enable

namespace PromptLayer
{
public partial interface ISmartTablesClient
{
/// <summary>
/// Recalculate Cells (Batch)<br/>
/// Trigger recalculation for a batch of cells identified by ID.
/// </summary>
/// <param name="tableId"></param>
/// <param name="sheetId"></param>
/// <param name="request"></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::PromptLayer.ApiException"></exception>
global::System.Threading.Tasks.Task<global::PromptLayer.CreateTableSheetCellRecalculationsBatchResponse> CreateTableSheetCellRecalculationsBatchAsync(
global::System.Guid tableId,
global::System.Guid sheetId,

global::PromptLayer.CreateTableSheetCellRecalculationsBatchRequest request,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Recalculate Cells (Batch)<br/>
/// Trigger recalculation for a batch of cells identified by ID.
/// </summary>
/// <param name="tableId"></param>
/// <param name="sheetId"></param>
/// <param name="request"></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::PromptLayer.ApiException"></exception>
global::System.Threading.Tasks.Task<global::PromptLayer.AutoSDKHttpResponse<global::PromptLayer.CreateTableSheetCellRecalculationsBatchResponse>> CreateTableSheetCellRecalculationsBatchAsResponseAsync(
global::System.Guid tableId,
global::System.Guid sheetId,

global::PromptLayer.CreateTableSheetCellRecalculationsBatchRequest request,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Recalculate Cells (Batch)<br/>
/// Trigger recalculation for a batch of cells identified by ID.
/// </summary>
/// <param name="tableId"></param>
/// <param name="sheetId"></param>
/// <param name="cellIds">
/// List of cell IDs to recalculate.
/// </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::PromptLayer.CreateTableSheetCellRecalculationsBatchResponse> CreateTableSheetCellRecalculationsBatchAsync(
global::System.Guid tableId,
global::System.Guid sheetId,
global::System.Collections.Generic.IList<global::System.Guid> cellIds,
global::PromptLayer.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Loading