@lifeready/core 5.0.4 → 5.0.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.
@@ -65,6 +65,8 @@ export interface UserNode extends Node {
65
65
  paymentMethods?: PaymentMethodNode[];
66
66
  billingHistory?: BillingField[];
67
67
  availablePlans?: AvailablePlanField[];
68
+ config?: JSONString;
69
+ configJson?: JSONObject;
68
70
  }
69
71
  export interface UserFeatureState extends TimeStamped {
70
72
  notificationsLastViewed?: DateTime;
@@ -682,6 +684,7 @@ export interface IssuedPlanNode extends Node, TimeStamped {
682
684
  currentPriceOption?: PriceOptionField;
683
685
  upcomingInvoice?: BillingField;
684
686
  alternativePriceOptions?: PriceOptionField[];
687
+ scheduledPriceChanges?: PriceChangeField[];
685
688
  }
686
689
  export interface IssuedPlanStateNode extends Node, TimeStamped {
687
690
  periodStart?: DateTime;
@@ -708,3 +711,7 @@ export interface BillingField {
708
711
  paid?: boolean;
709
712
  nextPaymentAttempt?: DateTime;
710
713
  }
714
+ export interface PriceChangeField {
715
+ periodStart?: DateTime;
716
+ priceOption?: PriceOptionField;
717
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifeready/core",
3
- "version": "5.0.4",
3
+ "version": "5.0.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "~10.0.5",
6
6
  "@angular/core": "~10.0.5",