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
696 changes: 441 additions & 255 deletions src/libs/Meshy/Generated/Meshy.AnimationClient.CreateAnimationTask.g.cs

Large diffs are not rendered by default.

347 changes: 265 additions & 82 deletions src/libs/Meshy/Generated/Meshy.AnimationClient.DeleteAnimationTask.g.cs

Large diffs are not rendered by default.

429 changes: 306 additions & 123 deletions src/libs/Meshy/Generated/Meshy.AnimationClient.GetAnimationTask.g.cs

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions src/libs/Meshy/Generated/Meshy.AnimationClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public sealed partial class AnimationClient : global::Meshy.IAnimationClient, gl
#if DEBUG
= true;
#endif

/// <inheritdoc/>
public global::Meshy.AutoSDKClientOptions Options { get; }
/// <summary>
///
/// </summary>
Expand All @@ -49,11 +52,37 @@ public AnimationClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Meshy.EndPointAuthorization>? authorizations = null,
bool disposeHttpClient = true) : this(
httpClient,
baseUri,
authorizations,
options: null,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the AnimationClient.
/// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="baseUri">The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public AnimationClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Meshy.EndPointAuthorization>? authorizations = null,
global::Meshy.AutoSDKClientOptions? options = null,
bool disposeHttpClient = true)
{

HttpClient = httpClient ?? new global::System.Net.Http.HttpClient();
HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl);
Authorizations = authorizations ?? new global::System.Collections.Generic.List<global::Meshy.EndPointAuthorization>();
Options = options ?? new global::Meshy.AutoSDKClientOptions();
_disposeHttpClient = disposeHttpClient;

Initialized(HttpClient);
Expand Down
429 changes: 306 additions & 123 deletions src/libs/Meshy/Generated/Meshy.BalanceClient.GetBalance.g.cs

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions src/libs/Meshy/Generated/Meshy.BalanceClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public sealed partial class BalanceClient : global::Meshy.IBalanceClient, global
#if DEBUG
= true;
#endif

/// <inheritdoc/>
public global::Meshy.AutoSDKClientOptions Options { get; }
/// <summary>
///
/// </summary>
Expand All @@ -49,11 +52,37 @@ public BalanceClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Meshy.EndPointAuthorization>? authorizations = null,
bool disposeHttpClient = true) : this(
httpClient,
baseUri,
authorizations,
options: null,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the BalanceClient.
/// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="baseUri">The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public BalanceClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Meshy.EndPointAuthorization>? authorizations = null,
global::Meshy.AutoSDKClientOptions? options = null,
bool disposeHttpClient = true)
{

HttpClient = httpClient ?? new global::System.Net.Http.HttpClient();
HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl);
Authorizations = authorizations ?? new global::System.Collections.Generic.List<global::Meshy.EndPointAuthorization>();
Options = options ?? new global::Meshy.AutoSDKClientOptions();
_disposeHttpClient = disposeHttpClient;

Initialized(HttpClient);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ public partial interface IAnimationClient
/// Create an Animation task
/// </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::Meshy.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Meshy.CreateTaskResponse> CreateAnimationTaskAsync(

global::Meshy.AnimationRequest request,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create an Animation task
Expand All @@ -24,12 +26,14 @@ public partial interface IAnimationClient
/// Animation action identifier
/// </param>
/// <param name="postProcess"></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::Meshy.CreateTaskResponse> CreateAnimationTaskAsync(
string rigTaskId,
int actionId,
global::Meshy.AnimationPostProcess? postProcess = default,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ public partial interface IAnimationClient
/// Delete an Animation task
/// </summary>
/// <param name="id"></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::Meshy.ApiException"></exception>
global::System.Threading.Tasks.Task DeleteAnimationTaskAsync(
string id,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ public partial interface IAnimationClient
/// Retrieve an Animation task
/// </summary>
/// <param name="id"></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::Meshy.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Meshy.AnimationTask> GetAnimationTaskAsync(
string id,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
5 changes: 5 additions & 0 deletions src/libs/Meshy/Generated/Meshy.IAnimationClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ public partial interface IAnimationClient : global::System.IDisposable
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::Meshy.AutoSDKClientOptions Options { get; }

/// <summary>
///
/// </summary>
Expand Down
2 changes: 2 additions & 0 deletions src/libs/Meshy/Generated/Meshy.IBalanceClient.GetBalance.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ public partial interface IBalanceClient
/// <summary>
/// Get credit balance
/// </summary>
/// <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::Meshy.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Meshy.BalanceResponse> GetBalanceAsync(
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
5 changes: 5 additions & 0 deletions src/libs/Meshy/Generated/Meshy.IBalanceClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ public partial interface IBalanceClient : global::System.IDisposable
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::Meshy.AutoSDKClientOptions Options { get; }

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ public partial interface IImageTo3dClient
/// Create an Image to 3D task
/// </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::Meshy.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Meshy.CreateTaskResponse> CreateImageTo3DTaskAsync(

global::Meshy.ImageTo3DRequest request,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create an Image to 3D task
Expand Down Expand Up @@ -69,6 +71,7 @@ public partial interface IImageTo3dClient
/// Default Value: false
/// </param>
/// <param name="originAt"></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::Meshy.CreateTaskResponse> CreateImageTo3DTaskAsync(
Expand All @@ -91,6 +94,7 @@ public partial interface IImageTo3dClient
global::System.Collections.Generic.IList<global::Meshy.TargetFormat3D>? targetFormats = default,
bool? autoSize = default,
global::Meshy.OriginAt? originAt = default,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ public partial interface IImageTo3dClient
/// Delete an Image to 3D task
/// </summary>
/// <param name="id"></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::Meshy.ApiException"></exception>
global::System.Threading.Tasks.Task DeleteImageTo3DTaskAsync(
string id,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ public partial interface IImageTo3dClient
/// Retrieve an Image to 3D task
/// </summary>
/// <param name="id"></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::Meshy.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Meshy.ImageTo3DTask> GetImageTo3DTaskAsync(
string id,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ public partial interface IImageTo3dClient
/// Default Value: 10
/// </param>
/// <param name="sortBy"></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::Meshy.ApiException"></exception>
global::System.Threading.Tasks.Task<global::System.Collections.Generic.IList<global::Meshy.ImageTo3DTask>> ListImageTo3DTasksAsync(
int? pageNum = default,
int? pageSize = default,
global::Meshy.ListImageTo3DTasksSortBy? sortBy = default,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
5 changes: 5 additions & 0 deletions src/libs/Meshy/Generated/Meshy.IImageTo3dClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ public partial interface IImageTo3dClient : global::System.IDisposable
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::Meshy.AutoSDKClientOptions Options { get; }

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ public partial interface IImageToImageClient
/// Create an Image to Image task
/// </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::Meshy.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Meshy.CreateTaskResponse> CreateImageToImageTaskAsync(

global::Meshy.ImageToImageRequest request,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create an Image to Image task
Expand All @@ -27,13 +29,15 @@ public partial interface IImageToImageClient
/// <param name="generateMultiView">
/// Default Value: false
/// </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::Meshy.CreateTaskResponse> CreateImageToImageTaskAsync(
global::Meshy.ImageAiModel aiModel,
string prompt,
global::System.Collections.Generic.IList<string> referenceImageUrls,
bool? generateMultiView = default,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ public partial interface IImageToImageClient
/// Delete an Image to Image task
/// </summary>
/// <param name="id"></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::Meshy.ApiException"></exception>
global::System.Threading.Tasks.Task DeleteImageToImageTaskAsync(
string id,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ public partial interface IImageToImageClient
/// Retrieve an Image to Image task
/// </summary>
/// <param name="id"></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::Meshy.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Meshy.ImageToImageTask> GetImageToImageTaskAsync(
string id,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ public partial interface IImageToImageClient
/// Default Value: 10
/// </param>
/// <param name="sortBy"></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::Meshy.ApiException"></exception>
global::System.Threading.Tasks.Task<global::System.Collections.Generic.IList<global::Meshy.ImageToImageTask>> ListImageToImageTasksAsync(
int? pageNum = default,
int? pageSize = default,
global::Meshy.ListImageToImageTasksSortBy? sortBy = default,
global::Meshy.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
5 changes: 5 additions & 0 deletions src/libs/Meshy/Generated/Meshy.IImageToImageClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ public partial interface IImageToImageClient : global::System.IDisposable
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::Meshy.AutoSDKClientOptions Options { get; }

/// <summary>
///
/// </summary>
Expand Down
5 changes: 5 additions & 0 deletions src/libs/Meshy/Generated/Meshy.IMeshyClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public partial interface IMeshyClient : global::System.IDisposable
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::Meshy.AutoSDKClientOptions Options { get; }

/// <summary>
///
/// </summary>
Expand Down
Loading