async function main() { const authRes = await fetch('https://auth.ghaymah.systems/signin/email-password', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ email: 'ziadalex2003@gmail.com', password: '2062003Mz*' }) }); const { session } = await authRes.json(); const token = session.accessToken; const userId = session.user.id; const res = await fetch('https://graphql.ghaymah.systems/v1/graphql', { method: 'POST', headers: { 'Authorization': 'Bearer ' + token, 'Content-Type': 'application/json' }, body: JSON.stringify({ query: `query GetResources($userId: uuid) { ghaymah_cloud_resources(where: { user_id: { _eq: $userId }, deleted: { _eq: false } }) { id chart_name status values message } }`, variables: { userId } }) }); const data = await res.json(); for (const r of data.data.ghaymah_cloud_resources) { if (r.values?.name === 'auth-deploy') { console.log('=== AUTH-DEPLOY FULL VALUES ==='); console.log(JSON.stringify(r.values, null, 2)); } } } main().catch(console.error);