@owostack/types 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -553,6 +553,8 @@ interface PlanDefinition {
553
553
  currency: Currency;
554
554
  /** Billing interval */
555
555
  interval: PlanInterval;
556
+ /** Whether this plan is recurring or one-time */
557
+ billingType: "recurring" | "one_time";
556
558
  /** Features included in this plan */
557
559
  features: PlanFeatureEntry[];
558
560
  /** Plan group for upgrade/downgrade logic */
@@ -782,6 +784,7 @@ interface SyncPayload {
782
784
  price: number;
783
785
  currency: Currency;
784
786
  interval: PlanInterval;
787
+ billingType?: "recurring" | "one_time";
785
788
  planGroup?: string;
786
789
  trialDays?: number;
787
790
  provider?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owostack/types",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Shared TypeScript types for Owostack",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {