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 @@ -21,15 +21,13 @@ partial void ProcessGatewayDeleteFileResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Delete file<br/>
/// Permanently delete a file from the system. This action cannot be undone.
/// </summary>
/// <param name="fileId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request DELETE https://api.writer.com/v1/files/{file_id} \<br/>
/// --header "Authorization: Bearer &lt;token&gt;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,13 @@ partial void ProcessGatewayDownloadFileResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref byte[] content);


/// <summary>
/// Download file<br/>
/// Download the binary content of a file. The response will contain the file data in the appropriate MIME type.
/// </summary>
/// <param name="fileId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request GET https://api.writer.com/v1/files/{file_id}/download \<br/>
/// --header "Authorization: Bearer &lt;token&gt;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,13 @@ partial void ProcessGatewayGetFileResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Retrieve file<br/>
/// Retrieve detailed information about a specific file, including its metadata, status, and associated graphs.
/// </summary>
/// <param name="fileId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request GET https://api.writer.com/v1/files/{file_id} \<br/>
/// --header "Authorization: Bearer &lt;token&gt;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ partial void ProcessGatewayGetFilesResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// List files<br/>
/// Retrieve a paginated list of files with optional filtering by status, graph association, and file type.
Expand All @@ -51,7 +50,6 @@ partial void ProcessGatewayGetFilesResponseContent(
/// <param name="fileTypes"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request GET https://api.writer.com/v1/files \<br/>
/// --header "Authorization: Bearer &lt;token&gt;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,13 @@ partial void ProcessGatewayRetryFailedFilesResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Retry failed files<br/>
/// Retry processing of files that previously failed to process. This will re-attempt the processing of the specified files.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request POST https://api.writer.com/v1/files/retry \<br/>
/// --header "Authorization: Bearer &lt;token&gt;" \<br/>
Expand Down Expand Up @@ -189,7 +186,6 @@ partial void ProcessGatewayRetryFailedFilesResponseContent(
}
}
}

/// <summary>
/// Retry failed files<br/>
/// Retry processing of files that previously failed to process. This will re-attempt the processing of the specified files.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ partial void ProcessGatewayUploadFileResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Upload file<br/>
/// Upload a new file to the system. Supports various file formats including PDF, DOC, DOCX, PPT, PPTX, JPG, PNG, EML, HTML, SRT, CSV, XLS, and XLSX.
Expand All @@ -38,11 +37,9 @@ partial void ProcessGatewayUploadFileResponseContent(
/// <param name="contentType"></param>
/// <param name="contentLength"></param>
/// <param name="graphId"></param>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request POST https://api.writer.com/v1/files \<br/>
/// --header "Authorization: Bearer &lt;token&gt;"<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,13 @@ partial void ProcessChatResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Chat completion<br/>
/// Generate a chat completion based on the provided messages. The response shown below is for non-streaming. To learn about streaming responses, see the [chat completion guide](https://dev.writer.com/home/chat-completion).
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request POST https://api.writer.com/v1/chat \<br/>
/// --header "Authorization: Bearer &lt;token&gt;" \<br/>
Expand Down Expand Up @@ -206,7 +203,6 @@ partial void ProcessChatResponseContent(
}
}
}

/// <summary>
/// Chat completion<br/>
/// Generate a chat completion based on the provided messages. The response shown below is for non-streaming. To learn about streaming responses, see the [chat completion guide](https://dev.writer.com/home/chat-completion).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,13 @@ partial void ProcessChatAsStreamResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);


/// <summary>
/// Chat completion<br/>
/// Generate a chat completion based on the provided messages. The response shown below is for non-streaming. To learn about streaming responses, see the [chat completion guide](https://dev.writer.com/home/chat-completion).
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request POST https://api.writer.com/v1/chat \<br/>
/// --header "Authorization: Bearer &lt;token&gt;" \<br/>
Expand Down Expand Up @@ -178,7 +175,6 @@ partial void ProcessChatAsStreamResponse(
yield return __streamedResponse;
}
}

/// <summary>
/// Chat completion<br/>
/// Generate a chat completion based on the provided messages. The response shown below is for non-streaming. To learn about streaming responses, see the [chat completion guide](https://dev.writer.com/home/chat-completion).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,13 @@ partial void ProcessCompletionsResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Text generation<br/>
/// Generate text completions using the specified model and prompt. This endpoint is useful for text generation tasks that don't require conversational context.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request POST https://api.writer.com/v1/completions \<br/>
/// --header "Authorization: Bearer &lt;token&gt;" \<br/>
Expand Down Expand Up @@ -202,7 +199,6 @@ partial void ProcessCompletionsResponseContent(
}
}
}

/// <summary>
/// Text generation<br/>
/// Generate text completions using the specified model and prompt. This endpoint is useful for text generation tasks that don't require conversational context.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,13 @@ partial void ProcessCompletionsAsStreamResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);


/// <summary>
/// Text generation<br/>
/// Generate text completions using the specified model and prompt. This endpoint is useful for text generation tasks that don't require conversational context.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request POST https://api.writer.com/v1/completions \<br/>
/// --header "Authorization: Bearer &lt;token&gt;" \<br/>
Expand Down Expand Up @@ -174,7 +171,6 @@ partial void ProcessCompletionsAsStreamResponse(
yield return __streamedResponse;
}
}

/// <summary>
/// Text generation<br/>
/// Generate text completions using the specified model and prompt. This endpoint is useful for text generation tasks that don't require conversational context.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,14 @@ partial void ProcessGenerateContentResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Generate from application<br/>
/// Generate content from an existing no-code agent (formerly called no-code applications) with inputs.
/// </summary>
/// <param name="applicationId"></param>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request POST https://api.writer.com/v1/applications/{application_id} \<br/>
/// --header "Authorization: Bearer &lt;token&gt;" \<br/>
Expand Down Expand Up @@ -201,7 +198,6 @@ partial void ProcessGenerateContentResponseContent(
}
}
}

/// <summary>
/// Generate from application<br/>
/// Generate content from an existing no-code agent (formerly called no-code applications) with inputs.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@ partial void ProcessGenerateContentAsStreamResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);


/// <summary>
/// Generate from application<br/>
/// Generate content from an existing no-code agent (formerly called no-code applications) with inputs.
/// </summary>
/// <param name="applicationId"></param>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request POST https://api.writer.com/v1/applications/{application_id} \<br/>
/// --header "Authorization: Bearer &lt;token&gt;" \<br/>
Expand Down Expand Up @@ -173,7 +170,6 @@ partial void ProcessGenerateContentAsStreamResponse(
yield return __streamedResponse;
}
}

/// <summary>
/// Generate from application<br/>
/// Generate content from an existing no-code agent (formerly called no-code applications) with inputs.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ partial void ProcessGetApplicationsResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// List applications<br/>
/// Retrieves a paginated list of no-code agents (formerly called no-code applications) with optional filtering and sorting capabilities.
Expand All @@ -47,7 +46,6 @@ partial void ProcessGetApplicationsResponseContent(
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request GET https://api.writer.com/v1/applications \<br/>
/// --header "Authorization: Bearer &lt;token&gt;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,13 @@ partial void ProcessGetApplicationsByApplicationIdResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// Application details<br/>
/// Retrieves detailed information for a specific no-code agent (formerly called no-code applications), including its configuration and current status.
/// </summary>
/// <param name="applicationId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request GET https://api.writer.com/v1/applications/{application_id} \<br/>
/// --header "Authorization: Bearer &lt;token&gt;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ partial void ProcessModelsResponseContent(
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);


/// <summary>
/// List models<br/>
/// Retrieve a list of available models that can be used for text generation, chat completions, and other AI tasks.
/// </summary>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request GET https://api.writer.com/v1/models \<br/>
/// --header "Authorization: Bearer &lt;token&gt;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ namespace Writer
{
public partial interface IFileApiClient
{

/// <summary>
/// Delete file<br/>
/// Permanently delete a file from the system. This action cannot be undone.
/// </summary>
/// <param name="fileId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request DELETE https://api.writer.com/v1/files/{file_id} \<br/>
/// --header "Authorization: Bearer &lt;token&gt;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ namespace Writer
{
public partial interface IFileApiClient
{

/// <summary>
/// Download file<br/>
/// Download the binary content of a file. The response will contain the file data in the appropriate MIME type.
/// </summary>
/// <param name="fileId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request GET https://api.writer.com/v1/files/{file_id}/download \<br/>
/// --header "Authorization: Bearer &lt;token&gt;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ namespace Writer
{
public partial interface IFileApiClient
{

/// <summary>
/// Retrieve file<br/>
/// Retrieve detailed information about a specific file, including its metadata, status, and associated graphs.
/// </summary>
/// <param name="fileId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request GET https://api.writer.com/v1/files/{file_id} \<br/>
/// --header "Authorization: Bearer &lt;token&gt;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ namespace Writer
{
public partial interface IFileApiClient
{

/// <summary>
/// List files<br/>
/// Retrieve a paginated list of files with optional filtering by status, graph association, and file type.
Expand All @@ -22,7 +21,6 @@ public partial interface IFileApiClient
/// <param name="fileTypes"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request GET https://api.writer.com/v1/files \<br/>
/// --header "Authorization: Bearer &lt;token&gt;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@ namespace Writer
{
public partial interface IFileApiClient
{

/// <summary>
/// Retry failed files<br/>
/// Retry processing of files that previously failed to process. This will re-attempt the processing of the specified files.
/// </summary>

/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Writer.ApiException"></exception>

/// <remarks>
/// curl --location --request POST https://api.writer.com/v1/files/retry \<br/>
/// --header "Authorization: Bearer &lt;token&gt;" \<br/>
Expand All @@ -24,7 +21,6 @@ public partial interface IFileApiClient

global::Writer.RetryFilesRequest request,
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
/// Retry failed files<br/>
/// Retry processing of files that previously failed to process. This will re-attempt the processing of the specified files.
Expand Down
Loading