Add subscription support + license extension on renewal

This commit is contained in:
Krystie
2026-08-19 12:45:06 -07:00
parent 14d0eaa2b3
commit ff722aa4d8
2075 changed files with 357707 additions and 63 deletions
+38
View File
@@ -0,0 +1,38 @@
import * as Entitlements from './Entitlements/index.js';
export interface ProductFeature {
/**
* Unique identifier for the object.
*/
id: string;
/**
* String representing the object's type. Objects of the same type share the same value.
*/
object: 'product_feature';
/**
* Always true for a deleted object
*/
deleted?: void;
/**
* A feature represents a monetizable ability or functionality in your system.
* Features can be assigned to products, and when those products are purchased, Stripe will create an entitlement to the feature for the purchasing customer.
*/
entitlement_feature: Entitlements.Feature;
/**
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
*/
livemode: boolean;
}
export interface DeletedProductFeature {
/**
* Unique identifier for the object.
*/
id: string;
/**
* String representing the object's type. Objects of the same type share the same value.
*/
object: 'product_feature';
/**
* Always true for a deleted object
*/
deleted: true;
}