Rewrite all GQL queries/mutations against live schema introspection

FixVOIPService
Shipped
April 26, 2026 at 3:59 AM UTC
Author
Kamo
Commit
21666a3

Verified every field name and type against the actual FreePBX 17 schema. Full set of corrections: Queries: - fetchAllExtensions: remove non-existent 'voicemail' field from extension - fetchAllUsers → allCoreUsers { coreUser { extension name } } - fetchAllEndpoints → fetchAllCoreDevices { coreDevice { deviceId tech dial ... } } - fetchAsteriskPeers → removed entirely (field does not exist in schema) - fetchCDR → fetchAllCdrs { cdrs { ... } } (list field is 'cdrs', not 'cdr') - fetchExtension SIP credentials: sip { secret } → user { extPassword } Mutations: - addUser/updateUser/removeUser → **************** - input key is 'extension' (not 'id'), required NON_NULL dest/cid fields added - **************** → **************** - input uses id/tech/dial/devicetype (not mac/model/extension) - addExtension: added required 'email' NON_NULL field

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing