Skip to content

Commit 2c15342

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 8423398 + 12d971d commit 2c15342

151 files changed

Lines changed: 756 additions & 8 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/libs/Firecrawl.Cli/Firecrawl.Cli.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</PropertyGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="System.CommandLine" Version="2.0.7" />
20+
<PackageReference Include="System.CommandLine" Version="2.0.8" />
2121
</ItemGroup>
2222

2323
<ItemGroup>

src/libs/Firecrawl/Generated/Firecrawl.AllOf.2.g.cs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ public bool TryPickValue1(
3838
return IsValue1;
3939
}
4040

41+
/// <summary>
42+
///
43+
/// </summary>
44+
public T1 PickValue1() => IsValue1
45+
? Value1!
46+
: throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}.");
47+
4148
/// <summary>
4249
///
4350
/// </summary>
@@ -67,6 +74,13 @@ public bool TryPickValue2(
6774
value = Value2;
6875
return IsValue2;
6976
}
77+
78+
/// <summary>
79+
///
80+
/// </summary>
81+
public T2 PickValue2() => IsValue2
82+
? Value2!
83+
: throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}.");
7084
/// <summary>
7185
///
7286
/// </summary>
@@ -85,6 +99,11 @@ public AllOf(T1? value)
8599
Value1 = value;
86100
}
87101

102+
/// <summary>
103+
///
104+
/// </summary>
105+
public static AllOf<T1, T2> FromValue1(T1? value) => new AllOf<T1, T2>(value);
106+
88107
/// <summary>
89108
///
90109
/// </summary>
@@ -103,6 +122,11 @@ public AllOf(T2? value)
103122
Value2 = value;
104123
}
105124

125+
/// <summary>
126+
///
127+
/// </summary>
128+
public static AllOf<T1, T2> FromValue2(T2? value) => new AllOf<T1, T2>(value);
129+
106130
/// <summary>
107131
///
108132
/// </summary>

src/libs/Firecrawl/Generated/Firecrawl.BillingClient.g.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,27 @@ public BillingClient(
6161
{
6262
}
6363

64+
/// <summary>
65+
/// Creates a new instance of the BillingClient with explicit options but no base URL override.
66+
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
67+
/// </summary>
68+
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
69+
/// <param name="authorizations">The authorizations to use for the requests.</param>
70+
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
71+
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
72+
public BillingClient(
73+
global::System.Net.Http.HttpClient? httpClient,
74+
global::System.Collections.Generic.List<global::Firecrawl.EndPointAuthorization>? authorizations,
75+
global::Firecrawl.AutoSDKClientOptions? options,
76+
bool disposeHttpClient = true) : this(
77+
httpClient,
78+
baseUri: null,
79+
authorizations,
80+
options,
81+
disposeHttpClient: disposeHttpClient)
82+
{
83+
}
84+
6485
/// <summary>
6586
/// Creates a new instance of the BillingClient.
6687
/// If no httpClient is provided, a new one will be created.

src/libs/Firecrawl/Generated/Firecrawl.CrawlingClient.g.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,27 @@ public CrawlingClient(
6161
{
6262
}
6363

64+
/// <summary>
65+
/// Creates a new instance of the CrawlingClient with explicit options but no base URL override.
66+
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
67+
/// </summary>
68+
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
69+
/// <param name="authorizations">The authorizations to use for the requests.</param>
70+
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
71+
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
72+
public CrawlingClient(
73+
global::System.Net.Http.HttpClient? httpClient,
74+
global::System.Collections.Generic.List<global::Firecrawl.EndPointAuthorization>? authorizations,
75+
global::Firecrawl.AutoSDKClientOptions? options,
76+
bool disposeHttpClient = true) : this(
77+
httpClient,
78+
baseUri: null,
79+
authorizations,
80+
options,
81+
disposeHttpClient: disposeHttpClient)
82+
{
83+
}
84+
6485
/// <summary>
6586
/// Creates a new instance of the CrawlingClient.
6687
/// If no httpClient is provided, a new one will be created.

src/libs/Firecrawl/Generated/Firecrawl.ExtractionClient.g.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,27 @@ public ExtractionClient(
6161
{
6262
}
6363

64+
/// <summary>
65+
/// Creates a new instance of the ExtractionClient with explicit options but no base URL override.
66+
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
67+
/// </summary>
68+
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
69+
/// <param name="authorizations">The authorizations to use for the requests.</param>
70+
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
71+
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
72+
public ExtractionClient(
73+
global::System.Net.Http.HttpClient? httpClient,
74+
global::System.Collections.Generic.List<global::Firecrawl.EndPointAuthorization>? authorizations,
75+
global::Firecrawl.AutoSDKClientOptions? options,
76+
bool disposeHttpClient = true) : this(
77+
httpClient,
78+
baseUri: null,
79+
authorizations,
80+
options,
81+
disposeHttpClient: disposeHttpClient)
82+
{
83+
}
84+
6485
/// <summary>
6586
/// Creates a new instance of the ExtractionClient.
6687
/// If no httpClient is provided, a new one will be created.

src/libs/Firecrawl/Generated/Firecrawl.FirecrawlClient.g.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,27 @@ public FirecrawlClient(
134134
{
135135
}
136136

137+
/// <summary>
138+
/// Creates a new instance of the FirecrawlClient with explicit options but no base URL override.
139+
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
140+
/// </summary>
141+
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
142+
/// <param name="authorizations">The authorizations to use for the requests.</param>
143+
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
144+
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
145+
public FirecrawlClient(
146+
global::System.Net.Http.HttpClient? httpClient,
147+
global::System.Collections.Generic.List<global::Firecrawl.EndPointAuthorization>? authorizations,
148+
global::Firecrawl.AutoSDKClientOptions? options,
149+
bool disposeHttpClient = true) : this(
150+
httpClient,
151+
baseUri: null,
152+
authorizations,
153+
options,
154+
disposeHttpClient: disposeHttpClient)
155+
{
156+
}
157+
137158
/// <summary>
138159
/// Creates a new instance of the FirecrawlClient.
139160
/// If no httpClient is provided, a new one will be created.

src/libs/Firecrawl/Generated/Firecrawl.JsonConverters.AllOf2.g.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ public class AllOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
107107
catch (global::System.InvalidOperationException)
108108
{
109109
}
110+
}
110111

112+
if (value1 == null && value2 == null)
113+
{
111114
try
112115
{
113116

src/libs/Firecrawl/Generated/Firecrawl.JsonConverters.OneOf2.g.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ public class OneOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
107107
catch (global::System.InvalidOperationException)
108108
{
109109
}
110+
}
110111

112+
if (value1 == null && value2 == null)
113+
{
111114
try
112115
{
113116

src/libs/Firecrawl/Generated/Firecrawl.JsonConverters.OneOf8.g.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6, T7, T8> : global::System
287287
catch (global::System.InvalidOperationException)
288288
{
289289
}
290+
}
290291

292+
if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null)
293+
{
291294
try
292295
{
293296

@@ -301,7 +304,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6, T7, T8> : global::System
301304
catch (global::System.InvalidOperationException)
302305
{
303306
}
307+
}
304308

309+
if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null)
310+
{
305311
try
306312
{
307313

@@ -315,7 +321,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6, T7, T8> : global::System
315321
catch (global::System.InvalidOperationException)
316322
{
317323
}
324+
}
318325

326+
if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null)
327+
{
319328
try
320329
{
321330

@@ -329,7 +338,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6, T7, T8> : global::System
329338
catch (global::System.InvalidOperationException)
330339
{
331340
}
341+
}
332342

343+
if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null)
344+
{
333345
try
334346
{
335347

@@ -343,7 +355,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6, T7, T8> : global::System
343355
catch (global::System.InvalidOperationException)
344356
{
345357
}
358+
}
346359

360+
if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null)
361+
{
347362
try
348363
{
349364

@@ -357,7 +372,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6, T7, T8> : global::System
357372
catch (global::System.InvalidOperationException)
358373
{
359374
}
375+
}
360376

377+
if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null)
378+
{
361379
try
362380
{
363381

@@ -371,7 +389,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6, T7, T8> : global::System
371389
catch (global::System.InvalidOperationException)
372390
{
373391
}
392+
}
374393

394+
if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null)
395+
{
375396
try
376397
{
377398

src/libs/Firecrawl/Generated/Firecrawl.LLMsTxtClient.g.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,27 @@ public LLMsTxtClient(
6161
{
6262
}
6363

64+
/// <summary>
65+
/// Creates a new instance of the LLMsTxtClient with explicit options but no base URL override.
66+
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
67+
/// </summary>
68+
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
69+
/// <param name="authorizations">The authorizations to use for the requests.</param>
70+
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
71+
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
72+
public LLMsTxtClient(
73+
global::System.Net.Http.HttpClient? httpClient,
74+
global::System.Collections.Generic.List<global::Firecrawl.EndPointAuthorization>? authorizations,
75+
global::Firecrawl.AutoSDKClientOptions? options,
76+
bool disposeHttpClient = true) : this(
77+
httpClient,
78+
baseUri: null,
79+
authorizations,
80+
options,
81+
disposeHttpClient: disposeHttpClient)
82+
{
83+
}
84+
6485
/// <summary>
6586
/// Creates a new instance of the LLMsTxtClient.
6687
/// If no httpClient is provided, a new one will be created.

0 commit comments

Comments
 (0)