WellNuo/wellnuoSheme/03_DiscussionQuestions.json
Sergei 074433f164 Sync all changes - profile restructure and scheme updates
- Restructured profile screens location
- Updated beneficiary detail page
- Updated API service
- Updated all scheme files (MainScheme, ENV API, Discussion, AppStore, SysAnal)
- Added PageHeader component

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 16:48:07 -08:00

297 lines
7.9 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"_meta": {
"name": "Questions",
"updatedAt": "2025-12-13T00:32:53.373Z"
},
"elements": [
{
"id": "header",
"type": "card",
"title": "Discussion Questions",
"borderColor": "purple",
"tags": [
"overview"
],
"description": "Questions for WellNuo team (EluxNetworks)",
"x": 140,
"y": 300
},
{
"id": "q_webview_ui",
"type": "card",
"title": "WebView UI Cleanup",
"borderColor": "yellow",
"tags": [
"integration"
],
"description": "Can you remove from the browser version:\n\n1. Header «Dashboard Details»\n2. Navigation arrows (← →)\n3. Logout button\n\nReason: Embedding in WebView, have own navigation.\n\nOption: ?embedded=true parameter",
"x": 520,
"y": 120
},
{
"id": "q_api_access",
"type": "card",
"title": "API Self-Development",
"borderColor": "yellow",
"tags": [
"integration"
],
"description": "Can I get access to API/backend development?\n\nReason: Many new endpoints needed, requirements will change frequently during development",
"x": 520,
"y": 300
},
{
"id": "api_yes",
"type": "card",
"title": "Yes - access granted",
"borderColor": "green",
"tags": [
"decision"
],
"description": "Get access to repository and database or create missing APIs.\nImplement endpoints ourselves.",
"x": 900,
"y": 209.1699981689453
},
{
"id": "api_no",
"type": "card",
"title": "No - need specifications",
"borderColor": "red",
"tags": [
"decision"
],
"description": "Then need detailed list of API endpoints for EluxNetworks team to implement.\n\nSee Missing API chain",
"x": 900,
"y": 380
},
{
"id": "missing_api_header",
"type": "card",
"title": "Missing API",
"borderColor": "orange",
"tags": [
"api"
],
"description": "List of endpoints that need to be implemented for full mobile app functionality.",
"x": 1280,
"y": 380
},
{
"id": "api_auth",
"type": "card",
"title": "Auth: Registration",
"borderColor": "blue",
"tags": [
"api",
"auth"
],
"description": "POST /api/auth/register\n\nRequest:\n{\n username: string\n email: string\n password: string\n name: string\n phone?: string\n}\n\nResponse:\n{\n user_id: number\n username: string\n token: string\n refresh_token: string\n}\n\n⚠ QUESTION: How to activate email?\n- Code to email?\n- Confirmation link?\n- No confirmation?\nNeed to discuss verification flow.",
"x": 1660,
"y": 80
},
{
"id": "api_password_reset",
"type": "card",
"title": "Auth: Password Recovery",
"borderColor": "blue",
"tags": [
"api",
"auth"
],
"description": "POST /api/auth/forgot-password\n{\n email: string\n}\n\nPOST /api/auth/reset-password\n{\n token: string\n new_password: string\n}\n\nResponse: { success: boolean }",
"x": 1660,
"y": 220
},
{
"id": "api_subscription",
"type": "card",
"title": "Billing: Subscription",
"borderColor": "green",
"tags": [
"api",
"billing"
],
"description": "GET /api/subscription/plans\nList of plans\n\nPOST /api/subscription/subscribe\n{\n plan_id: string\n payment_method: string\n}\n\nGET /api/subscription/status\nCurrent subscription, expiration date\n\nPOST /api/subscription/cancel",
"x": 1660,
"y": 360
},
{
"id": "api_payment",
"type": "card",
"title": "Billing: Payment",
"borderColor": "green",
"tags": [
"api",
"billing"
],
"description": "POST /api/payment/create-intent\n{\n amount: number\n currency: string\n}\nStripe/Apple Pay intent\n\nGET /api/payment/history\nPayment history\n\nPOST /api/payment/add-card\nAdd payment method",
"x": 1659.046142578125,
"y": 463.7543029785156
},
{
"id": "api_beneficiary",
"type": "card",
"title": "Beneficiary: CRUD",
"borderColor": "teal",
"tags": [
"api",
"beneficiary"
],
"description": "POST /api/beneficiaries\n{\n name: string\n relationship: string\n address?: string\n emergency_contact?: string\n}\n\nPUT /api/beneficiaries/:id\nDELETE /api/beneficiaries/:id\n\nPOST /api/beneficiaries/:id/invite\nInvite another family member",
"x": 2040,
"y": 80
},
{
"id": "api_order",
"type": "card",
"title": "Order: Product Order",
"borderColor": "teal",
"tags": [
"api",
"order"
],
"description": "GET /api/products\nSensor/hub catalog\n\nPOST /api/orders\n{\n items: [{product_id, qty}]\n shipping_address: Address\n beneficiary_id?: number\n}\n\nGET /api/orders/:id\nOrder status, tracking",
"x": 2040,
"y": 220
},
{
"id": "api_notifications",
"type": "card",
"title": "Notifications: Push",
"borderColor": "pink",
"tags": [
"api",
"notifications"
],
"description": "POST /api/notifications/register-device\n{\n token: string (FCM/APNs)\n platform: ios | android\n}\n\nGET /api/notifications/settings\nPUT /api/notifications/settings\n{\n alerts: boolean\n daily_report: boolean\n quiet_hours: {start, end}\n}",
"x": 2040,
"y": 500
},
{
"id": "api_profile",
"type": "card",
"title": "Profile: User Profile",
"borderColor": "gray",
"tags": [
"api",
"profile"
],
"description": "GET /api/profile\nPUT /api/profile\n{\n name: string\n email: string\n phone?: string\n avatar_url?: string\n language: string\n timezone: string\n}\n\nPOST /api/profile/change-password\nDELETE /api/profile (удаление аккаунта)",
"x": 2023.0888671875,
"y": 365.1834411621094
}
],
"connections": [
{
"from": "header",
"to": "q_webview_ui"
},
{
"from": "header",
"to": "q_api_access"
},
{
"from": "q_api_access",
"to": "api_yes",
"label": "Да"
},
{
"from": "q_api_access",
"to": "api_no",
"label": "Нет"
},
{
"from": "api_no",
"to": "missing_api_header"
},
{
"from": "missing_api_header",
"to": "api_auth"
},
{
"from": "missing_api_header",
"to": "api_password_reset"
},
{
"from": "missing_api_header",
"to": "api_subscription"
},
{
"from": "missing_api_header",
"to": "api_payment"
},
{
"from": "missing_api_header",
"to": "api_beneficiary"
},
{
"from": "missing_api_header",
"to": "api_order"
},
{
"from": "missing_api_header",
"to": "api_notifications"
},
{
"from": "missing_api_header",
"to": "api_profile"
}
],
"tagsDictionary": [
{
"id": "tag-overview",
"name": "overview",
"color": "purple"
},
{
"id": "tag-integration",
"name": "integration",
"color": "yellow"
},
{
"id": "tag-decision",
"name": "decision",
"color": "green"
},
{
"id": "tag-api",
"name": "api",
"color": "orange"
},
{
"id": "tag-auth",
"name": "auth",
"color": "blue"
},
{
"id": "tag-billing",
"name": "billing",
"color": "green"
},
{
"id": "tag-beneficiary",
"name": "beneficiary",
"color": "teal"
},
{
"id": "tag-order",
"name": "order",
"color": "teal"
},
{
"id": "tag-support",
"name": "support",
"color": "pink"
},
{
"id": "tag-notifications",
"name": "notifications",
"color": "pink"
},
{
"id": "tag-profile",
"name": "profile",
"color": "gray"
}
]
}