Commit Graph

10 Commits

Author SHA1 Message Date
John Yeo
a6791162a1 chore: renamed attachBody and checkoutParam models to prep for new version 2025-11-26 16:27:44 +00:00
John Yeo
c6042a6041 fix: type errors 2025-11-14 10:43:17 +00:00
John Yeo
f0e08e38e0 chore: openapi for v1.2 api - customers, entities, check, track 2025-11-13 19:43:15 +00:00
amianthus
ec5b90b075 chore: 🤖 merge 2025-11-03 11:35:19 +00:00
amianthus
334d13ad94 fix: 🐛 crash 2025-10-20 11:12:29 +01:00
John Yeo
ea8658e8d2 Merge branch 'staging' into feat/api-versioning 2025-10-09 16:47:31 +01:00
John Yeo
feca672fab working on get api cus feature 2025-10-06 14:16:51 +01:00
John Yeo
3b99b79ef8 feat: working on openapi 2025-10-03 17:19:13 +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