efrilm and Claude Opus 5.5
c988a79d3b
refactor(loyalty): remove what is left of tokens
...
Tokens are EnakCoin and no app uses the token names any more, so their
compatibility layer goes:
- GET /customer/tokens and its handler, service, processor and response
types.
- total_tokens and tokens_history on GET /customer/wallet; last_updated
now comes from the most recent row of either currency.
- token_used and tokens_remaining on game and spin responses, and
sort_by=token_used on the game play list.
- TOKENS as a campaign type and reward type, with the mapping to COINS:
migration 000092 already renamed the stored values.
The customer_tokens table and its entity stay, as cmd/wallet-migrate still
reads them, and LEGACY_TOKENS stays as the reference of the MIGRATION rows
it wrote. The docs list the removed names and their replacements.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-30 16:55:27 +07:00
..
2025-09-12 15:41:08 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-08-05 19:28:38 +07:00
2026-09-30 16:55:27 +07:00
2026-08-13 14:38:28 +07:00
2026-08-13 14:38:28 +07:00
2026-08-11 21:00:39 +07:00
2025-09-12 16:37:16 +07:00
2025-09-12 15:37:19 +07:00
2025-09-18 12:01:20 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 16:55:27 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-08-13 14:38:28 +07:00
2026-08-13 14:38:28 +07:00
2026-06-03 14:56:27 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 16:55:27 +07:00
2025-09-17 19:30:17 +07:00
2025-09-17 19:30:17 +07:00
2026-08-11 21:20:17 +07:00
2025-09-12 15:37:19 +07:00
2026-08-11 21:20:17 +07:00
2025-08-14 01:35:19 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-05-10 10:57:38 +07:00
2025-09-17 19:30:17 +07:00
2026-08-11 21:20:17 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-06 17:14:42 +07:00
2026-09-30 15:31:44 +07:00
2026-04-20 12:31:33 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-05-28 13:49:57 +07:00
2026-09-06 17:29:34 +07:00
2026-06-03 13:00:50 +07:00
2026-06-08 12:29:59 +07:00
2026-08-13 14:38:28 +07:00
2026-06-18 15:27:20 +07:00
2026-04-27 21:17:12 +07:00
2025-09-17 23:55:11 +07:00
2026-09-06 17:14:42 +07:00
2026-05-10 14:52:02 +07:00
2026-08-13 14:38:28 +07:00
2025-09-17 19:30:17 +07:00
2025-09-12 15:37:19 +07:00
2026-05-10 10:42:09 +07:00
2025-09-12 01:12:11 +07:00
2025-09-12 01:12:11 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 16:55:27 +07:00
2026-09-30 16:55:27 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00
2026-09-30 15:31:44 +07:00