Releases: moneydevkit/api-contract
Releases · moneydevkit/api-contract
v0.1.21
What's Changed
- refactor: add list/listPaginated pattern and reorganize schemas by @martinsaposnic in #15
Full Changelog: v0.1.20...v0.1.21
v0.1.20
What's Changed
Features
- Export
CheckoutStatusSchema,CheckoutTypeSchemafrom contracts/checkout.ts - Export
PriceAmountTypeSchemafrom schemas/product-price-input.ts
Improvements
- Use
McpCustomerSchemafor embedded customer in order/checkout contracts - Fix
mcpContract.customerto only include MCP routes (exclude getSdk) - Consolidate customer schemas for clearer naming
Full Changelog: v0.1.19...v0.1.20
v0.1.19
What's Changed
- feat: add subscription and customer schemas and contracts (MDK-401) by @NatElkins in #12
Features
- Subscription Schemas: Added
SubscriptionSchemawith status, period dates, cancellation fields, andcustomerEmail - Subscription Webhook Events: Added
SubscriptionWebhookPayloadSchemaforsubscription.created,subscription.renewed,subscription.canceled,subscription.payment_failedevents - Subscription Contracts: Added ORPC contracts for
get,createRenewalCheckout, andcanceloperations - Customer Schema (SDK): Added
CustomerSchemawith subscriptions array for SDK customer lookup - Customer Contracts (SDK): Added
customer.getcontract with flexible lookup byexternalId,email, orcustomerId - Datetime Validation: Added
.datetime()validation to ISO date fields (currentPeriodStart,currentPeriodEnd)
Full Changelog: v0.1.18...v0.1.19
v0.1.18
Features
- MCP Contracts: Added comprehensive contracts for MCP API operations
- Products: full CRUD operations (list, get, create, update, delete)
- Customers: full CRUD operations (list, get, create, update, delete)
- Orders: list and get operations
- Checkouts: list and get summary operations
- SDK/MCP Contract Exports: Added separate
sdkContractandmcpContractexports for different use cases - Shared Schemas: Added reusable schemas for products, customers, orders, and pagination
v0.1.17
What's Changed
- feat(checkout): add product selection fields (MDK-403) by @NatElkins in #11
- Add
productId,productPriceId,customAmount, andproductfields to checkout schema - Add
.max(1)validation to products array (single selection) - Remove FREE price type support (only FIXED and CUSTOM remain)
- Add
Full Changelog: v0.1.16...v0.1.17
v0.1.16
What's Changed
- feat: change product price to prices array by @NatElkins in #9
Full Changelog: v0.1.15...v0.1.16
v0.1.15
What's Changed
- feat(products): simplify to single price per product (Polar model) by @NatElkins in #8
Full Changelog: v0.1.14...v0.1.15
v0.1.14
v0.1.13
What's Changed
- Metadata Validation by @amackillop in #4
- Update dependencies to latest minor versions by @amackillop in #6
- Add customer object to checkout API by @NatElkins in #3
New Contributors
- @amackillop made their first contribution in #4
Full Changelog: v0.1.12...v0.1.13
v0.1.12
What's Changed
- add sandbox flag to PaymentReceivedInputSchema by @martinsaposnic in #2
New Contributors
- @martinsaposnic made their first contribution in #2
Full Changelog: v0.1.11...v0.1.12