@deliverart/sdk-js-subscription 2.13.3 → 2.13.4

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/README.md CHANGED
@@ -4,6 +4,8 @@ Subscription management package for the Deliverart JavaScript SDK.
4
4
 
5
5
  ## Highlights
6
6
 
7
+ - subscription plan CRUD for backoffice/admin flows
8
+ - public catalog for purchasable subscription plans
7
9
  - subscription CRUD for `infinite`, `consumption` and `time_based`
8
10
  - renewal CRUD for `consumption` and `time_based`
9
11
  - subscription overview from point of sale
@@ -11,6 +13,16 @@ Subscription management package for the Deliverart JavaScript SDK.
11
13
  - renewal payment initialization for `stripe`, `bank_transfer`, `cash` and `credit_card`
12
14
  - manual renewal payment resolution for offline payment methods
13
15
 
16
+ ## Subscription Plan Catalog
17
+
18
+ ```ts
19
+ import { GetSubscriptionPlanCatalog } from '@deliverart/sdk-js-subscription'
20
+
21
+ const plans = await sdk.call(new GetSubscriptionPlanCatalog())
22
+ ```
23
+
24
+ Each catalog item exposes the plan configuration plus `priceOptions`, already sorted by threshold.
25
+
14
26
  ## Renewal Payment Start
15
27
 
16
28
  Consumption renewal: