@@ -30,6 +30,9 @@ public sealed partial class BillingClient : global::Firecrawl.IBillingClient, gl
3030#if DEBUG
3131 = true;
3232#endif
33+
34+ /// <inheritdoc/>
35+ public global ::Firecrawl . AutoSDKClientOptions Options { get ; }
3336 /// <summary>
3437 ///
3538 /// </summary>
@@ -49,11 +52,37 @@ public BillingClient(
4952 global ::System . Net . Http . HttpClient ? httpClient = null ,
5053 global ::System . Uri ? baseUri = null ,
5154 global ::System . Collections . Generic . List < global ::Firecrawl . EndPointAuthorization > ? authorizations = null ,
55+ bool disposeHttpClient = true ) : this (
56+ httpClient ,
57+ baseUri ,
58+ authorizations ,
59+ options : null ,
60+ disposeHttpClient : disposeHttpClient )
61+ {
62+ }
63+
64+ /// <summary>
65+ /// Creates a new instance of the BillingClient.
66+ /// If no httpClient is provided, a new one will be created.
67+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
68+ /// </summary>
69+ /// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
70+ /// <param name="baseUri">The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.</param>
71+ /// <param name="authorizations">The authorizations to use for the requests.</param>
72+ /// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
73+ /// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
74+ public BillingClient (
75+ global ::System . Net . Http . HttpClient ? httpClient = null ,
76+ global ::System . Uri ? baseUri = null ,
77+ global ::System . Collections . Generic . List < global ::Firecrawl . EndPointAuthorization > ? authorizations = null ,
78+ global ::Firecrawl . AutoSDKClientOptions ? options = null ,
5279 bool disposeHttpClient = true )
5380 {
81+
5482 HttpClient = httpClient ?? new global ::System . Net . Http . HttpClient ( ) ;
5583 HttpClient . BaseAddress ??= baseUri ?? new global ::System . Uri ( DefaultBaseUrl ) ;
5684 Authorizations = authorizations ?? new global ::System . Collections . Generic . List < global ::Firecrawl . EndPointAuthorization > ( ) ;
85+ Options = options ?? new global ::Firecrawl . AutoSDKClientOptions ( ) ;
5786 _disposeHttpClient = disposeHttpClient ;
5887
5988 Initialized ( HttpClient ) ;
0 commit comments