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,6 +25,7 @@ partial void ProcessCreateArticleResponse(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Forem.ApiException"></exception>
public async global::System.Threading.Tasks.Task CreateArticleAsync(

global::Forem.Article request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ partial void ProcessUpdateArticleResponse(
/// <exception cref="global::Forem.ApiException"></exception>
public async global::System.Threading.Tasks.Task UpdateArticleAsync(
int id,

global::Forem.Article request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ partial void ProcessCreateDisplayAdsResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Forem.ApiException"></exception>
public async global::System.Threading.Tasks.Task<string> CreateDisplayAdsAsync(

object request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ partial void ProcessPutDisplayAdsByIdResponseContent(
/// <exception cref="global::Forem.ApiException"></exception>
public async global::System.Threading.Tasks.Task<string> PutDisplayAdsByIdAsync(
int id,

object request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public partial interface IArticlesClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Forem.ApiException"></exception>
global::System.Threading.Tasks.Task CreateArticleAsync(

global::Forem.Article request,
global::System.Threading.CancellationToken cancellationToken = default);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public partial interface IArticlesClient
/// <exception cref="global::Forem.ApiException"></exception>
global::System.Threading.Tasks.Task UpdateArticleAsync(
int id,

global::Forem.Article request,
global::System.Threading.CancellationToken cancellationToken = default);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public partial interface IDisplayAdsClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Forem.ApiException"></exception>
global::System.Threading.Tasks.Task<string> CreateDisplayAdsAsync(

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public partial interface IDisplayAdsClient
/// <exception cref="global::Forem.ApiException"></exception>
global::System.Threading.Tasks.Task<string> PutDisplayAdsByIdAsync(
int id,

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public partial interface IPagesClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Forem.ApiException"></exception>
global::System.Threading.Tasks.Task CreatePagesAsync(

global::Forem.Request3 request,
global::System.Threading.CancellationToken cancellationToken = default);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public partial interface IPagesClient
/// <exception cref="global::Forem.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Forem.Page> PutPagesByIdAsync(
int id,

global::Forem.Page request,
global::System.Threading.CancellationToken cancellationToken = default);

Expand Down Expand Up @@ -52,11 +53,11 @@ public partial interface IPagesClient
string title,
string slug,
string description,
global::Forem.PageTemplate template,
string? bodyMarkdown = default,
string? bodyJson = default,
bool? isTopLevelPath = default,
object? socialImage = default,
global::Forem.PageTemplate template = global::Forem.PageTemplate.Contained,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public partial interface IUsersClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Forem.ApiException"></exception>
global::System.Threading.Tasks.Task PostAdminUsersCreateAsync(

global::Forem.UserInviteParam request,
global::System.Threading.CancellationToken cancellationToken = default);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ partial void ProcessCreatePagesResponse(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Forem.ApiException"></exception>
public async global::System.Threading.Tasks.Task CreatePagesAsync(

global::Forem.Request3 request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
3 changes: 2 additions & 1 deletion src/libs/Forem/Generated/Forem.PagesClient.PutPagesById.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ partial void ProcessPutPagesByIdResponseContent(
/// <exception cref="global::Forem.ApiException"></exception>
public async global::System.Threading.Tasks.Task<global::Forem.Page> PutPagesByIdAsync(
int id,

global::Forem.Page request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -273,11 +274,11 @@ partial void ProcessPutPagesByIdResponseContent(
string title,
string slug,
string description,
global::Forem.PageTemplate template,
string? bodyMarkdown = default,
string? bodyJson = default,
bool? isTopLevelPath = default,
object? socialImage = default,
global::Forem.PageTemplate template = global::Forem.PageTemplate.Contained,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Forem.Page
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ partial void ProcessPostAdminUsersCreateResponse(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Forem.ApiException"></exception>
public async global::System.Threading.Tasks.Task PostAdminUsersCreateAsync(

global::Forem.UserInviteParam request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down