Skip to content

Commit 1472098

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#109)
Co-authored-by: github-actions[bot] <dependabot@bot.com>
1 parent 7a1a9ba commit 1472098

12 files changed

Lines changed: 86 additions & 86 deletions

src/libs/Firecrawl/Generated/Firecrawl.Models.CrawlUrlsRequestWebhookEvent.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ public enum CrawlUrlsRequestWebhookEvent
1515
/// <summary>
1616
///
1717
/// </summary>
18-
Page,
18+
Failed,
1919
/// <summary>
2020
///
2121
/// </summary>
22-
Failed,
22+
Page,
2323
/// <summary>
2424
///
2525
/// </summary>
@@ -39,8 +39,8 @@ public static string ToValueString(this CrawlUrlsRequestWebhookEvent value)
3939
return value switch
4040
{
4141
CrawlUrlsRequestWebhookEvent.Completed => "completed",
42-
CrawlUrlsRequestWebhookEvent.Page => "page",
4342
CrawlUrlsRequestWebhookEvent.Failed => "failed",
43+
CrawlUrlsRequestWebhookEvent.Page => "page",
4444
CrawlUrlsRequestWebhookEvent.Started => "started",
4545
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
4646
};
@@ -53,8 +53,8 @@ public static string ToValueString(this CrawlUrlsRequestWebhookEvent value)
5353
return value switch
5454
{
5555
"completed" => CrawlUrlsRequestWebhookEvent.Completed,
56-
"page" => CrawlUrlsRequestWebhookEvent.Page,
5756
"failed" => CrawlUrlsRequestWebhookEvent.Failed,
57+
"page" => CrawlUrlsRequestWebhookEvent.Page,
5858
"started" => CrawlUrlsRequestWebhookEvent.Started,
5959
_ => null,
6060
};

src/libs/Firecrawl/Generated/Firecrawl.Models.ExtractStatusResponseStatus.g.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ public enum ExtractStatusResponseStatus
1111
/// <summary>
1212
///
1313
/// </summary>
14-
Completed,
14+
Cancelled,
1515
/// <summary>
1616
///
1717
/// </summary>
18-
Processing,
18+
Completed,
1919
/// <summary>
2020
///
2121
/// </summary>
2222
Failed,
2323
/// <summary>
2424
///
2525
/// </summary>
26-
Cancelled,
26+
Processing,
2727
}
2828

2929
/// <summary>
@@ -38,10 +38,10 @@ public static string ToValueString(this ExtractStatusResponseStatus value)
3838
{
3939
return value switch
4040
{
41+
ExtractStatusResponseStatus.Cancelled => "cancelled",
4142
ExtractStatusResponseStatus.Completed => "completed",
42-
ExtractStatusResponseStatus.Processing => "processing",
4343
ExtractStatusResponseStatus.Failed => "failed",
44-
ExtractStatusResponseStatus.Cancelled => "cancelled",
44+
ExtractStatusResponseStatus.Processing => "processing",
4545
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
4646
};
4747
}
@@ -52,10 +52,10 @@ public static string ToValueString(this ExtractStatusResponseStatus value)
5252
{
5353
return value switch
5454
{
55+
"cancelled" => ExtractStatusResponseStatus.Cancelled,
5556
"completed" => ExtractStatusResponseStatus.Completed,
56-
"processing" => ExtractStatusResponseStatus.Processing,
5757
"failed" => ExtractStatusResponseStatus.Failed,
58-
"cancelled" => ExtractStatusResponseStatus.Cancelled,
58+
"processing" => ExtractStatusResponseStatus.Processing,
5959
_ => null,
6060
};
6161
}

src/libs/Firecrawl/Generated/Firecrawl.Models.GetDeepResearchStatusResponseDataStatus.g.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ public enum GetDeepResearchStatusResponseDataStatus
1111
/// <summary>
1212
///
1313
/// </summary>
14-
Processing,
14+
Completed,
1515
/// <summary>
1616
///
1717
/// </summary>
18-
Completed,
18+
Failed,
1919
/// <summary>
2020
///
2121
/// </summary>
22-
Failed,
22+
Processing,
2323
}
2424

2525
/// <summary>
@@ -34,9 +34,9 @@ public static string ToValueString(this GetDeepResearchStatusResponseDataStatus
3434
{
3535
return value switch
3636
{
37-
GetDeepResearchStatusResponseDataStatus.Processing => "processing",
3837
GetDeepResearchStatusResponseDataStatus.Completed => "completed",
3938
GetDeepResearchStatusResponseDataStatus.Failed => "failed",
39+
GetDeepResearchStatusResponseDataStatus.Processing => "processing",
4040
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
4141
};
4242
}
@@ -47,9 +47,9 @@ public static string ToValueString(this GetDeepResearchStatusResponseDataStatus
4747
{
4848
return value switch
4949
{
50-
"processing" => GetDeepResearchStatusResponseDataStatus.Processing,
5150
"completed" => GetDeepResearchStatusResponseDataStatus.Completed,
5251
"failed" => GetDeepResearchStatusResponseDataStatus.Failed,
52+
"processing" => GetDeepResearchStatusResponseDataStatus.Processing,
5353
_ => null,
5454
};
5555
}

src/libs/Firecrawl/Generated/Firecrawl.Models.GetLLMsTxtStatusResponseStatus.g.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ public enum GetLLMsTxtStatusResponseStatus
1111
/// <summary>
1212
///
1313
/// </summary>
14-
Processing,
14+
Completed,
1515
/// <summary>
1616
///
1717
/// </summary>
18-
Completed,
18+
Failed,
1919
/// <summary>
2020
///
2121
/// </summary>
22-
Failed,
22+
Processing,
2323
}
2424

2525
/// <summary>
@@ -34,9 +34,9 @@ public static string ToValueString(this GetLLMsTxtStatusResponseStatus value)
3434
{
3535
return value switch
3636
{
37-
GetLLMsTxtStatusResponseStatus.Processing => "processing",
3837
GetLLMsTxtStatusResponseStatus.Completed => "completed",
3938
GetLLMsTxtStatusResponseStatus.Failed => "failed",
39+
GetLLMsTxtStatusResponseStatus.Processing => "processing",
4040
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
4141
};
4242
}
@@ -47,9 +47,9 @@ public static string ToValueString(this GetLLMsTxtStatusResponseStatus value)
4747
{
4848
return value switch
4949
{
50-
"processing" => GetLLMsTxtStatusResponseStatus.Processing,
5150
"completed" => GetLLMsTxtStatusResponseStatus.Completed,
5251
"failed" => GetLLMsTxtStatusResponseStatus.Failed,
52+
"processing" => GetLLMsTxtStatusResponseStatus.Processing,
5353
_ => null,
5454
};
5555
}

src/libs/Firecrawl/Generated/Firecrawl.Models.ScrapeAndExtractFromUrlsRequestWebhookEvent.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ public enum ScrapeAndExtractFromUrlsRequestWebhookEvent
1515
/// <summary>
1616
///
1717
/// </summary>
18-
Page,
18+
Failed,
1919
/// <summary>
2020
///
2121
/// </summary>
22-
Failed,
22+
Page,
2323
/// <summary>
2424
///
2525
/// </summary>
@@ -39,8 +39,8 @@ public static string ToValueString(this ScrapeAndExtractFromUrlsRequestWebhookEv
3939
return value switch
4040
{
4141
ScrapeAndExtractFromUrlsRequestWebhookEvent.Completed => "completed",
42-
ScrapeAndExtractFromUrlsRequestWebhookEvent.Page => "page",
4342
ScrapeAndExtractFromUrlsRequestWebhookEvent.Failed => "failed",
43+
ScrapeAndExtractFromUrlsRequestWebhookEvent.Page => "page",
4444
ScrapeAndExtractFromUrlsRequestWebhookEvent.Started => "started",
4545
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
4646
};
@@ -53,8 +53,8 @@ public static string ToValueString(this ScrapeAndExtractFromUrlsRequestWebhookEv
5353
return value switch
5454
{
5555
"completed" => ScrapeAndExtractFromUrlsRequestWebhookEvent.Completed,
56-
"page" => ScrapeAndExtractFromUrlsRequestWebhookEvent.Page,
5756
"failed" => ScrapeAndExtractFromUrlsRequestWebhookEvent.Failed,
57+
"page" => ScrapeAndExtractFromUrlsRequestWebhookEvent.Page,
5858
"started" => ScrapeAndExtractFromUrlsRequestWebhookEvent.Started,
5959
_ => null,
6060
};

src/libs/Firecrawl/Generated/Firecrawl.Models.ScrapeOptionsActionScrollDirection.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ public enum ScrapeOptionsActionScrollDirection
1212
/// <summary>
1313
///
1414
/// </summary>
15-
Up,
15+
Down,
1616
/// <summary>
1717
///
1818
/// </summary>
19-
Down,
19+
Up,
2020
}
2121

2222
/// <summary>
@@ -31,8 +31,8 @@ public static string ToValueString(this ScrapeOptionsActionScrollDirection value
3131
{
3232
return value switch
3333
{
34-
ScrapeOptionsActionScrollDirection.Up => "up",
3534
ScrapeOptionsActionScrollDirection.Down => "down",
35+
ScrapeOptionsActionScrollDirection.Up => "up",
3636
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
3737
};
3838
}
@@ -43,8 +43,8 @@ public static string ToValueString(this ScrapeOptionsActionScrollDirection value
4343
{
4444
return value switch
4545
{
46-
"up" => ScrapeOptionsActionScrollDirection.Up,
4746
"down" => ScrapeOptionsActionScrollDirection.Down,
47+
"up" => ScrapeOptionsActionScrollDirection.Up,
4848
_ => null,
4949
};
5050
}

src/libs/Firecrawl/Generated/Firecrawl.Models.ScrapeOptionsFormat.g.cs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,39 @@ public enum ScrapeOptionsFormat
1111
/// <summary>
1212
///
1313
/// </summary>
14-
Markdown,
14+
Branding,
1515
/// <summary>
1616
///
1717
/// </summary>
18-
Html,
18+
ChangeTracking,
1919
/// <summary>
2020
///
2121
/// </summary>
22-
RawHtml,
22+
Html,
2323
/// <summary>
2424
///
2525
/// </summary>
26-
Links,
26+
Json,
2727
/// <summary>
2828
///
2929
/// </summary>
30-
Screenshot,
30+
Links,
3131
/// <summary>
3232
///
3333
/// </summary>
34-
Screenshot_fullPage,
34+
Markdown,
3535
/// <summary>
3636
///
3737
/// </summary>
38-
Json,
38+
RawHtml,
3939
/// <summary>
4040
///
4141
/// </summary>
42-
ChangeTracking,
42+
Screenshot,
4343
/// <summary>
4444
///
4545
/// </summary>
46-
Branding,
46+
Screenshot_fullPage,
4747
}
4848

4949
/// <summary>
@@ -58,15 +58,15 @@ public static string ToValueString(this ScrapeOptionsFormat value)
5858
{
5959
return value switch
6060
{
61-
ScrapeOptionsFormat.Markdown => "markdown",
61+
ScrapeOptionsFormat.Branding => "branding",
62+
ScrapeOptionsFormat.ChangeTracking => "changeTracking",
6263
ScrapeOptionsFormat.Html => "html",
63-
ScrapeOptionsFormat.RawHtml => "rawHtml",
64+
ScrapeOptionsFormat.Json => "json",
6465
ScrapeOptionsFormat.Links => "links",
66+
ScrapeOptionsFormat.Markdown => "markdown",
67+
ScrapeOptionsFormat.RawHtml => "rawHtml",
6568
ScrapeOptionsFormat.Screenshot => "screenshot",
6669
ScrapeOptionsFormat.Screenshot_fullPage => "screenshot@fullPage",
67-
ScrapeOptionsFormat.Json => "json",
68-
ScrapeOptionsFormat.ChangeTracking => "changeTracking",
69-
ScrapeOptionsFormat.Branding => "branding",
7070
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
7171
};
7272
}
@@ -77,15 +77,15 @@ public static string ToValueString(this ScrapeOptionsFormat value)
7777
{
7878
return value switch
7979
{
80-
"markdown" => ScrapeOptionsFormat.Markdown,
80+
"branding" => ScrapeOptionsFormat.Branding,
81+
"changeTracking" => ScrapeOptionsFormat.ChangeTracking,
8182
"html" => ScrapeOptionsFormat.Html,
82-
"rawHtml" => ScrapeOptionsFormat.RawHtml,
83+
"json" => ScrapeOptionsFormat.Json,
8384
"links" => ScrapeOptionsFormat.Links,
85+
"markdown" => ScrapeOptionsFormat.Markdown,
86+
"rawHtml" => ScrapeOptionsFormat.RawHtml,
8487
"screenshot" => ScrapeOptionsFormat.Screenshot,
8588
"screenshot@fullPage" => ScrapeOptionsFormat.Screenshot_fullPage,
86-
"json" => ScrapeOptionsFormat.Json,
87-
"changeTracking" => ScrapeOptionsFormat.ChangeTracking,
88-
"branding" => ScrapeOptionsFormat.Branding,
8989
_ => null,
9090
};
9191
}

src/libs/Firecrawl/Generated/Firecrawl.Models.ScrapeOptionsProxy.g.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ namespace Firecrawl
1212
/// </summary>
1313
public enum ScrapeOptionsProxy
1414
{
15+
/// <summary>
16+
/// Firecrawl will automatically retry scraping with enhanced proxies if the basic proxy fails. If the retry with enhanced is successful, 5 credits will be billed for the scrape. If the first attempt with basic is successful, only the regular cost will be billed.
17+
/// </summary>
18+
Auto,
1519
/// <summary>
1620
/// Proxies for scraping sites with none to basic anti-bot solutions. Fast and usually works.
1721
/// </summary>
@@ -20,10 +24,6 @@ public enum ScrapeOptionsProxy
2024
/// Enhanced proxies for scraping sites with advanced anti-bot solutions. Slower, but more reliable on certain sites. Costs up to 5 credits per request.
2125
/// </summary>
2226
Enhanced,
23-
/// <summary>
24-
/// Firecrawl will automatically retry scraping with enhanced proxies if the basic proxy fails. If the retry with enhanced is successful, 5 credits will be billed for the scrape. If the first attempt with basic is successful, only the regular cost will be billed.
25-
/// </summary>
26-
Auto,
2727
}
2828

2929
/// <summary>
@@ -38,9 +38,9 @@ public static string ToValueString(this ScrapeOptionsProxy value)
3838
{
3939
return value switch
4040
{
41+
ScrapeOptionsProxy.Auto => "auto",
4142
ScrapeOptionsProxy.Basic => "basic",
4243
ScrapeOptionsProxy.Enhanced => "enhanced",
43-
ScrapeOptionsProxy.Auto => "auto",
4444
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
4545
};
4646
}
@@ -51,9 +51,9 @@ public static string ToValueString(this ScrapeOptionsProxy value)
5151
{
5252
return value switch
5353
{
54+
"auto" => ScrapeOptionsProxy.Auto,
5455
"basic" => ScrapeOptionsProxy.Basic,
5556
"enhanced" => ScrapeOptionsProxy.Enhanced,
56-
"auto" => ScrapeOptionsProxy.Auto,
5757
_ => null,
5858
};
5959
}

0 commit comments

Comments
 (0)