@newskit-render/my-account 7.183.2 → 7.184.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.
@@ -1,4 +1,4 @@
1
- import { Subscriptions } from '../pages/types';
1
+ import { CustomerPaymentFailure, Subscriptions } from '../pages/types';
2
2
  import { SDKConfig } from '@newskit-render/feature-flags';
3
3
  export interface AttributesContext {
4
4
  headers?: {
@@ -18,6 +18,7 @@ export declare const prepareOptimizelyData: (userData?: {
18
18
  user?: {
19
19
  subscriptions?: Subscriptions[];
20
20
  cpn: string;
21
+ paymentFailure?: CustomerPaymentFailure;
21
22
  };
22
23
  }, context?: AttributesContext) => {
23
24
  [x: string]: string | boolean;
@@ -53,7 +53,7 @@ var cookiesUtils_1 = require("./cookiesUtils");
53
53
  var subscriptionsUtils_1 = require("./subscriptionsUtils");
54
54
  var config_1 = require("../config");
55
55
  var getUserAttributes = function (context, attributes) {
56
- var _a, _b, _c, _d;
56
+ var _a, _b, _c, _d, _e;
57
57
  var headers = context === null || context === void 0 ? void 0 : context.headers;
58
58
  var cookies = context === null || context === void 0 ? void 0 : context.cookies;
59
59
  return {
@@ -64,14 +64,14 @@ var getUserAttributes = function (context, attributes) {
64
64
  ? { is_voucher: attributes === null || attributes === void 0 ? void 0 : attributes.is_voucher }
65
65
  : {})), ((attributes === null || attributes === void 0 ? void 0 : attributes.contract_phase)
66
66
  ? { contract_phase: attributes === null || attributes === void 0 ? void 0 : attributes.contract_phase }
67
- : {})), { has_discount: (_b = attributes === null || attributes === void 0 ? void 0 : attributes.has_discount) !== null && _b !== void 0 ? _b : false, has_consent: (_c = attributes === null || attributes === void 0 ? void 0 : attributes.hasConsent) !== null && _c !== void 0 ? _c : false, unfilteredId: (_d = attributes === null || attributes === void 0 ? void 0 : attributes.userId) !== null && _d !== void 0 ? _d : '', cancel_subscription_variant: (cookies === null || cookies === void 0 ? void 0 : cookies.cancel_subscription_variant) || '', is_dmcc_email: Boolean(cookies === null || cookies === void 0 ? void 0 : cookies.dmcc_email_variant) || Boolean(cookies === null || cookies === void 0 ? void 0 : cookies.dmcc_pdf), is_IAP: Boolean(attributes === null || attributes === void 0 ? void 0 : attributes.appStoreId) }),
67
+ : {})), { has_discount: (_b = attributes === null || attributes === void 0 ? void 0 : attributes.has_discount) !== null && _b !== void 0 ? _b : false, has_consent: (_c = attributes === null || attributes === void 0 ? void 0 : attributes.hasConsent) !== null && _c !== void 0 ? _c : false, unfilteredId: (_d = attributes === null || attributes === void 0 ? void 0 : attributes.userId) !== null && _d !== void 0 ? _d : '', cancel_subscription_variant: (cookies === null || cookies === void 0 ? void 0 : cookies.cancel_subscription_variant) || '', is_dmcc_email: Boolean(cookies === null || cookies === void 0 ? void 0 : cookies.dmcc_email_variant) || Boolean(cookies === null || cookies === void 0 ? void 0 : cookies.dmcc_pdf), is_IAP: Boolean(attributes === null || attributes === void 0 ? void 0 : attributes.appStoreId), is_in_payment_failure: (_e = attributes === null || attributes === void 0 ? void 0 : attributes.inPaymentFailure) !== null && _e !== void 0 ? _e : false }),
68
68
  userId: (attributes === null || attributes === void 0 ? void 0 : attributes.userId) || '',
69
69
  },
70
70
  };
71
71
  };
72
72
  exports.getUserAttributes = getUserAttributes;
73
73
  var prepareOptimizelyData = function (userData, context) {
74
- var _a, _b, _c, _d, _e, _f, _g, _h;
74
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
75
75
  if (!userData) {
76
76
  return {};
77
77
  }
@@ -84,14 +84,16 @@ var prepareOptimizelyData = function (userData, context) {
84
84
  var hasDiscount = ((_d = subscription === null || subscription === void 0 ? void 0 : subscription.grantedIncentives) === null || _d === void 0 ? void 0 : _d.length)
85
85
  ? (0, subscriptionsUtils_1.hasActiveOrUpcomingDiscount)(subscription.grantedIncentives)
86
86
  : false;
87
+ var inPaymentFailure = Boolean((_f = (_e = userData.user) === null || _e === void 0 ? void 0 : _e.paymentFailure) === null || _f === void 0 ? void 0 : _f.active);
87
88
  return {
88
- mp_code: (_f = (_e = subscription === null || subscription === void 0 ? void 0 : subscription.propositionV2) === null || _e === void 0 ? void 0 : _e.code) !== null && _f !== void 0 ? _f : '',
89
+ mp_code: (_h = (_g = subscription === null || subscription === void 0 ? void 0 : subscription.propositionV2) === null || _g === void 0 ? void 0 : _g.code) !== null && _h !== void 0 ? _h : '',
89
90
  is_voucher: Boolean(subscription === null || subscription === void 0 ? void 0 : subscription.isVoucher),
90
- userId: (hasConsent && ((_g = userData.user) === null || _g === void 0 ? void 0 : _g.cpn)) || '',
91
- contract_phase: (_h = contractPhase === null || contractPhase === void 0 ? void 0 : contractPhase.type) !== null && _h !== void 0 ? _h : '',
91
+ userId: (hasConsent && ((_j = userData.user) === null || _j === void 0 ? void 0 : _j.cpn)) || '',
92
+ contract_phase: (_k = contractPhase === null || contractPhase === void 0 ? void 0 : contractPhase.type) !== null && _k !== void 0 ? _k : '',
92
93
  has_discount: hasDiscount,
93
94
  hasConsent: hasConsent,
94
95
  appStoreId: appStoreId !== null && appStoreId !== void 0 ? appStoreId : '',
96
+ inPaymentFailure: inPaymentFailure,
95
97
  };
96
98
  };
97
99
  exports.prepareOptimizelyData = prepareOptimizelyData;
@@ -1 +1 @@
1
- {"version":3,"file":"featureFlagUtils.js","sourceRoot":"","sources":["../../../src/helpers/featureFlagUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAsE;AAEtE,+CAAmD;AACnD,2DAG6B;AAE7B,oCAA8C;AASvC,IAAM,iBAAiB,GAAG,UAC/B,OAA0B,EAC1B,UAA8C;;IAE9C,IAAM,OAAO,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CAAA;IAChC,IAAM,OAAO,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CAAA;IAChC,OAAO;QACL,oBAAoB,EAAE,IAAI;QAC1B,QAAQ,EAAE,2BAA2C;QACrD,QAAQ,EAA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,SAQE,CAAA;;;;gBAEF,OAAO,CAAC,KAAK,CAAC,kCAAkC,EAAE,OAAK,CAAC,CAAA;;;;;KAE3D,CAAA;AApBY,QAAA,UAAU,cAoBtB"}
@@ -94,6 +94,7 @@ export interface Subscriptions {
94
94
  groupAccountType: null | string;
95
95
  code: string;
96
96
  appStorePropositionId: string;
97
+ hasATrialPeriod: boolean;
97
98
  };
98
99
  featureDecisions?: {
99
100
  outcome: string;
@@ -6,6 +6,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.propositionFeaturesFragment = void 0;
8
8
  var client_1 = require("@apollo/client");
9
- exports.propositionFeaturesFragment = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment propositionFeaturesFragment on Proposition {\n appStorePropositionId\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n"], ["\n fragment propositionFeaturesFragment on Proposition {\n appStorePropositionId\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n"])));
9
+ exports.propositionFeaturesFragment = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment propositionFeaturesFragment on Proposition {\n appStorePropositionId\n hasATrialPeriod\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n"], ["\n fragment propositionFeaturesFragment on Proposition {\n appStorePropositionId\n hasATrialPeriod\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n"])));
10
10
  var templateObject_1;
11
11
  //# sourceMappingURL=getPropositionFeatures.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPropositionFeatures.js","sourceRoot":"","sources":["../../../src/queries/getPropositionFeatures.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,2BAA2B,OAAG,YAAG,2SAAA,uOAY7C,KAAA"}
1
+ {"version":3,"file":"getPropositionFeatures.js","sourceRoot":"","sources":["../../../src/queries/getPropositionFeatures.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,2BAA2B,OAAG,YAAG,gUAAA,4PAa7C,KAAA"}
@@ -1,4 +1,4 @@
1
- import { Subscriptions } from '../pages/types';
1
+ import { CustomerPaymentFailure, Subscriptions } from '../pages/types';
2
2
  import { SDKConfig } from '@newskit-render/feature-flags';
3
3
  export interface AttributesContext {
4
4
  headers?: {
@@ -18,6 +18,7 @@ export declare const prepareOptimizelyData: (userData?: {
18
18
  user?: {
19
19
  subscriptions?: Subscriptions[];
20
20
  cpn: string;
21
+ paymentFailure?: CustomerPaymentFailure;
21
22
  };
22
23
  }, context?: AttributesContext) => {
23
24
  [x: string]: string | boolean;
@@ -50,7 +50,7 @@ import { hasTrackingConsent } from './cookiesUtils';
50
50
  import { findActiveContractPhase, hasActiveOrUpcomingDiscount, } from './subscriptionsUtils';
51
51
  import { optimizelyLogLevel } from '../config';
52
52
  export var getUserAttributes = function (context, attributes) {
53
- var _a, _b, _c, _d;
53
+ var _a, _b, _c, _d, _e;
54
54
  var headers = context === null || context === void 0 ? void 0 : context.headers;
55
55
  var cookies = context === null || context === void 0 ? void 0 : context.cookies;
56
56
  return {
@@ -61,13 +61,13 @@ export var getUserAttributes = function (context, attributes) {
61
61
  ? { is_voucher: attributes === null || attributes === void 0 ? void 0 : attributes.is_voucher }
62
62
  : {})), ((attributes === null || attributes === void 0 ? void 0 : attributes.contract_phase)
63
63
  ? { contract_phase: attributes === null || attributes === void 0 ? void 0 : attributes.contract_phase }
64
- : {})), { has_discount: (_b = attributes === null || attributes === void 0 ? void 0 : attributes.has_discount) !== null && _b !== void 0 ? _b : false, has_consent: (_c = attributes === null || attributes === void 0 ? void 0 : attributes.hasConsent) !== null && _c !== void 0 ? _c : false, unfilteredId: (_d = attributes === null || attributes === void 0 ? void 0 : attributes.userId) !== null && _d !== void 0 ? _d : '', cancel_subscription_variant: (cookies === null || cookies === void 0 ? void 0 : cookies.cancel_subscription_variant) || '', is_dmcc_email: Boolean(cookies === null || cookies === void 0 ? void 0 : cookies.dmcc_email_variant) || Boolean(cookies === null || cookies === void 0 ? void 0 : cookies.dmcc_pdf), is_IAP: Boolean(attributes === null || attributes === void 0 ? void 0 : attributes.appStoreId) }),
64
+ : {})), { has_discount: (_b = attributes === null || attributes === void 0 ? void 0 : attributes.has_discount) !== null && _b !== void 0 ? _b : false, has_consent: (_c = attributes === null || attributes === void 0 ? void 0 : attributes.hasConsent) !== null && _c !== void 0 ? _c : false, unfilteredId: (_d = attributes === null || attributes === void 0 ? void 0 : attributes.userId) !== null && _d !== void 0 ? _d : '', cancel_subscription_variant: (cookies === null || cookies === void 0 ? void 0 : cookies.cancel_subscription_variant) || '', is_dmcc_email: Boolean(cookies === null || cookies === void 0 ? void 0 : cookies.dmcc_email_variant) || Boolean(cookies === null || cookies === void 0 ? void 0 : cookies.dmcc_pdf), is_IAP: Boolean(attributes === null || attributes === void 0 ? void 0 : attributes.appStoreId), is_in_payment_failure: (_e = attributes === null || attributes === void 0 ? void 0 : attributes.inPaymentFailure) !== null && _e !== void 0 ? _e : false }),
65
65
  userId: (attributes === null || attributes === void 0 ? void 0 : attributes.userId) || '',
66
66
  },
67
67
  };
68
68
  };
69
69
  export var prepareOptimizelyData = function (userData, context) {
70
- var _a, _b, _c, _d, _e, _f, _g, _h;
70
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
71
71
  if (!userData) {
72
72
  return {};
73
73
  }
@@ -80,14 +80,16 @@ export var prepareOptimizelyData = function (userData, context) {
80
80
  var hasDiscount = ((_d = subscription === null || subscription === void 0 ? void 0 : subscription.grantedIncentives) === null || _d === void 0 ? void 0 : _d.length)
81
81
  ? hasActiveOrUpcomingDiscount(subscription.grantedIncentives)
82
82
  : false;
83
+ var inPaymentFailure = Boolean((_f = (_e = userData.user) === null || _e === void 0 ? void 0 : _e.paymentFailure) === null || _f === void 0 ? void 0 : _f.active);
83
84
  return {
84
- mp_code: (_f = (_e = subscription === null || subscription === void 0 ? void 0 : subscription.propositionV2) === null || _e === void 0 ? void 0 : _e.code) !== null && _f !== void 0 ? _f : '',
85
+ mp_code: (_h = (_g = subscription === null || subscription === void 0 ? void 0 : subscription.propositionV2) === null || _g === void 0 ? void 0 : _g.code) !== null && _h !== void 0 ? _h : '',
85
86
  is_voucher: Boolean(subscription === null || subscription === void 0 ? void 0 : subscription.isVoucher),
86
- userId: (hasConsent && ((_g = userData.user) === null || _g === void 0 ? void 0 : _g.cpn)) || '',
87
- contract_phase: (_h = contractPhase === null || contractPhase === void 0 ? void 0 : contractPhase.type) !== null && _h !== void 0 ? _h : '',
87
+ userId: (hasConsent && ((_j = userData.user) === null || _j === void 0 ? void 0 : _j.cpn)) || '',
88
+ contract_phase: (_k = contractPhase === null || contractPhase === void 0 ? void 0 : contractPhase.type) !== null && _k !== void 0 ? _k : '',
88
89
  has_discount: hasDiscount,
89
90
  hasConsent: hasConsent,
90
91
  appStoreId: appStoreId !== null && appStoreId !== void 0 ? appStoreId : '',
92
+ inPaymentFailure: inPaymentFailure,
91
93
  };
92
94
  };
93
95
  // Client-side tracking, only if we have consent
@@ -1 +1 @@
1
- {"version":3,"file":"featureFlagUtils.js","sourceRoot":"","sources":["../../../src/helpers/featureFlagUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAEtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACnD,OAAO,EACL,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAS9C,MAAM,CAAC,IAAM,iBAAiB,GAAG,UAC/B,OAA0B,EAC1B,UAA8C;;IAE9C,IAAM,OAAO,GAAG,OAAO,aAAP,OAAO,u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;;;gBAIF,qBAAM,KAAK,CAAC,0BAA0B,EAAE;wBACtC,MAAM,EAAE,MAAM;wBACd,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC;4BACnB,SAAS,WAAA;4BACT,IAAI,MAAA;4BACJ,GAAG,KAAA;4BACH,aAAa,eAAA;yBACd,CAAC;qBACH,CAAC,EAAA;;gBARF,SAQE,CAAA;;;;gBAEF,OAAO,CAAC,KAAK,CAAC,kCAAkC,EAAE,OAAK,CAAC,CAAA;;;;;KAE3D,CAAA"}
@@ -94,6 +94,7 @@ export interface Subscriptions {
94
94
  groupAccountType: null | string;
95
95
  code: string;
96
96
  appStorePropositionId: string;
97
+ hasATrialPeriod: boolean;
97
98
  };
98
99
  featureDecisions?: {
99
100
  outcome: string;
@@ -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 propositionFeaturesFragment = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment propositionFeaturesFragment on Proposition {\n appStorePropositionId\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n"], ["\n fragment propositionFeaturesFragment on Proposition {\n appStorePropositionId\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n"])));
6
+ export var propositionFeaturesFragment = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment propositionFeaturesFragment on Proposition {\n appStorePropositionId\n hasATrialPeriod\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n"], ["\n fragment propositionFeaturesFragment on Proposition {\n appStorePropositionId\n hasATrialPeriod\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n"])));
7
7
  var templateObject_1;
8
8
  //# sourceMappingURL=getPropositionFeatures.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPropositionFeatures.js","sourceRoot":"","sources":["../../../src/queries/getPropositionFeatures.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,2BAA2B,GAAG,GAAG,0SAAA,uOAY7C,IAAA,CAAA"}
1
+ {"version":3,"file":"getPropositionFeatures.js","sourceRoot":"","sources":["../../../src/queries/getPropositionFeatures.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,2BAA2B,GAAG,GAAG,+TAAA,4PAa7C,IAAA,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/my-account",
3
- "version": "7.183.2",
3
+ "version": "7.184.0",
4
4
  "description": "Newskit Render",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
@@ -119,5 +119,5 @@
119
119
  "publishConfig": {
120
120
  "access": "public"
121
121
  },
122
- "gitHead": "7eb3fbace1890638ac9b9a1cf61d253305a35792"
122
+ "gitHead": "4f1cefad29c3ef4f95c9c2853b76a24c13b1783a"
123
123
  }