You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/backend/src/api/endpoints/BillingApi.ts
+5-10Lines changed: 5 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,7 @@ type ExtendSubscriptionItemFreeTrialParams = {
33
33
34
34
exportclassBillingAPIextendsAbstractAPI{
35
35
/**
36
-
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
37
-
* It is advised to pin the SDK version to avoid breaking changes.
36
+
* @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.
@@ -45,8 +44,7 @@ export class BillingAPI extends AbstractAPI {
45
44
}
46
45
47
46
/**
48
-
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
49
-
* It is advised to pin the SDK version to avoid breaking changes.
47
+
* @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.
@@ -58,8 +56,7 @@ export class BillingAPI extends AbstractAPI {
58
56
}
59
57
60
58
/**
61
-
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
62
-
* It is advised to pin the SDK version to avoid breaking changes.
59
+
* @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.
63
60
*/
64
61
publicasyncextendSubscriptionItemFreeTrial(
65
62
subscriptionItemId: string,
@@ -74,8 +71,7 @@ export class BillingAPI extends AbstractAPI {
74
71
}
75
72
76
73
/**
77
-
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
78
-
* It is advised to pin the SDK version to avoid breaking changes.
74
+
* @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.
@@ -86,8 +82,7 @@ export class BillingAPI extends AbstractAPI {
86
82
}
87
83
88
84
/**
89
-
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
90
-
* It is advised to pin the SDK version to avoid breaking changes.
85
+
* @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.
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
58
-
* It is advised to pin the SDK version to avoid breaking changes.
57
+
* @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.
Copy file name to clipboardExpand all lines: packages/backend/src/api/resources/CommercePlan.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ import { Feature } from './Feature';
4
4
importtype{CommercePlanJSON}from'./JSON';
5
5
6
6
/**
7
-
* The `CommercePlan` object is similar to the [`CommercePlanResource`](/docs/references/javascript/types/commerce-plan-resource) object as it holds information about a plan, as well as methods for managing it. However, the `CommercePlan` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/commerce/get/commerce/plans){{ target: '_blank' }} and is not directly accessible from the Frontend API.
7
+
* The `CommercePlan` object is similar to the [`CommercePlanResource`](/docs/references/javascript/types/commerce-plan-resource) object as it holds information about a plan, as well as methods for managing it. However, the `CommercePlan` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/commerce/get/commerce/plans) and is not directly accessible from the Frontend API.
8
8
*
9
-
* @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 the SDK version to avoid breaking changes.
9
+
* @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.
Copy file name to clipboardExpand all lines: packages/backend/src/api/resources/CommerceSubscription.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ import { CommerceSubscriptionItem } from './CommerceSubscriptionItem';
4
4
importtype{CommerceSubscriptionJSON}from'./JSON';
5
5
6
6
/**
7
-
* The `CommerceSubscription` object is similar to the [`CommerceSubscriptionResource`](/docs/references/javascript/types/commerce-subscription-resource) object as it holds information about a subscription, as well as methods for managing it. However, the `CommerceSubscription` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/billing/get/organizations/%7Borganization_id%7D/billing/subscription){{ target: '_blank' }} and is not directly accessible from the Frontend API.
7
+
* The `CommerceSubscription` object is similar to the [`CommerceSubscriptionResource`](/docs/references/javascript/types/commerce-subscription-resource) object as it holds information about a subscription, as well as methods for managing it. However, the `CommerceSubscription` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/billing/get/organizations/%7Borganization_id%7D/billing/subscription) and is not directly accessible from the Frontend API.
8
8
*
9
-
* @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 the SDK version to avoid breaking changes.
9
+
* @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.
* The `CommerceSubscriptionItem` object is similar to the [`CommerceSubscriptionItemResource`](/docs/references/javascript/types/commerce-subscription-item-resource) object as it holds information about a subscription item, as well as methods for managing it. However, the `CommerceSubscriptionItem` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/commerce/get/commerce/subscription_items){{ target: '_blank' }} and is not directly accessible from the Frontend API.
7
+
* The `CommerceSubscriptionItem` object is similar to the [`CommerceSubscriptionItemResource`](/docs/references/javascript/types/commerce-subscription-item-resource) object as it holds information about a subscription item, as well as methods for managing it. However, the `CommerceSubscriptionItem` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/commerce/get/commerce/subscription_items) and is not directly accessible from the Frontend API.
8
8
*
9
-
* @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 the SDK version to avoid breaking changes.
9
+
* @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.
Copy file name to clipboardExpand all lines: packages/backend/src/api/resources/Feature.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ import type { FeatureJSON } from './JSON';
3
3
/**
4
4
* The `Feature` object represents a feature of a subscription plan.
5
5
*
6
-
* @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 the SDK version to avoid breaking changes.
6
+
* @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.
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
832
-
* It is advised to pin the SDK version to avoid breaking changes.
831
+
* @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.
@@ -860,8 +859,7 @@ type CommerceSubscriptionItemStatus =
860
859
|'upcoming';
861
860
862
861
/**
863
-
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
864
-
* It is advised to pin the SDK version to avoid breaking changes.
862
+
* @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.
0 commit comments