@clerk/types 4.62.1 → 4.63.0-canary.v20250701150047
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 +3 -0
- package/dist/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -248,6 +248,9 @@ type WithOptionalOrgType<T> = T & {
|
|
|
248
248
|
interface CommerceBillingNamespace {
|
|
249
249
|
getPaymentAttempts: (params: GetPaymentAttemptsParams) => Promise<ClerkPaginatedResponse<CommercePaymentResource>>;
|
|
250
250
|
getPlans: (params?: GetPlansParams) => Promise<CommercePlanResource[]>;
|
|
251
|
+
getPlan: (params: {
|
|
252
|
+
id: string;
|
|
253
|
+
}) => Promise<CommercePlanResource>;
|
|
251
254
|
getSubscriptions: (params: GetSubscriptionsParams) => Promise<ClerkPaginatedResponse<CommerceSubscriptionResource>>;
|
|
252
255
|
getStatements: (params: GetStatementsParams) => Promise<ClerkPaginatedResponse<CommerceStatementResource>>;
|
|
253
256
|
startCheckout: (params: CreateCheckoutParams) => Promise<CommerceCheckoutResource>;
|
package/dist/index.d.ts
CHANGED
|
@@ -248,6 +248,9 @@ type WithOptionalOrgType<T> = T & {
|
|
|
248
248
|
interface CommerceBillingNamespace {
|
|
249
249
|
getPaymentAttempts: (params: GetPaymentAttemptsParams) => Promise<ClerkPaginatedResponse<CommercePaymentResource>>;
|
|
250
250
|
getPlans: (params?: GetPlansParams) => Promise<CommercePlanResource[]>;
|
|
251
|
+
getPlan: (params: {
|
|
252
|
+
id: string;
|
|
253
|
+
}) => Promise<CommercePlanResource>;
|
|
251
254
|
getSubscriptions: (params: GetSubscriptionsParams) => Promise<ClerkPaginatedResponse<CommerceSubscriptionResource>>;
|
|
252
255
|
getStatements: (params: GetStatementsParams) => Promise<ClerkPaginatedResponse<CommerceStatementResource>>;
|
|
253
256
|
startCheckout: (params: CreateCheckoutParams) => Promise<CommerceCheckoutResource>;
|