Skip to content

Commit

Permalink
feat: use new treasure solver version (#46)
Browse files Browse the repository at this point in the history
* update generated clients

* use new treasure solver API version
  • Loading branch information
ismailbennani authored Sep 29, 2024
1 parent 5fd6c29 commit 33d5170
Show file tree
Hide file tree
Showing 5 changed files with 494 additions and 596 deletions.
18 changes: 18 additions & 0 deletions src/TreasureSolver/Clients/DbiIdentityClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,19 @@ public string BaseUrl
partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder);
partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response);

/// <summary>
/// Register account
/// </summary>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual System.Threading.Tasks.Task<System.Guid> RegisterAsync(long? accountId, string accountName)
{
return RegisterAsync(accountId, accountName, System.Threading.CancellationToken.None);
}

/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
/// <summary>
/// Register account
/// </summary>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual async System.Threading.Tasks.Task<System.Guid> RegisterAsync(long? accountId, string accountName, System.Threading.CancellationToken cancellationToken)
{
Expand Down Expand Up @@ -152,13 +158,19 @@ public string BaseUrl
}
}

/// <summary>
/// Refresh API key
/// </summary>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual System.Threading.Tasks.Task<System.Guid> RefreshApiKeyAsync()
{
return RefreshApiKeyAsync(System.Threading.CancellationToken.None);
}

/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
/// <summary>
/// Refresh API key
/// </summary>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual async System.Threading.Tasks.Task<System.Guid> RefreshApiKeyAsync(System.Threading.CancellationToken cancellationToken)
{
Expand Down Expand Up @@ -229,13 +241,19 @@ public string BaseUrl
}
}

/// <summary>
/// Revoke registration
/// </summary>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual System.Threading.Tasks.Task RevokeAsync()
{
return RevokeAsync(System.Threading.CancellationToken.None);
}

/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
/// <summary>
/// Revoke registration
/// </summary>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual async System.Threading.Tasks.Task RevokeAsync(System.Threading.CancellationToken cancellationToken)
{
Expand Down
Loading

0 comments on commit 33d5170

Please sign in to comment.