Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

chore(elixir-sdk): regenerate from OpenAPI spec (v1.12.1) (#5034)

firecrawl-spring[bot]2029debff56a
diff --git a/apps/elixir-sdk/lib/firecrawl.ex b/apps/elixir-sdk/lib/firecrawl.ex
index aa73270d3..16f1a07df 100644
--- a/apps/elixir-sdk/lib/firecrawl.ex
+++ b/apps/elixir-sdk/lib/firecrawl.ex
@@ -928,7 +928,7 @@ defmodule Firecrawl do
@create_browser_session_schema NimbleOptions.new!([
activity_ttl: [type: :integer, doc: "Time in seconds before the session is destroyed due to inactivity"],
block_ads: [type: :boolean, doc: "Enable ad and cookie popup blocking, as in scrape. Sessions started from a scrape with interact use the scrape's blockAds."],
- location: [type: :keyword_list, keys: [country: [type: :string, required: true]], doc: "Country the session browses from (default US). Sessions started from a scrape with interact use the scrape's location."],
+ location: [type: :keyword_list, keys: [country: [type: :string, required: true]], doc: "Country the session browses from. Defaults to the US. Sessions started from a scrape with interact use the scrape's location."],
profile: [type: :keyword_list, doc: "Enable persistent storage across interact sessions. Data saved in one session can be loaded in a later session using the same name."],
stream_web_view: [type: :boolean, doc: "Whether to stream a live view of the browser"],
ttl: [type: :integer, doc: "Total time-to-live in seconds for the interact session"]
diff --git a/apps/elixir-sdk/mix.exs b/apps/elixir-sdk/mix.exs
index 1f62f485f..108d73d31 100644
--- a/apps/elixir-sdk/mix.exs
+++ b/apps/elixir-sdk/mix.exs
@@ -1,7 +1,7 @@
defmodule Firecrawl.MixProject do
use Mix.Project
- @version "1.12.0"
+ @version "1.12.1"
@source_url "https://github.com/firecrawl/firecrawl/tree/main/apps/elixir-sdk"
def project do
diff --git a/apps/elixir-sdk/openapi.json b/apps/elixir-sdk/openapi.json
index db3ddac15..eed4ad2c5 100644
--- a/apps/elixir-sdk/openapi.json
+++ b/apps/elixir-sdk/openapi.json
@@ -5132,11 +5132,12 @@
},
"location": {
"type": "object",
- "description": "Country the session browses from (default US). Sessions started from a scrape with interact use the scrape's location.",
+ "description": "Country the session browses from. Defaults to the US. Sessions started from a scrape with interact use the scrape's location.",
"properties": {
"country": {
"type": "string",
- "description": "ISO 3166-1 alpha-2 country code, such as GB."
+ "description": "ISO 3166-1 alpha-2 country code, such as `GB` or `DE`. Case-insensitive.",
+ "example": "GB"
}
},
"required": [
@@ -10240,6 +10241,43 @@
"concurrencyQueueDurationMs": {
"type": "number",
"description": "Time in milliseconds the request waited in the concurrency queue. Only present when concurrencyLimited is true."
+ },
+ "provider": {
+ "type": "object",
+ "description": "Set when a third-party data provider served the URL.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The provider that returned the data."
+ },
+ "creditsCost": {
+ "type": "integer",
+ "description": "What that access cost, in credits."
+ },
+ "steps": {
+ "type": "array",
+ "description": "Each provider tried, in order.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "provider": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string",
+ "enum": [
+ "matched",
+ "not_found",
+ "error"
+ ]
+ },
+ "creditsCost": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
}
}
},