use std::collections::HashMap;
use std::time::Duration;
use reqwest::header::HeaderMap;
use serde::{Deserialize, Serialize};
pub mod vercel;
pub mod traits;
mod github;
pub mod supabase;
#[derive(Debug, Serialize, Deserialize)]
pub enum Method {
GET,
POST,
PUT,
DELETE,
PATCH,
HEAD,
OPTIONS,
CONNECT,
TRACE,
}
#[derive(Debug, Serialize, Deserialize)]
pub struct Request {
bearer_auth: Option<String>,
url: String,
body: Option<String>,
json: Option<serde_json::Value>,
method: Method,
query: Option<serde_json::Value>,
headers: Option<HashMap<String, String>>,
cookies: Option<HashMap<String, String>>,
timeout: Option<Duration>,
}