# Merged spec generated by docs-generator.
# This document is the effective YAML behind the rendered page —
# consolidated from every file in the source directory.
# yaml-language-server: $schema=/docs/../schemas/spec.schema.json

info:
    title: Ikavia Services
    version: "1.0"
    description: |
        Hub dokumentasi API untuk seluruh ekosistem **ikavia.com**.
        Pilih service di sidebar atau lewat parameter `?p=<name>`:

        - **[Account Service](/docs?p=account)** — Auth, RBAC, organizations (Rust, REST)
        - **[Chat Service](/docs?p=chat)** — Realtime team chat, threaded (Go, REST + WebSocket)
        - **[Media Service](/docs?p=media)** — Files, storage, sharing (Rust, REST)
        - **[Notification Service](/docs?p=notification)** — Email/Telegram/WhatsApp + AMQP events (Go, gRPC + RabbitMQ)
        - **[WACCA Service](/docs?p=wacca)** — SaaS multi-tenant laundry platform (Go, REST)
    overview_cards:
        - icon: "\U0001F510"
          title: Account Service
          description: Authentication & RBAC source-of-truth
          content: |
            Login, register, JWT/session, RBAC roles, organizations, audit logs,
            service grants. SSO refresh-cookie scoped to `.ikavia.com`.
            REST API documented via OpenAPI 3.1.
        - icon: "\U0001F4AC"
          title: Chat Service
          description: Realtime team chat — REST + WebSocket
          content: |
            Channels, DM, threaded messages dengan ScyllaDB persistence + Redis
            pub/sub fan-out untuk multi-instance WS scale. JWT auth delegated
            ke account-service. Production di `chat.ikavia.com`, staging di
            `chat-dev.ikavia.com`.
        - icon: "\U0001F4C1"
          title: Media Service
          description: File upload, download, metadata
          content: |
            Storage abstraction (local FS default), MIME blocklist, per-user quota,
            folder hierarchy. Authenticates via JWT issued by account-service.
        - icon: "\U0001F514"
          title: Notification Service
          description: Multi-channel async notifications
          content: |
            Notification inbox multi-platform: ingest via RabbitMQ (store-then-send,
            idempotent), delivery via Telegram & Email (SMTP/Postfix), inbox REST API di
            `notification.ikavia.com` dengan JWT account-service.
        - icon: "\U0001F9FA"
          title: WACCA Service
          description: SaaS multi-tenant untuk bisnis laundry
          content: |
            Tenant → Outlet → Items (service/product/driver) → Prices per-outlet.
            Galeri foto via media-service, jam operasional, status buka/tutup
            real-time. JWT auth delegated ke account-service. Production di
            `wacca.ikavia.com`.
        - icon: "\U0001F4B3"
          title: Payment Service
          description: Payment gateway/adapter — charge, webhook, history
          content: |
            Adapter ke provider pembayaran (Xendit, BCA SNAP): charge/disburse,
            terima webhook provider (verifikasi signature per-adapter), dan catat
            history in/out untuk audit. Bukan billing — tanpa wallet/saldo/ledger.
            JWT auth delegated ke account-service. Di `payment.ikavia.com`
            (saat ini staging — provider creds menyusul).
theme:
    title: Ikavia Services
    logo_icon: "\U0001F6E0"
    primary_color: '#360185'
