diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AdminClient.QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AdminClient.QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPost.g.cs index fd1be09..110f02f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AdminClient.QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AdminClient.QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class AdminClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostSecurityRequirement0, + }; partial void PrepareQueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.QueryRedisCacheByPatternRequest request); @@ -40,9 +59,15 @@ partial void ProcessQueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostR httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostSecurityRequirements, + operationName: "QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/admin/query_redis_cache_by_pattern", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessQueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostR __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AdminClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AdminClient.g.cs index 9cfea1b..1730114 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AdminClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AdminClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class AdminClient : global::ScrapeGraphAI.IAdminClient, gl /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.AgenticBrowserV2V1WorkflowsExecutePost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.AgenticBrowserV2V1WorkflowsExecutePost.g.cs index 4da8c66..085c32b 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.AgenticBrowserV2V1WorkflowsExecutePost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.AgenticBrowserV2V1WorkflowsExecutePost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class AgenticScrapperClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_AgenticBrowserV2V1WorkflowsExecutePostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_AgenticBrowserV2V1WorkflowsExecutePostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_AgenticBrowserV2V1WorkflowsExecutePostSecurityRequirement0, + }; partial void PrepareAgenticBrowserV2V1WorkflowsExecutePostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.WorkflowDefinition request); @@ -40,9 +59,15 @@ partial void ProcessAgenticBrowserV2V1WorkflowsExecutePostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AgenticBrowserV2V1WorkflowsExecutePostSecurityRequirements, + operationName: "AgenticBrowserV2V1WorkflowsExecutePostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/workflows/execute", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessAgenticBrowserV2V1WorkflowsExecutePostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.AgenticScrapperV1AgenticScrapperPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.AgenticScrapperV1AgenticScrapperPost.g.cs index 2005fd2..c0f1eac 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.AgenticScrapperV1AgenticScrapperPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.AgenticScrapperV1AgenticScrapperPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class AgenticScrapperClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_AgenticScrapperV1AgenticScrapperPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_AgenticScrapperV1AgenticScrapperPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_AgenticScrapperV1AgenticScrapperPostSecurityRequirement0, + }; partial void PrepareAgenticScrapperV1AgenticScrapperPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.AgenticScrapperRequest request); @@ -40,9 +59,15 @@ partial void ProcessAgenticScrapperV1AgenticScrapperPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AgenticScrapperV1AgenticScrapperPostSecurityRequirements, + operationName: "AgenticScrapperV1AgenticScrapperPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/agentic-scrapper", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessAgenticScrapperV1AgenticScrapperPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.GetLiveSessionUrlV1GetLiveSessionUrlPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.GetLiveSessionUrlV1GetLiveSessionUrlPost.g.cs index dc80775..d3a2468 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.GetLiveSessionUrlV1GetLiveSessionUrlPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.GetLiveSessionUrlV1GetLiveSessionUrlPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class AgenticScrapperClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetLiveSessionUrlV1GetLiveSessionUrlPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetLiveSessionUrlV1GetLiveSessionUrlPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetLiveSessionUrlV1GetLiveSessionUrlPostSecurityRequirement0, + }; partial void PrepareGetLiveSessionUrlV1GetLiveSessionUrlPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.AgenticScrapperLiveSessionUrlRequest request); @@ -40,9 +59,15 @@ partial void ProcessGetLiveSessionUrlV1GetLiveSessionUrlPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetLiveSessionUrlV1GetLiveSessionUrlPostSecurityRequirements, + operationName: "GetLiveSessionUrlV1GetLiveSessionUrlPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/get-live-session-url", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessGetLiveSessionUrlV1GetLiveSessionUrlPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.StopSessionV1StopSessionPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.StopSessionV1StopSessionPost.g.cs index 5e95f24..015fd1d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.StopSessionV1StopSessionPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.StopSessionV1StopSessionPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class AgenticScrapperClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_StopSessionV1StopSessionPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_StopSessionV1StopSessionPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_StopSessionV1StopSessionPostSecurityRequirement0, + }; partial void PrepareStopSessionV1StopSessionPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.AgenticScrapperStopSessionRequest request); @@ -40,9 +59,15 @@ partial void ProcessStopSessionV1StopSessionPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_StopSessionV1StopSessionPostSecurityRequirements, + operationName: "StopSessionV1StopSessionPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/stop-session", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessStopSessionV1StopSessionPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.g.cs index 248a1b8..957c17f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapperClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class AgenticScrapperClient : global::ScrapeGraphAI.IAgent /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.GetCrawlResultV1CrawlTaskIdGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.GetCrawlResultV1CrawlTaskIdGet.g.cs index 76c1861..6116520 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.GetCrawlResultV1CrawlTaskIdGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.GetCrawlResultV1CrawlTaskIdGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class CrawlerClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetCrawlResultV1CrawlTaskIdGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetCrawlResultV1CrawlTaskIdGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetCrawlResultV1CrawlTaskIdGetSecurityRequirement0, + }; partial void PrepareGetCrawlResultV1CrawlTaskIdGetArguments( global::System.Net.Http.HttpClient httpClient, ref string taskId); @@ -38,9 +57,15 @@ partial void ProcessGetCrawlResultV1CrawlTaskIdGetResponseContent( httpClient: HttpClient, taskId: ref taskId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetCrawlResultV1CrawlTaskIdGetSecurityRequirements, + operationName: "GetCrawlResultV1CrawlTaskIdGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/crawl/{taskId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -50,7 +75,7 @@ partial void ProcessGetCrawlResultV1CrawlTaskIdGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.GetWebhookLogsV1WebhookLogsCrawlerIdGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.GetWebhookLogsV1WebhookLogsCrawlerIdGet.g.cs index 3457f15..6aba3b8 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.GetWebhookLogsV1WebhookLogsCrawlerIdGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.GetWebhookLogsV1WebhookLogsCrawlerIdGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class CrawlerClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetWebhookLogsV1WebhookLogsCrawlerIdGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetWebhookLogsV1WebhookLogsCrawlerIdGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetWebhookLogsV1WebhookLogsCrawlerIdGetSecurityRequirement0, + }; partial void PrepareGetWebhookLogsV1WebhookLogsCrawlerIdGetArguments( global::System.Net.Http.HttpClient httpClient, ref string crawlerId); @@ -38,9 +57,15 @@ partial void ProcessGetWebhookLogsV1WebhookLogsCrawlerIdGetResponseContent( httpClient: HttpClient, crawlerId: ref crawlerId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetWebhookLogsV1WebhookLogsCrawlerIdGetSecurityRequirements, + operationName: "GetWebhookLogsV1WebhookLogsCrawlerIdGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/webhook/logs/{crawlerId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -50,7 +75,7 @@ partial void ProcessGetWebhookLogsV1WebhookLogsCrawlerIdGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.GetWebhookStatusV1WebhookStatusWebhookIdGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.GetWebhookStatusV1WebhookStatusWebhookIdGet.g.cs index d1e18db..b79a038 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.GetWebhookStatusV1WebhookStatusWebhookIdGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.GetWebhookStatusV1WebhookStatusWebhookIdGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class CrawlerClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetWebhookStatusV1WebhookStatusWebhookIdGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetWebhookStatusV1WebhookStatusWebhookIdGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetWebhookStatusV1WebhookStatusWebhookIdGetSecurityRequirement0, + }; partial void PrepareGetWebhookStatusV1WebhookStatusWebhookIdGetArguments( global::System.Net.Http.HttpClient httpClient, ref string webhookId); @@ -38,9 +57,15 @@ partial void ProcessGetWebhookStatusV1WebhookStatusWebhookIdGetResponseContent( httpClient: HttpClient, webhookId: ref webhookId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetWebhookStatusV1WebhookStatusWebhookIdGetSecurityRequirements, + operationName: "GetWebhookStatusV1WebhookStatusWebhookIdGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/webhook/status/{webhookId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -50,7 +75,7 @@ partial void ProcessGetWebhookStatusV1WebhookStatusWebhookIdGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.StartCrawlV1CrawlPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.StartCrawlV1CrawlPost.g.cs index 13aecd9..a39e31d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.StartCrawlV1CrawlPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.StartCrawlV1CrawlPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class CrawlerClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_StartCrawlV1CrawlPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_StartCrawlV1CrawlPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_StartCrawlV1CrawlPostSecurityRequirement0, + }; partial void PrepareStartCrawlV1CrawlPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.CrawlJob request); @@ -41,9 +60,15 @@ partial void ProcessStartCrawlV1CrawlPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_StartCrawlV1CrawlPostSecurityRequirements, + operationName: "StartCrawlV1CrawlPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/crawl", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -53,7 +78,7 @@ partial void ProcessStartCrawlV1CrawlPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.g.cs index 3f452fe..d774afe 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.CrawlerClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class CrawlerClient : global::ScrapeGraphAI.ICrawlerClient /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.ExecuteEndpointV1EndpointEndpointIdFullPathPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.ExecuteEndpointV1EndpointEndpointIdFullPathPost.g.cs index 26e105e..0e8c5c8 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.ExecuteEndpointV1EndpointEndpointIdFullPathPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.ExecuteEndpointV1EndpointEndpointIdFullPathPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class EndpointPocClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ExecuteEndpointV1EndpointEndpointIdFullPathPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ExecuteEndpointV1EndpointEndpointIdFullPathPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_ExecuteEndpointV1EndpointEndpointIdFullPathPostSecurityRequirement0, + }; partial void PrepareExecuteEndpointV1EndpointEndpointIdFullPathPostArguments( global::System.Net.Http.HttpClient httpClient, ref string endpointId, @@ -50,9 +69,15 @@ partial void ProcessExecuteEndpointV1EndpointEndpointIdFullPathPostResponseConte fullPath: ref fullPath, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ExecuteEndpointV1EndpointEndpointIdFullPathPostSecurityRequirements, + operationName: "ExecuteEndpointV1EndpointEndpointIdFullPathPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/endpoint/{endpointId}/{fullPath}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -62,7 +87,7 @@ partial void ProcessExecuteEndpointV1EndpointEndpointIdFullPathPostResponseConte __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPost.g.cs index 051ed31..fd45ad8 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class EndpointPocClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostSecurityRequirement0, + }; partial void PrepareGetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostArguments( global::System.Net.Http.HttpClient httpClient); partial void PrepareGetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostRequest( @@ -32,9 +51,15 @@ partial void ProcessGetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostResponse PrepareGetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostArguments( httpClient: HttpClient); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostSecurityRequirements, + operationName: "GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/bandcamp/get-item-details/", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -44,7 +69,7 @@ partial void ProcessGetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostResponse __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.GetSalesFeedItemsV1BandcampGetSalesFeedItemsPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.GetSalesFeedItemsV1BandcampGetSalesFeedItemsPost.g.cs index 3ae3035..1333bd8 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.GetSalesFeedItemsV1BandcampGetSalesFeedItemsPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.GetSalesFeedItemsV1BandcampGetSalesFeedItemsPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class EndpointPocClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetSalesFeedItemsV1BandcampGetSalesFeedItemsPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetSalesFeedItemsV1BandcampGetSalesFeedItemsPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetSalesFeedItemsV1BandcampGetSalesFeedItemsPostSecurityRequirement0, + }; partial void PrepareGetSalesFeedItemsV1BandcampGetSalesFeedItemsPostArguments( global::System.Net.Http.HttpClient httpClient); partial void PrepareGetSalesFeedItemsV1BandcampGetSalesFeedItemsPostRequest( @@ -32,9 +51,15 @@ partial void ProcessGetSalesFeedItemsV1BandcampGetSalesFeedItemsPostResponseCont PrepareGetSalesFeedItemsV1BandcampGetSalesFeedItemsPostArguments( httpClient: HttpClient); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetSalesFeedItemsV1BandcampGetSalesFeedItemsPostSecurityRequirements, + operationName: "GetSalesFeedItemsV1BandcampGetSalesFeedItemsPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/bandcamp/get-sales-feed-items", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -44,7 +69,7 @@ partial void ProcessGetSalesFeedItemsV1BandcampGetSalesFeedItemsPostResponseCont __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.GetSuggestionsV1EndpointGetSuggestionsPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.GetSuggestionsV1EndpointGetSuggestionsPost.g.cs index c34819f..6854e35 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.GetSuggestionsV1EndpointGetSuggestionsPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.GetSuggestionsV1EndpointGetSuggestionsPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class EndpointPocClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetSuggestionsV1EndpointGetSuggestionsPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetSuggestionsV1EndpointGetSuggestionsPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetSuggestionsV1EndpointGetSuggestionsPostSecurityRequirement0, + }; partial void PrepareGetSuggestionsV1EndpointGetSuggestionsPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.EndPointSuggestionRequest request); @@ -40,9 +59,15 @@ partial void ProcessGetSuggestionsV1EndpointGetSuggestionsPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetSuggestionsV1EndpointGetSuggestionsPostSecurityRequirements, + operationName: "GetSuggestionsV1EndpointGetSuggestionsPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/endpoint/get-suggestions", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessGetSuggestionsV1EndpointGetSuggestionsPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.SaveEndpointV1EndpointSaveEndpointPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.SaveEndpointV1EndpointSaveEndpointPost.g.cs index a23e3ca..7072b0d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.SaveEndpointV1EndpointSaveEndpointPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.SaveEndpointV1EndpointSaveEndpointPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class EndpointPocClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_SaveEndpointV1EndpointSaveEndpointPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_SaveEndpointV1EndpointSaveEndpointPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_SaveEndpointV1EndpointSaveEndpointPostSecurityRequirement0, + }; partial void PrepareSaveEndpointV1EndpointSaveEndpointPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.EndPointSuggestions request); @@ -40,9 +59,15 @@ partial void ProcessSaveEndpointV1EndpointSaveEndpointPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_SaveEndpointV1EndpointSaveEndpointPostSecurityRequirements, + operationName: "SaveEndpointV1EndpointSaveEndpointPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/endpoint/save-endpoint", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessSaveEndpointV1EndpointSaveEndpointPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.g.cs index 1718f87..6a29f61 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPocClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class EndpointPocClient : global::ScrapeGraphAI.IEndpointP /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HealthClient.HealthCheckHealthzGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HealthClient.HealthCheckHealthzGet.g.cs index 78f03cf..59f5436 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HealthClient.HealthCheckHealthzGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HealthClient.HealthCheckHealthzGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class HealthClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_HealthCheckHealthzGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_HealthCheckHealthzGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_HealthCheckHealthzGetSecurityRequirement0, + }; partial void PrepareHealthCheckHealthzGetArguments( global::System.Net.Http.HttpClient httpClient); partial void PrepareHealthCheckHealthzGetRequest( @@ -33,9 +52,15 @@ partial void ProcessHealthCheckHealthzGetResponseContent( PrepareHealthCheckHealthzGetArguments( httpClient: HttpClient); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_HealthCheckHealthzGetSecurityRequirements, + operationName: "HealthCheckHealthzGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/healthz", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -45,7 +70,7 @@ partial void ProcessHealthCheckHealthzGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HealthClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HealthClient.g.cs index 41b0a77..dcfebbd 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HealthClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HealthClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class HealthClient : global::ScrapeGraphAI.IHealthClient, /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetAgenticScraperHistoryV1HistoryAgenticScraperGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetAgenticScraperHistoryV1HistoryAgenticScraperGet.g.cs index 0267d73..96a9053 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetAgenticScraperHistoryV1HistoryAgenticScraperGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetAgenticScraperHistoryV1HistoryAgenticScraperGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class HistoryClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetAgenticScraperHistoryV1HistoryAgenticScraperGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetAgenticScraperHistoryV1HistoryAgenticScraperGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetAgenticScraperHistoryV1HistoryAgenticScraperGetSecurityRequirement0, + }; partial void PrepareGetAgenticScraperHistoryV1HistoryAgenticScraperGetArguments( global::System.Net.Http.HttpClient httpClient, ref int? page, @@ -62,13 +81,19 @@ partial void ProcessGetAgenticScraperHistoryV1HistoryAgenticScraperGetResponseCo pageSize: ref pageSize, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetAgenticScraperHistoryV1HistoryAgenticScraperGetSecurityRequirements, + operationName: "GetAgenticScraperHistoryV1HistoryAgenticScraperGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/history/agentic-scraper", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("page_size", pageSize?.ToString()) - ; + ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -78,7 +103,7 @@ partial void ProcessGetAgenticScraperHistoryV1HistoryAgenticScraperGetResponseCo __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetCrawlerHistoryV1HistoryCrawlGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetCrawlerHistoryV1HistoryCrawlGet.g.cs index f1acb06..9869bc9 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetCrawlerHistoryV1HistoryCrawlGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetCrawlerHistoryV1HistoryCrawlGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class HistoryClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetCrawlerHistoryV1HistoryCrawlGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetCrawlerHistoryV1HistoryCrawlGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetCrawlerHistoryV1HistoryCrawlGetSecurityRequirement0, + }; partial void PrepareGetCrawlerHistoryV1HistoryCrawlGetArguments( global::System.Net.Http.HttpClient httpClient, ref int? page, @@ -61,13 +80,19 @@ partial void ProcessGetCrawlerHistoryV1HistoryCrawlGetResponseContent( pageSize: ref pageSize, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetCrawlerHistoryV1HistoryCrawlGetSecurityRequirements, + operationName: "GetCrawlerHistoryV1HistoryCrawlGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/history/crawl", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("page_size", pageSize?.ToString()) - ; + ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -77,7 +102,7 @@ partial void ProcessGetCrawlerHistoryV1HistoryCrawlGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetMarkdownifyHistoryV1HistoryMarkdownifyGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetMarkdownifyHistoryV1HistoryMarkdownifyGet.g.cs index e7a6e56..04501e1 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetMarkdownifyHistoryV1HistoryMarkdownifyGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetMarkdownifyHistoryV1HistoryMarkdownifyGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class HistoryClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetMarkdownifyHistoryV1HistoryMarkdownifyGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetMarkdownifyHistoryV1HistoryMarkdownifyGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetMarkdownifyHistoryV1HistoryMarkdownifyGetSecurityRequirement0, + }; partial void PrepareGetMarkdownifyHistoryV1HistoryMarkdownifyGetArguments( global::System.Net.Http.HttpClient httpClient, ref int? page, @@ -61,13 +80,19 @@ partial void ProcessGetMarkdownifyHistoryV1HistoryMarkdownifyGetResponseContent( pageSize: ref pageSize, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetMarkdownifyHistoryV1HistoryMarkdownifyGetSecurityRequirements, + operationName: "GetMarkdownifyHistoryV1HistoryMarkdownifyGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/history/markdownify", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("page_size", pageSize?.ToString()) - ; + ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -77,7 +102,7 @@ partial void ProcessGetMarkdownifyHistoryV1HistoryMarkdownifyGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetScrapeHistoryV1HistoryScrapeGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetScrapeHistoryV1HistoryScrapeGet.g.cs index f23fa39..43f5e6e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetScrapeHistoryV1HistoryScrapeGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetScrapeHistoryV1HistoryScrapeGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class HistoryClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetScrapeHistoryV1HistoryScrapeGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetScrapeHistoryV1HistoryScrapeGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetScrapeHistoryV1HistoryScrapeGetSecurityRequirement0, + }; partial void PrepareGetScrapeHistoryV1HistoryScrapeGetArguments( global::System.Net.Http.HttpClient httpClient, ref int? page, @@ -61,13 +80,19 @@ partial void ProcessGetScrapeHistoryV1HistoryScrapeGetResponseContent( pageSize: ref pageSize, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetScrapeHistoryV1HistoryScrapeGetSecurityRequirements, + operationName: "GetScrapeHistoryV1HistoryScrapeGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/history/scrape", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("page_size", pageSize?.ToString()) - ; + ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -77,7 +102,7 @@ partial void ProcessGetScrapeHistoryV1HistoryScrapeGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetSearchscraperHistoryV1HistorySearchscraperGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetSearchscraperHistoryV1HistorySearchscraperGet.g.cs index 6d9e484..125e5b3 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetSearchscraperHistoryV1HistorySearchscraperGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetSearchscraperHistoryV1HistorySearchscraperGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class HistoryClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetSearchscraperHistoryV1HistorySearchscraperGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetSearchscraperHistoryV1HistorySearchscraperGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetSearchscraperHistoryV1HistorySearchscraperGetSecurityRequirement0, + }; partial void PrepareGetSearchscraperHistoryV1HistorySearchscraperGetArguments( global::System.Net.Http.HttpClient httpClient, ref int? page, @@ -61,13 +80,19 @@ partial void ProcessGetSearchscraperHistoryV1HistorySearchscraperGetResponseCont pageSize: ref pageSize, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetSearchscraperHistoryV1HistorySearchscraperGetSecurityRequirements, + operationName: "GetSearchscraperHistoryV1HistorySearchscraperGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/history/searchscraper", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("page_size", pageSize?.ToString()) - ; + ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -77,7 +102,7 @@ partial void ProcessGetSearchscraperHistoryV1HistorySearchscraperGetResponseCont __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetSitemapHistoryV1HistorySitemapGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetSitemapHistoryV1HistorySitemapGet.g.cs index f3c08a5..8f3059b 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetSitemapHistoryV1HistorySitemapGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetSitemapHistoryV1HistorySitemapGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class HistoryClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetSitemapHistoryV1HistorySitemapGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetSitemapHistoryV1HistorySitemapGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetSitemapHistoryV1HistorySitemapGetSecurityRequirement0, + }; partial void PrepareGetSitemapHistoryV1HistorySitemapGetArguments( global::System.Net.Http.HttpClient httpClient, ref int? page, @@ -55,13 +74,19 @@ partial void ProcessGetSitemapHistoryV1HistorySitemapGetResponseContent( pageSize: ref pageSize, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetSitemapHistoryV1HistorySitemapGetSecurityRequirements, + operationName: "GetSitemapHistoryV1HistorySitemapGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/history/sitemap", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("page_size", pageSize?.ToString()) - ; + ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -71,7 +96,7 @@ partial void ProcessGetSitemapHistoryV1HistorySitemapGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetSmartscraperHistoryV1HistorySmartscraperGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetSmartscraperHistoryV1HistorySmartscraperGet.g.cs index 809b21d..3daeb3a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetSmartscraperHistoryV1HistorySmartscraperGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.GetSmartscraperHistoryV1HistorySmartscraperGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class HistoryClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetSmartscraperHistoryV1HistorySmartscraperGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetSmartscraperHistoryV1HistorySmartscraperGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetSmartscraperHistoryV1HistorySmartscraperGetSecurityRequirement0, + }; partial void PrepareGetSmartscraperHistoryV1HistorySmartscraperGetArguments( global::System.Net.Http.HttpClient httpClient, ref int? page, @@ -61,13 +80,19 @@ partial void ProcessGetSmartscraperHistoryV1HistorySmartscraperGetResponseConten pageSize: ref pageSize, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetSmartscraperHistoryV1HistorySmartscraperGetSecurityRequirements, + operationName: "GetSmartscraperHistoryV1HistorySmartscraperGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/history/smartscraper", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("page_size", pageSize?.ToString()) - ; + ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -77,7 +102,7 @@ partial void ProcessGetSmartscraperHistoryV1HistorySmartscraperGetResponseConten __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.g.cs index 5af7eba..16279ff 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.HistoryClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class HistoryClient : global::ScrapeGraphAI.IHistoryClient /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete5.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete5.g.cs deleted file mode 100644 index e7882ab..0000000 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ -#nullable enable - -namespace ScrapeGraphAI -{ - public partial interface IOrthogonalClient - { - /// - /// Proxy
- /// Proxy endpoint for Orthogonal API integration.
- /// Forwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path} - ///
- /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyX402PathDelete5Async( - string path, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost.g.cs similarity index 98% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost.g.cs index 39f3c8a..415a1f6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost.g.cs @@ -12,7 +12,7 @@ public partial interface IOrthogonalClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyX402PathDeleteAsync( + global::System.Threading.Tasks.Task ProxyX402PathPostAsync( string path, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete2.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost2.g.cs similarity index 97% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete2.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost2.g.cs index 9879de6..ae1339a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete2.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost2.g.cs @@ -12,7 +12,7 @@ public partial interface IOrthogonalClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyX402PathDelete2Async( + global::System.Threading.Tasks.Task ProxyX402PathPost2Async( string path, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete3.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost3.g.cs similarity index 97% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete3.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost3.g.cs index 2007d5c..dfc7d02 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete3.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost3.g.cs @@ -12,7 +12,7 @@ public partial interface IOrthogonalClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyX402PathDelete3Async( + global::System.Threading.Tasks.Task ProxyX402PathPost3Async( string path, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete4.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost4.g.cs similarity index 97% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete4.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost4.g.cs index aa238e6..0f60a5b 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathDelete4.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost4.g.cs @@ -12,7 +12,7 @@ public partial interface IOrthogonalClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyX402PathDelete4Async( + global::System.Threading.Tasks.Task ProxyX402PathPost4Async( string path, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost5.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost5.g.cs new file mode 100644 index 0000000..2e4b38b --- /dev/null +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost5.g.cs @@ -0,0 +1,19 @@ +#nullable enable + +namespace ScrapeGraphAI +{ + public partial interface IOrthogonalClient + { + /// + /// Proxy
+ /// Proxy endpoint for Orthogonal API integration.
+ /// Forwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path} + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyX402PathPost5Async( + string path, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IScrapeGraphAIClient.Authorizations.ApiKeyInHeader.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IScrapeGraphAIClient.Authorizations.ApiKeyInHeader.g.cs index 23ac44c..0333eb0 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IScrapeGraphAIClient.Authorizations.ApiKeyInHeader.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IScrapeGraphAIClient.Authorizations.ApiKeyInHeader.g.cs @@ -9,6 +9,7 @@ public partial interface IScrapeGraphAIClient /// Authorize using ApiKey authentication. /// /// + public void AuthorizeUsingApiKeyInHeader( string apiKey); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.MarkdownifyClient.GetMarkdownifyStatusV1MarkdownifyRequestIdGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.MarkdownifyClient.GetMarkdownifyStatusV1MarkdownifyRequestIdGet.g.cs index 52437a2..558baf3 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.MarkdownifyClient.GetMarkdownifyStatusV1MarkdownifyRequestIdGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.MarkdownifyClient.GetMarkdownifyStatusV1MarkdownifyRequestIdGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class MarkdownifyClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetMarkdownifyStatusV1MarkdownifyRequestIdGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetMarkdownifyStatusV1MarkdownifyRequestIdGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetMarkdownifyStatusV1MarkdownifyRequestIdGetSecurityRequirement0, + }; partial void PrepareGetMarkdownifyStatusV1MarkdownifyRequestIdGetArguments( global::System.Net.Http.HttpClient httpClient, ref string requestId); @@ -37,9 +56,15 @@ partial void ProcessGetMarkdownifyStatusV1MarkdownifyRequestIdGetResponseContent httpClient: HttpClient, requestId: ref requestId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetMarkdownifyStatusV1MarkdownifyRequestIdGetSecurityRequirements, + operationName: "GetMarkdownifyStatusV1MarkdownifyRequestIdGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/markdownify/{requestId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -49,7 +74,7 @@ partial void ProcessGetMarkdownifyStatusV1MarkdownifyRequestIdGetResponseContent __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.MarkdownifyClient.StartMarkdownifyV1MarkdownifyPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.MarkdownifyClient.StartMarkdownifyV1MarkdownifyPost.g.cs index 9678728..a958947 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.MarkdownifyClient.StartMarkdownifyV1MarkdownifyPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.MarkdownifyClient.StartMarkdownifyV1MarkdownifyPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class MarkdownifyClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_StartMarkdownifyV1MarkdownifyPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_StartMarkdownifyV1MarkdownifyPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_StartMarkdownifyV1MarkdownifyPostSecurityRequirement0, + }; partial void PrepareStartMarkdownifyV1MarkdownifyPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.MarkdownifyRequest request); @@ -40,9 +59,15 @@ partial void ProcessStartMarkdownifyV1MarkdownifyPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_StartMarkdownifyV1MarkdownifyPostSecurityRequirements, + operationName: "StartMarkdownifyV1MarkdownifyPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/markdownify", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessStartMarkdownifyV1MarkdownifyPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.MarkdownifyClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.MarkdownifyClient.g.cs index 1e2b5fb..afcb72a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.MarkdownifyClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.MarkdownifyClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class MarkdownifyClient : global::ScrapeGraphAI.IMarkdowni /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse5.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse5.Json.g.cs deleted file mode 100644 index ba124f8..0000000 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse5.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace ScrapeGraphAI -{ - public sealed partial class ProxyX402PathDeleteResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ScrapeGraphAI.ProxyX402PathDeleteResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ScrapeGraphAI.ProxyX402PathDeleteResponse5), - jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathDeleteResponse5; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::ScrapeGraphAI.ProxyX402PathDeleteResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::ScrapeGraphAI.ProxyX402PathDeleteResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathDeleteResponse5; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse5.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse5.g.cs deleted file mode 100644 index 016edf0..0000000 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse5.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace ScrapeGraphAI -{ - /// - /// - /// - public sealed partial class ProxyX402PathDeleteResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse.Json.g.cs similarity index 86% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse.Json.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse.Json.g.cs index c8b74eb..cc1ffdf 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace ScrapeGraphAI { - public sealed partial class ProxyX402PathDeleteResponse + public sealed partial class ProxyX402PathPostResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::ScrapeGraphAI.ProxyX402PathDeleteResponse? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathPostResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::ScrapeGraphAI.ProxyX402PathDeleteResponse), - jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathDeleteResponse; + typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse), + jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathPostResponse; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::ScrapeGraphAI.ProxyX402PathDeleteResponse? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathPostResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::ScrapeGraphAI.ProxyX402PathDeleteResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathDeleteResponse; + typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathPostResponse; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse.g.cs similarity index 88% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse.g.cs index 297c406..c8371f2 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse.g.cs @@ -6,7 +6,7 @@ namespace ScrapeGraphAI /// /// /// - public sealed partial class ProxyX402PathDeleteResponse + public sealed partial class ProxyX402PathPostResponse { /// diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse2.Json.g.cs similarity index 86% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse2.Json.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse2.Json.g.cs index c2abf10..7021695 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace ScrapeGraphAI { - public sealed partial class ProxyX402PathDeleteResponse2 + public sealed partial class ProxyX402PathPostResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::ScrapeGraphAI.ProxyX402PathDeleteResponse2? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathPostResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::ScrapeGraphAI.ProxyX402PathDeleteResponse2), - jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathDeleteResponse2; + typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse2), + jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathPostResponse2; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::ScrapeGraphAI.ProxyX402PathDeleteResponse2? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathPostResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::ScrapeGraphAI.ProxyX402PathDeleteResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathDeleteResponse2; + typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathPostResponse2; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse4.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse2.g.cs similarity index 88% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse4.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse2.g.cs index 146eb58..a20eb9e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse4.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse2.g.cs @@ -6,7 +6,7 @@ namespace ScrapeGraphAI /// /// /// - public sealed partial class ProxyX402PathDeleteResponse4 + public sealed partial class ProxyX402PathPostResponse2 { /// diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse3.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse3.Json.g.cs similarity index 86% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse3.Json.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse3.Json.g.cs index f6df02c..e9797e4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse3.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace ScrapeGraphAI { - public sealed partial class ProxyX402PathDeleteResponse3 + public sealed partial class ProxyX402PathPostResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::ScrapeGraphAI.ProxyX402PathDeleteResponse3? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathPostResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::ScrapeGraphAI.ProxyX402PathDeleteResponse3), - jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathDeleteResponse3; + typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse3), + jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathPostResponse3; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::ScrapeGraphAI.ProxyX402PathDeleteResponse3? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathPostResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::ScrapeGraphAI.ProxyX402PathDeleteResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathDeleteResponse3; + typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathPostResponse3; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse2.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse3.g.cs similarity index 88% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse2.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse3.g.cs index 6b1abe2..b983d2c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse2.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse3.g.cs @@ -6,7 +6,7 @@ namespace ScrapeGraphAI /// /// /// - public sealed partial class ProxyX402PathDeleteResponse2 + public sealed partial class ProxyX402PathPostResponse3 { /// diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse4.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse4.Json.g.cs similarity index 86% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse4.Json.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse4.Json.g.cs index 790ed5d..96c33f6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse4.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace ScrapeGraphAI { - public sealed partial class ProxyX402PathDeleteResponse4 + public sealed partial class ProxyX402PathPostResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::ScrapeGraphAI.ProxyX402PathDeleteResponse4? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathPostResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::ScrapeGraphAI.ProxyX402PathDeleteResponse4), - jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathDeleteResponse4; + typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse4), + jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathPostResponse4; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::ScrapeGraphAI.ProxyX402PathDeleteResponse4? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathPostResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::ScrapeGraphAI.ProxyX402PathDeleteResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathDeleteResponse4; + typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathPostResponse4; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse3.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse4.g.cs similarity index 88% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse3.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse4.g.cs index 81baf19..f4d22cf 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathDeleteResponse3.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse4.g.cs @@ -6,7 +6,7 @@ namespace ScrapeGraphAI /// /// /// - public sealed partial class ProxyX402PathDeleteResponse3 + public sealed partial class ProxyX402PathPostResponse4 { /// diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.Json.g.cs new file mode 100644 index 0000000..bd53e36 --- /dev/null +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace ScrapeGraphAI +{ + public sealed partial class ProxyX402PathPostResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProxyX402PathPostResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse5), + jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathPostResponse5; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::ScrapeGraphAI.ProxyX402PathPostResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathPostResponse5; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.g.cs new file mode 100644 index 0000000..4102309 --- /dev/null +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace ScrapeGraphAI +{ + /// + /// + /// + public sealed partial class ProxyX402PathPostResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDB.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDB.g.cs index 38cf9c7..34086b9 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDB.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDB.g.cs @@ -67,7 +67,7 @@ public sealed partial class ScrapeRequestDB public global::System.DateTime? FinishedAt { get; set; } /// - /// Default Value: 2026-04-08T16:13:50.437704 + /// Default Value: 2026-04-08T16:11:39.012283 /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_at")] public global::System.DateTime? RequestedAt { get; set; } @@ -110,7 +110,7 @@ public sealed partial class ScrapeRequestDB /// /// /// - /// Default Value: 2026-04-08T16:13:50.437704 + /// Default Value: 2026-04-08T16:11:39.012283 /// /// /// Default Value: 0 diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete3.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost.g.cs similarity index 81% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete3.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost.g.cs index 14002b6..7d69f3e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete3.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost.g.cs @@ -5,18 +5,37 @@ namespace ScrapeGraphAI { public partial class OrthogonalClient { - partial void PrepareProxyX402PathDelete3Arguments( + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_ProxyX402PathPostSecurityRequirement0, + }; + partial void PrepareProxyX402PathPostArguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyX402PathDelete3Request( + partial void PrepareProxyX402PathPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyX402PathDelete3Response( + partial void ProcessProxyX402PathPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyX402PathDelete3ResponseContent( + partial void ProcessProxyX402PathPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,19 +48,25 @@ partial void ProcessProxyX402PathDelete3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyX402PathDelete3Async( + public async global::System.Threading.Tasks.Task ProxyX402PathPostAsync( string path, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyX402PathDelete3Arguments( + PrepareProxyX402PathPostArguments( httpClient: HttpClient, path: ref path); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ProxyX402PathPostSecurityRequirements, + operationName: "ProxyX402PathPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/x402/{path}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -51,7 +76,7 @@ partial void ProcessProxyX402PathDelete3ResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") @@ -70,7 +95,7 @@ partial void ProcessProxyX402PathDelete3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyX402PathDelete3Request( + PrepareProxyX402PathPostRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path); @@ -83,7 +108,7 @@ partial void ProcessProxyX402PathDelete3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyX402PathDelete3Response( + ProcessProxyX402PathPostResponse( httpClient: HttpClient, httpResponseMessage: __response); // Validation Error @@ -137,7 +162,7 @@ partial void ProcessProxyX402PathDelete3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyX402PathDelete3ResponseContent( + ProcessProxyX402PathPostResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost2.g.cs similarity index 81% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost2.g.cs index 8186551..559e553 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost2.g.cs @@ -5,18 +5,37 @@ namespace ScrapeGraphAI { public partial class OrthogonalClient { - partial void PrepareProxyX402PathDeleteArguments( + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathPost2SecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathPost2SecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_ProxyX402PathPost2SecurityRequirement0, + }; + partial void PrepareProxyX402PathPost2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyX402PathDeleteRequest( + partial void PrepareProxyX402PathPost2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyX402PathDeleteResponse( + partial void ProcessProxyX402PathPost2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyX402PathDeleteResponseContent( + partial void ProcessProxyX402PathPost2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,19 +48,25 @@ partial void ProcessProxyX402PathDeleteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyX402PathDeleteAsync( + public async global::System.Threading.Tasks.Task ProxyX402PathPost2Async( string path, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyX402PathDeleteArguments( + PrepareProxyX402PathPost2Arguments( httpClient: HttpClient, path: ref path); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ProxyX402PathPost2SecurityRequirements, + operationName: "ProxyX402PathPost2Async"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/x402/{path}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, @@ -51,7 +76,7 @@ partial void ProcessProxyX402PathDeleteResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") @@ -70,7 +95,7 @@ partial void ProcessProxyX402PathDeleteResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyX402PathDeleteRequest( + PrepareProxyX402PathPost2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path); @@ -83,7 +108,7 @@ partial void ProcessProxyX402PathDeleteResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyX402PathDeleteResponse( + ProcessProxyX402PathPost2Response( httpClient: HttpClient, httpResponseMessage: __response); // Validation Error @@ -137,7 +162,7 @@ partial void ProcessProxyX402PathDeleteResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyX402PathDeleteResponseContent( + ProcessProxyX402PathPost2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete5.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost3.g.cs similarity index 81% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete5.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost3.g.cs index 197cef5..7275af9 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete5.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost3.g.cs @@ -5,18 +5,37 @@ namespace ScrapeGraphAI { public partial class OrthogonalClient { - partial void PrepareProxyX402PathDelete5Arguments( + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathPost3SecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathPost3SecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_ProxyX402PathPost3SecurityRequirement0, + }; + partial void PrepareProxyX402PathPost3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyX402PathDelete5Request( + partial void PrepareProxyX402PathPost3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyX402PathDelete5Response( + partial void ProcessProxyX402PathPost3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyX402PathDelete5ResponseContent( + partial void ProcessProxyX402PathPost3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,19 +48,25 @@ partial void ProcessProxyX402PathDelete5ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyX402PathDelete5Async( + public async global::System.Threading.Tasks.Task ProxyX402PathPost3Async( string path, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyX402PathDelete5Arguments( + PrepareProxyX402PathPost3Arguments( httpClient: HttpClient, path: ref path); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ProxyX402PathPost3SecurityRequirements, + operationName: "ProxyX402PathPost3Async"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/x402/{path}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: new global::System.Net.Http.HttpMethod("PATCH"), @@ -51,7 +76,7 @@ partial void ProcessProxyX402PathDelete5ResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") @@ -70,7 +95,7 @@ partial void ProcessProxyX402PathDelete5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyX402PathDelete5Request( + PrepareProxyX402PathPost3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path); @@ -83,7 +108,7 @@ partial void ProcessProxyX402PathDelete5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyX402PathDelete5Response( + ProcessProxyX402PathPost3Response( httpClient: HttpClient, httpResponseMessage: __response); // Validation Error @@ -137,7 +162,7 @@ partial void ProcessProxyX402PathDelete5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyX402PathDelete5ResponseContent( + ProcessProxyX402PathPost3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete4.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost4.g.cs similarity index 81% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete4.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost4.g.cs index 783c50b..d3f8321 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete4.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost4.g.cs @@ -5,18 +5,37 @@ namespace ScrapeGraphAI { public partial class OrthogonalClient { - partial void PrepareProxyX402PathDelete4Arguments( + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathPost4SecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathPost4SecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_ProxyX402PathPost4SecurityRequirement0, + }; + partial void PrepareProxyX402PathPost4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyX402PathDelete4Request( + partial void PrepareProxyX402PathPost4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyX402PathDelete4Response( + partial void ProcessProxyX402PathPost4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyX402PathDelete4ResponseContent( + partial void ProcessProxyX402PathPost4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,19 +48,25 @@ partial void ProcessProxyX402PathDelete4ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyX402PathDelete4Async( + public async global::System.Threading.Tasks.Task ProxyX402PathPost4Async( string path, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyX402PathDelete4Arguments( + PrepareProxyX402PathPost4Arguments( httpClient: HttpClient, path: ref path); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ProxyX402PathPost4SecurityRequirements, + operationName: "ProxyX402PathPost4Async"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/x402/{path}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, @@ -51,7 +76,7 @@ partial void ProcessProxyX402PathDelete4ResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") @@ -70,7 +95,7 @@ partial void ProcessProxyX402PathDelete4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyX402PathDelete4Request( + PrepareProxyX402PathPost4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path); @@ -83,7 +108,7 @@ partial void ProcessProxyX402PathDelete4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyX402PathDelete4Response( + ProcessProxyX402PathPost4Response( httpClient: HttpClient, httpResponseMessage: __response); // Validation Error @@ -137,7 +162,7 @@ partial void ProcessProxyX402PathDelete4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyX402PathDelete4ResponseContent( + ProcessProxyX402PathPost4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete2.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost5.g.cs similarity index 81% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete2.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost5.g.cs index d9e9f5b..3ee7506 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathDelete2.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost5.g.cs @@ -5,18 +5,37 @@ namespace ScrapeGraphAI { public partial class OrthogonalClient { - partial void PrepareProxyX402PathDelete2Arguments( + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathPost5SecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathPost5SecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_ProxyX402PathPost5SecurityRequirement0, + }; + partial void PrepareProxyX402PathPost5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyX402PathDelete2Request( + partial void PrepareProxyX402PathPost5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyX402PathDelete2Response( + partial void ProcessProxyX402PathPost5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyX402PathDelete2ResponseContent( + partial void ProcessProxyX402PathPost5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,19 +48,25 @@ partial void ProcessProxyX402PathDelete2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyX402PathDelete2Async( + public async global::System.Threading.Tasks.Task ProxyX402PathPost5Async( string path, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyX402PathDelete2Arguments( + PrepareProxyX402PathPost5Arguments( httpClient: HttpClient, path: ref path); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ProxyX402PathPost5SecurityRequirements, + operationName: "ProxyX402PathPost5Async"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/x402/{path}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -51,7 +76,7 @@ partial void ProcessProxyX402PathDelete2ResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") @@ -70,7 +95,7 @@ partial void ProcessProxyX402PathDelete2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyX402PathDelete2Request( + PrepareProxyX402PathPost5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path); @@ -83,7 +108,7 @@ partial void ProcessProxyX402PathDelete2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyX402PathDelete2Response( + ProcessProxyX402PathPost5Response( httpClient: HttpClient, httpResponseMessage: __response); // Validation Error @@ -137,7 +162,7 @@ partial void ProcessProxyX402PathDelete2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyX402PathDelete2ResponseContent( + ProcessProxyX402PathPost5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.g.cs index a7fdc5a..dd5e607 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class OrthogonalClient : global::ScrapeGraphAI.IOrthogonal /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.PathBuilder.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.PathBuilder.g.cs index 889b148..a2c2220 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.PathBuilder.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.PathBuilder.g.cs @@ -224,6 +224,40 @@ public PathBuilder AddOptionalParameter( return this; } + /// + /// Adds a pre-serialized query string fragment to the URL. + /// + /// The serialized query string value. + /// The current instance. + public PathBuilder AddRawQueryString( + string value) + { + if (string.IsNullOrWhiteSpace(value)) + { + return this; + } + + value = value.TrimStart('?', '&'); + if (value.Length == 0) + { + return this; + } + + if (_firstParameter) + { + _stringBuilder.Append('?'); + _firstParameter = false; + } + else + { + _stringBuilder.Append('&'); + } + + _stringBuilder.Append(value); + + return this; + } + /// /// Returns the constructed URL as a string. /// diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.CreateScheduledJobV1ScheduledJobsPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.CreateScheduledJobV1ScheduledJobsPost.g.cs index be436c7..7a30fb6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.CreateScheduledJobV1ScheduledJobsPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.CreateScheduledJobV1ScheduledJobsPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class ScheduledJobsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_CreateScheduledJobV1ScheduledJobsPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_CreateScheduledJobV1ScheduledJobsPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_CreateScheduledJobV1ScheduledJobsPostSecurityRequirement0, + }; partial void PrepareCreateScheduledJobV1ScheduledJobsPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.ScheduledJobCreate request); @@ -41,9 +60,15 @@ partial void ProcessCreateScheduledJobV1ScheduledJobsPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateScheduledJobV1ScheduledJobsPostSecurityRequirements, + operationName: "CreateScheduledJobV1ScheduledJobsPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/scheduled-jobs", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -53,7 +78,7 @@ partial void ProcessCreateScheduledJobV1ScheduledJobsPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.DeleteScheduledJobV1ScheduledJobsJobIdDelete.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.DeleteScheduledJobV1ScheduledJobsJobIdDelete.g.cs index 28bc07a..d5f1e43 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.DeleteScheduledJobV1ScheduledJobsJobIdDelete.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.DeleteScheduledJobV1ScheduledJobsJobIdDelete.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class ScheduledJobsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_DeleteScheduledJobV1ScheduledJobsJobIdDeleteSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_DeleteScheduledJobV1ScheduledJobsJobIdDeleteSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_DeleteScheduledJobV1ScheduledJobsJobIdDeleteSecurityRequirement0, + }; partial void PrepareDeleteScheduledJobV1ScheduledJobsJobIdDeleteArguments( global::System.Net.Http.HttpClient httpClient, ref string jobId); @@ -38,9 +57,15 @@ partial void ProcessDeleteScheduledJobV1ScheduledJobsJobIdDeleteResponseContent( httpClient: HttpClient, jobId: ref jobId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_DeleteScheduledJobV1ScheduledJobsJobIdDeleteSecurityRequirements, + operationName: "DeleteScheduledJobV1ScheduledJobsJobIdDeleteAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/scheduled-jobs/{jobId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, @@ -50,7 +75,7 @@ partial void ProcessDeleteScheduledJobV1ScheduledJobsJobIdDeleteResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.FetchScheduledJobsV1ScheduledJobsGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.FetchScheduledJobsV1ScheduledJobsGet.g.cs index e453b4c..6be4221 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.FetchScheduledJobsV1ScheduledJobsGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.FetchScheduledJobsV1ScheduledJobsGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class ScheduledJobsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_FetchScheduledJobsV1ScheduledJobsGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_FetchScheduledJobsV1ScheduledJobsGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_FetchScheduledJobsV1ScheduledJobsGetSecurityRequirement0, + }; partial void PrepareFetchScheduledJobsV1ScheduledJobsGetArguments( global::System.Net.Http.HttpClient httpClient, ref int? page, @@ -63,6 +82,12 @@ partial void ProcessFetchScheduledJobsV1ScheduledJobsGetResponseContent( serviceType: serviceType, isActive: isActive); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_FetchScheduledJobsV1ScheduledJobsGetSecurityRequirements, + operationName: "FetchScheduledJobsV1ScheduledJobsGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/scheduled-jobs", baseUri: HttpClient.BaseAddress); @@ -71,7 +96,7 @@ partial void ProcessFetchScheduledJobsV1ScheduledJobsGetResponseContent( .AddOptionalParameter("page_size", pageSize?.ToString()) .AddOptionalParameter("service_type", serviceType?.ToString()) .AddOptionalParameter("is_active", isActive?.ToString().ToLowerInvariant()) - ; + ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -81,7 +106,7 @@ partial void ProcessFetchScheduledJobsV1ScheduledJobsGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.GetJobExecutionsV1ScheduledJobsJobIdExecutionsGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.GetJobExecutionsV1ScheduledJobsJobIdExecutionsGet.g.cs index a11530c..6c05f69 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.GetJobExecutionsV1ScheduledJobsJobIdExecutionsGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.GetJobExecutionsV1ScheduledJobsJobIdExecutionsGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class ScheduledJobsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetJobExecutionsV1ScheduledJobsJobIdExecutionsGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetJobExecutionsV1ScheduledJobsJobIdExecutionsGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetJobExecutionsV1ScheduledJobsJobIdExecutionsGetSecurityRequirement0, + }; partial void PrepareGetJobExecutionsV1ScheduledJobsJobIdExecutionsGetArguments( global::System.Net.Http.HttpClient httpClient, ref string jobId, @@ -61,6 +80,12 @@ partial void ProcessGetJobExecutionsV1ScheduledJobsJobIdExecutionsGetResponseCon pageSize: ref pageSize, status: ref status); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetJobExecutionsV1ScheduledJobsJobIdExecutionsGetSecurityRequirements, + operationName: "GetJobExecutionsV1ScheduledJobsJobIdExecutionsGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/scheduled-jobs/{jobId}/executions", baseUri: HttpClient.BaseAddress); @@ -68,7 +93,7 @@ partial void ProcessGetJobExecutionsV1ScheduledJobsJobIdExecutionsGetResponseCon .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("page_size", pageSize?.ToString()) .AddOptionalParameter("status", status) - ; + ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -78,7 +103,7 @@ partial void ProcessGetJobExecutionsV1ScheduledJobsJobIdExecutionsGetResponseCon __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.GetScheduledJobV1ScheduledJobsJobIdGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.GetScheduledJobV1ScheduledJobsJobIdGet.g.cs index 075a00d..a25eceb 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.GetScheduledJobV1ScheduledJobsJobIdGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.GetScheduledJobV1ScheduledJobsJobIdGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class ScheduledJobsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetScheduledJobV1ScheduledJobsJobIdGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetScheduledJobV1ScheduledJobsJobIdGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetScheduledJobV1ScheduledJobsJobIdGetSecurityRequirement0, + }; partial void PrepareGetScheduledJobV1ScheduledJobsJobIdGetArguments( global::System.Net.Http.HttpClient httpClient, ref string jobId); @@ -38,9 +57,15 @@ partial void ProcessGetScheduledJobV1ScheduledJobsJobIdGetResponseContent( httpClient: HttpClient, jobId: ref jobId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetScheduledJobV1ScheduledJobsJobIdGetSecurityRequirements, + operationName: "GetScheduledJobV1ScheduledJobsJobIdGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/scheduled-jobs/{jobId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -50,7 +75,7 @@ partial void ProcessGetScheduledJobV1ScheduledJobsJobIdGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.PauseScheduledJobV1ScheduledJobsJobIdPausePost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.PauseScheduledJobV1ScheduledJobsJobIdPausePost.g.cs index 7929b49..93dc0c0 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.PauseScheduledJobV1ScheduledJobsJobIdPausePost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.PauseScheduledJobV1ScheduledJobsJobIdPausePost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class ScheduledJobsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_PauseScheduledJobV1ScheduledJobsJobIdPausePostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_PauseScheduledJobV1ScheduledJobsJobIdPausePostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_PauseScheduledJobV1ScheduledJobsJobIdPausePostSecurityRequirement0, + }; partial void PreparePauseScheduledJobV1ScheduledJobsJobIdPausePostArguments( global::System.Net.Http.HttpClient httpClient, ref global::System.Guid jobId); @@ -37,9 +56,15 @@ partial void ProcessPauseScheduledJobV1ScheduledJobsJobIdPausePostResponseConten httpClient: HttpClient, jobId: ref jobId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_PauseScheduledJobV1ScheduledJobsJobIdPausePostSecurityRequirements, + operationName: "PauseScheduledJobV1ScheduledJobsJobIdPausePostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/scheduled-jobs/{jobId}/pause", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -49,7 +74,7 @@ partial void ProcessPauseScheduledJobV1ScheduledJobsJobIdPausePostResponseConten __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.ReplaceScheduledJobV1ScheduledJobsJobIdPut.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.ReplaceScheduledJobV1ScheduledJobsJobIdPut.g.cs index 7d00d10..85fe0bb 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.ReplaceScheduledJobV1ScheduledJobsJobIdPut.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.ReplaceScheduledJobV1ScheduledJobsJobIdPut.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class ScheduledJobsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ReplaceScheduledJobV1ScheduledJobsJobIdPutSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ReplaceScheduledJobV1ScheduledJobsJobIdPutSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_ReplaceScheduledJobV1ScheduledJobsJobIdPutSecurityRequirement0, + }; partial void PrepareReplaceScheduledJobV1ScheduledJobsJobIdPutArguments( global::System.Net.Http.HttpClient httpClient, ref string jobId, @@ -45,9 +64,15 @@ partial void ProcessReplaceScheduledJobV1ScheduledJobsJobIdPutResponseContent( jobId: ref jobId, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ReplaceScheduledJobV1ScheduledJobsJobIdPutSecurityRequirements, + operationName: "ReplaceScheduledJobV1ScheduledJobsJobIdPutAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/scheduled-jobs/{jobId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, @@ -57,7 +82,7 @@ partial void ProcessReplaceScheduledJobV1ScheduledJobsJobIdPutResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.ResumeScheduledJobV1ScheduledJobsJobIdResumePost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.ResumeScheduledJobV1ScheduledJobsJobIdResumePost.g.cs index 082e706..be4612e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.ResumeScheduledJobV1ScheduledJobsJobIdResumePost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.ResumeScheduledJobV1ScheduledJobsJobIdResumePost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class ScheduledJobsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ResumeScheduledJobV1ScheduledJobsJobIdResumePostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ResumeScheduledJobV1ScheduledJobsJobIdResumePostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_ResumeScheduledJobV1ScheduledJobsJobIdResumePostSecurityRequirement0, + }; partial void PrepareResumeScheduledJobV1ScheduledJobsJobIdResumePostArguments( global::System.Net.Http.HttpClient httpClient, ref string jobId); @@ -37,9 +56,15 @@ partial void ProcessResumeScheduledJobV1ScheduledJobsJobIdResumePostResponseCont httpClient: HttpClient, jobId: ref jobId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ResumeScheduledJobV1ScheduledJobsJobIdResumePostSecurityRequirements, + operationName: "ResumeScheduledJobV1ScheduledJobsJobIdResumePostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/scheduled-jobs/{jobId}/resume", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -49,7 +74,7 @@ partial void ProcessResumeScheduledJobV1ScheduledJobsJobIdResumePostResponseCont __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.TriggerJobManuallyV1ScheduledJobsJobIdTriggerPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.TriggerJobManuallyV1ScheduledJobsJobIdTriggerPost.g.cs index 6c86603..e71b795 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.TriggerJobManuallyV1ScheduledJobsJobIdTriggerPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.TriggerJobManuallyV1ScheduledJobsJobIdTriggerPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class ScheduledJobsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_TriggerJobManuallyV1ScheduledJobsJobIdTriggerPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_TriggerJobManuallyV1ScheduledJobsJobIdTriggerPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_TriggerJobManuallyV1ScheduledJobsJobIdTriggerPostSecurityRequirement0, + }; partial void PrepareTriggerJobManuallyV1ScheduledJobsJobIdTriggerPostArguments( global::System.Net.Http.HttpClient httpClient, ref string jobId); @@ -39,9 +58,15 @@ partial void ProcessTriggerJobManuallyV1ScheduledJobsJobIdTriggerPostResponseCon httpClient: HttpClient, jobId: ref jobId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_TriggerJobManuallyV1ScheduledJobsJobIdTriggerPostSecurityRequirements, + operationName: "TriggerJobManuallyV1ScheduledJobsJobIdTriggerPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/scheduled-jobs/{jobId}/trigger", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -51,7 +76,7 @@ partial void ProcessTriggerJobManuallyV1ScheduledJobsJobIdTriggerPostResponseCon __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.UpdateScheduledJobV1ScheduledJobsJobIdPatch.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.UpdateScheduledJobV1ScheduledJobsJobIdPatch.g.cs index 1841ebf..248be35 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.UpdateScheduledJobV1ScheduledJobsJobIdPatch.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.UpdateScheduledJobV1ScheduledJobsJobIdPatch.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class ScheduledJobsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_UpdateScheduledJobV1ScheduledJobsJobIdPatchSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_UpdateScheduledJobV1ScheduledJobsJobIdPatchSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_UpdateScheduledJobV1ScheduledJobsJobIdPatchSecurityRequirement0, + }; partial void PrepareUpdateScheduledJobV1ScheduledJobsJobIdPatchArguments( global::System.Net.Http.HttpClient httpClient, ref string jobId, @@ -46,9 +65,15 @@ partial void ProcessUpdateScheduledJobV1ScheduledJobsJobIdPatchResponseContent( jobId: ref jobId, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_UpdateScheduledJobV1ScheduledJobsJobIdPatchSecurityRequirements, + operationName: "UpdateScheduledJobV1ScheduledJobsJobIdPatchAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/scheduled-jobs/{jobId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: new global::System.Net.Http.HttpMethod("PATCH"), @@ -58,7 +83,7 @@ partial void ProcessUpdateScheduledJobV1ScheduledJobsJobIdPatchResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.g.cs index 7739064..f9935fa 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobsClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class ScheduledJobsClient : global::ScrapeGraphAI.ISchedul /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGeneratorClient.GetGenerateSchemaStatusV1GenerateSchemaRequestIdGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGeneratorClient.GetGenerateSchemaStatusV1GenerateSchemaRequestIdGet.g.cs index a513885..6422644 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGeneratorClient.GetGenerateSchemaStatusV1GenerateSchemaRequestIdGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGeneratorClient.GetGenerateSchemaStatusV1GenerateSchemaRequestIdGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class SchemaGeneratorClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetGenerateSchemaStatusV1GenerateSchemaRequestIdGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetGenerateSchemaStatusV1GenerateSchemaRequestIdGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetGenerateSchemaStatusV1GenerateSchemaRequestIdGetSecurityRequirement0, + }; partial void PrepareGetGenerateSchemaStatusV1GenerateSchemaRequestIdGetArguments( global::System.Net.Http.HttpClient httpClient, ref string requestId); @@ -37,9 +56,15 @@ partial void ProcessGetGenerateSchemaStatusV1GenerateSchemaRequestIdGetResponseC httpClient: HttpClient, requestId: ref requestId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetGenerateSchemaStatusV1GenerateSchemaRequestIdGetSecurityRequirements, + operationName: "GetGenerateSchemaStatusV1GenerateSchemaRequestIdGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/generate_schema/{requestId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -49,7 +74,7 @@ partial void ProcessGetGenerateSchemaStatusV1GenerateSchemaRequestIdGetResponseC __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGeneratorClient.StartGenerateSchemaV1GenerateSchemaPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGeneratorClient.StartGenerateSchemaV1GenerateSchemaPost.g.cs index 70a3632..409b56e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGeneratorClient.StartGenerateSchemaV1GenerateSchemaPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGeneratorClient.StartGenerateSchemaV1GenerateSchemaPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class SchemaGeneratorClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_StartGenerateSchemaV1GenerateSchemaPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_StartGenerateSchemaV1GenerateSchemaPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_StartGenerateSchemaV1GenerateSchemaPostSecurityRequirement0, + }; partial void PrepareStartGenerateSchemaV1GenerateSchemaPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.SchemaGenerationRequest request); @@ -42,9 +61,15 @@ partial void ProcessStartGenerateSchemaV1GenerateSchemaPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_StartGenerateSchemaV1GenerateSchemaPostSecurityRequirements, + operationName: "StartGenerateSchemaV1GenerateSchemaPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/generate_schema", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -54,7 +79,7 @@ partial void ProcessStartGenerateSchemaV1GenerateSchemaPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGeneratorClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGeneratorClient.g.cs index b2270ad..7a30184 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGeneratorClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGeneratorClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class SchemaGeneratorClient : global::ScrapeGraphAI.ISchem /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeClient.ScrapeV1ScrapePost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeClient.ScrapeV1ScrapePost.g.cs index 1bff73d..5cbdd3c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeClient.ScrapeV1ScrapePost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeClient.ScrapeV1ScrapePost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class ScrapeClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ScrapeV1ScrapePostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ScrapeV1ScrapePostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_ScrapeV1ScrapePostSecurityRequirement0, + }; partial void PrepareScrapeV1ScrapePostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.ScrapeRequest request); @@ -40,9 +59,15 @@ partial void ProcessScrapeV1ScrapePostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ScrapeV1ScrapePostSecurityRequirements, + operationName: "ScrapeV1ScrapePostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/scrape", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessScrapeV1ScrapePostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeClient.g.cs index 01d46f0..4474b83 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class ScrapeClient : global::ScrapeGraphAI.IScrapeClient, /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeGraphAIClient.Authorizations.ApiKeyInHeader.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeGraphAIClient.Authorizations.ApiKeyInHeader.g.cs index 8b60dc4..ec7a386 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeGraphAIClient.Authorizations.ApiKeyInHeader.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeGraphAIClient.Authorizations.ApiKeyInHeader.g.cs @@ -5,13 +5,24 @@ namespace ScrapeGraphAI { public sealed partial class ScrapeGraphAIClient { + /// public void AuthorizeUsingApiKeyInHeader( string apiKey) { apiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey)); - Authorizations.Clear(); + for (var i = Authorizations.Count - 1; i >= 0; i--) + { + var __authorization = Authorizations[i]; + if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header" && + __authorization.Name == "SGAI-APIKEY") + { + Authorizations.RemoveAt(i); + } + } + Authorizations.Add(new global::ScrapeGraphAI.EndPointAuthorization { Type = "ApiKey", diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeGraphAIClient.Constructors.ApiKeyInHeader.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeGraphAIClient.Constructors.ApiKeyInHeader.g.cs index 6ea23e6..e1c7ecd 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeGraphAIClient.Constructors.ApiKeyInHeader.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeGraphAIClient.Constructors.ApiKeyInHeader.g.cs @@ -6,6 +6,7 @@ namespace ScrapeGraphAI public sealed partial class ScrapeGraphAIClient { /// + public ScrapeGraphAIClient( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeGraphAIClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeGraphAIClient.g.cs index 7c72325..00db505 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeGraphAIClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScrapeGraphAIClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class ScrapeGraphAIClient : global::ScrapeGraphAI.IScrapeG /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraperClient.GetSearchscraperStatusV1SearchscraperRequestIdGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraperClient.GetSearchscraperStatusV1SearchscraperRequestIdGet.g.cs index 8a259ae..f456f0d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraperClient.GetSearchscraperStatusV1SearchscraperRequestIdGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraperClient.GetSearchscraperStatusV1SearchscraperRequestIdGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class SearchScraperClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetSearchscraperStatusV1SearchscraperRequestIdGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetSearchscraperStatusV1SearchscraperRequestIdGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetSearchscraperStatusV1SearchscraperRequestIdGetSecurityRequirement0, + }; partial void PrepareGetSearchscraperStatusV1SearchscraperRequestIdGetArguments( global::System.Net.Http.HttpClient httpClient, ref string requestId); @@ -37,9 +56,15 @@ partial void ProcessGetSearchscraperStatusV1SearchscraperRequestIdGetResponseCon httpClient: HttpClient, requestId: ref requestId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetSearchscraperStatusV1SearchscraperRequestIdGetSecurityRequirements, + operationName: "GetSearchscraperStatusV1SearchscraperRequestIdGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/searchscraper/{requestId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -49,7 +74,7 @@ partial void ProcessGetSearchscraperStatusV1SearchscraperRequestIdGetResponseCon __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraperClient.StartSearchscraperV1SearchscraperPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraperClient.StartSearchscraperV1SearchscraperPost.g.cs index 8b3d0da..be07a45 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraperClient.StartSearchscraperV1SearchscraperPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraperClient.StartSearchscraperV1SearchscraperPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class SearchScraperClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_StartSearchscraperV1SearchscraperPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_StartSearchscraperV1SearchscraperPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_StartSearchscraperV1SearchscraperPostSecurityRequirement0, + }; partial void PrepareStartSearchscraperV1SearchscraperPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.SearchScraperRequest request); @@ -40,9 +59,15 @@ partial void ProcessStartSearchscraperV1SearchscraperPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_StartSearchscraperV1SearchscraperPostSecurityRequirements, + operationName: "StartSearchscraperV1SearchscraperPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/searchscraper", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessStartSearchscraperV1SearchscraperPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraperClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraperClient.g.cs index 5d9e944..4519e30 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraperClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraperClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class SearchScraperClient : global::ScrapeGraphAI.ISearchS /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Security.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Security.g.cs new file mode 100644 index 0000000..0fc7abd --- /dev/null +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Security.g.cs @@ -0,0 +1,145 @@ +#nullable enable + +namespace ScrapeGraphAI +{ + internal sealed class EndPointAuthorizationRequirement + { + internal string Type { get; set; } = string.Empty; + + internal string Location { get; set; } = string.Empty; + + internal string Name { get; set; } = string.Empty; + + internal string FriendlyName { get; set; } = string.Empty; + } + + internal sealed class EndPointSecurityRequirement + { + internal global::System.Collections.Generic.IReadOnlyList Authorizations { get; set; } = + global::System.Array.Empty(); + } + + internal static class EndPointSecurityResolver + { + internal static global::System.Collections.Generic.List ResolveAuthorizations( + global::System.Collections.Generic.IReadOnlyList availableAuthorizations, + global::System.Collections.Generic.IReadOnlyList securityRequirements, + string operationName) + { + availableAuthorizations = availableAuthorizations ?? throw new global::System.ArgumentNullException(nameof(availableAuthorizations)); + securityRequirements = securityRequirements ?? throw new global::System.ArgumentNullException(nameof(securityRequirements)); + operationName = operationName ?? throw new global::System.ArgumentNullException(nameof(operationName)); + + if (securityRequirements.Count == 0) + { + return new global::System.Collections.Generic.List(); + } + + var allowsAnonymous = false; + + foreach (var requirement in securityRequirements) + { + if (requirement.Authorizations.Count == 0) + { + allowsAnonymous = true; + continue; + } + + var selected = new global::System.Collections.Generic.List(requirement.Authorizations.Count); + var satisfied = true; + + foreach (var requiredAuthorization in requirement.Authorizations) + { + var found = false; + + for (var i = 0; i < availableAuthorizations.Count; i++) + { + if (!Matches(availableAuthorizations[i], requiredAuthorization)) + { + continue; + } + + selected.Add(availableAuthorizations[i]); + found = true; + break; + } + + if (!found) + { + satisfied = false; + break; + } + } + + if (satisfied) + { + return selected; + } + } + + if (allowsAnonymous) + { + return new global::System.Collections.Generic.List(); + } + + throw new global::System.InvalidOperationException( + $"Operation '{operationName}' requires one of the configured security alternatives: {DescribeRequirements(securityRequirements)}."); + } + + private static bool Matches( + EndPointAuthorization availableAuthorization, + EndPointAuthorizationRequirement requiredAuthorization) + { + if (!string.Equals(availableAuthorization.Type, requiredAuthorization.Type, global::System.StringComparison.Ordinal)) + { + return false; + } + + return requiredAuthorization.Type switch + { + "OAuth2" => true, + "Http" => string.Equals( + availableAuthorization.Name, + requiredAuthorization.Name, + global::System.StringComparison.Ordinal), + "ApiKey" => string.Equals( + availableAuthorization.Location, + requiredAuthorization.Location, + global::System.StringComparison.Ordinal) && + string.Equals( + availableAuthorization.Name, + requiredAuthorization.Name, + global::System.StringComparison.Ordinal), + _ => string.Equals( + availableAuthorization.Location, + requiredAuthorization.Location, + global::System.StringComparison.Ordinal) && + string.Equals( + availableAuthorization.Name, + requiredAuthorization.Name, + global::System.StringComparison.Ordinal), + }; + } + + private static string DescribeRequirements( + global::System.Collections.Generic.IReadOnlyList securityRequirements) + { + var parts = new global::System.Collections.Generic.List(securityRequirements.Count); + + foreach (var requirement in securityRequirements) + { + if (requirement.Authorizations.Count == 0) + { + parts.Add("anonymous"); + continue; + } + + parts.Add(string.Join( + " + ", + global::System.Linq.Enumerable.Select(requirement.Authorizations, static x => x.FriendlyName))); + } + + return string.Join(" or ", parts); + } + } +} \ No newline at end of file diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.CreateMonitorV1SiteMonitorsPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.CreateMonitorV1SiteMonitorsPost.g.cs index 1212371..bccd953 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.CreateMonitorV1SiteMonitorsPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.CreateMonitorV1SiteMonitorsPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class SiteMonitorsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_CreateMonitorV1SiteMonitorsPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_CreateMonitorV1SiteMonitorsPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_CreateMonitorV1SiteMonitorsPostSecurityRequirement0, + }; partial void PrepareCreateMonitorV1SiteMonitorsPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.SiteMonitorCreate request); @@ -41,9 +60,15 @@ partial void ProcessCreateMonitorV1SiteMonitorsPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateMonitorV1SiteMonitorsPostSecurityRequirements, + operationName: "CreateMonitorV1SiteMonitorsPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/site-monitors", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -53,7 +78,7 @@ partial void ProcessCreateMonitorV1SiteMonitorsPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.DeleteMonitorV1SiteMonitorsMonitorIdDelete.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.DeleteMonitorV1SiteMonitorsMonitorIdDelete.g.cs index d653d54..647ca57 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.DeleteMonitorV1SiteMonitorsMonitorIdDelete.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.DeleteMonitorV1SiteMonitorsMonitorIdDelete.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class SiteMonitorsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_DeleteMonitorV1SiteMonitorsMonitorIdDeleteSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_DeleteMonitorV1SiteMonitorsMonitorIdDeleteSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_DeleteMonitorV1SiteMonitorsMonitorIdDeleteSecurityRequirement0, + }; partial void PrepareDeleteMonitorV1SiteMonitorsMonitorIdDeleteArguments( global::System.Net.Http.HttpClient httpClient, ref string monitorId); @@ -38,9 +57,15 @@ partial void ProcessDeleteMonitorV1SiteMonitorsMonitorIdDeleteResponseContent( httpClient: HttpClient, monitorId: ref monitorId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_DeleteMonitorV1SiteMonitorsMonitorIdDeleteSecurityRequirements, + operationName: "DeleteMonitorV1SiteMonitorsMonitorIdDeleteAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/site-monitors/{monitorId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, @@ -50,7 +75,7 @@ partial void ProcessDeleteMonitorV1SiteMonitorsMonitorIdDeleteResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.GetMonitorV1SiteMonitorsMonitorIdGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.GetMonitorV1SiteMonitorsMonitorIdGet.g.cs index 4f6160f..c9cf1e5 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.GetMonitorV1SiteMonitorsMonitorIdGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.GetMonitorV1SiteMonitorsMonitorIdGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class SiteMonitorsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetMonitorV1SiteMonitorsMonitorIdGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetMonitorV1SiteMonitorsMonitorIdGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetMonitorV1SiteMonitorsMonitorIdGetSecurityRequirement0, + }; partial void PrepareGetMonitorV1SiteMonitorsMonitorIdGetArguments( global::System.Net.Http.HttpClient httpClient, ref string monitorId); @@ -38,9 +57,15 @@ partial void ProcessGetMonitorV1SiteMonitorsMonitorIdGetResponseContent( httpClient: HttpClient, monitorId: ref monitorId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetMonitorV1SiteMonitorsMonitorIdGetSecurityRequirements, + operationName: "GetMonitorV1SiteMonitorsMonitorIdGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/site-monitors/{monitorId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -50,7 +75,7 @@ partial void ProcessGetMonitorV1SiteMonitorsMonitorIdGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.ListMonitorsV1SiteMonitorsGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.ListMonitorsV1SiteMonitorsGet.g.cs index c1e5f2f..21fcadb 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.ListMonitorsV1SiteMonitorsGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.ListMonitorsV1SiteMonitorsGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class SiteMonitorsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ListMonitorsV1SiteMonitorsGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ListMonitorsV1SiteMonitorsGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_ListMonitorsV1SiteMonitorsGetSecurityRequirement0, + }; partial void PrepareListMonitorsV1SiteMonitorsGetArguments( global::System.Net.Http.HttpClient httpClient, ref int? page, @@ -52,6 +71,12 @@ partial void ProcessListMonitorsV1SiteMonitorsGetResponseContent( pageSize: ref pageSize, isActive: isActive); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ListMonitorsV1SiteMonitorsGetSecurityRequirements, + operationName: "ListMonitorsV1SiteMonitorsGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/site-monitors", baseUri: HttpClient.BaseAddress); @@ -59,7 +84,7 @@ partial void ProcessListMonitorsV1SiteMonitorsGetResponseContent( .AddOptionalParameter("page", page?.ToString()) .AddOptionalParameter("page_size", pageSize?.ToString()) .AddOptionalParameter("is_active", isActive?.ToString().ToLowerInvariant()) - ; + ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -69,7 +94,7 @@ partial void ProcessListMonitorsV1SiteMonitorsGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.UpdateMonitorV1SiteMonitorsMonitorIdPatch.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.UpdateMonitorV1SiteMonitorsMonitorIdPatch.g.cs index b99c15e..a5b4349 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.UpdateMonitorV1SiteMonitorsMonitorIdPatch.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.UpdateMonitorV1SiteMonitorsMonitorIdPatch.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class SiteMonitorsClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_UpdateMonitorV1SiteMonitorsMonitorIdPatchSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_UpdateMonitorV1SiteMonitorsMonitorIdPatchSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_UpdateMonitorV1SiteMonitorsMonitorIdPatchSecurityRequirement0, + }; partial void PrepareUpdateMonitorV1SiteMonitorsMonitorIdPatchArguments( global::System.Net.Http.HttpClient httpClient, ref string monitorId, @@ -46,9 +65,15 @@ partial void ProcessUpdateMonitorV1SiteMonitorsMonitorIdPatchResponseContent( monitorId: ref monitorId, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_UpdateMonitorV1SiteMonitorsMonitorIdPatchSecurityRequirements, + operationName: "UpdateMonitorV1SiteMonitorsMonitorIdPatchAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/site-monitors/{monitorId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: new global::System.Net.Http.HttpMethod("PATCH"), @@ -58,7 +83,7 @@ partial void ProcessUpdateMonitorV1SiteMonitorsMonitorIdPatchResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.g.cs index 547c8f0..7f110fd 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitorsClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class SiteMonitorsClient : global::ScrapeGraphAI.ISiteMoni /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SitemapClient.GenerateSitemapV1SitemapPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SitemapClient.GenerateSitemapV1SitemapPost.g.cs index 077b4d7..43720ba 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SitemapClient.GenerateSitemapV1SitemapPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SitemapClient.GenerateSitemapV1SitemapPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class SitemapClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GenerateSitemapV1SitemapPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GenerateSitemapV1SitemapPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GenerateSitemapV1SitemapPostSecurityRequirement0, + }; partial void PrepareGenerateSitemapV1SitemapPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.SitemapRequest request); @@ -40,9 +59,15 @@ partial void ProcessGenerateSitemapV1SitemapPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GenerateSitemapV1SitemapPostSecurityRequirements, + operationName: "GenerateSitemapV1SitemapPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/sitemap", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessGenerateSitemapV1SitemapPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SitemapClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SitemapClient.g.cs index 550fb28..d640d4c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SitemapClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SitemapClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class SitemapClient : global::ScrapeGraphAI.ISitemapClient /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraperClient.GetSmartscraperStatusV1SmartscraperRequestIdGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraperClient.GetSmartscraperStatusV1SmartscraperRequestIdGet.g.cs index 1f6c622..3f6583d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraperClient.GetSmartscraperStatusV1SmartscraperRequestIdGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraperClient.GetSmartscraperStatusV1SmartscraperRequestIdGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class SmartScraperClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetSmartscraperStatusV1SmartscraperRequestIdGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetSmartscraperStatusV1SmartscraperRequestIdGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetSmartscraperStatusV1SmartscraperRequestIdGetSecurityRequirement0, + }; partial void PrepareGetSmartscraperStatusV1SmartscraperRequestIdGetArguments( global::System.Net.Http.HttpClient httpClient, ref string requestId); @@ -37,9 +56,15 @@ partial void ProcessGetSmartscraperStatusV1SmartscraperRequestIdGetResponseConte httpClient: HttpClient, requestId: ref requestId); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetSmartscraperStatusV1SmartscraperRequestIdGetSecurityRequirements, + operationName: "GetSmartscraperStatusV1SmartscraperRequestIdGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: $"/v1/smartscraper/{requestId}", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -49,7 +74,7 @@ partial void ProcessGetSmartscraperStatusV1SmartscraperRequestIdGetResponseConte __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraperClient.StartSmartscraperV1SmartscraperPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraperClient.StartSmartscraperV1SmartscraperPost.g.cs index c6cade3..bbaea3d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraperClient.StartSmartscraperV1SmartscraperPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraperClient.StartSmartscraperV1SmartscraperPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class SmartScraperClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_StartSmartscraperV1SmartscraperPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_StartSmartscraperV1SmartscraperPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_StartSmartscraperV1SmartscraperPostSecurityRequirement0, + }; partial void PrepareStartSmartscraperV1SmartscraperPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.SmartscraperRequest request); @@ -40,9 +59,15 @@ partial void ProcessStartSmartscraperV1SmartscraperPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_StartSmartscraperV1SmartscraperPostSecurityRequirements, + operationName: "StartSmartscraperV1SmartscraperPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/smartscraper", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessStartSmartscraperV1SmartscraperPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraperClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraperClient.g.cs index 36257d3..13ed7ba 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraperClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraperClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class SmartScraperClient : global::ScrapeGraphAI.ISmartScr /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ToonifyClient.ToonifyV1ToonifyPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ToonifyClient.ToonifyV1ToonifyPost.g.cs index 7e60bbd..f59d2e5 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ToonifyClient.ToonifyV1ToonifyPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ToonifyClient.ToonifyV1ToonifyPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class ToonifyClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ToonifyV1ToonifyPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ToonifyV1ToonifyPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_ToonifyV1ToonifyPostSecurityRequirement0, + }; partial void PrepareToonifyV1ToonifyPostArguments( global::System.Net.Http.HttpClient httpClient, object request); @@ -40,9 +59,15 @@ partial void ProcessToonifyV1ToonifyPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ToonifyV1ToonifyPostSecurityRequirements, + operationName: "ToonifyV1ToonifyPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/toonify", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessToonifyV1ToonifyPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ToonifyClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ToonifyClient.g.cs index 214eab0..85459da 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ToonifyClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ToonifyClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class ToonifyClient : global::ScrapeGraphAI.IToonifyClient /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UsageClient.GetUsageTimelineV1UsageTimelineGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UsageClient.GetUsageTimelineV1UsageTimelineGet.g.cs index 921bf3e..ed2d445 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UsageClient.GetUsageTimelineV1UsageTimelineGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UsageClient.GetUsageTimelineV1UsageTimelineGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class UsageClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetUsageTimelineV1UsageTimelineGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetUsageTimelineV1UsageTimelineGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetUsageTimelineV1UsageTimelineGetSecurityRequirement0, + }; partial void PrepareGetUsageTimelineV1UsageTimelineGetArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.GetUsageTimelineV1UsageTimelineGetDays2? days); @@ -40,12 +59,18 @@ partial void ProcessGetUsageTimelineV1UsageTimelineGetResponseContent( httpClient: HttpClient, days: days); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetUsageTimelineV1UsageTimelineGetSecurityRequirements, + operationName: "GetUsageTimelineV1UsageTimelineGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/usage/timeline", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("days", days?.ToString()) - ; + ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -55,7 +80,7 @@ partial void ProcessGetUsageTimelineV1UsageTimelineGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UsageClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UsageClient.g.cs index 460d20e..fc042e6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UsageClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UsageClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class UsageClient : global::ScrapeGraphAI.IUsageClient, gl /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.DeductCreditsV1DeductCreditsPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.DeductCreditsV1DeductCreditsPost.g.cs index 7c3875e..573a7ca 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.DeductCreditsV1DeductCreditsPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.DeductCreditsV1DeductCreditsPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class UserClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_DeductCreditsV1DeductCreditsPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_DeductCreditsV1DeductCreditsPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_DeductCreditsV1DeductCreditsPostSecurityRequirement0, + }; partial void PrepareDeductCreditsV1DeductCreditsPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.DeductCreditsBody request); @@ -40,9 +59,15 @@ partial void ProcessDeductCreditsV1DeductCreditsPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_DeductCreditsV1DeductCreditsPostSecurityRequirements, + operationName: "DeductCreditsV1DeductCreditsPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/deduct-credits", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessDeductCreditsV1DeductCreditsPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.GetCreditsV1CreditsGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.GetCreditsV1CreditsGet.g.cs index a46d2a4..833fd5f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.GetCreditsV1CreditsGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.GetCreditsV1CreditsGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class UserClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_GetCreditsV1CreditsGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_GetCreditsV1CreditsGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_GetCreditsV1CreditsGetSecurityRequirement0, + }; partial void PrepareGetCreditsV1CreditsGetArguments( global::System.Net.Http.HttpClient httpClient); partial void PrepareGetCreditsV1CreditsGetRequest( @@ -32,9 +51,15 @@ partial void ProcessGetCreditsV1CreditsGetResponseContent( PrepareGetCreditsV1CreditsGetArguments( httpClient: HttpClient); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetCreditsV1CreditsGetSecurityRequirements, + operationName: "GetCreditsV1CreditsGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/credits", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -44,7 +69,7 @@ partial void ProcessGetCreditsV1CreditsGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.SubmitFeedbackV1FeedbackPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.SubmitFeedbackV1FeedbackPost.g.cs index 6e8d48a..f760451 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.SubmitFeedbackV1FeedbackPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.SubmitFeedbackV1FeedbackPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class UserClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_SubmitFeedbackV1FeedbackPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_SubmitFeedbackV1FeedbackPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_SubmitFeedbackV1FeedbackPostSecurityRequirement0, + }; partial void PrepareSubmitFeedbackV1FeedbackPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.FeedbackCreate request); @@ -40,9 +59,15 @@ partial void ProcessSubmitFeedbackV1FeedbackPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_SubmitFeedbackV1FeedbackPostSecurityRequirements, + operationName: "SubmitFeedbackV1FeedbackPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/feedback", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessSubmitFeedbackV1FeedbackPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.SubmitProductFeedbackV1ProductFeedbackPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.SubmitProductFeedbackV1ProductFeedbackPost.g.cs index 6dcc95b..aed8058 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.SubmitProductFeedbackV1ProductFeedbackPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.SubmitProductFeedbackV1ProductFeedbackPost.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class UserClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_SubmitProductFeedbackV1ProductFeedbackPostSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_SubmitProductFeedbackV1ProductFeedbackPostSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_SubmitProductFeedbackV1ProductFeedbackPostSecurityRequirement0, + }; partial void PrepareSubmitProductFeedbackV1ProductFeedbackPostArguments( global::System.Net.Http.HttpClient httpClient, global::ScrapeGraphAI.ProductFeedback request); @@ -40,9 +59,15 @@ partial void ProcessSubmitProductFeedbackV1ProductFeedbackPostResponseContent( httpClient: HttpClient, request: request); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_SubmitProductFeedbackV1ProductFeedbackPostSecurityRequirements, + operationName: "SubmitProductFeedbackV1ProductFeedbackPostAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/product-feedback", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -52,7 +77,7 @@ partial void ProcessSubmitProductFeedbackV1ProductFeedbackPostResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.ValidateApiKeyV1ValidateGet.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.ValidateApiKeyV1ValidateGet.g.cs index f459eb6..539638e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.ValidateApiKeyV1ValidateGet.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.ValidateApiKeyV1ValidateGet.g.cs @@ -5,6 +5,25 @@ namespace ScrapeGraphAI { public partial class UserClient { + + + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ValidateApiKeyV1ValidateGetSecurityRequirement0 = + new global::ScrapeGraphAI.EndPointSecurityRequirement + { + Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] + { new global::ScrapeGraphAI.EndPointAuthorizationRequirement + { + Type = "ApiKey", + Location = "Header", + Name = "SGAI-APIKEY", + FriendlyName = "ApiKeyInHeader", + }, + }, + }; + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ValidateApiKeyV1ValidateGetSecurityRequirements = + new global::ScrapeGraphAI.EndPointSecurityRequirement[] + { s_ValidateApiKeyV1ValidateGetSecurityRequirement0, + }; partial void PrepareValidateApiKeyV1ValidateGetArguments( global::System.Net.Http.HttpClient httpClient); partial void PrepareValidateApiKeyV1ValidateGetRequest( @@ -32,9 +51,15 @@ partial void ProcessValidateApiKeyV1ValidateGetResponseContent( PrepareValidateApiKeyV1ValidateGetArguments( httpClient: HttpClient); + + var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ValidateApiKeyV1ValidateGetSecurityRequirements, + operationName: "ValidateApiKeyV1ValidateGetAsync"); + var __pathBuilder = new global::ScrapeGraphAI.PathBuilder( path: "/v1/validate", - baseUri: HttpClient.BaseAddress); + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -44,7 +69,7 @@ partial void ProcessValidateApiKeyV1ValidateGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif - foreach (var __authorization in Authorizations) + foreach (var __authorization in __authorizations) { if (__authorization.Type == "Http" || __authorization.Type == "OAuth2") diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.g.cs index 329acda..c1a3126 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.UserClient.g.cs @@ -12,7 +12,7 @@ public sealed partial class UserClient : global::ScrapeGraphAI.IUserClient, glob /// /// /// - public const string DefaultBaseUrl = "https://api.scrapegraphai.com"; + public const string DefaultBaseUrl = "https://api.scrapegraphai.com/"; private bool _disposeHttpClient = true; diff --git a/src/libs/ScrapeGraphAI/openapi.yaml b/src/libs/ScrapeGraphAI/openapi.yaml index 584d60f..a96db1e 100644 --- a/src/libs/ScrapeGraphAI/openapi.yaml +++ b/src/libs/ScrapeGraphAI/openapi.yaml @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/v1/smartscraper":{"post":{"tags":["SmartScraper"],"summary":"Start Smartscraper","operationId":"start_smartscraper_v1_smartscraper_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartscraperRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletedSmartscraperResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/smartscraper/{request_id}":{"get":{"tags":["SmartScraper"],"summary":"Get Smartscraper Status","operationId":"get_smartscraper_status_v1_smartscraper__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/markdownify":{"post":{"tags":["Markdownify"],"summary":"Start Markdownify","operationId":"start_markdownify_v1_markdownify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletedMarkdownifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/markdownify/{request_id}":{"get":{"tags":["Markdownify"],"summary":"Get Markdownify Status","operationId":"get_markdownify_status_v1_markdownify__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scrape":{"post":{"tags":["Scrape"],"summary":"Scrape","operationId":"scrape_v1_scrape_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScrapeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/searchscraper":{"post":{"tags":["SearchScraper"],"summary":"Start Searchscraper","operationId":"start_searchscraper_v1_searchscraper_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchScraperRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletedSearchScraperResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/searchscraper/{request_id}":{"get":{"tags":["SearchScraper"],"summary":"Get Searchscraper Status","operationId":"get_searchscraper_status_v1_searchscraper__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/generate_schema":{"post":{"tags":["SchemaGenerator"],"summary":"Generate or modify a JSON schema based on a search query","description":"Generate a refined search prompt and a structured JSON schema for analyzing search results.\n Optionally modify an existing schema to better fit the current search query.","operationId":"start_generate_schema_v1_generate_schema_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaGenerationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/generate_schema/{request_id}":{"get":{"tags":["SchemaGenerator"],"summary":"Get Generate Schema Status","operationId":"get_generate_schema_status_v1_generate_schema__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs":{"post":{"tags":["ScheduledJobs"],"summary":"Create Scheduled Job","description":"Create a new scheduled job","operationId":"create_scheduled_job_v1_scheduled_jobs_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["ScheduledJobs"],"summary":"Fetch Scheduled Jobs","description":"Get user's scheduled jobs with pagination","operationId":"fetch_scheduled_jobs_v1_scheduled_jobs_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of jobs per page","default":20,"title":"Page Size"},"description":"Number of jobs per page"},{"name":"service_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ServiceType"},{"type":"null"}],"description":"Filter by service type","title":"Service Type"},"description":"Filter by service type"},{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by active status","title":"Is Active"},"description":"Filter by active status"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}":{"get":{"tags":["ScheduledJobs"],"summary":"Get Scheduled Job","description":"Get a specific scheduled job","operationId":"get_scheduled_job_v1_scheduled_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["ScheduledJobs"],"summary":"Update Scheduled Job","description":"Update a scheduled job","operationId":"update_scheduled_job_v1_scheduled_jobs__job_id__patch","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Job Update"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["ScheduledJobs"],"summary":"Replace Scheduled Job","operationId":"replace_scheduled_job_v1_scheduled_jobs__job_id__put","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["ScheduledJobs"],"summary":"Delete Scheduled Job","description":"Delete a scheduled job","operationId":"delete_scheduled_job_v1_scheduled_jobs__job_id__delete","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/executions":{"get":{"tags":["ScheduledJobs"],"summary":"Get Job Executions","description":"Get execution history for a scheduled job","operationId":"get_job_executions_v1_scheduled_jobs__job_id__executions_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of executions per page","default":20,"title":"Page Size"},"description":"Number of executions per page"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by execution status","title":"Status"},"description":"Filter by execution status"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobExecutionListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/pause":{"post":{"tags":["ScheduledJobs"],"summary":"Pause Scheduled Job","operationId":"pause_scheduled_job_v1_scheduled_jobs__job_id__pause_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/resume":{"post":{"tags":["ScheduledJobs"],"summary":"Resume Scheduled Job","operationId":"resume_scheduled_job_v1_scheduled_jobs__job_id__resume_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/trigger":{"post":{"tags":["ScheduledJobs"],"summary":"Trigger Job Manually","description":"Manually trigger a scheduled job\n\nRate limited to 10 triggers per minute per user to prevent abuse.","operationId":"trigger_job_manually_v1_scheduled_jobs__job_id__trigger_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobTriggerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/site-monitors":{"post":{"tags":["SiteMonitors"],"summary":"Create Monitor","description":"Register a website for monitoring. We will check on the given cron schedule and POST webhook events on content change.","operationId":"create_monitor_v1_site_monitors_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["SiteMonitors"],"summary":"List Monitors","description":"List site monitors for the current user.","operationId":"list_monitors_v1_site_monitors_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Page Size"}},{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/site-monitors/{monitor_id}":{"get":{"tags":["SiteMonitors"],"summary":"Get Monitor","description":"Get a site monitor by id.","operationId":"get_monitor_v1_site_monitors__monitor_id__get","parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","title":"Monitor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["SiteMonitors"],"summary":"Update Monitor","description":"Update a site monitor. Schedule is updated if cron or config changed.","operationId":"update_monitor_v1_site_monitors__monitor_id__patch","parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","title":"Monitor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["SiteMonitors"],"summary":"Delete Monitor","description":"Delete a site monitor and its schedule.","operationId":"delete_monitor_v1_site_monitors__monitor_id__delete","parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","title":"Monitor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/healthz":{"get":{"tags":["Health"],"summary":"Health Check","description":"Health check endpoint that includes memory monitoring","operationId":"health_check_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/credits":{"get":{"tags":["User"],"summary":"Get Credits","operationId":"get_credits_v1_credits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsResponse"}}}}}}},"/v1/validate":{"get":{"tags":["User"],"summary":"Validate Api Key","operationId":"validate_api_key_v1_validate_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Api Key V1 Validate Get"}}}}}}},"/v1/feedback":{"post":{"tags":["User"],"summary":"Submit Feedback","operationId":"submit_feedback_v1_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/product-feedback":{"post":{"tags":["User"],"summary":"Submit Product Feedback","operationId":"submit_product_feedback_v1_product_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFeedback"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFeedbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/deduct-credits":{"post":{"tags":["User"],"summary":"Deduct Credits","operationId":"deduct_credits_v1_deduct_credits_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeductCreditsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeductCreditsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/crawl":{"post":{"tags":["Crawler"],"summary":"Start Crawl","description":"Start a new crawl job.","operationId":"start_crawl_v1_crawl_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrawlJob"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/crawl/{task_id}":{"get":{"tags":["Crawler"],"summary":"Get Crawl Result","description":"Get the result of a crawl job by task ID.","operationId":"get_crawl_result_v1_crawl__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook/logs/{crawler_id}":{"get":{"tags":["Crawler"],"summary":"Get Webhook Logs","description":"Get webhook delivery logs for a crawler job.","operationId":"get_webhook_logs_v1_webhook_logs__crawler_id__get","parameters":[{"name":"crawler_id","in":"path","required":true,"schema":{"type":"string","title":"Crawler Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook/status/{webhook_id}":{"get":{"tags":["Crawler"],"summary":"Get Webhook Status","description":"Get status of a specific webhook delivery.","operationId":"get_webhook_status_v1_webhook_status__webhook_id__get","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/agentic-scrapper":{"post":{"tags":["AgenticScrapper"],"summary":"Agentic Scrapper","operationId":"agentic_scrapper_v1_agentic_scrapper_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/get-live-session-url":{"post":{"tags":["AgenticScrapper"],"summary":"Get Live Session Url","operationId":"get_live_session_url_v1_get_live_session_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperLiveSessionUrlRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperLiveSessionUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/stop-session":{"post":{"tags":["AgenticScrapper"],"summary":"Stop Session","operationId":"stop_session_v1_stop_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperStopSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/workflows/execute":{"post":{"tags":["AgenticScrapper"],"summary":"Agentic Browser V2","operationId":"agentic_browser_v2_v1_workflows_execute_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowDefinition"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowExecutionResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/markdownify":{"get":{"tags":["History"],"summary":"Get Markdownify History","description":"Get paginated history of markdownify requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n MarkdownifyHistoryResponse containing the list of requests and next page key","operationId":"get_markdownify_history_v1_history_markdownify_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownifyHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/smartscraper":{"get":{"tags":["History"],"summary":"Get Smartscraper History","description":"Get paginated history of smart scraper requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n SmartscraperHistoryResponse containing the list of requests and next page key","operationId":"get_smartscraper_history_v1_history_smartscraper_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartscraperHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/searchscraper":{"get":{"tags":["History"],"summary":"Get Searchscraper History","description":"Get paginated history of search scraper requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n SearchscraperHistoryResponse containing the list of requests and next page key","operationId":"get_searchscraper_history_v1_history_searchscraper_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchscraperHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/scrape":{"get":{"tags":["History"],"summary":"Get Scrape History","description":"Get paginated history of scrape requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n ScrapeHistoryResponse containing the list of requests and next page key","operationId":"get_scrape_history_v1_history_scrape_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScrapeHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/crawl":{"get":{"tags":["History"],"summary":"Get Crawler History","description":"Get paginated history of crawler requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n CrawlerHistoryResponse containing the list of requests and next page key","operationId":"get_crawler_history_v1_history_crawl_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrawlerHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/agentic-scraper":{"get":{"tags":["History"],"summary":"Get Agentic Scraper History","description":"Get paginated history of agentic scraper requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n next_key: Key for pagination (default: None)\n\nReturns:\n AgenticScraperHistoryResponse containing the list of requests and next page key","operationId":"get_agentic_scraper_history_v1_history_agentic_scraper_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScraperHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/sitemap":{"get":{"tags":["History"],"summary":"Get Sitemap History","description":"Get sitemap request history for the current API key.","operationId":"get_sitemap_history_v1_history_sitemap_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitemapHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sitemap":{"post":{"tags":["Sitemap"],"summary":"Generate Sitemap","operationId":"generate_sitemap_v1_sitemap_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitemapRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitemapResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/toonify":{"post":{"tags":["Toonify"],"summary":"Toonify","operationId":"toonify_v1_toonify_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/usage/timeline":{"get":{"tags":["Usage"],"summary":"Get Usage Timeline","description":"Get usage timeline with only timestamps for chart rendering.","operationId":"get_usage_timeline_v1_usage_timeline_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"anyOf":[{"enum":["7","14","30","all"],"type":"string"},{"type":"null"}],"default":"all","title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageTimelineResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/bandcamp/get-sales-feed-items":{"post":{"tags":["EndpointPoc"],"summary":"Get Sales Feed Items","operationId":"get_sales_feed_items_v1_bandcamp_get_sales_feed_items_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/bandcamp/get-item-details/":{"post":{"tags":["EndpointPoc"],"summary":"Get Sales Feed Items Details","operationId":"get_sales_feed_items_details_v1_bandcamp_get_item_details__post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/endpoint/get-suggestions":{"post":{"tags":["EndpointPoc"],"summary":"Get Suggestions","operationId":"get_suggestions_v1_endpoint_get_suggestions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndPointSuggestionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndPointSuggestionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoint/save-endpoint":{"post":{"tags":["EndpointPoc"],"summary":"Save Endpoint","operationId":"save_endpoint_v1_endpoint_save_endpoint_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndPointSuggestions"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoint/{endpoint_id}/{full_path}":{"post":{"tags":["EndpointPoc"],"summary":"Execute Endpoint","operationId":"execute_endpoint_v1_endpoint__endpoint_id___full_path__post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"full_path","in":"path","required":true,"schema":{"type":"string","title":"Full Path"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Query Params"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/query_redis_cache_by_pattern":{"post":{"tags":["Admin"],"summary":"Query Redis Cache By Pattern","operationId":"query_redis_cache_by_pattern_v1_admin_query_redis_cache_by_pattern_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRedisCacheByPatternRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/x402/{path}":{"delete":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"ActionStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"action"},"action":{"type":"string","title":"Action","description":"Natural language action description (e.g., 'Click login button', 'Fill email with {{email}}')"},"observe_first":{"type":"boolean","title":"Observe First","description":"Whether to observe elements before acting","default":true}},"type":"object","required":["action"],"title":"ActionStep","description":"Perform an action on the page"},"AgenticScraperHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/AgenticScraperRequestDB"},"type":"array","title":"Requests","description":"List of agentic scraper requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key","description":"Key for next page"}},"type":"object","required":["requests"],"title":"AgenticScraperHistoryResponse"},"AgenticScraperRequestDB":{"properties":{"request_id":{"type":"string","title":"Request Id"},"user_id":{"type":"string","title":"User Id"},"webpage_id":{"type":"string","title":"Webpage Id"},"website_url":{"type":"string","title":"Website Url"},"user_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Prompt"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"status":{"$ref":"#/components/schemas/AgenticScrapperStatus"},"metadata":{"anyOf":[{},{"type":"null"}],"title":"Metadata"},"result":{"anyOf":[{},{"type":"null"}],"title":"Result"},"total_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Cost","default":0.0},"usage_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","user_id","webpage_id","website_url","requested_at","status"],"title":"AgenticScraperRequestDB","description":"DynamoDB model for agentic scraper requests."},"AgenticScrapperLiveSessionUrlRequest":{"properties":{"url":{"type":"string","title":"Url"},"timeout":{"type":"integer","title":"Timeout","description":"Timeout for the live session","default":300}},"type":"object","required":["url"],"title":"AgenticScrapperLiveSessionUrlRequest"},"AgenticScrapperLiveSessionUrlResponse":{"properties":{"session_url":{"type":"string","title":"Session Url"},"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["session_url","session_id"],"title":"AgenticScrapperLiveSessionUrlResponse"},"AgenticScrapperRequest":{"properties":{"url":{"type":"string","title":"Url"},"user_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Prompt","default":""},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema","default":{}},"steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Steps","description":"List of steps to actions to perform on the website","default":[]},"use_session":{"type":"boolean","title":"Use Session","description":"Whether to use a session to scrape the website","default":false},"ai_extraction":{"type":"boolean","title":"Ai Extraction","description":"Whether to use AI extraction to extract the information","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape (e.g. US, GB)"}},"type":"object","required":["url"],"title":"AgenticScrapperRequest"},"AgenticScrapperResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"markdown":{"type":"string","title":"Markdown"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"}},"type":"object","required":["request_id","markdown"],"title":"AgenticScrapperResponse"},"AgenticScrapperStatus":{"type":"string","enum":["queued","processing","processinghtml","processedhtml","completed","failed"],"title":"AgenticScrapperStatus","description":"Status enum for agentic scraper requests."},"AgenticScrapperStopSessionRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["session_id"],"title":"AgenticScrapperStopSessionRequest"},"CompletedMarkdownifyResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"status":{"$ref":"#/components/schemas/MarkdownifyStatus"},"website_url":{"type":"string","title":"Website Url"},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"error":{"type":"string","title":"Error","default":""}},"type":"object","required":["request_id","status","website_url"],"title":"CompletedMarkdownifyResponse"},"CompletedSearchScraperResponse":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"status":{"$ref":"#/components/schemas/SearchScraperStatus"},"user_prompt":{"type":"string","title":"User Prompt"},"num_results":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Results"},"result":{"anyOf":[{"type":"object"},{}],"title":"Result"},"reference_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Reference Urls"},"markdown_content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Markdown Content","description":"Raw markdown content when extraction_mode is False"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","status","user_prompt","result","reference_urls"],"title":"CompletedSearchScraperResponse"},"CompletedSmartscraperResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"status":{"$ref":"#/components/schemas/SmartscraperStatus"},"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url"},"user_prompt":{"type":"string","title":"User Prompt"},"result":{"anyOf":[{"type":"object"},{"type":"string"},{"type":"null"}],"title":"Result"},"error":{"type":"string","title":"Error","default":""}},"type":"object","required":["request_id","status","user_prompt"],"title":"CompletedSmartscraperResponse"},"ConditionalStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"conditional"},"condition":{"type":"string","title":"Condition","description":"Condition to evaluate (e.g., '{{index}} < 10', '{{item}} != null')"},"if_steps":{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array","title":"If Steps","description":"Steps to execute if condition is true"},"else_steps":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array"},{"type":"null"}],"title":"Else Steps","description":"Steps to execute if condition is false"}},"type":"object","required":["condition","if_steps"],"title":"ConditionalStep","description":"Conditional execution (if/else)"},"CrawlJob":{"properties":{"url":{"type":"string","title":"Url"},"depth":{"type":"integer","title":"Depth","default":1},"breadth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Breadth","description":"Maximum number of links to crawl per depth level. If None, unlimited (default). Ignored when sitemap=True."},"max_pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Pages","default":10},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Schema"},"rules":{"anyOf":[{"$ref":"#/components/schemas/CrawlJobRules"},{"type":"null"}]},"sitemap":{"type":"boolean","title":"Sitemap","default":true},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","default":false},"extraction_mode":{"type":"boolean","title":"Extraction Mode","default":true},"stealth":{"type":"boolean","title":"Stealth","description":"Enable stealth mode to avoid bot detection","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"reader_mode":{"type":"boolean","title":"Reader Mode","default":false},"wait_ms":{"type":"integer","title":"Wait Ms","default":3000},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for fetching (e.g. US, GB)"}},"type":"object","required":["url"],"title":"CrawlJob"},"CrawlJobRules":{"properties":{"exclude":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude"},"include_paths":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Include Paths","description":"List of path patterns to include (e.g., ['/products/*', '/blog/*']). If empty, all paths are included."},"exclude_paths":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Paths","description":"List of path patterns to exclude (e.g., ['/admin/*', '/api/*']). Takes precedence over include_paths."},"same_domain":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Same Domain","default":true}},"type":"object","title":"CrawlJobRules"},"CrawlStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"CrawlStatus"},"CrawlerHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/CrawlerRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"CrawlerHistoryResponse"},"CrawlerRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"url":{"type":"string","title":"Url"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"max_pages":{"type":"integer","title":"Max Pages"},"status":{"$ref":"#/components/schemas/CrawlStatus"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"total_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Cost"},"credits_used":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credits Used"},"pages_processed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pages Processed"},"crawled_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Crawled Urls"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"result_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Url"},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["request_id","user_id","url","max_pages","status","requested_at"],"title":"CrawlerRequestDB","description":"DynamoDB model for crawler requests"},"CreditsResponse":{"properties":{"remaining_credits":{"type":"integer","title":"Remaining Credits"},"total_credits_used":{"type":"integer","title":"Total Credits Used"}},"type":"object","required":["remaining_credits","total_credits_used"],"title":"CreditsResponse"},"DeductCreditsBody":{"properties":{"credits_to_deduct":{"type":"integer","title":"Credits To Deduct"}},"type":"object","required":["credits_to_deduct"],"title":"DeductCreditsBody"},"DeductCreditsResponse":{"properties":{"message":{"type":"string","title":"Message","default":"Credits deducted successfully"}},"type":"object","title":"DeductCreditsResponse"},"EndPointSuggestionRequest":{"properties":{"website_url":{"type":"string","title":"Website Url"},"prompt":{"type":"string","title":"Prompt"}},"type":"object","required":["website_url","prompt"],"title":"EndPointSuggestionRequest"},"EndPointSuggestions":{"properties":{"suggestions":{"items":{"$ref":"#/components/schemas/EndpointSuggestion"},"type":"array","title":"Suggestions"}},"type":"object","required":["suggestions"],"title":"EndPointSuggestions"},"EndPointSuggestionsResponse":{"properties":{"suggestions":{"items":{"$ref":"#/components/schemas/EndpointSuggestion"},"type":"array","title":"Suggestions"},"html_with_markdowns":{"title":"Html With Markdowns"}},"type":"object","required":["suggestions","html_with_markdowns"],"title":"EndPointSuggestionsResponse"},"EndpointParameter":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"location":{"type":"string","title":"Location"},"required":{"type":"boolean","title":"Required"},"description":{"type":"string","title":"Description"},"is_url":{"type":"boolean","title":"Is Url","default":false}},"type":"object","required":["name","type","location","required","description"],"title":"EndpointParameter"},"EndpointSuggestion":{"properties":{"endpoint":{"type":"string","title":"Endpoint"},"method":{"type":"string","title":"Method","default":"POST"},"description":{"type":"string","title":"Description"},"target_url":{"type":"string","title":"Target Url"},"parameters":{"items":{"$ref":"#/components/schemas/EndpointParameter"},"type":"array","title":"Parameters"},"pydantic_schema":{"type":"object","title":"Pydantic Schema"},"extraction_prompt":{"type":"string","title":"Extraction Prompt"},"interaction_steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Interaction Steps"}},"type":"object","required":["endpoint","description","target_url","parameters","pydantic_schema","extraction_prompt"],"title":"EndpointSuggestion"},"ExtractionStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"extract"},"instruction":{"type":"string","title":"Instruction","description":"What to extract (e.g., 'Extract all product links from the page')"},"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Schema","description":"Optional schema for structured extraction"},"save_to":{"type":"string","title":"Save To","description":"Variable name to save extracted data to (e.g., 'product_links')"}},"type":"object","required":["instruction","save_to"],"title":"ExtractionStep","description":"Extract data from the page"},"FeedbackCreate":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id","description":"ID of the request/session this feedback is for"},"rating":{"type":"integer","maximum":5.0,"minimum":0.0,"title":"Rating"},"feedback_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feedback Text"}},"type":"object","required":["request_id","rating"],"title":"FeedbackCreate"},"FeedbackResponse":{"properties":{"feedback_id":{"type":"string","format":"uuid","title":"Feedback Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"message":{"type":"string","title":"Message","default":"Feedback submitted successfully"},"feedback_timestamp":{"type":"string","format":"date-time","title":"Feedback Timestamp"}},"type":"object","required":["feedback_id","request_id","feedback_timestamp"],"title":"FeedbackResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"JobExecutionListResponse":{"properties":{"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"executions":{"items":{"$ref":"#/components/schemas/JobExecutionResponse"},"type":"array","title":"Executions"}},"type":"object","required":["total","page","page_size","executions"],"title":"JobExecutionListResponse","description":"Paginated response for job executions"},"JobExecutionResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"scheduled_job_id":{"type":"string","format":"uuid","title":"Scheduled Job Id"},"execution_id":{"type":"string","title":"Execution Id"},"status":{"type":"string","title":"Status"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"credits_used":{"type":"integer","title":"Credits Used","default":0}},"type":"object","required":["id","scheduled_job_id","execution_id","status","started_at"],"title":"JobExecutionResponse","description":"Response model for job execution details"},"JobTriggerResponse":{"properties":{"execution_id":{"type":"string","title":"Execution Id"},"message":{"type":"string","title":"Message"},"scheduled_job_id":{"type":"string","format":"uuid","title":"Scheduled Job Id"},"triggered_at":{"type":"string","format":"date-time","title":"Triggered At"}},"type":"object","required":["execution_id","message","scheduled_job_id","triggered_at"],"title":"JobTriggerResponse","description":"Response model for manual job trigger"},"LoopStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"loop"},"iterate_over":{"type":"string","title":"Iterate Over","description":"Variable name containing array to iterate over (e.g., 'product_links')"},"item_name":{"type":"string","title":"Item Name","description":"Variable name for current item in loop (e.g., 'current_link')","default":"item"},"index_name":{"type":"string","title":"Index Name","description":"Variable name for current index (e.g., 'i')","default":"index"},"steps":{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array","title":"Steps","description":"Steps to execute for each item"},"max_iterations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Iterations","description":"Maximum number of iterations (safety limit)"}},"type":"object","required":["iterate_over","steps"],"title":"LoopStep","description":"Iterate over an array"},"MarkdownExtractionStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"extract_markdown"},"save_to":{"type":"string","title":"Save To","description":"Variable name to save extracted markdown to (e.g., 'markdown')"}},"type":"object","required":["save_to"],"title":"MarkdownExtractionStep","description":"Extract markdown from the page"},"MarkdownifyHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/MarkdownifyRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"MarkdownifyHistoryResponse"},"MarkdownifyRequest":{"properties":{"website_url":{"type":"string","title":"Website Url","description":"The URL of the website to scrape"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stealth":{"type":"boolean","title":"Stealth","default":false},"branding":{"type":"boolean","title":"Branding","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape"},"wait_ms":{"type":"integer","title":"Wait Ms","description":"The number of milliseconds to wait before scraping the website","default":3000},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to send with the request, including cookies and user agent","example":{"Cookie":"cookie1=value1; cookie2=value2","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}},"steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Steps"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"}},"type":"object","required":["website_url"],"title":"MarkdownifyRequest"},"MarkdownifyRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id","description":"Unique identifier for the request"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"ID of the user who made the request"},"webpage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Webpage Id","description":"ID of the associated webpage"},"requested_at":{"type":"string","format":"date-time","title":"Requested At","description":"Timestamp when the request was made"},"status":{"$ref":"#/components/schemas/MarkdownifyRequestStatus","description":"Current status of the request"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if the request failed"},"website_url":{"type":"string","title":"Website Url","description":"URL of the website to be markdownified"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"Timestamp when the request was completed"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata","description":"Additional metadata about the request"},"usage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Usage Id","description":"ID of the associated LLM usage record"},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["status","website_url"],"title":"MarkdownifyRequestDB","description":"Pydantic model representing the markdownify_requests database table."},"MarkdownifyRequestStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"MarkdownifyRequestStatus"},"MarkdownifyStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"MarkdownifyStatus"},"NavigationStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"navigate"},"url":{"type":"string","title":"Url","description":"URL to navigate to. Supports variable interpolation: {{variable_name}}"},"wait_for":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wait For","description":"Optional selector to wait for after navigation"}},"type":"object","required":["url"],"title":"NavigationStep","description":"Navigate to a URL"},"ProductFeedback":{"properties":{"feedback_id":{"type":"string","format":"uuid","title":"Feedback Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","examples":["John Doe"]},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email","examples":["john@example.com"]},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company","examples":["XYZ Ltd"]},"how_discovered":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"How Discovered","examples":["Twitter"]},"usage_frequency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Frequency","examples":["Weekly"]},"use_cases":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Use Cases","examples":[["Web scraping","Automation"]]},"rating":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Rating"},"liked_most":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liked Most","examples":["Easy setup"]},"disliked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disliked","examples":["Pagination issues"]},"requested_features":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Features","examples":["Scheduler, dashboard analytics"]},"setup_easy":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Setup Easy","examples":[true]},"issues":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issues","examples":["Error saving graphs"]},"recommend_score":{"anyOf":[{"type":"integer","maximum":10.0,"minimum":0.0},{"type":"null"}],"title":"Recommend Score"},"improvement_suggestions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Improvement Suggestions","examples":["Better docs, faster runtime"]},"can_contact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Can Contact","examples":[true]},"contact_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Method","examples":["Email"]}},"type":"object","title":"ProductFeedback"},"ProductFeedbackResponse":{"properties":{"message":{"type":"string","title":"Message","default":"Product feedback submitted successfully"}},"type":"object","title":"ProductFeedbackResponse"},"QueryRedisCacheByPatternRequest":{"properties":{"cursor":{"type":"integer","title":"Cursor","default":0},"page_size":{"type":"integer","title":"Page Size","default":100},"pattern":{"type":"string","title":"Pattern","default":"providers_order:*"}},"type":"object","title":"QueryRedisCacheByPatternRequest"},"ScheduledJobCreate":{"properties":{"job_name":{"type":"string","maxLength":255,"minLength":1,"title":"Job Name","description":"Human-readable name for the scheduled job","strip_whitespace":true},"service_type":{"$ref":"#/components/schemas/ServiceType","description":"Type of service to run: smartscraper, searchscraper, markdownify, or smartcrawler"},"cron_expression":{"type":"string","title":"Cron Expression","description":"Standard 5-field cron expression (minute hour day month day_of_week) in UTC timezone. All times are interpreted as UTC (e.g., '0 9 * * 1' for 9 AM UTC every Monday)"},"job_config":{"type":"object","title":"Job Config","description":"Service-specific configuration that matches the service's request schema"},"is_active":{"type":"boolean","title":"Is Active","description":"Whether the job is active and should be scheduled","default":true},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"}},"additionalProperties":false,"type":"object","required":["job_name","service_type","cron_expression","job_config"],"title":"ScheduledJobCreate","description":"Model for creating scheduled jobs (required fields enforced)"},"ScheduledJobListResponse":{"properties":{"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"jobs":{"items":{"$ref":"#/components/schemas/ScheduledJobResponse"},"type":"array","title":"Jobs"}},"type":"object","required":["total","page","page_size","jobs"],"title":"ScheduledJobListResponse","description":"Paginated response for scheduled jobs"},"ScheduledJobResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"job_name":{"type":"string","title":"Job Name"},"service_type":{"$ref":"#/components/schemas/ServiceType"},"cron_expression":{"type":"string","title":"Cron Expression"},"job_config":{"type":"object","title":"Job Config"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run At"},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Run At"}},"type":"object","required":["id","user_id","job_name","service_type","cron_expression","job_config","is_active","created_at","updated_at"],"title":"ScheduledJobResponse","description":"Response model for scheduled job operations"},"SchemaGenerationRequest":{"properties":{"user_prompt":{"type":"string","title":"User Prompt","description":"The user's search query to be refined"},"existing_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Existing Schema","description":"Optional existing JSON schema to modify/extend"}},"type":"object","required":["user_prompt"],"title":"SchemaGenerationRequest","description":"Request model for schema generation"},"SchemaGenerationResponse":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"status":{"type":"string","title":"Status"},"user_prompt":{"type":"string","title":"User Prompt"},"refined_prompt":{"type":"string","title":"Refined Prompt","description":"The refined search query"},"generated_schema":{"type":"object","title":"Generated Schema","description":"The generated JSON schema"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","status","user_prompt","refined_prompt","generated_schema"],"title":"SchemaGenerationResponse","description":"Response model for schema generation"},"ScrapeHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/ScrapeRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"ScrapeHistoryResponse"},"ScrapeRequest":{"properties":{"website_url":{"type":"string","title":"Website Url","description":"The URL of the website to scrape"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","description":"Whether to render heavy JS","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stealth":{"type":"boolean","title":"Stealth","default":false},"branding":{"type":"boolean","title":"Branding","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape"},"wait_ms":{"type":"integer","title":"Wait Ms","description":"The number of milliseconds to wait before scraping the website","default":3000}},"type":"object","required":["website_url"],"title":"ScrapeRequest"},"ScrapeRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"website_url":{"type":"string","title":"Website Url"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","default":false},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"status":{"$ref":"#/components/schemas/ScrapeStatus","default":"queued"},"metadata":{"type":"object","title":"Metadata","default":{}},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"requested_at":{"type":"string","format":"date-time","title":"Requested At","default":"2026-04-08T16:13:50.437704"},"cost":{"type":"integer","title":"Cost","default":0},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["request_id","website_url"],"title":"ScrapeRequestDB","description":"DynamoDB model for scrape requests."},"ScrapeStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"ScrapeStatus","description":"Status of a scrape request."},"SearchScraperRequest":{"properties":{"user_prompt":{"type":"string","title":"User Prompt","example":"What is the latest version of Python?"},"num_results":{"type":"integer","maximum":20.0,"minimum":3.0,"title":"Num Results","description":"Number of websites to scrape (3-20). Default is 3.","default":3,"example":5},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to send with the request, including cookies and user agent","example":{"Cookie":"cookie1=value1; cookie2=value2","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"extraction_mode":{"type":"boolean","title":"Extraction Mode","description":"True for AI extraction mode, False for markdown conversion only","default":true},"markdown_mode":{"type":"boolean","title":"Markdown Mode","description":"True for markdown conversion mode, False for raw mode","default":true},"stealth":{"type":"boolean","title":"Stealth","description":"Enable stealth mode to avoid bot detection","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"location_geo_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Geo Code","description":"The geo code of the location to search in"},"time_range":{"anyOf":[{"$ref":"#/components/schemas/TimeRange"},{"type":"null"}],"description":"The date range to search in","examples":["past_hour","past_24_hours","past_week","past_month","past_year"]}},"type":"object","required":["user_prompt"],"title":"SearchScraperRequest"},"SearchScraperStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"SearchScraperStatus"},"SearchscraperHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/SearchscraperRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"SearchscraperHistoryResponse"},"SearchscraperRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_prompt":{"type":"string","title":"User Prompt"},"search_query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Query"},"extraction_query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extraction Query"},"references_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"References Urls"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"status":{"$ref":"#/components/schemas/SearchScraperStatus","default":"queued"},"metadata":{"type":"object","title":"Metadata"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["user_prompt"],"title":"SearchscraperRequestDB","description":"Database model for search scraper requests."},"ServiceType":{"type":"string","enum":["smartscraper","searchscraper","markdownify","smartcrawler","agenticscrapper","site_monitor"],"title":"ServiceType"},"SiteMonitorCreate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name","description":"Human-readable name for the monitor"},"website_url":{"type":"string","title":"Website Url","description":"URL to monitor"},"webhook_url":{"type":"string","title":"Webhook Url","description":"URL to POST webhook events to"},"cron_expression":{"type":"string","title":"Cron Expression","description":"Cron schedule (5 fields, UTC), e.g. '*/15 * * * *' for every 15 min"},"extraction_config":{"anyOf":[{"$ref":"#/components/schemas/SiteMonitorExtractionConfig"},{"type":"null"}],"description":"Optional: user_prompt and output_schema for structured extraction and diff","default":{"user_prompt":"Extract all main content and key data as structured JSON."}}},"additionalProperties":false,"type":"object","required":["website_url","webhook_url","cron_expression"],"title":"SiteMonitorCreate","description":"Request body for registering a new site monitor."},"SiteMonitorExtractionConfig":{"properties":{"user_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Prompt","description":"Prompt for extracting structured data from the page"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema","description":"JSON schema for extracted fields (enables structured diff)"}},"additionalProperties":false,"type":"object","title":"SiteMonitorExtractionConfig","description":"Optional extraction config for monitored page (smartscraper-style)."},"SiteMonitorListResponse":{"properties":{"monitors":{"items":{"$ref":"#/components/schemas/SiteMonitorResponse"},"type":"array","title":"Monitors"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"}},"type":"object","required":["monitors","total","page","page_size"],"title":"SiteMonitorListResponse","description":"Paginated list of site monitors."},"SiteMonitorResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"api_key_id":{"type":"string","format":"uuid","title":"Api Key Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"website_url":{"type":"string","title":"Website Url"},"webhook_url":{"type":"string","title":"Webhook Url"},"cron_expression":{"type":"string","title":"Cron Expression"},"extraction_config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Extraction Config"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run At"},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Run At"}},"type":"object","required":["id","user_id","api_key_id","website_url","webhook_url","cron_expression","is_active","created_at","updated_at"],"title":"SiteMonitorResponse","description":"Response for a single site monitor."},"SiteMonitorUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"cron_expression":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cron Expression"},"extraction_config":{"anyOf":[{"$ref":"#/components/schemas/SiteMonitorExtractionConfig"},{"type":"null"}]},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"additionalProperties":false,"type":"object","title":"SiteMonitorUpdate","description":"Request body for updating a site monitor (partial)."},"SitemapHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/SitemapRequestDB"},"type":"array","title":"Requests","description":"List of sitemap requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key","description":"Key for next page"}},"type":"object","required":["requests"],"title":"SitemapHistoryResponse"},"SitemapRequest":{"properties":{"website_url":{"type":"string","title":"Website Url","description":"The URL of the website to generate a sitemap for"},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false}},"type":"object","required":["website_url"],"title":"SitemapRequest"},"SitemapRequestDB":{"properties":{"request_id":{"type":"string","title":"Request Id"},"website_url":{"type":"string","title":"Website Url"},"api_key_id":{"type":"string","format":"uuid","title":"Api Key Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"status":{"type":"string","title":"Status"},"urls_count":{"type":"integer","title":"Urls Count"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["request_id","website_url","api_key_id","user_id","requested_at","status","urls_count"],"title":"SitemapRequestDB","description":"Model for storing sitemap request history in DynamoDB."},"SitemapResponse":{"properties":{"urls":{"items":{"type":"string"},"type":"array","title":"Urls","description":"The URLs found in the sitemap"},"request_id":{"type":"string","title":"Request Id","description":"The ID of the sitemap request for tracking"}},"type":"object","required":["urls","request_id"],"title":"SitemapResponse"},"SmartscraperHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/SmartscraperRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"SmartscraperHistoryResponse"},"SmartscraperRequest":{"properties":{"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url","description":"The URL of the website to scrape (optional for Smartscraper)"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","description":"Whether to render heavy JS","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stealth":{"type":"boolean","title":"Stealth","default":false},"branding":{"type":"boolean","title":"Branding","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape"},"wait_ms":{"type":"integer","title":"Wait Ms","description":"The number of milliseconds to wait before scraping the website","default":3000},"user_prompt":{"type":"string","title":"User Prompt","example":"Extract info about the company"},"website_html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Html","description":"HTML content, maximum size 2MB","example":"

Title

Content

"},"website_markdown":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Markdown","description":"Markdown content, maximum size 2MB","example":"# Title\n\nThis is some content in markdown format."},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to send with the request, including cookies and user agent","example":{"Cookie":"cookie1=value1; cookie2=value2","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}},"number_of_scrolls":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Number Of Scrolls","description":"Number of scroll operations to perform for infinite scrolling (0 = disabled, range: 1-100). Values between 1-9 will be automatically set to 10.","default":0},"total_pages":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Total Pages","description":"Total number of pages to scrape if pagination enabled","default":1},"steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Steps","description":"List of steps to actions to perform on the website"},"cookies":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Cookies","description":"Cookies to send with the request","default":{}},"plain_text":{"type":"boolean","title":"Plain Text","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"offset":{"type":"integer","title":"Offset","description":"Offset to start scraping from","default":0},"is_multipage_child":{"type":"boolean","title":"Is Multipage Child","description":"Whether this is a multi-page child request","default":false}},"type":"object","required":["user_prompt"],"title":"SmartscraperRequest"},"SmartscraperRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"webpage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Webpage Id"},"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url"},"user_prompt":{"type":"string","title":"User Prompt"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"result":{"anyOf":[{"type":"object"},{},{"type":"null"}],"title":"Result"},"status":{"$ref":"#/components/schemas/SmartscraperStatus","default":"processing"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["request_id","user_prompt","requested_at"],"title":"SmartscraperRequestDB","description":"Database model for smart scraper requests."},"SmartscraperStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"SmartscraperStatus"},"StepResult":{"properties":{"step_index":{"type":"integer","title":"Step Index"},"step_type":{"$ref":"#/components/schemas/StepType"},"success":{"type":"boolean","title":"Success"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"data":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Data"},"duration_seconds":{"type":"number","title":"Duration Seconds"}},"type":"object","required":["step_index","step_type","success","duration_seconds"],"title":"StepResult","description":"Result of a single step execution"},"StepType":{"type":"string","enum":["navigate","action","extract","loop","conditional","subworkflow","wait","extract_markdown"],"title":"StepType","description":"Types of workflow steps"},"SubWorkflowStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"subworkflow"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id","description":"ID of saved workflow to execute"},"workflow":{"anyOf":[{"$ref":"#/components/schemas/WorkflowDefinition"},{"type":"null"}],"description":"Inline workflow definition"},"input_mapping":{"additionalProperties":{"type":"string"},"type":"object","title":"Input Mapping","description":"Map parent context variables to subworkflow variables (e.g., {'url': '{{current_link}}'})"},"output_mapping":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Output Mapping","description":"Map subworkflow output variables back to parent context"}},"type":"object","title":"SubWorkflowStep","description":"Execute a subworkflow"},"TimeRange":{"type":"string","enum":["past_hour","past_24_hours","past_week","past_month","past_year"],"title":"TimeRange"},"TimelineEntry":{"properties":{"service":{"type":"string","title":"Service"},"timestamp":{"type":"string","title":"Timestamp"}},"type":"object","required":["service","timestamp"],"title":"TimelineEntry"},"UsageTimelineResponse":{"properties":{"timeline":{"items":{"$ref":"#/components/schemas/TimelineEntry"},"type":"array","title":"Timeline"}},"type":"object","required":["timeline"],"title":"UsageTimelineResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WaitStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"wait"},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration","description":"Seconds to wait"},"for_selector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"For Selector","description":"CSS selector to wait for"},"for_condition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"For Condition","description":"JavaScript condition to wait for"}},"type":"object","title":"WaitStep","description":"Wait for a condition or time"},"WorkflowDefinition":{"properties":{"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id","description":"Unique workflow identifier"},"name":{"type":"string","title":"Name","description":"Human-readable workflow name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Workflow description"},"start_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Url","description":"Initial URL to navigate to (can be overridden)"},"use_session":{"type":"boolean","title":"Use Session","description":"Whether to use persistent browser session","default":false},"steps":{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array","title":"Steps","description":"Ordered list of workflow steps"},"initial_context":{"type":"object","title":"Initial Context","description":"Initial variables/context (e.g., {'email': 'user@example.com', 'password': 'secret'})"},"output_variables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Output Variables","description":"List of variables to include in final output"}},"type":"object","required":["name","steps"],"title":"WorkflowDefinition","description":"Main workflow definition"},"WorkflowExecutionResult":{"properties":{"request_id":{"type":"string","title":"Request Id"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"},"success":{"type":"boolean","title":"Success"},"steps_executed":{"items":{"$ref":"#/components/schemas/StepResult"},"type":"array","title":"Steps Executed"},"total_duration_seconds":{"type":"number","title":"Total Duration Seconds"},"final_context":{"type":"object","title":"Final Context","description":"Final workflow context with all variables"},"output":{"type":"object","title":"Output","description":"Filtered output based on output_variables"},"final_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Url"},"final_html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Html"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","workflow_id","success","steps_executed","total_duration_seconds"],"title":"WorkflowExecutionResult","description":"Result of workflow execution"}}}} \ No newline at end of file +{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/v1/smartscraper":{"post":{"tags":["SmartScraper"],"summary":"Start Smartscraper","operationId":"start_smartscraper_v1_smartscraper_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartscraperRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletedSmartscraperResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/smartscraper/{request_id}":{"get":{"tags":["SmartScraper"],"summary":"Get Smartscraper Status","operationId":"get_smartscraper_status_v1_smartscraper__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/markdownify":{"post":{"tags":["Markdownify"],"summary":"Start Markdownify","operationId":"start_markdownify_v1_markdownify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletedMarkdownifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/markdownify/{request_id}":{"get":{"tags":["Markdownify"],"summary":"Get Markdownify Status","operationId":"get_markdownify_status_v1_markdownify__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scrape":{"post":{"tags":["Scrape"],"summary":"Scrape","operationId":"scrape_v1_scrape_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScrapeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/searchscraper":{"post":{"tags":["SearchScraper"],"summary":"Start Searchscraper","operationId":"start_searchscraper_v1_searchscraper_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchScraperRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletedSearchScraperResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/searchscraper/{request_id}":{"get":{"tags":["SearchScraper"],"summary":"Get Searchscraper Status","operationId":"get_searchscraper_status_v1_searchscraper__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/generate_schema":{"post":{"tags":["SchemaGenerator"],"summary":"Generate or modify a JSON schema based on a search query","description":"Generate a refined search prompt and a structured JSON schema for analyzing search results.\n Optionally modify an existing schema to better fit the current search query.","operationId":"start_generate_schema_v1_generate_schema_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaGenerationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/generate_schema/{request_id}":{"get":{"tags":["SchemaGenerator"],"summary":"Get Generate Schema Status","operationId":"get_generate_schema_status_v1_generate_schema__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs":{"post":{"tags":["ScheduledJobs"],"summary":"Create Scheduled Job","description":"Create a new scheduled job","operationId":"create_scheduled_job_v1_scheduled_jobs_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["ScheduledJobs"],"summary":"Fetch Scheduled Jobs","description":"Get user's scheduled jobs with pagination","operationId":"fetch_scheduled_jobs_v1_scheduled_jobs_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of jobs per page","default":20,"title":"Page Size"},"description":"Number of jobs per page"},{"name":"service_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ServiceType"},{"type":"null"}],"description":"Filter by service type","title":"Service Type"},"description":"Filter by service type"},{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by active status","title":"Is Active"},"description":"Filter by active status"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}":{"get":{"tags":["ScheduledJobs"],"summary":"Get Scheduled Job","description":"Get a specific scheduled job","operationId":"get_scheduled_job_v1_scheduled_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["ScheduledJobs"],"summary":"Update Scheduled Job","description":"Update a scheduled job","operationId":"update_scheduled_job_v1_scheduled_jobs__job_id__patch","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Job Update"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["ScheduledJobs"],"summary":"Replace Scheduled Job","operationId":"replace_scheduled_job_v1_scheduled_jobs__job_id__put","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["ScheduledJobs"],"summary":"Delete Scheduled Job","description":"Delete a scheduled job","operationId":"delete_scheduled_job_v1_scheduled_jobs__job_id__delete","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/executions":{"get":{"tags":["ScheduledJobs"],"summary":"Get Job Executions","description":"Get execution history for a scheduled job","operationId":"get_job_executions_v1_scheduled_jobs__job_id__executions_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of executions per page","default":20,"title":"Page Size"},"description":"Number of executions per page"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by execution status","title":"Status"},"description":"Filter by execution status"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobExecutionListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/pause":{"post":{"tags":["ScheduledJobs"],"summary":"Pause Scheduled Job","operationId":"pause_scheduled_job_v1_scheduled_jobs__job_id__pause_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/resume":{"post":{"tags":["ScheduledJobs"],"summary":"Resume Scheduled Job","operationId":"resume_scheduled_job_v1_scheduled_jobs__job_id__resume_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/trigger":{"post":{"tags":["ScheduledJobs"],"summary":"Trigger Job Manually","description":"Manually trigger a scheduled job\n\nRate limited to 10 triggers per minute per user to prevent abuse.","operationId":"trigger_job_manually_v1_scheduled_jobs__job_id__trigger_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobTriggerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/site-monitors":{"post":{"tags":["SiteMonitors"],"summary":"Create Monitor","description":"Register a website for monitoring. We will check on the given cron schedule and POST webhook events on content change.","operationId":"create_monitor_v1_site_monitors_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["SiteMonitors"],"summary":"List Monitors","description":"List site monitors for the current user.","operationId":"list_monitors_v1_site_monitors_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Page Size"}},{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/site-monitors/{monitor_id}":{"get":{"tags":["SiteMonitors"],"summary":"Get Monitor","description":"Get a site monitor by id.","operationId":"get_monitor_v1_site_monitors__monitor_id__get","parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","title":"Monitor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["SiteMonitors"],"summary":"Update Monitor","description":"Update a site monitor. Schedule is updated if cron or config changed.","operationId":"update_monitor_v1_site_monitors__monitor_id__patch","parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","title":"Monitor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["SiteMonitors"],"summary":"Delete Monitor","description":"Delete a site monitor and its schedule.","operationId":"delete_monitor_v1_site_monitors__monitor_id__delete","parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","title":"Monitor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/healthz":{"get":{"tags":["Health"],"summary":"Health Check","description":"Health check endpoint that includes memory monitoring","operationId":"health_check_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/credits":{"get":{"tags":["User"],"summary":"Get Credits","operationId":"get_credits_v1_credits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsResponse"}}}}}}},"/v1/validate":{"get":{"tags":["User"],"summary":"Validate Api Key","operationId":"validate_api_key_v1_validate_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Api Key V1 Validate Get"}}}}}}},"/v1/feedback":{"post":{"tags":["User"],"summary":"Submit Feedback","operationId":"submit_feedback_v1_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/product-feedback":{"post":{"tags":["User"],"summary":"Submit Product Feedback","operationId":"submit_product_feedback_v1_product_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFeedback"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFeedbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/deduct-credits":{"post":{"tags":["User"],"summary":"Deduct Credits","operationId":"deduct_credits_v1_deduct_credits_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeductCreditsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeductCreditsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/crawl":{"post":{"tags":["Crawler"],"summary":"Start Crawl","description":"Start a new crawl job.","operationId":"start_crawl_v1_crawl_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrawlJob"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/crawl/{task_id}":{"get":{"tags":["Crawler"],"summary":"Get Crawl Result","description":"Get the result of a crawl job by task ID.","operationId":"get_crawl_result_v1_crawl__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook/logs/{crawler_id}":{"get":{"tags":["Crawler"],"summary":"Get Webhook Logs","description":"Get webhook delivery logs for a crawler job.","operationId":"get_webhook_logs_v1_webhook_logs__crawler_id__get","parameters":[{"name":"crawler_id","in":"path","required":true,"schema":{"type":"string","title":"Crawler Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook/status/{webhook_id}":{"get":{"tags":["Crawler"],"summary":"Get Webhook Status","description":"Get status of a specific webhook delivery.","operationId":"get_webhook_status_v1_webhook_status__webhook_id__get","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/agentic-scrapper":{"post":{"tags":["AgenticScrapper"],"summary":"Agentic Scrapper","operationId":"agentic_scrapper_v1_agentic_scrapper_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/get-live-session-url":{"post":{"tags":["AgenticScrapper"],"summary":"Get Live Session Url","operationId":"get_live_session_url_v1_get_live_session_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperLiveSessionUrlRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperLiveSessionUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/stop-session":{"post":{"tags":["AgenticScrapper"],"summary":"Stop Session","operationId":"stop_session_v1_stop_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperStopSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/workflows/execute":{"post":{"tags":["AgenticScrapper"],"summary":"Agentic Browser V2","operationId":"agentic_browser_v2_v1_workflows_execute_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowDefinition"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowExecutionResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/markdownify":{"get":{"tags":["History"],"summary":"Get Markdownify History","description":"Get paginated history of markdownify requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n MarkdownifyHistoryResponse containing the list of requests and next page key","operationId":"get_markdownify_history_v1_history_markdownify_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownifyHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/smartscraper":{"get":{"tags":["History"],"summary":"Get Smartscraper History","description":"Get paginated history of smart scraper requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n SmartscraperHistoryResponse containing the list of requests and next page key","operationId":"get_smartscraper_history_v1_history_smartscraper_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartscraperHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/searchscraper":{"get":{"tags":["History"],"summary":"Get Searchscraper History","description":"Get paginated history of search scraper requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n SearchscraperHistoryResponse containing the list of requests and next page key","operationId":"get_searchscraper_history_v1_history_searchscraper_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchscraperHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/scrape":{"get":{"tags":["History"],"summary":"Get Scrape History","description":"Get paginated history of scrape requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n ScrapeHistoryResponse containing the list of requests and next page key","operationId":"get_scrape_history_v1_history_scrape_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScrapeHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/crawl":{"get":{"tags":["History"],"summary":"Get Crawler History","description":"Get paginated history of crawler requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n CrawlerHistoryResponse containing the list of requests and next page key","operationId":"get_crawler_history_v1_history_crawl_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrawlerHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/agentic-scraper":{"get":{"tags":["History"],"summary":"Get Agentic Scraper History","description":"Get paginated history of agentic scraper requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n next_key: Key for pagination (default: None)\n\nReturns:\n AgenticScraperHistoryResponse containing the list of requests and next page key","operationId":"get_agentic_scraper_history_v1_history_agentic_scraper_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScraperHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/sitemap":{"get":{"tags":["History"],"summary":"Get Sitemap History","description":"Get sitemap request history for the current API key.","operationId":"get_sitemap_history_v1_history_sitemap_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitemapHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sitemap":{"post":{"tags":["Sitemap"],"summary":"Generate Sitemap","operationId":"generate_sitemap_v1_sitemap_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitemapRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitemapResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/toonify":{"post":{"tags":["Toonify"],"summary":"Toonify","operationId":"toonify_v1_toonify_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/usage/timeline":{"get":{"tags":["Usage"],"summary":"Get Usage Timeline","description":"Get usage timeline with only timestamps for chart rendering.","operationId":"get_usage_timeline_v1_usage_timeline_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"anyOf":[{"enum":["7","14","30","all"],"type":"string"},{"type":"null"}],"default":"all","title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageTimelineResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/bandcamp/get-sales-feed-items":{"post":{"tags":["EndpointPoc"],"summary":"Get Sales Feed Items","operationId":"get_sales_feed_items_v1_bandcamp_get_sales_feed_items_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/bandcamp/get-item-details/":{"post":{"tags":["EndpointPoc"],"summary":"Get Sales Feed Items Details","operationId":"get_sales_feed_items_details_v1_bandcamp_get_item_details__post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/endpoint/get-suggestions":{"post":{"tags":["EndpointPoc"],"summary":"Get Suggestions","operationId":"get_suggestions_v1_endpoint_get_suggestions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndPointSuggestionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndPointSuggestionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoint/save-endpoint":{"post":{"tags":["EndpointPoc"],"summary":"Save Endpoint","operationId":"save_endpoint_v1_endpoint_save_endpoint_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndPointSuggestions"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoint/{endpoint_id}/{full_path}":{"post":{"tags":["EndpointPoc"],"summary":"Execute Endpoint","operationId":"execute_endpoint_v1_endpoint__endpoint_id___full_path__post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"full_path","in":"path","required":true,"schema":{"type":"string","title":"Full Path"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Query Params"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/query_redis_cache_by_pattern":{"post":{"tags":["Admin"],"summary":"Query Redis Cache By Pattern","operationId":"query_redis_cache_by_pattern_v1_admin_query_redis_cache_by_pattern_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRedisCacheByPatternRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/x402/{path}":{"post":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__post","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__post","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__post","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__post","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__post","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"ActionStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"action"},"action":{"type":"string","title":"Action","description":"Natural language action description (e.g., 'Click login button', 'Fill email with {{email}}')"},"observe_first":{"type":"boolean","title":"Observe First","description":"Whether to observe elements before acting","default":true}},"type":"object","required":["action"],"title":"ActionStep","description":"Perform an action on the page"},"AgenticScraperHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/AgenticScraperRequestDB"},"type":"array","title":"Requests","description":"List of agentic scraper requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key","description":"Key for next page"}},"type":"object","required":["requests"],"title":"AgenticScraperHistoryResponse"},"AgenticScraperRequestDB":{"properties":{"request_id":{"type":"string","title":"Request Id"},"user_id":{"type":"string","title":"User Id"},"webpage_id":{"type":"string","title":"Webpage Id"},"website_url":{"type":"string","title":"Website Url"},"user_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Prompt"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"status":{"$ref":"#/components/schemas/AgenticScrapperStatus"},"metadata":{"anyOf":[{},{"type":"null"}],"title":"Metadata"},"result":{"anyOf":[{},{"type":"null"}],"title":"Result"},"total_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Cost","default":0.0},"usage_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","user_id","webpage_id","website_url","requested_at","status"],"title":"AgenticScraperRequestDB","description":"DynamoDB model for agentic scraper requests."},"AgenticScrapperLiveSessionUrlRequest":{"properties":{"url":{"type":"string","title":"Url"},"timeout":{"type":"integer","title":"Timeout","description":"Timeout for the live session","default":300}},"type":"object","required":["url"],"title":"AgenticScrapperLiveSessionUrlRequest"},"AgenticScrapperLiveSessionUrlResponse":{"properties":{"session_url":{"type":"string","title":"Session Url"},"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["session_url","session_id"],"title":"AgenticScrapperLiveSessionUrlResponse"},"AgenticScrapperRequest":{"properties":{"url":{"type":"string","title":"Url"},"user_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Prompt","default":""},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema","default":{}},"steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Steps","description":"List of steps to actions to perform on the website","default":[]},"use_session":{"type":"boolean","title":"Use Session","description":"Whether to use a session to scrape the website","default":false},"ai_extraction":{"type":"boolean","title":"Ai Extraction","description":"Whether to use AI extraction to extract the information","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape (e.g. US, GB)"}},"type":"object","required":["url"],"title":"AgenticScrapperRequest"},"AgenticScrapperResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"markdown":{"type":"string","title":"Markdown"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"}},"type":"object","required":["request_id","markdown"],"title":"AgenticScrapperResponse"},"AgenticScrapperStatus":{"type":"string","enum":["queued","processing","processinghtml","processedhtml","completed","failed"],"title":"AgenticScrapperStatus","description":"Status enum for agentic scraper requests."},"AgenticScrapperStopSessionRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["session_id"],"title":"AgenticScrapperStopSessionRequest"},"CompletedMarkdownifyResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"status":{"$ref":"#/components/schemas/MarkdownifyStatus"},"website_url":{"type":"string","title":"Website Url"},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"error":{"type":"string","title":"Error","default":""}},"type":"object","required":["request_id","status","website_url"],"title":"CompletedMarkdownifyResponse"},"CompletedSearchScraperResponse":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"status":{"$ref":"#/components/schemas/SearchScraperStatus"},"user_prompt":{"type":"string","title":"User Prompt"},"num_results":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Results"},"result":{"anyOf":[{"type":"object"},{}],"title":"Result"},"reference_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Reference Urls"},"markdown_content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Markdown Content","description":"Raw markdown content when extraction_mode is False"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","status","user_prompt","result","reference_urls"],"title":"CompletedSearchScraperResponse"},"CompletedSmartscraperResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"status":{"$ref":"#/components/schemas/SmartscraperStatus"},"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url"},"user_prompt":{"type":"string","title":"User Prompt"},"result":{"anyOf":[{"type":"object"},{"type":"string"},{"type":"null"}],"title":"Result"},"error":{"type":"string","title":"Error","default":""}},"type":"object","required":["request_id","status","user_prompt"],"title":"CompletedSmartscraperResponse"},"ConditionalStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"conditional"},"condition":{"type":"string","title":"Condition","description":"Condition to evaluate (e.g., '{{index}} < 10', '{{item}} != null')"},"if_steps":{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array","title":"If Steps","description":"Steps to execute if condition is true"},"else_steps":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array"},{"type":"null"}],"title":"Else Steps","description":"Steps to execute if condition is false"}},"type":"object","required":["condition","if_steps"],"title":"ConditionalStep","description":"Conditional execution (if/else)"},"CrawlJob":{"properties":{"url":{"type":"string","title":"Url"},"depth":{"type":"integer","title":"Depth","default":1},"breadth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Breadth","description":"Maximum number of links to crawl per depth level. If None, unlimited (default). Ignored when sitemap=True."},"max_pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Pages","default":10},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Schema"},"rules":{"anyOf":[{"$ref":"#/components/schemas/CrawlJobRules"},{"type":"null"}]},"sitemap":{"type":"boolean","title":"Sitemap","default":true},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","default":false},"extraction_mode":{"type":"boolean","title":"Extraction Mode","default":true},"stealth":{"type":"boolean","title":"Stealth","description":"Enable stealth mode to avoid bot detection","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"reader_mode":{"type":"boolean","title":"Reader Mode","default":false},"wait_ms":{"type":"integer","title":"Wait Ms","default":3000},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for fetching (e.g. US, GB)"}},"type":"object","required":["url"],"title":"CrawlJob"},"CrawlJobRules":{"properties":{"exclude":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude"},"include_paths":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Include Paths","description":"List of path patterns to include (e.g., ['/products/*', '/blog/*']). If empty, all paths are included."},"exclude_paths":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Paths","description":"List of path patterns to exclude (e.g., ['/admin/*', '/api/*']). Takes precedence over include_paths."},"same_domain":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Same Domain","default":true}},"type":"object","title":"CrawlJobRules"},"CrawlStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"CrawlStatus"},"CrawlerHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/CrawlerRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"CrawlerHistoryResponse"},"CrawlerRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"url":{"type":"string","title":"Url"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"max_pages":{"type":"integer","title":"Max Pages"},"status":{"$ref":"#/components/schemas/CrawlStatus"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"total_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Cost"},"credits_used":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credits Used"},"pages_processed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pages Processed"},"crawled_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Crawled Urls"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"result_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Url"},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["request_id","user_id","url","max_pages","status","requested_at"],"title":"CrawlerRequestDB","description":"DynamoDB model for crawler requests"},"CreditsResponse":{"properties":{"remaining_credits":{"type":"integer","title":"Remaining Credits"},"total_credits_used":{"type":"integer","title":"Total Credits Used"}},"type":"object","required":["remaining_credits","total_credits_used"],"title":"CreditsResponse"},"DeductCreditsBody":{"properties":{"credits_to_deduct":{"type":"integer","title":"Credits To Deduct"}},"type":"object","required":["credits_to_deduct"],"title":"DeductCreditsBody"},"DeductCreditsResponse":{"properties":{"message":{"type":"string","title":"Message","default":"Credits deducted successfully"}},"type":"object","title":"DeductCreditsResponse"},"EndPointSuggestionRequest":{"properties":{"website_url":{"type":"string","title":"Website Url"},"prompt":{"type":"string","title":"Prompt"}},"type":"object","required":["website_url","prompt"],"title":"EndPointSuggestionRequest"},"EndPointSuggestions":{"properties":{"suggestions":{"items":{"$ref":"#/components/schemas/EndpointSuggestion"},"type":"array","title":"Suggestions"}},"type":"object","required":["suggestions"],"title":"EndPointSuggestions"},"EndPointSuggestionsResponse":{"properties":{"suggestions":{"items":{"$ref":"#/components/schemas/EndpointSuggestion"},"type":"array","title":"Suggestions"},"html_with_markdowns":{"title":"Html With Markdowns"}},"type":"object","required":["suggestions","html_with_markdowns"],"title":"EndPointSuggestionsResponse"},"EndpointParameter":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"location":{"type":"string","title":"Location"},"required":{"type":"boolean","title":"Required"},"description":{"type":"string","title":"Description"},"is_url":{"type":"boolean","title":"Is Url","default":false}},"type":"object","required":["name","type","location","required","description"],"title":"EndpointParameter"},"EndpointSuggestion":{"properties":{"endpoint":{"type":"string","title":"Endpoint"},"method":{"type":"string","title":"Method","default":"POST"},"description":{"type":"string","title":"Description"},"target_url":{"type":"string","title":"Target Url"},"parameters":{"items":{"$ref":"#/components/schemas/EndpointParameter"},"type":"array","title":"Parameters"},"pydantic_schema":{"type":"object","title":"Pydantic Schema"},"extraction_prompt":{"type":"string","title":"Extraction Prompt"},"interaction_steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Interaction Steps"}},"type":"object","required":["endpoint","description","target_url","parameters","pydantic_schema","extraction_prompt"],"title":"EndpointSuggestion"},"ExtractionStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"extract"},"instruction":{"type":"string","title":"Instruction","description":"What to extract (e.g., 'Extract all product links from the page')"},"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Schema","description":"Optional schema for structured extraction"},"save_to":{"type":"string","title":"Save To","description":"Variable name to save extracted data to (e.g., 'product_links')"}},"type":"object","required":["instruction","save_to"],"title":"ExtractionStep","description":"Extract data from the page"},"FeedbackCreate":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id","description":"ID of the request/session this feedback is for"},"rating":{"type":"integer","maximum":5.0,"minimum":0.0,"title":"Rating"},"feedback_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feedback Text"}},"type":"object","required":["request_id","rating"],"title":"FeedbackCreate"},"FeedbackResponse":{"properties":{"feedback_id":{"type":"string","format":"uuid","title":"Feedback Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"message":{"type":"string","title":"Message","default":"Feedback submitted successfully"},"feedback_timestamp":{"type":"string","format":"date-time","title":"Feedback Timestamp"}},"type":"object","required":["feedback_id","request_id","feedback_timestamp"],"title":"FeedbackResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"JobExecutionListResponse":{"properties":{"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"executions":{"items":{"$ref":"#/components/schemas/JobExecutionResponse"},"type":"array","title":"Executions"}},"type":"object","required":["total","page","page_size","executions"],"title":"JobExecutionListResponse","description":"Paginated response for job executions"},"JobExecutionResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"scheduled_job_id":{"type":"string","format":"uuid","title":"Scheduled Job Id"},"execution_id":{"type":"string","title":"Execution Id"},"status":{"type":"string","title":"Status"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"credits_used":{"type":"integer","title":"Credits Used","default":0}},"type":"object","required":["id","scheduled_job_id","execution_id","status","started_at"],"title":"JobExecutionResponse","description":"Response model for job execution details"},"JobTriggerResponse":{"properties":{"execution_id":{"type":"string","title":"Execution Id"},"message":{"type":"string","title":"Message"},"scheduled_job_id":{"type":"string","format":"uuid","title":"Scheduled Job Id"},"triggered_at":{"type":"string","format":"date-time","title":"Triggered At"}},"type":"object","required":["execution_id","message","scheduled_job_id","triggered_at"],"title":"JobTriggerResponse","description":"Response model for manual job trigger"},"LoopStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"loop"},"iterate_over":{"type":"string","title":"Iterate Over","description":"Variable name containing array to iterate over (e.g., 'product_links')"},"item_name":{"type":"string","title":"Item Name","description":"Variable name for current item in loop (e.g., 'current_link')","default":"item"},"index_name":{"type":"string","title":"Index Name","description":"Variable name for current index (e.g., 'i')","default":"index"},"steps":{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array","title":"Steps","description":"Steps to execute for each item"},"max_iterations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Iterations","description":"Maximum number of iterations (safety limit)"}},"type":"object","required":["iterate_over","steps"],"title":"LoopStep","description":"Iterate over an array"},"MarkdownExtractionStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"extract_markdown"},"save_to":{"type":"string","title":"Save To","description":"Variable name to save extracted markdown to (e.g., 'markdown')"}},"type":"object","required":["save_to"],"title":"MarkdownExtractionStep","description":"Extract markdown from the page"},"MarkdownifyHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/MarkdownifyRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"MarkdownifyHistoryResponse"},"MarkdownifyRequest":{"properties":{"website_url":{"type":"string","title":"Website Url","description":"The URL of the website to scrape"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stealth":{"type":"boolean","title":"Stealth","default":false},"branding":{"type":"boolean","title":"Branding","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape"},"wait_ms":{"type":"integer","title":"Wait Ms","description":"The number of milliseconds to wait before scraping the website","default":3000},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to send with the request, including cookies and user agent","example":{"Cookie":"cookie1=value1; cookie2=value2","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}},"steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Steps"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"}},"type":"object","required":["website_url"],"title":"MarkdownifyRequest"},"MarkdownifyRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id","description":"Unique identifier for the request"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"ID of the user who made the request"},"webpage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Webpage Id","description":"ID of the associated webpage"},"requested_at":{"type":"string","format":"date-time","title":"Requested At","description":"Timestamp when the request was made"},"status":{"$ref":"#/components/schemas/MarkdownifyRequestStatus","description":"Current status of the request"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if the request failed"},"website_url":{"type":"string","title":"Website Url","description":"URL of the website to be markdownified"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"Timestamp when the request was completed"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata","description":"Additional metadata about the request"},"usage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Usage Id","description":"ID of the associated LLM usage record"},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["status","website_url"],"title":"MarkdownifyRequestDB","description":"Pydantic model representing the markdownify_requests database table."},"MarkdownifyRequestStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"MarkdownifyRequestStatus"},"MarkdownifyStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"MarkdownifyStatus"},"NavigationStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"navigate"},"url":{"type":"string","title":"Url","description":"URL to navigate to. Supports variable interpolation: {{variable_name}}"},"wait_for":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wait For","description":"Optional selector to wait for after navigation"}},"type":"object","required":["url"],"title":"NavigationStep","description":"Navigate to a URL"},"ProductFeedback":{"properties":{"feedback_id":{"type":"string","format":"uuid","title":"Feedback Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","examples":["John Doe"]},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email","examples":["john@example.com"]},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company","examples":["XYZ Ltd"]},"how_discovered":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"How Discovered","examples":["Twitter"]},"usage_frequency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Frequency","examples":["Weekly"]},"use_cases":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Use Cases","examples":[["Web scraping","Automation"]]},"rating":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Rating"},"liked_most":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liked Most","examples":["Easy setup"]},"disliked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disliked","examples":["Pagination issues"]},"requested_features":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Features","examples":["Scheduler, dashboard analytics"]},"setup_easy":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Setup Easy","examples":[true]},"issues":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issues","examples":["Error saving graphs"]},"recommend_score":{"anyOf":[{"type":"integer","maximum":10.0,"minimum":0.0},{"type":"null"}],"title":"Recommend Score"},"improvement_suggestions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Improvement Suggestions","examples":["Better docs, faster runtime"]},"can_contact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Can Contact","examples":[true]},"contact_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Method","examples":["Email"]}},"type":"object","title":"ProductFeedback"},"ProductFeedbackResponse":{"properties":{"message":{"type":"string","title":"Message","default":"Product feedback submitted successfully"}},"type":"object","title":"ProductFeedbackResponse"},"QueryRedisCacheByPatternRequest":{"properties":{"cursor":{"type":"integer","title":"Cursor","default":0},"page_size":{"type":"integer","title":"Page Size","default":100},"pattern":{"type":"string","title":"Pattern","default":"providers_order:*"}},"type":"object","title":"QueryRedisCacheByPatternRequest"},"ScheduledJobCreate":{"properties":{"job_name":{"type":"string","maxLength":255,"minLength":1,"title":"Job Name","description":"Human-readable name for the scheduled job","strip_whitespace":true},"service_type":{"$ref":"#/components/schemas/ServiceType","description":"Type of service to run: smartscraper, searchscraper, markdownify, or smartcrawler"},"cron_expression":{"type":"string","title":"Cron Expression","description":"Standard 5-field cron expression (minute hour day month day_of_week) in UTC timezone. All times are interpreted as UTC (e.g., '0 9 * * 1' for 9 AM UTC every Monday)"},"job_config":{"type":"object","title":"Job Config","description":"Service-specific configuration that matches the service's request schema"},"is_active":{"type":"boolean","title":"Is Active","description":"Whether the job is active and should be scheduled","default":true},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"}},"additionalProperties":false,"type":"object","required":["job_name","service_type","cron_expression","job_config"],"title":"ScheduledJobCreate","description":"Model for creating scheduled jobs (required fields enforced)"},"ScheduledJobListResponse":{"properties":{"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"jobs":{"items":{"$ref":"#/components/schemas/ScheduledJobResponse"},"type":"array","title":"Jobs"}},"type":"object","required":["total","page","page_size","jobs"],"title":"ScheduledJobListResponse","description":"Paginated response for scheduled jobs"},"ScheduledJobResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"job_name":{"type":"string","title":"Job Name"},"service_type":{"$ref":"#/components/schemas/ServiceType"},"cron_expression":{"type":"string","title":"Cron Expression"},"job_config":{"type":"object","title":"Job Config"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run At"},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Run At"}},"type":"object","required":["id","user_id","job_name","service_type","cron_expression","job_config","is_active","created_at","updated_at"],"title":"ScheduledJobResponse","description":"Response model for scheduled job operations"},"SchemaGenerationRequest":{"properties":{"user_prompt":{"type":"string","title":"User Prompt","description":"The user's search query to be refined"},"existing_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Existing Schema","description":"Optional existing JSON schema to modify/extend"}},"type":"object","required":["user_prompt"],"title":"SchemaGenerationRequest","description":"Request model for schema generation"},"SchemaGenerationResponse":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"status":{"type":"string","title":"Status"},"user_prompt":{"type":"string","title":"User Prompt"},"refined_prompt":{"type":"string","title":"Refined Prompt","description":"The refined search query"},"generated_schema":{"type":"object","title":"Generated Schema","description":"The generated JSON schema"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","status","user_prompt","refined_prompt","generated_schema"],"title":"SchemaGenerationResponse","description":"Response model for schema generation"},"ScrapeHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/ScrapeRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"ScrapeHistoryResponse"},"ScrapeRequest":{"properties":{"website_url":{"type":"string","title":"Website Url","description":"The URL of the website to scrape"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","description":"Whether to render heavy JS","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stealth":{"type":"boolean","title":"Stealth","default":false},"branding":{"type":"boolean","title":"Branding","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape"},"wait_ms":{"type":"integer","title":"Wait Ms","description":"The number of milliseconds to wait before scraping the website","default":3000}},"type":"object","required":["website_url"],"title":"ScrapeRequest"},"ScrapeRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"website_url":{"type":"string","title":"Website Url"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","default":false},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"status":{"$ref":"#/components/schemas/ScrapeStatus","default":"queued"},"metadata":{"type":"object","title":"Metadata","default":{}},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"requested_at":{"type":"string","format":"date-time","title":"Requested At","default":"2026-04-08T16:11:39.012283"},"cost":{"type":"integer","title":"Cost","default":0},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["request_id","website_url"],"title":"ScrapeRequestDB","description":"DynamoDB model for scrape requests."},"ScrapeStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"ScrapeStatus","description":"Status of a scrape request."},"SearchScraperRequest":{"properties":{"user_prompt":{"type":"string","title":"User Prompt","example":"What is the latest version of Python?"},"num_results":{"type":"integer","maximum":20.0,"minimum":3.0,"title":"Num Results","description":"Number of websites to scrape (3-20). Default is 3.","default":3,"example":5},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to send with the request, including cookies and user agent","example":{"Cookie":"cookie1=value1; cookie2=value2","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"extraction_mode":{"type":"boolean","title":"Extraction Mode","description":"True for AI extraction mode, False for markdown conversion only","default":true},"markdown_mode":{"type":"boolean","title":"Markdown Mode","description":"True for markdown conversion mode, False for raw mode","default":true},"stealth":{"type":"boolean","title":"Stealth","description":"Enable stealth mode to avoid bot detection","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"location_geo_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Geo Code","description":"The geo code of the location to search in"},"time_range":{"anyOf":[{"$ref":"#/components/schemas/TimeRange"},{"type":"null"}],"description":"The date range to search in","examples":["past_hour","past_24_hours","past_week","past_month","past_year"]}},"type":"object","required":["user_prompt"],"title":"SearchScraperRequest"},"SearchScraperStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"SearchScraperStatus"},"SearchscraperHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/SearchscraperRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"SearchscraperHistoryResponse"},"SearchscraperRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_prompt":{"type":"string","title":"User Prompt"},"search_query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Query"},"extraction_query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extraction Query"},"references_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"References Urls"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"status":{"$ref":"#/components/schemas/SearchScraperStatus","default":"queued"},"metadata":{"type":"object","title":"Metadata"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["user_prompt"],"title":"SearchscraperRequestDB","description":"Database model for search scraper requests."},"ServiceType":{"type":"string","enum":["smartscraper","searchscraper","markdownify","smartcrawler","agenticscrapper","site_monitor"],"title":"ServiceType"},"SiteMonitorCreate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name","description":"Human-readable name for the monitor"},"website_url":{"type":"string","title":"Website Url","description":"URL to monitor"},"webhook_url":{"type":"string","title":"Webhook Url","description":"URL to POST webhook events to"},"cron_expression":{"type":"string","title":"Cron Expression","description":"Cron schedule (5 fields, UTC), e.g. '*/15 * * * *' for every 15 min"},"extraction_config":{"anyOf":[{"$ref":"#/components/schemas/SiteMonitorExtractionConfig"},{"type":"null"}],"description":"Optional: user_prompt and output_schema for structured extraction and diff","default":{"user_prompt":"Extract all main content and key data as structured JSON."}}},"additionalProperties":false,"type":"object","required":["website_url","webhook_url","cron_expression"],"title":"SiteMonitorCreate","description":"Request body for registering a new site monitor."},"SiteMonitorExtractionConfig":{"properties":{"user_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Prompt","description":"Prompt for extracting structured data from the page"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema","description":"JSON schema for extracted fields (enables structured diff)"}},"additionalProperties":false,"type":"object","title":"SiteMonitorExtractionConfig","description":"Optional extraction config for monitored page (smartscraper-style)."},"SiteMonitorListResponse":{"properties":{"monitors":{"items":{"$ref":"#/components/schemas/SiteMonitorResponse"},"type":"array","title":"Monitors"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"}},"type":"object","required":["monitors","total","page","page_size"],"title":"SiteMonitorListResponse","description":"Paginated list of site monitors."},"SiteMonitorResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"api_key_id":{"type":"string","format":"uuid","title":"Api Key Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"website_url":{"type":"string","title":"Website Url"},"webhook_url":{"type":"string","title":"Webhook Url"},"cron_expression":{"type":"string","title":"Cron Expression"},"extraction_config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Extraction Config"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run At"},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Run At"}},"type":"object","required":["id","user_id","api_key_id","website_url","webhook_url","cron_expression","is_active","created_at","updated_at"],"title":"SiteMonitorResponse","description":"Response for a single site monitor."},"SiteMonitorUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"cron_expression":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cron Expression"},"extraction_config":{"anyOf":[{"$ref":"#/components/schemas/SiteMonitorExtractionConfig"},{"type":"null"}]},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"additionalProperties":false,"type":"object","title":"SiteMonitorUpdate","description":"Request body for updating a site monitor (partial)."},"SitemapHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/SitemapRequestDB"},"type":"array","title":"Requests","description":"List of sitemap requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key","description":"Key for next page"}},"type":"object","required":["requests"],"title":"SitemapHistoryResponse"},"SitemapRequest":{"properties":{"website_url":{"type":"string","title":"Website Url","description":"The URL of the website to generate a sitemap for"},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false}},"type":"object","required":["website_url"],"title":"SitemapRequest"},"SitemapRequestDB":{"properties":{"request_id":{"type":"string","title":"Request Id"},"website_url":{"type":"string","title":"Website Url"},"api_key_id":{"type":"string","format":"uuid","title":"Api Key Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"status":{"type":"string","title":"Status"},"urls_count":{"type":"integer","title":"Urls Count"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["request_id","website_url","api_key_id","user_id","requested_at","status","urls_count"],"title":"SitemapRequestDB","description":"Model for storing sitemap request history in DynamoDB."},"SitemapResponse":{"properties":{"urls":{"items":{"type":"string"},"type":"array","title":"Urls","description":"The URLs found in the sitemap"},"request_id":{"type":"string","title":"Request Id","description":"The ID of the sitemap request for tracking"}},"type":"object","required":["urls","request_id"],"title":"SitemapResponse"},"SmartscraperHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/SmartscraperRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"SmartscraperHistoryResponse"},"SmartscraperRequest":{"properties":{"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url","description":"The URL of the website to scrape (optional for Smartscraper)"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","description":"Whether to render heavy JS","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stealth":{"type":"boolean","title":"Stealth","default":false},"branding":{"type":"boolean","title":"Branding","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape"},"wait_ms":{"type":"integer","title":"Wait Ms","description":"The number of milliseconds to wait before scraping the website","default":3000},"user_prompt":{"type":"string","title":"User Prompt","example":"Extract info about the company"},"website_html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Html","description":"HTML content, maximum size 2MB","example":"

Title

Content

"},"website_markdown":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Markdown","description":"Markdown content, maximum size 2MB","example":"# Title\n\nThis is some content in markdown format."},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to send with the request, including cookies and user agent","example":{"Cookie":"cookie1=value1; cookie2=value2","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}},"number_of_scrolls":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Number Of Scrolls","description":"Number of scroll operations to perform for infinite scrolling (0 = disabled, range: 1-100). Values between 1-9 will be automatically set to 10.","default":0},"total_pages":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Total Pages","description":"Total number of pages to scrape if pagination enabled","default":1},"steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Steps","description":"List of steps to actions to perform on the website"},"cookies":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Cookies","description":"Cookies to send with the request","default":{}},"plain_text":{"type":"boolean","title":"Plain Text","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"offset":{"type":"integer","title":"Offset","description":"Offset to start scraping from","default":0},"is_multipage_child":{"type":"boolean","title":"Is Multipage Child","description":"Whether this is a multi-page child request","default":false}},"type":"object","required":["user_prompt"],"title":"SmartscraperRequest"},"SmartscraperRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"webpage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Webpage Id"},"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url"},"user_prompt":{"type":"string","title":"User Prompt"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"result":{"anyOf":[{"type":"object"},{},{"type":"null"}],"title":"Result"},"status":{"$ref":"#/components/schemas/SmartscraperStatus","default":"processing"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["request_id","user_prompt","requested_at"],"title":"SmartscraperRequestDB","description":"Database model for smart scraper requests."},"SmartscraperStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"SmartscraperStatus"},"StepResult":{"properties":{"step_index":{"type":"integer","title":"Step Index"},"step_type":{"$ref":"#/components/schemas/StepType"},"success":{"type":"boolean","title":"Success"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"data":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Data"},"duration_seconds":{"type":"number","title":"Duration Seconds"}},"type":"object","required":["step_index","step_type","success","duration_seconds"],"title":"StepResult","description":"Result of a single step execution"},"StepType":{"type":"string","enum":["navigate","action","extract","loop","conditional","subworkflow","wait","extract_markdown"],"title":"StepType","description":"Types of workflow steps"},"SubWorkflowStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"subworkflow"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id","description":"ID of saved workflow to execute"},"workflow":{"anyOf":[{"$ref":"#/components/schemas/WorkflowDefinition"},{"type":"null"}],"description":"Inline workflow definition"},"input_mapping":{"additionalProperties":{"type":"string"},"type":"object","title":"Input Mapping","description":"Map parent context variables to subworkflow variables (e.g., {'url': '{{current_link}}'})"},"output_mapping":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Output Mapping","description":"Map subworkflow output variables back to parent context"}},"type":"object","title":"SubWorkflowStep","description":"Execute a subworkflow"},"TimeRange":{"type":"string","enum":["past_hour","past_24_hours","past_week","past_month","past_year"],"title":"TimeRange"},"TimelineEntry":{"properties":{"service":{"type":"string","title":"Service"},"timestamp":{"type":"string","title":"Timestamp"}},"type":"object","required":["service","timestamp"],"title":"TimelineEntry"},"UsageTimelineResponse":{"properties":{"timeline":{"items":{"$ref":"#/components/schemas/TimelineEntry"},"type":"array","title":"Timeline"}},"type":"object","required":["timeline"],"title":"UsageTimelineResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WaitStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"wait"},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration","description":"Seconds to wait"},"for_selector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"For Selector","description":"CSS selector to wait for"},"for_condition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"For Condition","description":"JavaScript condition to wait for"}},"type":"object","title":"WaitStep","description":"Wait for a condition or time"},"WorkflowDefinition":{"properties":{"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id","description":"Unique workflow identifier"},"name":{"type":"string","title":"Name","description":"Human-readable workflow name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Workflow description"},"start_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Url","description":"Initial URL to navigate to (can be overridden)"},"use_session":{"type":"boolean","title":"Use Session","description":"Whether to use persistent browser session","default":false},"steps":{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array","title":"Steps","description":"Ordered list of workflow steps"},"initial_context":{"type":"object","title":"Initial Context","description":"Initial variables/context (e.g., {'email': 'user@example.com', 'password': 'secret'})"},"output_variables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Output Variables","description":"List of variables to include in final output"}},"type":"object","required":["name","steps"],"title":"WorkflowDefinition","description":"Main workflow definition"},"WorkflowExecutionResult":{"properties":{"request_id":{"type":"string","title":"Request Id"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"},"success":{"type":"boolean","title":"Success"},"steps_executed":{"items":{"$ref":"#/components/schemas/StepResult"},"type":"array","title":"Steps Executed"},"total_duration_seconds":{"type":"number","title":"Total Duration Seconds"},"final_context":{"type":"object","title":"Final Context","description":"Final workflow context with all variables"},"output":{"type":"object","title":"Output","description":"Filtered output based on output_variables"},"final_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Url"},"final_html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Html"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","workflow_id","success","steps_executed","total_duration_seconds"],"title":"WorkflowExecutionResult","description":"Result of workflow execution"}}}} \ No newline at end of file