@newskit-render/my-account 7.101.0-alpha.0 → 7.101.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.
@@ -66,7 +66,7 @@ var Vouchers = function (_a) {
66
66
  var _e = (0, react_1.useState)(false), loading = _e[0], setLoading = _e[1];
67
67
  var router = (0, router_1.useRouter)();
68
68
  var _f = (0, context_1.useAccountContext)(types_1.ContextName.editField), data = _f.data, handleError = _f.handleError, handleSuccess = _f.handleSuccess, handleLoading = _f.handleLoading, errorMessages = _f.errorMessages, genericErrorMessage = _f.genericErrorMessage, baseUrl = _f.baseUrl, isFooterVisible = _f.isFooterVisible;
69
- var nextVoucherBookletDueDate = (0, dataUtils_1.getEditField)(data, 'nextVoucherBookletDueDate').value;
69
+ var nextVoucherBookletDueDate = (0, dataUtils_1.getEditField)(data, 'fulfilmentPeriodStartDate').value;
70
70
  var address = (0, dataUtils_1.getEditField)(data, 'address').value;
71
71
  var subscriptionId = (0, dataUtils_1.getEditField)(data, 'subscriptionId').value;
72
72
  var handleFormSuccess = function () {
@@ -173,7 +173,7 @@ var getDefaultItemValue = function (data, type, placeholder, context) {
173
173
  return placeholder;
174
174
  }
175
175
  case 'vouchersStartDate': {
176
- var nextVoucherBookletDueDate = (0, lodash_get_1.default)(data, 'subscriptions[0].nextVoucherBookletDueDate');
176
+ var nextVoucherBookletDueDate = (0, lodash_get_1.default)(data, 'subscriptions[0].fulfilmentPeriodStartDate');
177
177
  var formattedVoucherBookletDate = nextVoucherBookletDueDate &&
178
178
  (0, exports.formateDate)(nextVoucherBookletDueDate, {
179
179
  day: 'numeric',
@@ -118,7 +118,7 @@ var handleEditFieldResponseData = function (responseData, context) {
118
118
  if (currentEditField === 'vouchers') {
119
119
  var user = {
120
120
  subscriptionId: userData.subscriptions[0].id,
121
- nextVoucherBookletDueDate: userData.subscriptions[0].nextVoucherBookletDueDate || '',
121
+ nextVoucherBookletDueDate: userData.subscriptions[0].fulfilmentPeriodStartDate || '',
122
122
  address: userData.address,
123
123
  };
124
124
  mappedFields = (0, providerUtils_1.processEditFieldObject)(user);
@@ -100,7 +100,7 @@ export interface Subscriptions {
100
100
  type: string;
101
101
  packName: string;
102
102
  deliveryInformation: string;
103
- nextVoucherBookletDueDate?: string;
103
+ fulfilmentPeriodStartDate?: string;
104
104
  nextVoucherInsGenerationDate?: string;
105
105
  dtc?: boolean;
106
106
  propositionCode: string | null;
@@ -32,7 +32,7 @@ var buildQueryBody = function (_a) {
32
32
  return (0, client_1.gql)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n fragment ", " on User {\n holidayStops {\n id,\n startDate,\n endDate,\n status\n }\n }\n "], ["\n fragment ", " on User {\n holidayStops {\n id,\n startDate,\n endDate,\n status\n }\n }\n "])), fragmentName);
33
33
  }
34
34
  if (currentEditField === 'vouchers') {
35
- return (0, client_1.gql)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n fragment ", " on User {\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n isActive\n startDate\n id\n nextVoucherBookletDueDate\n }\n }\n "], ["\n fragment ", " on User {\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n isActive\n startDate\n id\n nextVoucherBookletDueDate\n }\n }\n "])), fragmentName);
35
+ return (0, client_1.gql)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n fragment ", " on User {\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n isActive\n startDate\n id\n nextVoucherBookletDueDate\n fulfilmentPeriodStartDate\n }\n }\n "], ["\n fragment ", " on User {\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n isActive\n startDate\n id\n nextVoucherBookletDueDate\n fulfilmentPeriodStartDate\n }\n }\n "])), fragmentName);
36
36
  }
37
37
  return (0, client_1.gql)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n fragment ", " on User {\n ", "\n }\n "], ["\n fragment ", " on User {\n ", "\n }\n "])), fragmentName, fields.join('\n'));
38
38
  };
@@ -1 +1 @@
1
- {"version":3,"file":"getEditField.js","sourceRoot":"","sources":["../../../src/queries/getEditField.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAClD,sCAA8C;AAC9C,oCAAqC;AAE9B,IAAM,cAAc,GAAG,UAAC,EAM9B;QALC,MAAM,YAAA,EACN,gBAAgB,sBAAA;IAKhB,IAAM,YAAY,GAAG,IAAA,2BAAiB,EAAC,gBAAgB,CAAC,CAAA;IACxD,IAAM,cAAc,GAAG,kBAAS,KAAK,cAAc,CAAA;IAEnD,IAAI,cAAc,EAAE,CAAC;QACnB,IAAM,gBAAgB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAA;QAE3D,IAAI,gBAAgB,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC;YAChD,WAAO,YAAG,4PAAA,qBACG,EAAY,iKAQxB,KARY,YAAY,EAQxB;QACH,CAAC;IACH,CAAC;IACD,IACE,gBAAgB,KAAK,0BAA0B;QAC/C,gBAAgB,KAAK,aAAa,EAClC,CAAC;QACD,WAAO,YAAG,yWAAA,mBACG,EAAY,gRAaxB,KAbY,YAAY,EAaxB;IACH,CAAC;IAED,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,WAAO,YAAG,ubAAA,mBACG,EAAY,8VAoBxB,KApBY,YAAY,EAoBxB;IACH,CAAC;IAED,IAAI,gBAAgB,KAAK,uBAAuB,EAAE,CAAC;QACjD,WAAO,YAAG,qMAAA,mBACG,EAAY,4GAMxB,KANY,YAAY,EAMxB;IACH,CAAC;IAED,IAAI,gBAAgB,KAAK,cAAc,EAAE,CAAC;QACxC,WAAO,YAAG,gNAAA,iBACC,EAAY,yHAQxB,KARY,YAAY,EAQxB;IACD,CAAC;IAED,IAAI,gBAAgB,KAAK,UAAU,EAAE,CAAC;QACpC,WAAO,YAAG,2cAAA,mBACG,EAAY,kXAoBxB,KApBY,YAAY,EAoBxB;IACH,CAAC;IAED,WAAO,YAAG,0HAAA,iBACG,EAAY,oBACnB,EAAiB,aAEtB,KAHY,YAAY,EACnB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAEtB;AACH,CAAC,CAAA;AA9HY,QAAA,cAAc,kBA8H1B"}
1
+ {"version":3,"file":"getEditField.js","sourceRoot":"","sources":["../../../src/queries/getEditField.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAClD,sCAA8C;AAC9C,oCAAqC;AAE9B,IAAM,cAAc,GAAG,UAAC,EAM9B;QALC,MAAM,YAAA,EACN,gBAAgB,sBAAA;IAKhB,IAAM,YAAY,GAAG,IAAA,2BAAiB,EAAC,gBAAgB,CAAC,CAAA;IACxD,IAAM,cAAc,GAAG,kBAAS,KAAK,cAAc,CAAA;IAEnD,IAAI,cAAc,EAAE,CAAC;QACnB,IAAM,gBAAgB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAA;QAE3D,IAAI,gBAAgB,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC;YAChD,WAAO,YAAG,4PAAA,qBACG,EAAY,iKAQxB,KARY,YAAY,EAQxB;QACH,CAAC;IACH,CAAC;IACD,IACE,gBAAgB,KAAK,0BAA0B;QAC/C,gBAAgB,KAAK,aAAa,EAClC,CAAC;QACD,WAAO,YAAG,yWAAA,mBACG,EAAY,gRAaxB,KAbY,YAAY,EAaxB;IACH,CAAC;IAED,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,WAAO,YAAG,ubAAA,mBACG,EAAY,8VAoBxB,KApBY,YAAY,EAoBxB;IACH,CAAC;IAED,IAAI,gBAAgB,KAAK,uBAAuB,EAAE,CAAC;QACjD,WAAO,YAAG,qMAAA,mBACG,EAAY,4GAMxB,KANY,YAAY,EAMxB;IACH,CAAC;IAED,IAAI,gBAAgB,KAAK,cAAc,EAAE,CAAC;QACxC,WAAO,YAAG,gNAAA,iBACC,EAAY,yHAQxB,KARY,YAAY,EAQxB;IACD,CAAC;IAED,IAAI,gBAAgB,KAAK,UAAU,EAAE,CAAC;QACpC,WAAO,YAAG,8eAAA,mBACG,EAAY,qZAqBxB,KArBY,YAAY,EAqBxB;IACH,CAAC;IAED,WAAO,YAAG,0HAAA,iBACG,EAAY,oBACnB,EAAiB,aAEtB,KAHY,YAAY,EACnB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAEtB;AACH,CAAC,CAAA;AA/HY,QAAA,cAAc,kBA+H1B"}
@@ -7,6 +7,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.GET_USER_SUBSCRIPTION = void 0;
8
8
  var client_1 = require("@apollo/client");
9
9
  var getInvoiceHistory_1 = require("./getInvoiceHistory");
10
- exports.GET_USER_SUBSCRIPTION = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n proposition {\n code\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n nextVoucherBookletDueDate\n nextVoucherInsGenerationDate\n dtc\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n }\n"], ["\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n proposition {\n code\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n nextVoucherBookletDueDate\n nextVoucherInsGenerationDate\n dtc\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n }\n"])), getInvoiceHistory_1.invoiceHistoryFields);
10
+ exports.GET_USER_SUBSCRIPTION = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n proposition {\n code\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n fulfilmentPeriodStartDate\n nextVoucherInsGenerationDate\n dtc\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n }\n"], ["\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n proposition {\n code\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n fulfilmentPeriodStartDate\n nextVoucherInsGenerationDate\n dtc\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n }\n"])), getInvoiceHistory_1.invoiceHistoryFields);
11
11
  var templateObject_1;
12
12
  //# sourceMappingURL=getUserSubscription.js.map
@@ -38,7 +38,7 @@ var Vouchers = function (_a) {
38
38
  var _e = useState(false), loading = _e[0], setLoading = _e[1];
39
39
  var router = useRouter();
40
40
  var _f = useAccountContext(ContextName.editField), data = _f.data, handleError = _f.handleError, handleSuccess = _f.handleSuccess, handleLoading = _f.handleLoading, errorMessages = _f.errorMessages, genericErrorMessage = _f.genericErrorMessage, baseUrl = _f.baseUrl, isFooterVisible = _f.isFooterVisible;
41
- var nextVoucherBookletDueDate = getEditField(data, 'nextVoucherBookletDueDate').value;
41
+ var nextVoucherBookletDueDate = getEditField(data, 'fulfilmentPeriodStartDate').value;
42
42
  var address = getEditField(data, 'address').value;
43
43
  var subscriptionId = getEditField(data, 'subscriptionId').value;
44
44
  var handleFormSuccess = function () {
@@ -165,7 +165,7 @@ export var getDefaultItemValue = function (data, type, placeholder, context) {
165
165
  return placeholder;
166
166
  }
167
167
  case 'vouchersStartDate': {
168
- var nextVoucherBookletDueDate = get(data, 'subscriptions[0].nextVoucherBookletDueDate');
168
+ var nextVoucherBookletDueDate = get(data, 'subscriptions[0].fulfilmentPeriodStartDate');
169
169
  var formattedVoucherBookletDate = nextVoucherBookletDueDate &&
170
170
  formateDate(nextVoucherBookletDueDate, {
171
171
  day: 'numeric',
@@ -114,7 +114,7 @@ var handleEditFieldResponseData = function (responseData, context) {
114
114
  if (currentEditField === 'vouchers') {
115
115
  var user = {
116
116
  subscriptionId: userData.subscriptions[0].id,
117
- nextVoucherBookletDueDate: userData.subscriptions[0].nextVoucherBookletDueDate || '',
117
+ nextVoucherBookletDueDate: userData.subscriptions[0].fulfilmentPeriodStartDate || '',
118
118
  address: userData.address,
119
119
  };
120
120
  mappedFields = processEditFieldObject(user);
@@ -100,7 +100,7 @@ export interface Subscriptions {
100
100
  type: string;
101
101
  packName: string;
102
102
  deliveryInformation: string;
103
- nextVoucherBookletDueDate?: string;
103
+ fulfilmentPeriodStartDate?: string;
104
104
  nextVoucherInsGenerationDate?: string;
105
105
  dtc?: boolean;
106
106
  propositionCode: string | null;
@@ -29,7 +29,7 @@ export var buildQueryBody = function (_a) {
29
29
  return gql(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n fragment ", " on User {\n holidayStops {\n id,\n startDate,\n endDate,\n status\n }\n }\n "], ["\n fragment ", " on User {\n holidayStops {\n id,\n startDate,\n endDate,\n status\n }\n }\n "])), fragmentName);
30
30
  }
31
31
  if (currentEditField === 'vouchers') {
32
- return gql(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n fragment ", " on User {\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n isActive\n startDate\n id\n nextVoucherBookletDueDate\n }\n }\n "], ["\n fragment ", " on User {\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n isActive\n startDate\n id\n nextVoucherBookletDueDate\n }\n }\n "])), fragmentName);
32
+ return gql(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n fragment ", " on User {\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n isActive\n startDate\n id\n nextVoucherBookletDueDate\n fulfilmentPeriodStartDate\n }\n }\n "], ["\n fragment ", " on User {\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n isActive\n startDate\n id\n nextVoucherBookletDueDate\n fulfilmentPeriodStartDate\n }\n }\n "])), fragmentName);
33
33
  }
34
34
  return gql(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n fragment ", " on User {\n ", "\n }\n "], ["\n fragment ", " on User {\n ", "\n }\n "])), fragmentName, fields.join('\n'));
35
35
  };
@@ -1 +1 @@
1
- {"version":3,"file":"getEditField.js","sourceRoot":"","sources":["../../../src/queries/getEditField.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAgB,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC,MAAM,CAAC,IAAM,cAAc,GAAG,UAAC,EAM9B;QALC,MAAM,YAAA,EACN,gBAAgB,sBAAA;IAKhB,IAAM,YAAY,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,CAAA;IACxD,IAAM,cAAc,GAAG,SAAS,KAAK,cAAc,CAAA;IAEnD,IAAI,cAAc,EAAE,CAAC;QACnB,IAAM,gBAAgB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAA;QAE3D,IAAI,gBAAgB,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC;YAChD,OAAO,GAAG,2PAAA,qBACG,EAAY,iKAQxB,KARY,YAAY,EAQxB;QACH,CAAC;IACH,CAAC;IACD,IACE,gBAAgB,KAAK,0BAA0B;QAC/C,gBAAgB,KAAK,aAAa,EAClC,CAAC;QACD,OAAO,GAAG,wWAAA,mBACG,EAAY,gRAaxB,KAbY,YAAY,EAaxB;IACH,CAAC;IAED,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,OAAO,GAAG,sbAAA,mBACG,EAAY,8VAoBxB,KApBY,YAAY,EAoBxB;IACH,CAAC;IAED,IAAI,gBAAgB,KAAK,uBAAuB,EAAE,CAAC;QACjD,OAAO,GAAG,oMAAA,mBACG,EAAY,4GAMxB,KANY,YAAY,EAMxB;IACH,CAAC;IAED,IAAI,gBAAgB,KAAK,cAAc,EAAE,CAAC;QACxC,OAAO,GAAG,+MAAA,iBACC,EAAY,yHAQxB,KARY,YAAY,EAQxB;IACD,CAAC;IAED,IAAI,gBAAgB,KAAK,UAAU,EAAE,CAAC;QACpC,OAAO,GAAG,0cAAA,mBACG,EAAY,kXAoBxB,KApBY,YAAY,EAoBxB;IACH,CAAC;IAED,OAAO,GAAG,yHAAA,iBACG,EAAY,oBACnB,EAAiB,aAEtB,KAHY,YAAY,EACnB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAEtB;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"getEditField.js","sourceRoot":"","sources":["../../../src/queries/getEditField.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAgB,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC,MAAM,CAAC,IAAM,cAAc,GAAG,UAAC,EAM9B;QALC,MAAM,YAAA,EACN,gBAAgB,sBAAA;IAKhB,IAAM,YAAY,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,CAAA;IACxD,IAAM,cAAc,GAAG,SAAS,KAAK,cAAc,CAAA;IAEnD,IAAI,cAAc,EAAE,CAAC;QACnB,IAAM,gBAAgB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAA;QAE3D,IAAI,gBAAgB,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC;YAChD,OAAO,GAAG,2PAAA,qBACG,EAAY,iKAQxB,KARY,YAAY,EAQxB;QACH,CAAC;IACH,CAAC;IACD,IACE,gBAAgB,KAAK,0BAA0B;QAC/C,gBAAgB,KAAK,aAAa,EAClC,CAAC;QACD,OAAO,GAAG,wWAAA,mBACG,EAAY,gRAaxB,KAbY,YAAY,EAaxB;IACH,CAAC;IAED,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,OAAO,GAAG,sbAAA,mBACG,EAAY,8VAoBxB,KApBY,YAAY,EAoBxB;IACH,CAAC;IAED,IAAI,gBAAgB,KAAK,uBAAuB,EAAE,CAAC;QACjD,OAAO,GAAG,oMAAA,mBACG,EAAY,4GAMxB,KANY,YAAY,EAMxB;IACH,CAAC;IAED,IAAI,gBAAgB,KAAK,cAAc,EAAE,CAAC;QACxC,OAAO,GAAG,+MAAA,iBACC,EAAY,yHAQxB,KARY,YAAY,EAQxB;IACD,CAAC;IAED,IAAI,gBAAgB,KAAK,UAAU,EAAE,CAAC;QACpC,OAAO,GAAG,6eAAA,mBACG,EAAY,qZAqBxB,KArBY,YAAY,EAqBxB;IACH,CAAC;IAED,OAAO,GAAG,yHAAA,iBACG,EAAY,oBACnB,EAAiB,aAEtB,KAHY,YAAY,EACnB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAEtB;AACH,CAAC,CAAA"}
@@ -4,6 +4,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
4
4
  };
5
5
  import { gql } from '@apollo/client';
6
6
  import { invoiceHistoryFields } from './getInvoiceHistory';
7
- export var GET_USER_SUBSCRIPTION = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n proposition {\n code\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n nextVoucherBookletDueDate\n nextVoucherInsGenerationDate\n dtc\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n }\n"], ["\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n proposition {\n code\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n nextVoucherBookletDueDate\n nextVoucherInsGenerationDate\n dtc\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n }\n"])), invoiceHistoryFields);
7
+ export var GET_USER_SUBSCRIPTION = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n proposition {\n code\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n fulfilmentPeriodStartDate\n nextVoucherInsGenerationDate\n dtc\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n }\n"], ["\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n proposition {\n code\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n fulfilmentPeriodStartDate\n nextVoucherInsGenerationDate\n dtc\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n }\n"])), invoiceHistoryFields);
8
8
  var templateObject_1;
9
9
  //# sourceMappingURL=getUserSubscription.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/my-account",
3
- "version": "7.101.0-alpha.0",
3
+ "version": "7.101.0",
4
4
  "description": "Newskit Render",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
@@ -34,7 +34,7 @@
34
34
  "@emotion/styled": "11.9.3",
35
35
  "@hookform/resolvers": "2.9.10",
36
36
  "@newskit-render/api": "^1.15.2",
37
- "@newskit-render/shared-components": "^4.46.1",
37
+ "@newskit-render/shared-components": "^4.46.2",
38
38
  "@newskit-render/validation": "^1.19.2",
39
39
  "@stripe/react-stripe-js": "2.1.1",
40
40
  "@stripe/stripe-js": "1.54.1",