@owostack/types 0.3.0 → 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.
- package/dist/index.d.ts +3 -0
- 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;
|