feat: WhatsApp contract between mobile-api, the service and the counter

Shared DTOs on both sides with identical JSON keys, the service API
constants with the access convention (the service enforces company,
owner and admin), Snowflake ids as strings towards the portal, and the
counter's WhatsApp contact type.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-12-02 11:03:56 +08:00
1 parent 3ac3e108ff
commit 6d63cc74d1
32 files changed
+332 -1

No files matched your search

@@ -0,0 +1,4 @@
package com.solvway.services.counter.dto;
/** Counter GET /counter/lead/whatsappContact response; the newest lead for the mobile. */
public record WhatsappContact(Long leadUuid, String name, Long latestSalespersonUserId) {}