@b2y/ecommerce-common 1.2.5 → 1.2.6

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.
@@ -402,7 +402,7 @@ const getTenantById = (
402
402
  {
403
403
  model: SubscriptionPlan,
404
404
  as: "SubscriptionPlan",
405
- attributes: ["SubscriptionPlanID", "PlanName", "PlanCode"],
405
+ attributes: ["SubscriptionPlanID", "PlanName", "PlanCode", "BillingCycle"],
406
406
  },
407
407
  ],
408
408
  },
@@ -462,6 +462,7 @@ const getTenantById = (
462
462
  TenantLogo: logo,
463
463
  SubscriptionPlanID: tenant.CurrentSubscription?.SubscriptionPlan?.SubscriptionPlanID,
464
464
  PlanName: tenant.CurrentSubscription?.SubscriptionPlan?.PlanName,
465
+ BillingCycle: tenant.CurrentSubscription?.SubscriptionPlan?.BillingCycle,
465
466
  TenantSubscriptionStatus: tenant.CurrentSubscription?.Status,
466
467
  StartDate: tenant.CurrentSubscription?.StartDate,
467
468
  EndDate: tenant.CurrentSubscription?.EndDate,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b2y/ecommerce-common",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "E-commerce common library",
5
5
  "main": "index.js",
6
6
  "scripts": {