@schematichq/schematic-components 2.16.0 → 2.16.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/schematic-components.cjs.js +1560 -2275
- package/dist/schematic-components.d.ts +9 -1
- package/dist/schematic-components.esm.js +1086 -1801
- package/package.json +10 -10
|
@@ -4476,6 +4476,12 @@ declare interface CompanySubscriptionResponseData {
|
|
|
4476
4476
|
* @memberof CompanySubscriptionResponseData
|
|
4477
4477
|
*/
|
|
4478
4478
|
interval: string;
|
|
4479
|
+
/**
|
|
4480
|
+
*
|
|
4481
|
+
* @type {boolean}
|
|
4482
|
+
* @memberof CompanySubscriptionResponseData
|
|
4483
|
+
*/
|
|
4484
|
+
isInitial: boolean;
|
|
4479
4485
|
/**
|
|
4480
4486
|
*
|
|
4481
4487
|
* @type {InvoiceResponseData}
|
|
@@ -12470,7 +12476,9 @@ export declare function useRequest<TData>(fn: () => Promise<{
|
|
|
12470
12476
|
/**
|
|
12471
12477
|
* Returns the currency of the company's active subscription, if any.
|
|
12472
12478
|
* Stripe does not allow mixing currencies on a subscription, so when
|
|
12473
|
-
* this is set the currency selector should be locked.
|
|
12479
|
+
* this is set the currency selector should be locked. The initial (free,
|
|
12480
|
+
* $0) plan is exempt: its subscription can be switched at checkout, so
|
|
12481
|
+
* we treat it as having no locked currency.
|
|
12474
12482
|
*/
|
|
12475
12483
|
export declare function useSubscriptionCurrency(): string | undefined;
|
|
12476
12484
|
|