Edge Functions Catalog (35 Functions)
Zero-Drift Live Reference: Deterministically extracted from
PA-IDEAS/planovi-backend/supabase/functions/*(commit188b97aon branchmain).
Summary by Functional Domain
| Functional Domain | Function Count | External Integrations Detected |
|---|---|---|
| AI & Energy Balancing | 4 | Google Gemini, InCharge API, Supabase Storage |
| Billing, Invoicing & Stripe | 5 | Supabase Storage |
| Declarations & Legal | 10 | Google Gemini, Resend Email, Supabase Storage |
| Onboarding & Account Lifecycle | 5 | Dealflow Microservice, Resend Email |
| Scheduler, Aggregators & Runtime | 6 | Google Gemini, InCharge API, Scheduler Microservice |
| Telemetry & IoT | 5 | Deno KV, InCharge API, Supabase Storage |
| Total Production Functions | 35 | Deno / Supabase Edge Runtime |
AI & Energy Balancing (4)
Function Endpoint (/functions/v1/...) | Auth Guard | Integrations | Required Env Variable Keys |
|---|---|---|---|
ai-energy-balancer | Bearer JWT / Supabase Auth | InCharge API | SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL |
fetch-energy-news | Bearer JWT / Supabase Auth | PostgREST / DB | Inherited Runtime |
jarvis | Bearer JWT / Supabase Auth | Google Gemini, Supabase Storage | ELEVENLABS_API_KEY, GEMINI_API_KEY, SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL |
process-declaration-ocr | Bearer JWT / Supabase Auth | Google Gemini, Supabase Storage | ENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL, GEMINI_API_KEY |
Billing, Invoicing & Stripe (5)
Function Endpoint (/functions/v1/...) | Auth Guard | Integrations | Required Env Variable Keys |
|---|---|---|---|
billing-calculator | Bearer JWT / Supabase Auth | PostgREST / DB | SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL |
export-csv | Bearer JWT / Supabase Auth | Supabase Storage | SUPABASE_ANON_KEY, SUPABASE_URL |
generate-invoice-pdf | Bearer JWT / Supabase Auth | Supabase Storage | SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL |
generate-monthly-invoices | Bearer JWT / Supabase Auth | PostgREST / DB | SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL |
generate-report | Bearer JWT / Supabase Auth | Supabase Storage | SUPABASE_ANON_KEY, SUPABASE_URL |
Declarations & Legal (10)
Function Endpoint (/functions/v1/...) | Auth Guard | Integrations | Required Env Variable Keys |
|---|---|---|---|
approve-declaration-schema | Bearer JWT / Supabase Auth | PostgREST / DB | ENERGY_SUPABASE_URL |
docx-to-html | Bearer JWT / Supabase Auth | PostgREST / DB | Inherited Runtime |
generate-prefilled-docx | Bearer JWT / Supabase Auth | Supabase Storage | Inherited Runtime |
generate-resolution-document | Bearer JWT / Supabase Auth | Supabase Storage | SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL |
get-company-declaration-schema | Bearer JWT / Supabase Auth | PostgREST / DB | Inherited Runtime |
get-member-declaration | Bearer JWT / Supabase Auth | PostgREST / DB | Inherited Runtime |
review-member-declaration | Bearer JWT / Supabase Auth | PostgREST / DB | Inherited Runtime |
submit-member-declaration | Bearer JWT / Supabase Auth | Google Gemini, Resend Email, Supabase Storage | ADMIN_NOTIFICATION_EMAIL, ENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL, FROM_EMAIL, GEMINI_API_KEY, RESEND_API_KEY |
update-member-declaration | Bearer JWT / Supabase Auth | PostgREST / DB | Inherited Runtime |
upload-declaration | Bearer JWT / Supabase Auth | Supabase Storage | ENERGY_SUPABASE_URL |
Onboarding & Account Lifecycle (5)
Function Endpoint (/functions/v1/...) | Auth Guard | Integrations | Required Env Variable Keys |
|---|---|---|---|
grant-portal-access | Bearer JWT / Supabase Auth | Resend Email | ENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL, FROM_EMAIL, PORTAL_URL, RESEND_API_KEY |
member-onboarding-status | Bearer JWT / Supabase Auth | PostgREST / DB | Inherited Runtime |
send-correction-request-notice | Bearer JWT / Supabase Auth | Resend Email | ENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL, FROM_EMAIL, RESEND_API_KEY |
send-onboarding-invitation | Service Secret / API Key | Resend Email, Dealflow Microservice | DEALFLOW_API_SECRET, ENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL, FROM_EMAIL, HOSTINGER_WRITER_URL, RESEND_API_KEY |
send-rejection-notice | Bearer JWT / Supabase Auth | Resend Email | ENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL, FROM_EMAIL, RESEND_API_KEY |
Scheduler, Aggregators & Runtime (6)
Function Endpoint (/functions/v1/...) | Auth Guard | Integrations | Required Env Variable Keys |
|---|---|---|---|
aggregate-daily | Bearer JWT / Supabase Auth | PostgREST / DB | ENERGY_SUPABASE_URL |
aggregate-hourly | Bearer JWT / Supabase Auth | InCharge API | ENERGY_SUPABASE_URL |
main | Bearer JWT / Supabase Auth | PostgREST / DB | Inherited Runtime |
reminder-scheduler | Bearer JWT / Supabase Auth | Scheduler Microservice | GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL |
run-scheduler | Bearer JWT / Supabase Auth | Scheduler Microservice | ENERGY_SUPABASE_URL |
tender-cron | Bearer JWT / Supabase Auth | Google Gemini | GEMINI_API_KEY, SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL |
Telemetry & IoT (5)
Function Endpoint (/functions/v1/...) | Auth Guard | Integrations | Required Env Variable Keys |
|---|---|---|---|
cleanup-telemetry | Bearer JWT / Supabase Auth | PostgREST / DB | ENERGY_SUPABASE_URL |
ingest-telemetry | Bearer JWT / Supabase Auth | InCharge API, Deno KV | INCHARGE_EMAIL, INCHARGE_PASSWORD, SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL |
process-alerts | Bearer JWT / Supabase Auth | PostgREST / DB | ENERGY_SUPABASE_SERVICE_ROLE_KEY, ENERGY_SUPABASE_URL |
process-tauron-csv | Bearer JWT / Supabase Auth | Supabase Storage | SUPABASE_SERVICE_ROLE_KEY, SUPABASE_URL |
refresh-live-state | Bearer JWT / Supabase Auth | PostgREST / DB | ENERGY_SUPABASE_URL |