@clerk/types 4.95.1 → 4.96.0-canary.v20251028214225
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.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -906,6 +906,10 @@ interface BillingCheckoutResource extends ClerkResource {
|
|
|
906
906
|
* The payer associated with the checkout.
|
|
907
907
|
*/
|
|
908
908
|
payer: BillingPayerResource;
|
|
909
|
+
/**
|
|
910
|
+
* Whether a payment method is required for this checkout.
|
|
911
|
+
*/
|
|
912
|
+
needsPaymentMethod: boolean;
|
|
909
913
|
}
|
|
910
914
|
/**
|
|
911
915
|
* The `BillingPayerResource` type represents a payer associated with a billing subscription.
|
|
@@ -4360,6 +4364,7 @@ interface BillingCheckoutJSON extends ClerkResourceJSON {
|
|
|
4360
4364
|
is_immediate_plan_change: boolean;
|
|
4361
4365
|
free_trial_ends_at: number | null;
|
|
4362
4366
|
payer: BillingPayerJSON;
|
|
4367
|
+
needs_payment_method: boolean;
|
|
4363
4368
|
}
|
|
4364
4369
|
/**
|
|
4365
4370
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
package/dist/index.d.ts
CHANGED
|
@@ -906,6 +906,10 @@ interface BillingCheckoutResource extends ClerkResource {
|
|
|
906
906
|
* The payer associated with the checkout.
|
|
907
907
|
*/
|
|
908
908
|
payer: BillingPayerResource;
|
|
909
|
+
/**
|
|
910
|
+
* Whether a payment method is required for this checkout.
|
|
911
|
+
*/
|
|
912
|
+
needsPaymentMethod: boolean;
|
|
909
913
|
}
|
|
910
914
|
/**
|
|
911
915
|
* The `BillingPayerResource` type represents a payer associated with a billing subscription.
|
|
@@ -4360,6 +4364,7 @@ interface BillingCheckoutJSON extends ClerkResourceJSON {
|
|
|
4360
4364
|
is_immediate_plan_change: boolean;
|
|
4361
4365
|
free_trial_ends_at: number | null;
|
|
4362
4366
|
payer: BillingPayerJSON;
|
|
4367
|
+
needs_payment_method: boolean;
|
|
4363
4368
|
}
|
|
4364
4369
|
/**
|
|
4365
4370
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|