Commit Graph

10 Commits

Author SHA1 Message Date
John Yeo
d4099508de feat: new customer object 2026-02-13 15:50:07 +00:00
John Yeo
c983807759 fix: creation of entity ID takes in a number... 2025-11-26 16:17:30 +00:00
John Yeo
a005f6d879 refactor: separate subscriptions from customer cache
- Split subscription data into separate cache keys for better performance
- Updated cache utilities to handle subscriptions independently
- Modified Lua scripts to manage separate subscription cache entries
- Updated API models and expand logic for separated subscriptions
- Fixed test utilities to match new data structure

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 10:28:02 +00:00
John Yeo
71cca85819 chore polishing up open api and plan methods 2025-11-13 12:05:16 +00:00
John Yeo
27be22b48b fix: passing all track / check test cases 2025-11-12 15:55:01 +00:00
John Yeo
6517245c51 writing tests 2025-11-08 19:31:38 +00:00
John Yeo
d76d9d2a5e fix: track entity product 2025-11-04 23:28:42 +00:00
John Yeo
9ba51d5055 wip 2025-11-04 10:56:58 +00:00
John Yeo
feca672fab working on get api cus feature 2025-10-06 14:16:51 +01:00
John Yeo
9b6f57f872 feat: Add OpenAPI schemas for Features, Entities, Core, and Customers (ENG-628)
- Created operation models and OpenAPI specs for Features (Create, Update, List, Get, Delete)
- Created operation models and OpenAPI specs for Entities (Create, List, Get, Delete)
- Created operation models and OpenAPI specs for Core endpoints (Cancel, Track, Query)
- Created operation models and OpenAPI specs for Customers (Create, Update, List, Get, Delete)
- Fixed bug: Added 'archived' field to UpdateProductV2Params
- Fixed enum usage: Changed z.enum() to z.nativeEnum() for TypeScript enums
- Updated all OpenAPI specs to use requestParams format (path/query with zod schemas)
- Created shared SuccessResponseSchema in common/commonResponses.ts
- Updated models.ts to export all new schemas and OpenAPI operations
- Changed OpenAPI export to JSON format (YAML export has serialization issues with zod schemas)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-02 14:55:58 +01:00