# uttamnadh/qiplus architecture

> Architecture diagram of the GitHub repository uttamnadh/qiplus, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/uttamnadh/qiplus
- Repository: https://github.com/uttamnadh/qiplus

## Overview

QiPlus E2E is a Playwright page-object automation suite for the merchant onboarding and approval lifecycle. Its documented happy path authenticates an onboarding officer, completes the eight-step application and submits it, then has Compliance review and forward the record before a final approver activates it. The README also describes screening gates and alternate hold, clarification and rejection decisions. Test specs and fixture implementations are not present in the supplied tree, so workflow links are based on README statements; sampled page objects show step helpers and shared wizard behavior.

Main entry points: [`pages/wizard/base-wizard.page.ts`](https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/base-wizard.page.ts) (Wizard controls), [`pages/login.page.ts`](https://github.com/uttamnadh/qiplus/blob/main/pages/login.page.ts) (Role login), [`pages/wizard/step1-profile.page.ts`](https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step1-profile.page.ts) (Profile), [`pages/wizard/step3-ownership.page.ts`](https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step3-ownership.page.ts) (Shareholders)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_auth["Access"]
  node_login["Role login<br/>[login.page.ts]"]
end

subgraph group_onboarding["Onboarding"]
  node_wizardbase["Wizard controls"]
  node_profile["Profile"]
  node_business["Business details"]
  node_ownership["Shareholders"]
  node_ubos["UBO details<br/>[step4-ubos.page.ts]"]
  node_signatories["Signatories"]
  node_banking["Banking"]
  node_documents["Documents"]
  node_submission["Review submission"]
end

subgraph group_review["Review lifecycle"]
  node_compliance["Compliance review"]
  node_screening{{"eMcREY screening"}}
  node_approver["Final approval"]
  node_merchant[("Active merchant")]
end

subgraph group_operations["Role tools"]
  node_dashboard["Dashboard navigation<br/>[dashboard.page.ts]"]
  node_metrics["Dashboard metrics"]
  node_auditor["Auditor view<br/>[auditor.page.ts]"]
  node_users["User management"]
end

node_operator(("Test operator"))
node_officer(("Onboarding officer"))

node_operator -->|"starts session"| node_login
node_officer -->|"authenticates as"| node_login
node_login -->|"opens onboarding"| node_profile
node_profile -->|"continues wizard"| node_business
node_business -->|"continues wizard"| node_ownership
node_ownership -->|"continues wizard"| node_ubos
node_ubos -->|"continues wizard"| node_signatories
node_signatories -->|"continues wizard"| node_banking
node_banking -->|"continues wizard"| node_documents
node_documents -->|"continues wizard"| node_submission
node_submission -->|"submits record"| node_compliance
node_compliance -->|"screening gate"| node_screening
node_screening -->|"clears record"| node_approver
node_approver -->|"activates merchant"| node_merchant
node_wizardbase -->|"provides controls"| node_profile
node_wizardbase -->|"provides controls"| node_ownership
node_wizardbase -->|"provides controls"| node_ubos
node_wizardbase -->|"provides controls"| node_documents
node_wizardbase -->|"provides controls"| node_submission
node_dashboard -.->|"shows metrics"| node_metrics

click node_login "https://github.com/uttamnadh/qiplus/blob/main/pages/login.page.ts"
click node_wizardbase "https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/base-wizard.page.ts"
click node_profile "https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step1-profile.page.ts"
click node_business "https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step2-business.page.ts"
click node_ownership "https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step3-ownership.page.ts"
click node_ubos "https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step4-ubos.page.ts"
click node_signatories "https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step5-signatories.page.ts"
click node_banking "https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step6-banking.page.ts"
click node_documents "https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step7-documents.page.ts"
click node_submission "https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step8-review.page.ts"
click node_compliance "https://github.com/uttamnadh/qiplus/blob/main/pages/compliance-queue.page.ts"
click node_approver "https://github.com/uttamnadh/qiplus/blob/main/pages/approval-queue.page.ts"
click node_dashboard "https://github.com/uttamnadh/qiplus/blob/main/pages/dashboard.page.ts"
click node_metrics "https://github.com/uttamnadh/qiplus/blob/main/pages/dashboard-kpi.page.ts"
click node_auditor "https://github.com/uttamnadh/qiplus/blob/main/pages/auditor.page.ts"
click node_users "https://github.com/uttamnadh/qiplus/blob/main/pages/user-management.page.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_login toneBlue
class node_wizardbase,node_profile,node_business,node_ownership,node_ubos,node_signatories,node_banking,node_documents,node_submission toneAmber
class node_compliance,node_screening,node_approver,node_merchant toneMint
class node_dashboard,node_metrics,node_auditor,node_users toneRose
class node_operator,node_officer toneIndigo
```

## Components

### Access

- [Role login](https://github.com/uttamnadh/qiplus/blob/main/pages/login.page.ts): `pages/login.page.ts`

### Onboarding

- [Wizard controls](https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/base-wizard.page.ts): `pages/wizard/base-wizard.page.ts`
- [Profile](https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step1-profile.page.ts): `pages/wizard/step1-profile.page.ts`
- [Business details](https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step2-business.page.ts): `pages/wizard/step2-business.page.ts`
- [Shareholders](https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step3-ownership.page.ts): `pages/wizard/step3-ownership.page.ts`
- [UBO details](https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step4-ubos.page.ts): `pages/wizard/step4-ubos.page.ts`
- [Signatories](https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step5-signatories.page.ts): `pages/wizard/step5-signatories.page.ts`
- [Banking](https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step6-banking.page.ts): `pages/wizard/step6-banking.page.ts`
- [Documents](https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step7-documents.page.ts): `pages/wizard/step7-documents.page.ts`
- [Review submission](https://github.com/uttamnadh/qiplus/blob/main/pages/wizard/step8-review.page.ts): `pages/wizard/step8-review.page.ts`

### Review lifecycle

- [Compliance review](https://github.com/uttamnadh/qiplus/blob/main/pages/compliance-queue.page.ts): `pages/compliance-queue.page.ts`
- **eMcREY screening**
- [Final approval](https://github.com/uttamnadh/qiplus/blob/main/pages/approval-queue.page.ts): `pages/approval-queue.page.ts`
- **Active merchant**

### Role tools

- [Dashboard navigation](https://github.com/uttamnadh/qiplus/blob/main/pages/dashboard.page.ts): `pages/dashboard.page.ts`
- [Dashboard metrics](https://github.com/uttamnadh/qiplus/blob/main/pages/dashboard-kpi.page.ts): `pages/dashboard-kpi.page.ts`
- [Auditor view](https://github.com/uttamnadh/qiplus/blob/main/pages/auditor.page.ts): `pages/auditor.page.ts`
- [User management](https://github.com/uttamnadh/qiplus/blob/main/pages/user-management.page.ts): `pages/user-management.page.ts`

### Other components

- **Test operator**
- **Onboarding officer**

## Connections

- Test operator → Role login: starts session (evidence: `README.md`)
- Onboarding officer → Role login: authenticates as (evidence: `README.md`)
- Role login → Profile: opens onboarding (evidence: `README.md`)
- Profile → Business details: continues wizard (evidence: `README.md`)
- Business details → Shareholders: continues wizard (evidence: `README.md`)
- Shareholders → UBO details: continues wizard (evidence: `README.md`)
- UBO details → Signatories: continues wizard (evidence: `README.md`)
- Signatories → Banking: continues wizard (evidence: `README.md`)
- Banking → Documents: continues wizard (evidence: `README.md`)
- Documents → Review submission: continues wizard (evidence: `README.md`)
- Review submission → Compliance review: submits record (evidence: `README.md`)
- Compliance review → eMcREY screening: screening gate (evidence: `README.md`)
- eMcREY screening → Final approval: clears record (evidence: `README.md`)
- Final approval → Active merchant: activates merchant (evidence: `README.md`)
- Wizard controls → Profile: provides controls (evidence: `pages/wizard/step1-profile.page.ts`)
- Wizard controls → Shareholders: provides controls (evidence: `pages/wizard/step3-ownership.page.ts`)
- Wizard controls → UBO details: provides controls (evidence: `pages/wizard/step4-ubos.page.ts`)
- Wizard controls → Documents: provides controls (evidence: `pages/wizard/step7-documents.page.ts`)
- Wizard controls → Review submission: provides controls (evidence: `pages/wizard/step8-review.page.ts`)
- Dashboard navigation → Dashboard metrics: shows metrics
