@gebarbilling/types
v0.1.0
Published
Normalized GebarBilling billing domain types and schemas.
Readme
@gebarbilling/types
Domain types, DTOs, enums, and zod schemas for GEBARBILLING.
Install
pnpm add @gebarbilling/typesQuickstart
import { CreateCheckoutSessionInputSchema } from "@gebarbilling/types";
const input = CreateCheckoutSessionInputSchema.parse({
customerId: "cus_123",
planId: "plan_growth",
billingMode: "auto_recurring"
});API Summary
Exports normalized Customer, Plan, Price, Subscription, Invoice, CheckoutSession, PortalSession, BillingState, webhook event types, pagination helpers, and public DTO schemas.
Common Pitfalls
Do not put network logic in this package. Use it only for shared data contracts.
