Skip to content

Edge Functions Catalog (35 Functions)

Zero-Drift Live Reference: Deterministically extracted from PA-IDEAS/planovi-backend/supabase/functions/* (commit 188b97a on branch main).

Summary by Functional Domain

Functional DomainFunction CountExternal Integrations Detected
AI & Energy Balancing4Google Gemini, InCharge API, Supabase Storage
Billing, Invoicing & Stripe5Supabase Storage
Declarations & Legal10Google Gemini, Resend Email, Supabase Storage
Onboarding & Account Lifecycle5Dealflow Microservice, Resend Email
Scheduler, Aggregators & Runtime6Google Gemini, InCharge API, Scheduler Microservice
Telemetry & IoT5Deno KV, InCharge API, Supabase Storage
Total Production Functions35Deno / Supabase Edge Runtime

AI & Energy Balancing (4)

Function Endpoint (/functions/v1/...)Auth GuardIntegrationsRequired Env Variable Keys
ai-energy-balancerBearer JWT / Supabase AuthInCharge APISUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL
fetch-energy-newsBearer JWT / Supabase AuthPostgREST / DBInherited Runtime
jarvisBearer JWT / Supabase AuthGoogle Gemini, Supabase StorageELEVENLABS_API_KEY, GEMINI_API_KEY, SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL
process-declaration-ocrBearer JWT / Supabase AuthGoogle Gemini, Supabase StorageENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL, GEMINI_API_KEY

Billing, Invoicing & Stripe (5)

Function Endpoint (/functions/v1/...)Auth GuardIntegrationsRequired Env Variable Keys
billing-calculatorBearer JWT / Supabase AuthPostgREST / DBSUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL
export-csvBearer JWT / Supabase AuthSupabase StorageSUPABASE_ANON_KEY, SUPABASE_URL
generate-invoice-pdfBearer JWT / Supabase AuthSupabase StorageSUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL
generate-monthly-invoicesBearer JWT / Supabase AuthPostgREST / DBSUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL
generate-reportBearer JWT / Supabase AuthSupabase StorageSUPABASE_ANON_KEY, SUPABASE_URL

Function Endpoint (/functions/v1/...)Auth GuardIntegrationsRequired Env Variable Keys
approve-declaration-schemaBearer JWT / Supabase AuthPostgREST / DBENERGY_SUPABASE_URL
docx-to-htmlBearer JWT / Supabase AuthPostgREST / DBInherited Runtime
generate-prefilled-docxBearer JWT / Supabase AuthSupabase StorageInherited Runtime
generate-resolution-documentBearer JWT / Supabase AuthSupabase StorageSUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL
get-company-declaration-schemaBearer JWT / Supabase AuthPostgREST / DBInherited Runtime
get-member-declarationBearer JWT / Supabase AuthPostgREST / DBInherited Runtime
review-member-declarationBearer JWT / Supabase AuthPostgREST / DBInherited Runtime
submit-member-declarationBearer JWT / Supabase AuthGoogle Gemini, Resend Email, Supabase StorageADMIN_NOTIFICATION_EMAIL, ENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL, FROM_EMAIL, GEMINI_API_KEY, RESEND_API_KEY
update-member-declarationBearer JWT / Supabase AuthPostgREST / DBInherited Runtime
upload-declarationBearer JWT / Supabase AuthSupabase StorageENERGY_SUPABASE_URL

Onboarding & Account Lifecycle (5)

Function Endpoint (/functions/v1/...)Auth GuardIntegrationsRequired Env Variable Keys
grant-portal-accessBearer JWT / Supabase AuthResend EmailENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL, FROM_EMAIL, PORTAL_URL, RESEND_API_KEY
member-onboarding-statusBearer JWT / Supabase AuthPostgREST / DBInherited Runtime
send-correction-request-noticeBearer JWT / Supabase AuthResend EmailENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL, FROM_EMAIL, RESEND_API_KEY
send-onboarding-invitationService Secret / API KeyResend Email, Dealflow MicroserviceDEALFLOW_API_SECRET, ENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL, FROM_EMAIL, HOSTINGER_WRITER_URL, RESEND_API_KEY
send-rejection-noticeBearer JWT / Supabase AuthResend EmailENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL, FROM_EMAIL, RESEND_API_KEY

Scheduler, Aggregators & Runtime (6)

Function Endpoint (/functions/v1/...)Auth GuardIntegrationsRequired Env Variable Keys
aggregate-dailyBearer JWT / Supabase AuthPostgREST / DBENERGY_SUPABASE_URL
aggregate-hourlyBearer JWT / Supabase AuthInCharge APIENERGY_SUPABASE_URL
mainBearer JWT / Supabase AuthPostgREST / DBInherited Runtime
reminder-schedulerBearer JWT / Supabase AuthScheduler MicroserviceGOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL
run-schedulerBearer JWT / Supabase AuthScheduler MicroserviceENERGY_SUPABASE_URL
tender-cronBearer JWT / Supabase AuthGoogle GeminiGEMINI_API_KEY, SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL

Telemetry & IoT (5)

Function Endpoint (/functions/v1/...)Auth GuardIntegrationsRequired Env Variable Keys
cleanup-telemetryBearer JWT / Supabase AuthPostgREST / DBENERGY_SUPABASE_URL
ingest-telemetryBearer JWT / Supabase AuthInCharge API, Deno KVINCHARGE_EMAIL, INCHARGE_PASSWORD, SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL
process-alertsBearer JWT / Supabase AuthPostgREST / DBENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL
process-tauron-csvBearer JWT / Supabase AuthSupabase StorageSUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL
refresh-live-stateBearer JWT / Supabase AuthPostgREST / DBENERGY_SUPABASE_URL