@newskit-render/my-account 0.157.1 → 0.158.0

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.
@@ -75,6 +75,7 @@ export interface PastDueBanner {
75
75
  terminated: Notice;
76
76
  cancelled: Notice;
77
77
  toBeCancelled: Notice;
78
+ toBeCancelledWithRefund: Notice;
78
79
  treshold: PastDueBannerTreshold;
79
80
  }
80
81
  interface BaseContextOptionsWithUserData extends BaseContextOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/context/types.ts"],"names":[],"mappings":";;;AA2MA,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,kDAAqC,CAAA;IACrC,gEAAmD,CAAA;IACnD,4DAA+C,CAAA;IAC/C,kCAAqB,CAAA;IACrB,sCAAyB,CAAA;IACzB,4CAA+B,CAAA;IAC/B,8BAAiB,CAAA;AACnB,CAAC,EARW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAQtB"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/context/types.ts"],"names":[],"mappings":";;;AA4MA,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,kDAAqC,CAAA;IACrC,gEAAmD,CAAA;IACnD,4DAA+C,CAAA;IAC/C,kCAAqB,CAAA;IACrB,sCAAyB,CAAA;IACzB,4CAA+B,CAAA;IAC/B,8BAAiB,CAAA;AACnB,CAAC,EARW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAQtB"}
@@ -6,6 +6,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.GET_USER_PAYMENT_INFO = void 0;
8
8
  var client_1 = require("@apollo/client");
9
- exports.GET_USER_PAYMENT_INFO = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserPaymentInfo on User {\n paymentFailure {\n active\n startDate\n }\n subscriptions {\n serviceCancellationDate\n billingDetails {\n paymentMethod {\n type\n }\n }\n }\n }\n"], ["\n fragment UserPaymentInfo on User {\n paymentFailure {\n active\n startDate\n }\n subscriptions {\n serviceCancellationDate\n billingDetails {\n paymentMethod {\n type\n }\n }\n }\n }\n"])));
9
+ exports.GET_USER_PAYMENT_INFO = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserPaymentInfo on User {\n paymentFailure {\n active\n startDate\n }\n subscriptions {\n serviceCancellationDate\n startDate\n status\n billingDetails {\n paymentMethod {\n type\n }\n }\n }\n }\n"], ["\n fragment UserPaymentInfo on User {\n paymentFailure {\n active\n startDate\n }\n subscriptions {\n serviceCancellationDate\n startDate\n status\n billingDetails {\n paymentMethod {\n type\n }\n }\n }\n }\n"])));
10
10
  var templateObject_1;
11
11
  //# sourceMappingURL=getPaymentInfo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPaymentInfo.js","sourceRoot":"","sources":["../../../src/queries/getPaymentInfo.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,qBAAqB,OAAG,YAAG,+TAAA,2PAevC,KAAA"}
1
+ {"version":3,"file":"getPaymentInfo.js","sourceRoot":"","sources":["../../../src/queries/getPaymentInfo.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,qBAAqB,OAAG,YAAG,8VAAA,0RAiBvC,KAAA"}
@@ -75,6 +75,7 @@ export interface PastDueBanner {
75
75
  terminated: Notice;
76
76
  cancelled: Notice;
77
77
  toBeCancelled: Notice;
78
+ toBeCancelledWithRefund: Notice;
78
79
  treshold: PastDueBannerTreshold;
79
80
  }
80
81
  interface BaseContextOptionsWithUserData extends BaseContextOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/context/types.ts"],"names":[],"mappings":"AA2MA,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,kDAAqC,CAAA;IACrC,gEAAmD,CAAA;IACnD,4DAA+C,CAAA;IAC/C,kCAAqB,CAAA;IACrB,sCAAyB,CAAA;IACzB,4CAA+B,CAAA;IAC/B,8BAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/context/types.ts"],"names":[],"mappings":"AA4MA,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,kDAAqC,CAAA;IACrC,gEAAmD,CAAA;IACnD,4DAA+C,CAAA;IAC/C,kCAAqB,CAAA;IACrB,sCAAyB,CAAA;IACzB,4CAA+B,CAAA;IAC/B,8BAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB"}
@@ -3,6 +3,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
3
3
  return cooked;
4
4
  };
5
5
  import { gql } from '@apollo/client';
6
- export var GET_USER_PAYMENT_INFO = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserPaymentInfo on User {\n paymentFailure {\n active\n startDate\n }\n subscriptions {\n serviceCancellationDate\n billingDetails {\n paymentMethod {\n type\n }\n }\n }\n }\n"], ["\n fragment UserPaymentInfo on User {\n paymentFailure {\n active\n startDate\n }\n subscriptions {\n serviceCancellationDate\n billingDetails {\n paymentMethod {\n type\n }\n }\n }\n }\n"])));
6
+ export var GET_USER_PAYMENT_INFO = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserPaymentInfo on User {\n paymentFailure {\n active\n startDate\n }\n subscriptions {\n serviceCancellationDate\n startDate\n status\n billingDetails {\n paymentMethod {\n type\n }\n }\n }\n }\n"], ["\n fragment UserPaymentInfo on User {\n paymentFailure {\n active\n startDate\n }\n subscriptions {\n serviceCancellationDate\n startDate\n status\n billingDetails {\n paymentMethod {\n type\n }\n }\n }\n }\n"])));
7
7
  var templateObject_1;
8
8
  //# sourceMappingURL=getPaymentInfo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPaymentInfo.js","sourceRoot":"","sources":["../../../src/queries/getPaymentInfo.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,qBAAqB,GAAG,GAAG,8TAAA,2PAevC,IAAA,CAAA"}
1
+ {"version":3,"file":"getPaymentInfo.js","sourceRoot":"","sources":["../../../src/queries/getPaymentInfo.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,qBAAqB,GAAG,GAAG,6VAAA,0RAiBvC,IAAA,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/my-account",
3
- "version": "0.157.1",
3
+ "version": "0.158.0",
4
4
  "description": "Newskit Render",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
@@ -35,7 +35,7 @@
35
35
  "@apollo/client": "3.4.16",
36
36
  "@hookform/resolvers": "2.5.2",
37
37
  "@newskit-render/api": "^0.23.0",
38
- "@newskit-render/shared-components": "^0.50.1",
38
+ "@newskit-render/shared-components": "^0.51.0",
39
39
  "@newskit-render/validation": "^0.39.2",
40
40
  "@stripe/react-stripe-js": "1.4.1",
41
41
  "@stripe/stripe-js": "1.17.0",