Commit Graph

6 Commits

Author SHA1 Message Date
John Yeo
feca672fab working on get api cus feature 2025-10-06 14:16:51 +01:00
John Yeo
9ab609d870 feat: added api / openapi models to shared folder 2025-10-03 11:57:40 +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
John Yeo
fd7361b0bd fix: api customer schema 2025-10-02 13:48:01 +01:00
John Yeo
5fb28db4bc fixing error handling 2025-10-01 16:17:15 +01:00
John Yeo
96e0e8c2ce feat: created api product and api feature zod schemas 2025-09-30 19:08:50 +01:00