@newskit-render/my-account 0.105.2 → 0.107.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.
Files changed (257) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/Components/Elements/Head/Head.js +12 -7
  3. package/dist/Components/Elements/Head/Head.js.map +1 -1
  4. package/dist/Components/Elements/Head/index.js +7 -2
  5. package/dist/Components/Elements/Head/index.js.map +1 -1
  6. package/dist/Components/Elements/Head/type.js +2 -1
  7. package/dist/Components/Elements/Loqate/Loqate.js +14 -7
  8. package/dist/Components/Elements/Loqate/Loqate.js.map +1 -1
  9. package/dist/Components/Elements/Loqate/index.js +13 -1
  10. package/dist/Components/Elements/Loqate/index.js.map +1 -1
  11. package/dist/Components/Elements/PastDueBanner/PastDueBanner.js +53 -46
  12. package/dist/Components/Elements/PastDueBanner/PastDueBanner.js.map +1 -1
  13. package/dist/Components/Elements/PastDueBanner/PastDueBannerExternal.js +22 -14
  14. package/dist/Components/Elements/PastDueBanner/PastDueBannerExternal.js.map +1 -1
  15. package/dist/Components/Elements/PastDueBanner/helpers.js +16 -10
  16. package/dist/Components/Elements/PastDueBanner/helpers.js.map +1 -1
  17. package/dist/Components/Elements/PastDueBanner/index.js +11 -4
  18. package/dist/Components/Elements/PastDueBanner/index.js.map +1 -1
  19. package/dist/Components/Elements/PastDueBanner/types.js +2 -1
  20. package/dist/Components/Elements/PaymentIcon/PaymentIcon.js +76 -69
  21. package/dist/Components/Elements/PaymentIcon/PaymentIcon.js.map +1 -1
  22. package/dist/Components/Elements/PaymentIcon/index.js +18 -3
  23. package/dist/Components/Elements/PaymentIcon/index.js.map +1 -1
  24. package/dist/Components/Elements/PaymentIcon/types.js +2 -1
  25. package/dist/Components/Elements/Select/Select.js +12 -7
  26. package/dist/Components/Elements/Select/Select.js.map +1 -1
  27. package/dist/Components/Elements/Select/index.js +7 -2
  28. package/dist/Components/Elements/Select/index.js.map +1 -1
  29. package/dist/Components/Elements/SkipToContent/SkipToContent.js +12 -5
  30. package/dist/Components/Elements/SkipToContent/SkipToContent.js.map +1 -1
  31. package/dist/Components/Elements/SkipToContent/index.js +13 -1
  32. package/dist/Components/Elements/SkipToContent/index.js.map +1 -1
  33. package/dist/Components/Elements/StandaloneLinkComponent/StandaloneLinkComponent.js +17 -10
  34. package/dist/Components/Elements/StandaloneLinkComponent/StandaloneLinkComponent.js.map +1 -1
  35. package/dist/Components/Elements/StandaloneLinkComponent/index.js +14 -2
  36. package/dist/Components/Elements/StandaloneLinkComponent/index.js.map +1 -1
  37. package/dist/Components/Elements/StandaloneLinkComponent/types.d.ts +0 -1
  38. package/dist/Components/Elements/StandaloneLinkComponent/types.js +2 -1
  39. package/dist/Components/Elements/Toast/Toast.js +23 -15
  40. package/dist/Components/Elements/Toast/Toast.js.map +1 -1
  41. package/dist/Components/Elements/Toast/index.js +20 -5
  42. package/dist/Components/Elements/Toast/index.js.map +1 -1
  43. package/dist/Components/Elements/Toast/sendToast.d.ts +1 -1
  44. package/dist/Components/Elements/Toast/sendToast.js +12 -7
  45. package/dist/Components/Elements/Toast/sendToast.js.map +1 -1
  46. package/dist/Components/Elements/Toast/types.js +2 -1
  47. package/dist/Components/Sections/ButtonGroup/ButtonGroup.js +35 -14
  48. package/dist/Components/Sections/ButtonGroup/ButtonGroup.js.map +1 -1
  49. package/dist/Components/Sections/ButtonGroup/index.js +18 -3
  50. package/dist/Components/Sections/ButtonGroup/index.js.map +1 -1
  51. package/dist/Components/Sections/ButtonGroup/types.js +2 -1
  52. package/dist/Components/Sections/CancelModal/CancelModal.js +25 -20
  53. package/dist/Components/Sections/CancelModal/CancelModal.js.map +1 -1
  54. package/dist/Components/Sections/CancelModal/index.js +7 -2
  55. package/dist/Components/Sections/CancelModal/index.js.map +1 -1
  56. package/dist/Components/Sections/CancelModal/types.js +2 -1
  57. package/dist/Components/Sections/ContentListView/ContentListView.js +43 -38
  58. package/dist/Components/Sections/ContentListView/ContentListView.js.map +1 -1
  59. package/dist/Components/Sections/ContentListView/index.js +18 -3
  60. package/dist/Components/Sections/ContentListView/index.js.map +1 -1
  61. package/dist/Components/Sections/ContentListView/types.d.ts +0 -1
  62. package/dist/Components/Sections/ContentListView/types.js +2 -1
  63. package/dist/Components/Sections/Form/Address/FormAddress.js +104 -75
  64. package/dist/Components/Sections/Form/Address/FormAddress.js.map +1 -1
  65. package/dist/Components/Sections/Form/Address/index.js +13 -1
  66. package/dist/Components/Sections/Form/Address/index.js.map +1 -1
  67. package/dist/Components/Sections/Form/Address/isoCodes.js +4 -1
  68. package/dist/Components/Sections/Form/Address/isoCodes.js.map +1 -1
  69. package/dist/Components/Sections/Form/Address/types.js +2 -1
  70. package/dist/Components/Sections/Form/CancellationReason/CancellationReason.js +80 -56
  71. package/dist/Components/Sections/Form/CancellationReason/CancellationReason.js.map +1 -1
  72. package/dist/Components/Sections/Form/CancellationReason/index.js +18 -3
  73. package/dist/Components/Sections/Form/CancellationReason/index.js.map +1 -1
  74. package/dist/Components/Sections/Form/CancellationReason/types.js +2 -1
  75. package/dist/Components/Sections/Form/CommentingNotifications/CommentingNotifications.js +49 -25
  76. package/dist/Components/Sections/Form/CommentingNotifications/CommentingNotifications.js.map +1 -1
  77. package/dist/Components/Sections/Form/CommentingNotifications/index.js +18 -3
  78. package/dist/Components/Sections/Form/CommentingNotifications/index.js.map +1 -1
  79. package/dist/Components/Sections/Form/CommentingNotifications/types.js +2 -1
  80. package/dist/Components/Sections/Form/ConfirmCancellation/ConfirmCancellation.js +53 -29
  81. package/dist/Components/Sections/Form/ConfirmCancellation/ConfirmCancellation.js.map +1 -1
  82. package/dist/Components/Sections/Form/ConfirmCancellation/index.js +18 -3
  83. package/dist/Components/Sections/Form/ConfirmCancellation/index.js.map +1 -1
  84. package/dist/Components/Sections/Form/ConfirmCancellation/types.js +2 -1
  85. package/dist/Components/Sections/Form/DisplayName/DisplayName.js +14 -9
  86. package/dist/Components/Sections/Form/DisplayName/DisplayName.js.map +1 -1
  87. package/dist/Components/Sections/Form/DisplayName/index.js +7 -2
  88. package/dist/Components/Sections/Form/DisplayName/index.js.map +1 -1
  89. package/dist/Components/Sections/Form/Email/Email.js +13 -8
  90. package/dist/Components/Sections/Form/Email/Email.js.map +1 -1
  91. package/dist/Components/Sections/Form/Email/index.js +7 -2
  92. package/dist/Components/Sections/Form/Email/index.js.map +1 -1
  93. package/dist/Components/Sections/Form/FormComponent.js +53 -29
  94. package/dist/Components/Sections/Form/FormComponent.js.map +1 -1
  95. package/dist/Components/Sections/Form/FormGrid.js +5 -3
  96. package/dist/Components/Sections/Form/FormGrid.js.map +1 -1
  97. package/dist/Components/Sections/Form/Landline/Landline.js +9 -4
  98. package/dist/Components/Sections/Form/Landline/Landline.js.map +1 -1
  99. package/dist/Components/Sections/Form/Landline/index.js +7 -2
  100. package/dist/Components/Sections/Form/Landline/index.js.map +1 -1
  101. package/dist/Components/Sections/Form/Mobile/Mobile.js +9 -4
  102. package/dist/Components/Sections/Form/Mobile/Mobile.js.map +1 -1
  103. package/dist/Components/Sections/Form/Mobile/index.js +7 -2
  104. package/dist/Components/Sections/Form/Mobile/index.js.map +1 -1
  105. package/dist/Components/Sections/Form/Name/FormName.js +11 -6
  106. package/dist/Components/Sections/Form/Name/FormName.js.map +1 -1
  107. package/dist/Components/Sections/Form/Name/index.js +7 -2
  108. package/dist/Components/Sections/Form/Name/index.js.map +1 -1
  109. package/dist/Components/Sections/Form/Name/types.js +2 -1
  110. package/dist/Components/Sections/Form/Password/Password.js +48 -24
  111. package/dist/Components/Sections/Form/Password/Password.js.map +1 -1
  112. package/dist/Components/Sections/Form/Password/index.js +18 -3
  113. package/dist/Components/Sections/Form/Password/index.js.map +1 -1
  114. package/dist/Components/Sections/Form/Password/types.js +2 -1
  115. package/dist/Components/Sections/Form/Payment/Stripe/index.js +76 -52
  116. package/dist/Components/Sections/Form/Payment/Stripe/index.js.map +1 -1
  117. package/dist/Components/Sections/Form/Payment/index.js +8 -2
  118. package/dist/Components/Sections/Form/Payment/index.js.map +1 -1
  119. package/dist/Components/Sections/Form/Payment/types.js +5 -2
  120. package/dist/Components/Sections/Form/Payment/types.js.map +1 -1
  121. package/dist/Components/Sections/Form/Phone/Phone.js +74 -49
  122. package/dist/Components/Sections/Form/Phone/Phone.js.map +1 -1
  123. package/dist/Components/Sections/Form/Phone/index.js +18 -3
  124. package/dist/Components/Sections/Form/Phone/index.js.map +1 -1
  125. package/dist/Components/Sections/Form/Phone/types.js +2 -1
  126. package/dist/Components/Sections/Form/onFormSubmit.js +12 -7
  127. package/dist/Components/Sections/Form/onFormSubmit.js.map +1 -1
  128. package/dist/Components/Sections/Form/types.js +2 -1
  129. package/dist/Components/Sections/NavigationPrimary/NavigationPrimary.js +41 -36
  130. package/dist/Components/Sections/NavigationPrimary/NavigationPrimary.js.map +1 -1
  131. package/dist/Components/Sections/NavigationPrimary/NavigationPrimary.stories.d.ts +0 -1
  132. package/dist/Components/Sections/NavigationPrimary/NavigationPrimary.stories.js +12 -5
  133. package/dist/Components/Sections/NavigationPrimary/NavigationPrimary.stories.js.map +1 -1
  134. package/dist/Components/Sections/NavigationPrimary/index.js +18 -3
  135. package/dist/Components/Sections/NavigationPrimary/index.js.map +1 -1
  136. package/dist/Components/Sections/NavigationPrimary/types.js +2 -1
  137. package/dist/Components/Sections/NavigationSecondary/NavigationSecondary.js +25 -19
  138. package/dist/Components/Sections/NavigationSecondary/NavigationSecondary.js.map +1 -1
  139. package/dist/Components/Sections/NavigationSecondary/NavigationSecondary.stories.js +12 -5
  140. package/dist/Components/Sections/NavigationSecondary/NavigationSecondary.stories.js.map +1 -1
  141. package/dist/Components/Sections/NavigationSecondary/index.js +29 -4
  142. package/dist/Components/Sections/NavigationSecondary/index.js.map +1 -1
  143. package/dist/Components/Sections/NavigationSecondary/types.js +2 -1
  144. package/dist/Components/Templates/CancellationRender.js +45 -20
  145. package/dist/Components/Templates/CancellationRender.js.map +1 -1
  146. package/dist/Components/Templates/DisplayRenderer.js +20 -15
  147. package/dist/Components/Templates/DisplayRenderer.js.map +1 -1
  148. package/dist/Components/Templates/EditRenderer.js +38 -32
  149. package/dist/Components/Templates/EditRenderer.js.map +1 -1
  150. package/dist/Components/Templates/LayoutTemplate.js +44 -39
  151. package/dist/Components/Templates/LayoutTemplate.js.map +1 -1
  152. package/dist/Components/Templates/index.js +38 -7
  153. package/dist/Components/Templates/index.js.map +1 -1
  154. package/dist/Components/Templates/types.js +2 -1
  155. package/dist/Components/index.js +5 -1
  156. package/dist/Components/index.js.map +1 -1
  157. package/dist/api/generateRSASignature.js +19 -12
  158. package/dist/api/generateRSASignature.js.map +1 -1
  159. package/dist/api/index.js +15 -3
  160. package/dist/api/index.js.map +1 -1
  161. package/dist/api/mutateHandler.js +20 -15
  162. package/dist/api/mutateHandler.js.map +1 -1
  163. package/dist/api/queryHandler.js +10 -6
  164. package/dist/api/queryHandler.js.map +1 -1
  165. package/dist/api/resetPassword.js +13 -6
  166. package/dist/api/resetPassword.js.map +1 -1
  167. package/dist/api/types.js +2 -1
  168. package/dist/constants/index.js +11 -8
  169. package/dist/constants/index.js.map +1 -1
  170. package/dist/context/baseContext.js +14 -8
  171. package/dist/context/baseContext.js.map +1 -1
  172. package/dist/context/index.js +38 -11
  173. package/dist/context/index.js.map +1 -1
  174. package/dist/context/types.d.ts +2 -2
  175. package/dist/context/types.js +2 -1
  176. package/dist/getProviderProps.js +19 -15
  177. package/dist/getProviderProps.js.map +1 -1
  178. package/dist/helpers/RenderScriptList.js +11 -6
  179. package/dist/helpers/RenderScriptList.js.map +1 -1
  180. package/dist/helpers/apiHandlerUtils.js +17 -12
  181. package/dist/helpers/apiHandlerUtils.js.map +1 -1
  182. package/dist/helpers/componentUtils.js +13 -7
  183. package/dist/helpers/componentUtils.js.map +1 -1
  184. package/dist/helpers/dataUtils.js +75 -53
  185. package/dist/helpers/dataUtils.js.map +1 -1
  186. package/dist/helpers/getQuery.js +13 -8
  187. package/dist/helpers/getQuery.js.map +1 -1
  188. package/dist/helpers/index.js +19 -7
  189. package/dist/helpers/index.js.map +1 -1
  190. package/dist/helpers/localStorage.js +15 -9
  191. package/dist/helpers/localStorage.js.map +1 -1
  192. package/dist/helpers/paymentUtils.js +7 -2
  193. package/dist/helpers/paymentUtils.js.map +1 -1
  194. package/dist/helpers/providerUtils.js +19 -10
  195. package/dist/helpers/providerUtils.js.map +1 -1
  196. package/dist/helpers/setupTests.js +3 -1
  197. package/dist/helpers/setupTests.js.map +1 -1
  198. package/dist/helpers/toastFunctions.d.ts +3 -2
  199. package/dist/helpers/toastFunctions.js +32 -30
  200. package/dist/helpers/toastFunctions.js.map +1 -1
  201. package/dist/index.js +29 -12
  202. package/dist/index.js.map +1 -1
  203. package/dist/pages/Cancellation.js +36 -10
  204. package/dist/pages/Cancellation.js.map +1 -1
  205. package/dist/pages/EditField.js +48 -22
  206. package/dist/pages/EditField.js.map +1 -1
  207. package/dist/pages/Error.js +28 -20
  208. package/dist/pages/Error.js.map +1 -1
  209. package/dist/pages/NewslettersAndAlerts.js +36 -10
  210. package/dist/pages/NewslettersAndAlerts.js.map +1 -1
  211. package/dist/pages/PersonalDetails.js +51 -25
  212. package/dist/pages/PersonalDetails.js.map +1 -1
  213. package/dist/pages/SubscriptionAndBilling.js +49 -23
  214. package/dist/pages/SubscriptionAndBilling.js.map +1 -1
  215. package/dist/pages/types.js +2 -1
  216. package/dist/providers/editFieldProvider.js +18 -13
  217. package/dist/providers/editFieldProvider.js.map +1 -1
  218. package/dist/providers/newslettersAndAlertsProvider.js +13 -6
  219. package/dist/providers/newslettersAndAlertsProvider.js.map +1 -1
  220. package/dist/providers/personalDetailsProvider.js +10 -6
  221. package/dist/providers/personalDetailsProvider.js.map +1 -1
  222. package/dist/providers/subscriptionAndBillingProvider.js +8 -4
  223. package/dist/providers/subscriptionAndBillingProvider.js.map +1 -1
  224. package/dist/providers/types.js +2 -1
  225. package/dist/queries/getEditField.js +12 -8
  226. package/dist/queries/getEditField.js.map +1 -1
  227. package/dist/queries/getUserDisplayName.js +5 -2
  228. package/dist/queries/getUserDisplayName.js.map +1 -1
  229. package/dist/queries/getUserNewsletter.js +5 -2
  230. package/dist/queries/getUserNewsletter.js.map +1 -1
  231. package/dist/queries/getUserPaymentInstance.js +5 -2
  232. package/dist/queries/getUserPaymentInstance.js.map +1 -1
  233. package/dist/queries/getUserProfile.js +5 -2
  234. package/dist/queries/getUserProfile.js.map +1 -1
  235. package/dist/queries/getUserQuery.js +13 -7
  236. package/dist/queries/getUserQuery.js.map +1 -1
  237. package/dist/queries/getUserSubscription.js +5 -2
  238. package/dist/queries/getUserSubscription.js.map +1 -1
  239. package/dist/queries/index.js +26 -14
  240. package/dist/queries/index.js.map +1 -1
  241. package/dist/queries/mutateAddress.js +7 -4
  242. package/dist/queries/mutateAddress.js.map +1 -1
  243. package/dist/queries/mutateCancellation.js +7 -4
  244. package/dist/queries/mutateCancellation.js.map +1 -1
  245. package/dist/queries/mutateCustom.js +7 -4
  246. package/dist/queries/mutateCustom.js.map +1 -1
  247. package/dist/queries/mutateDisplayName.js +6 -3
  248. package/dist/queries/mutateDisplayName.js.map +1 -1
  249. package/dist/queries/mutatePaymentMethod.js +7 -4
  250. package/dist/queries/mutatePaymentMethod.js.map +1 -1
  251. package/dist/queries/mutateUser.js +7 -4
  252. package/dist/queries/mutateUser.js.map +1 -1
  253. package/dist/queries/updateUser.js +5 -2
  254. package/dist/queries/updateUser.js.map +1 -1
  255. package/dist/theme/index.js +5 -2
  256. package/dist/theme/index.js.map +1 -1
  257. package/package.json +11 -10
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -45,10 +46,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
45
46
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
46
47
  }
47
48
  };
48
- import { GET_USER_PROFILE } from '../queries';
49
- import { getQuery } from '../helpers';
50
- import { GET_USER_DISPLAY_NAME } from '../queries/getUserDisplayName';
51
- export var personalDetailsProvider = function (_a) {
49
+ Object.defineProperty(exports, "__esModule", { value: true });
50
+ exports.personalDetailsProvider = void 0;
51
+ var queries_1 = require("../queries");
52
+ var helpers_1 = require("../helpers");
53
+ var getUserDisplayName_1 = require("../queries/getUserDisplayName");
54
+ var personalDetailsProvider = function (_a) {
52
55
  var mainApolloClient = _a.mainApolloClient, nkApiApolloClient = _a.nkApiApolloClient;
53
56
  return __awaiter(void 0, void 0, void 0, function () {
54
57
  var promiseResult, successResponse, rejectedResponse, result;
@@ -56,11 +59,11 @@ export var personalDetailsProvider = function (_a) {
56
59
  switch (_b.label) {
57
60
  case 0: return [4 /*yield*/, Promise.allSettled([
58
61
  mainApolloClient.query({
59
- query: getQuery(GET_USER_PROFILE, 'UserProfile'),
62
+ query: (0, helpers_1.getQuery)(queries_1.GET_USER_PROFILE, 'UserProfile'),
60
63
  variables: { id: process.env.MAIN_USER_ID },
61
64
  }),
62
65
  nkApiApolloClient.query({
63
- query: GET_USER_DISPLAY_NAME,
66
+ query: getUserDisplayName_1.GET_USER_DISPLAY_NAME,
64
67
  variables: { publisher: process.env.PUBLISHER },
65
68
  }),
66
69
  ])];
@@ -81,4 +84,5 @@ export var personalDetailsProvider = function (_a) {
81
84
  });
82
85
  });
83
86
  };
87
+ exports.personalDetailsProvider = personalDetailsProvider;
84
88
  //# sourceMappingURL=personalDetailsProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"personalDetailsProvider.js","sourceRoot":"","sources":["../../src/providers/personalDetailsProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAGrC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAGrE,MAAM,CAA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CAAC,IAAI,GAChB,aAAa,CAAC,IAAI,CAAC,IAAI,IAE7B,CAAA;oBACH,CAAC,CAAC,CAAA;oBAEF,gBAAgB,CAAC,OAAO,CAAC,UAAC,GAAG,IAAK,OAAA,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,EAAjC,CAAiC,CAAC,CAAA;oBACpE,sBAAO,MAAM,CAAC,IAAI,EAAA;;;;CACnB,CAAA;AAxCY,QAAA,uBAAuB,2BAwCnC"}
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
3
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
4
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -34,16 +35,18 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
34
35
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
36
  }
36
37
  };
37
- import { getQuery } from '../helpers';
38
- import { GET_USER_SUBSCRIPTION } from '../queries';
39
- export var subscriptionAndBillingProvider = function (_a) {
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.subscriptionAndBillingProvider = void 0;
40
+ var helpers_1 = require("../helpers");
41
+ var queries_1 = require("../queries");
42
+ var subscriptionAndBillingProvider = function (_a) {
40
43
  var mainApolloClient = _a.mainApolloClient;
41
44
  return __awaiter(void 0, void 0, void 0, function () {
42
45
  var query, variables, response, err_1;
43
46
  return __generator(this, function (_b) {
44
47
  switch (_b.label) {
45
48
  case 0:
46
- query = getQuery(GET_USER_SUBSCRIPTION, 'UserSubscription');
49
+ query = (0, helpers_1.getQuery)(queries_1.GET_USER_SUBSCRIPTION, 'UserSubscription');
47
50
  variables = { id: process.env.MAIN_USER_ID };
48
51
  _b.label = 1;
49
52
  case 1:
@@ -64,4 +67,5 @@ export var subscriptionAndBillingProvider = function (_a) {
64
67
  });
65
68
  });
66
69
  };
70
+ exports.subscriptionAndBillingProvider = subscriptionAndBillingProvider;
67
71
  //# sourceMappingURL=subscriptionAndBillingProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptionAndBillingProvider.js","sourceRoot":"","sources":["../../src/providers/subscriptionAndBillingProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AAIlD,MAAM,CAAC,IAAM,8BAA8B,GAAG,UAAO,EAEtC;QADb,gBAAgB,sBAAA;;;;;;oBAEV,KAAK,GAAG,QAAQ,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAAA;oBAC3D,SAAS,GAAG,EAAE,EAAE,EAAE,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAA;;;;oBAE/B,qBAAM,gBAAgB,CAAC,KAAK,CAAC;4BAC5C,KAAK,OAAA;4BACL,SAAS,WAAA;yBACV,CAAC,EAAA;;oBAHI,QAAQ,GAAG,SAGf;oBACF,sBAAO,QAAQ,CAAC,IAAmC,EAAA;;;oBAEnD,OAAO,CAAC,KAAK,CAAC,KAAG,CAAC,OAAO,CAAC,CAAA;;;;;;CAE7B,CAAA"}
1
+ {"version":3,"file":"subscriptionAndBillingProvider.js","sourceRoot":"","sources":["../../src/providers/subscriptionAndBillingProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sCAAqC;AACrC,sCAAkD;AAI3C,IAAM,8BAA8B,GAAG,UAAO,EAEtC;QADb,gBAAgB,sBAAA;;;;;;oBAEV,KAAK,GAAG,IAAA,kBAAQ,EAAC,+BAAqB,EAAE,kBAAkB,CAAC,CAAA;oBAC3D,SAAS,GAAG,EAAE,EAAE,EAAE,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAA;;;;oBAE/B,qBAAM,gBAAgB,CAAC,KAAK,CAAC;4BAC5C,KAAK,OAAA;4BACL,SAAS,WAAA;yBACV,CAAC,EAAA;;oBAHI,QAAQ,GAAG,SAGf;oBACF,sBAAO,QAAQ,CAAC,IAAmC,EAAA;;;oBAEnD,OAAO,CAAC,KAAK,CAAC,KAAG,CAAC,OAAO,CAAC,CAAA;;;;;;CAE7B,CAAA;AAdY,QAAA,8BAA8B,kCAc1C"}
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=types.js.map
@@ -1,22 +1,26 @@
1
+ "use strict";
1
2
  var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
4
  return cooked;
4
5
  };
5
- import { gql } from '@apollo/client';
6
- import { withCapitalLetter } from '../helpers';
7
- export var buildQueryBody = function (_a) {
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.buildQueryBody = void 0;
8
+ var client_1 = require("@apollo/client");
9
+ var helpers_1 = require("../helpers");
10
+ var buildQueryBody = function (_a) {
8
11
  var fields = _a.fields, shouldUseNewskitApi = _a.shouldUseNewskitApi, currentEditField = _a.currentEditField;
9
- var fragmentName = withCapitalLetter(currentEditField);
12
+ var fragmentName = (0, helpers_1.withCapitalLetter)(currentEditField);
10
13
  if (shouldUseNewskitApi) {
11
14
  if (currentEditField === 'commenting-notifications') {
12
- return gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment ", " on UserDetails {\n displayName\n settings {\n notifications {\n email {\n ", "\n }\n }\n }\n \n }\n "], ["\n fragment ", " on UserDetails {\n displayName\n settings {\n notifications {\n email {\n ", "\n }\n }\n }\n \n }\n "])), fragmentName, fields.join('\n'));
15
+ return (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment ", " on UserDetails {\n displayName\n settings {\n notifications {\n email {\n ", "\n }\n }\n }\n \n }\n "], ["\n fragment ", " on UserDetails {\n displayName\n settings {\n notifications {\n email {\n ", "\n }\n }\n }\n \n }\n "])), fragmentName, fields.join('\n'));
13
16
  }
14
- return gql(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n fragment ", " on UserDetails {\n ", "\n }\n "], ["\n fragment ", " on UserDetails {\n ", "\n }\n "])), fragmentName, fields.join('\n'));
17
+ return (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n fragment ", " on UserDetails {\n ", "\n }\n "], ["\n fragment ", " on UserDetails {\n ", "\n }\n "])), fragmentName, fields.join('\n'));
15
18
  }
16
19
  if (currentEditField === 'address') {
17
- return gql(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n fragment ", " on User {\n addresses {\n type\n line1\n line2\n line3\n line4\n line5\n line6\n country\n }\n }\n "], ["\n fragment ", " on User {\n addresses {\n type\n line1\n line2\n line3\n line4\n line5\n line6\n country\n }\n }\n "])), fragmentName);
20
+ return (0, client_1.gql)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n fragment ", " on User {\n addresses {\n type\n line1\n line2\n line3\n line4\n line5\n line6\n country\n }\n }\n "], ["\n fragment ", " on User {\n addresses {\n type\n line1\n line2\n line3\n line4\n line5\n line6\n country\n }\n }\n "])), fragmentName);
18
21
  }
19
- return gql(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n fragment ", " on User {\n ", "\n }\n "], ["\n fragment ", " on User {\n ", "\n }\n "])), fragmentName, fields.join('\n'));
22
+ return (0, client_1.gql)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n fragment ", " on User {\n ", "\n }\n "], ["\n fragment ", " on User {\n ", "\n }\n "])), fragmentName, fields.join('\n'));
20
23
  };
24
+ exports.buildQueryBody = buildQueryBody;
21
25
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
22
26
  //# sourceMappingURL=getEditField.js.map
@@ -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;AAE9C,MAAM,CAAC,IAAM,cAAc,GAAG,UAAC,EAQ9B;QAPC,MAAM,YAAA,EACN,mBAAmB,yBAAA,EACnB,gBAAgB,sBAAA;IAMhB,IAAM,YAAY,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,CAAA;IACxD,IAAI,mBAAmB,EAAE;QACvB,IAAI,gBAAgB,KAAK,0BAA0B,EAAE;YACnD,OAAO,GAAG,uRAAA,mBACC,EAAY,4HAKb,EAAiB,iEAM5B,KAXY,YAAY,EAKb,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAM5B;SACA;QACD,OAAO,GAAG,gIAAA,iBACC,EAAY,2BACnB,EAAiB,aAEtB,KAHY,YAAY,EACnB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAEtB;KACA;IAED,IAAI,gBAAgB,KAAK,SAAS,EAAE;QAClC,OAAO,GAAG,4RAAA,mBACG,EAAY,oMAYxB,KAZY,YAAY,EAYxB;KACF;IACD,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,yCAAkD;AAClD,sCAA8C;AAEvC,IAAM,cAAc,GAAG,UAAC,EAQ9B;QAPC,MAAM,YAAA,EACN,mBAAmB,yBAAA,EACnB,gBAAgB,sBAAA;IAMhB,IAAM,YAAY,GAAG,IAAA,2BAAiB,EAAC,gBAAgB,CAAC,CAAA;IACxD,IAAI,mBAAmB,EAAE;QACvB,IAAI,gBAAgB,KAAK,0BAA0B,EAAE;YACnD,WAAO,YAAG,wRAAA,mBACC,EAAY,4HAKb,EAAiB,iEAM5B,KAXY,YAAY,EAKb,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAM5B;SACA;QACD,WAAO,YAAG,iIAAA,iBACC,EAAY,2BACnB,EAAiB,aAEtB,KAHY,YAAY,EACnB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAEtB;KACA;IAED,IAAI,gBAAgB,KAAK,SAAS,EAAE;QAClC,WAAO,YAAG,6RAAA,mBACG,EAAY,oMAYxB,KAZY,YAAY,EAYxB;KACF;IACD,WAAO,YAAG,0HAAA,iBACG,EAAY,oBACnB,EAAiB,aAEtB,KAHY,YAAY,EACnB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAEtB;AACH,CAAC,CAAA;AAtDY,QAAA,cAAc,kBAsD1B"}
@@ -1,3 +1,6 @@
1
- import { gql } from '@apollo/client';
2
- export var GET_USER_DISPLAY_NAME = gql("query getUser($publisher: Publisher!) {\n user(publisher: $publisher) {\n displayName\n }\n}");
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GET_USER_DISPLAY_NAME = void 0;
4
+ var client_1 = require("@apollo/client");
5
+ exports.GET_USER_DISPLAY_NAME = (0, client_1.gql)("query getUser($publisher: Publisher!) {\n user(publisher: $publisher) {\n displayName\n }\n}");
3
6
  //# sourceMappingURL=getUserDisplayName.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getUserDisplayName.js","sourceRoot":"","sources":["../../src/queries/getUserDisplayName.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,qBAAqB,GAChC,GAAG,CAAC,mGAIJ,CAAC,CAAA"}
1
+ {"version":3,"file":"getUserDisplayName.js","sourceRoot":"","sources":["../../src/queries/getUserDisplayName.ts"],"names":[],"mappings":";;;AAAA,yCAAoC;AAEvB,QAAA,qBAAqB,GAChC,IAAA,YAAG,EAAC,mGAIJ,CAAC,CAAA"}
@@ -1,8 +1,11 @@
1
+ "use strict";
1
2
  var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
4
  return cooked;
4
5
  };
5
- import { gql } from '@apollo/client';
6
- export var GET_USER_NEWSLETTER = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserNewsletter on User {\n email\n vxInstances {\n isActive\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n }\n }\n }\n }\n"], ["\n fragment UserNewsletter on User {\n email\n vxInstances {\n isActive\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n }\n }\n }\n }\n"])));
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.GET_USER_NEWSLETTER = void 0;
8
+ var client_1 = require("@apollo/client");
9
+ exports.GET_USER_NEWSLETTER = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserNewsletter on User {\n email\n vxInstances {\n isActive\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n }\n }\n }\n }\n"], ["\n fragment UserNewsletter on User {\n email\n vxInstances {\n isActive\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n }\n }\n }\n }\n"])));
7
10
  var templateObject_1;
8
11
  //# sourceMappingURL=getUserNewsletter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getUserNewsletter.js","sourceRoot":"","sources":["../../src/queries/getUserNewsletter.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,mBAAmB,GAAG,GAAG,6VAAA,0RAgBrC,IAAA,CAAA"}
1
+ {"version":3,"file":"getUserNewsletter.js","sourceRoot":"","sources":["../../src/queries/getUserNewsletter.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,mBAAmB,OAAG,YAAG,8VAAA,0RAgBrC,KAAA"}
@@ -1,8 +1,11 @@
1
+ "use strict";
1
2
  var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
4
  return cooked;
4
5
  };
5
- import { gql } from '@apollo/client';
6
- export var GET_USER_PAYMENT_INSTANCE = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserPaymentInstance on User {\n vxInstances {\n isActive\n expiryDate\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n }\n }\n }\n }\n"], ["\n fragment UserPaymentInstance on User {\n vxInstances {\n isActive\n expiryDate\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n }\n }\n }\n }\n"])));
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.GET_USER_PAYMENT_INSTANCE = void 0;
8
+ var client_1 = require("@apollo/client");
9
+ exports.GET_USER_PAYMENT_INSTANCE = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserPaymentInstance on User {\n vxInstances {\n isActive\n expiryDate\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n }\n }\n }\n }\n"], ["\n fragment UserPaymentInstance on User {\n vxInstances {\n isActive\n expiryDate\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n }\n }\n }\n }\n"])));
7
10
  var templateObject_1;
8
11
  //# sourceMappingURL=getUserPaymentInstance.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getUserPaymentInstance.js","sourceRoot":"","sources":["../../src/queries/getUserPaymentInstance.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,yBAAyB,GAAG,GAAG,yWAAA,sSAgB3C,IAAA,CAAA"}
1
+ {"version":3,"file":"getUserPaymentInstance.js","sourceRoot":"","sources":["../../src/queries/getUserPaymentInstance.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,yBAAyB,OAAG,YAAG,0WAAA,sSAgB3C,KAAA"}
@@ -1,8 +1,11 @@
1
+ "use strict";
1
2
  var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
4
  return cooked;
4
5
  };
5
- import { gql } from '@apollo/client';
6
- export var GET_USER_PROFILE = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserProfile on User {\n cpn\n customData\n firstName\n lastName\n email\n addresses {\n country\n line1\n line2\n line3\n line4\n line5\n line6\n }\n vxInstances {\n id\n isActive\n expiryDate\n spec {\n id\n name\n description\n isActive\n termsAndConditions {\n text\n }\n }\n\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n provider {\n ... on Stripe {\n reference\n paymentMethod {\n ... on Card {\n brand\n expiryYear\n expiryMonth\n last4\n }\n }\n }\n }\n }\n }\n }\n }\n"], ["\n fragment UserProfile on User {\n cpn\n customData\n firstName\n lastName\n email\n addresses {\n country\n line1\n line2\n line3\n line4\n line5\n line6\n }\n vxInstances {\n id\n isActive\n expiryDate\n spec {\n id\n name\n description\n isActive\n termsAndConditions {\n text\n }\n }\n\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n provider {\n ... on Stripe {\n reference\n paymentMethod {\n ... on Card {\n brand\n expiryYear\n expiryMonth\n last4\n }\n }\n }\n }\n }\n }\n }\n }\n"])));
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.GET_USER_PROFILE = void 0;
8
+ var client_1 = require("@apollo/client");
9
+ exports.GET_USER_PROFILE = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserProfile on User {\n cpn\n customData\n firstName\n lastName\n email\n addresses {\n country\n line1\n line2\n line3\n line4\n line5\n line6\n }\n vxInstances {\n id\n isActive\n expiryDate\n spec {\n id\n name\n description\n isActive\n termsAndConditions {\n text\n }\n }\n\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n provider {\n ... on Stripe {\n reference\n paymentMethod {\n ... on Card {\n brand\n expiryYear\n expiryMonth\n last4\n }\n }\n }\n }\n }\n }\n }\n }\n"], ["\n fragment UserProfile on User {\n cpn\n customData\n firstName\n lastName\n email\n addresses {\n country\n line1\n line2\n line3\n line4\n line5\n line6\n }\n vxInstances {\n id\n isActive\n expiryDate\n spec {\n id\n name\n description\n isActive\n termsAndConditions {\n text\n }\n }\n\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n provider {\n ... on Stripe {\n reference\n paymentMethod {\n ... on Card {\n brand\n expiryYear\n expiryMonth\n last4\n }\n }\n }\n }\n }\n }\n }\n }\n"])));
7
10
  var templateObject_1;
8
11
  //# sourceMappingURL=getUserProfile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getUserProfile.js","sourceRoot":"","sources":["../../src/queries/getUserProfile.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,gBAAgB,GAAG,GAAG,6+BAAA,06BAsDlC,IAAA,CAAA"}
1
+ {"version":3,"file":"getUserProfile.js","sourceRoot":"","sources":["../../src/queries/getUserProfile.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,gBAAgB,OAAG,YAAG,8+BAAA,06BAsDlC,KAAA"}
@@ -1,16 +1,22 @@
1
+ "use strict";
1
2
  var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
4
  return cooked;
4
5
  };
5
- import { gql } from '@apollo/client';
6
- export var getUserInternal = function (queryFragment, fragmentName) {
7
- return gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n query {\n user {\n ...", "\n }\n }\n "], ["\n ", "\n query {\n user {\n ...", "\n }\n }\n "])), queryFragment, fragmentName);
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.getUserNewskitApi = exports.getUserExternal = exports.getUserInternal = void 0;
8
+ var client_1 = require("@apollo/client");
9
+ var getUserInternal = function (queryFragment, fragmentName) {
10
+ return (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n query {\n user {\n ...", "\n }\n }\n "], ["\n ", "\n query {\n user {\n ...", "\n }\n }\n "])), queryFragment, fragmentName);
8
11
  };
9
- export var getUserExternal = function (queryFragment, fragmentName) {
10
- return gql(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n query($id: ID) {\n user(id: $id) {\n ...", "\n }\n }\n "], ["\n ", "\n query($id: ID) {\n user(id: $id) {\n ...", "\n }\n }\n "])), queryFragment, fragmentName);
12
+ exports.getUserInternal = getUserInternal;
13
+ var getUserExternal = function (queryFragment, fragmentName) {
14
+ return (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n query($id: ID) {\n user(id: $id) {\n ...", "\n }\n }\n "], ["\n ", "\n query($id: ID) {\n user(id: $id) {\n ...", "\n }\n }\n "])), queryFragment, fragmentName);
11
15
  };
12
- export var getUserNewskitApi = function (queryFragment, fragmentName) {
13
- return gql(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n query getUser($publisher: Publisher!) {\n user(publisher: $publisher) {\n ...", "\n }\n }"], ["\n ", "\n query getUser($publisher: Publisher!) {\n user(publisher: $publisher) {\n ...", "\n }\n }"])), queryFragment, fragmentName);
16
+ exports.getUserExternal = getUserExternal;
17
+ var getUserNewskitApi = function (queryFragment, fragmentName) {
18
+ return (0, client_1.gql)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n query getUser($publisher: Publisher!) {\n user(publisher: $publisher) {\n ...", "\n }\n }"], ["\n ", "\n query getUser($publisher: Publisher!) {\n user(publisher: $publisher) {\n ...", "\n }\n }"])), queryFragment, fragmentName);
14
19
  };
20
+ exports.getUserNewskitApi = getUserNewskitApi;
15
21
  var templateObject_1, templateObject_2, templateObject_3;
16
22
  //# sourceMappingURL=getUserQuery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getUserQuery.js","sourceRoot":"","sources":["../../src/queries/getUserQuery.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAgB,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAElD,MAAM,CAAC,IAAM,eAAe,GAAG,UAC7B,aAA2B,EAC3B,YAAoB;IAEpB,OAAO,GAAG,+IAAA,QACN,EAAa,0CAGN,EAAY,sBAGtB,KANG,aAAa,EAGN,YAAY,EAGtB;AACH,CAAC,CAAA;AAED,MAAM,CAAC,IAAM,eAAe,GAAG,UAC7B,aAA2B,EAC3B,YAAoB;IAEpB,OAAO,GAAG,+KAAA,UACJ,EAAa,kEAGN,EAAY,4BAGtB,KANG,aAAa,EAGN,YAAY,EAGtB;AACL,CAAC,CAAA;AAED,MAAM,CAAC,IAAM,iBAAiB,GAAG,UAC/B,aAA2B,EAC3B,YAAoB;IAEpB,OAAO,GAAG,kMAAA,QACN,EAAa,iGAGN,EAAY,kBAEnB,KALA,aAAa,EAGN,YAAY,EAEnB;AACN,CAAC,CAAA"}
1
+ {"version":3,"file":"getUserQuery.js","sourceRoot":"","sources":["../../src/queries/getUserQuery.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAE3C,IAAM,eAAe,GAAG,UAC7B,aAA2B,EAC3B,YAAoB;IAEpB,WAAO,YAAG,gJAAA,QACN,EAAa,0CAGN,EAAY,sBAGtB,KANG,aAAa,EAGN,YAAY,EAGtB;AACH,CAAC,CAAA;AAZY,QAAA,eAAe,mBAY3B;AAEM,IAAM,eAAe,GAAG,UAC7B,aAA2B,EAC3B,YAAoB;IAEpB,WAAO,YAAG,gLAAA,UACJ,EAAa,kEAGN,EAAY,4BAGtB,KANG,aAAa,EAGN,YAAY,EAGtB;AACL,CAAC,CAAA;AAZY,QAAA,eAAe,mBAY3B;AAEM,IAAM,iBAAiB,GAAG,UAC/B,aAA2B,EAC3B,YAAoB;IAEpB,WAAO,YAAG,mMAAA,QACN,EAAa,iGAGN,EAAY,kBAEnB,KALA,aAAa,EAGN,YAAY,EAEnB;AACN,CAAC,CAAA;AAXY,QAAA,iBAAiB,qBAW7B"}
@@ -1,8 +1,11 @@
1
+ "use strict";
1
2
  var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
4
  return cooked;
4
5
  };
5
- import { gql } from '@apollo/client';
6
- export var GET_USER_SUBSCRIPTION = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserSubscription on User {\n cpn\n vxInstances {\n isActive\n id\n expiryDate\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n provider {\n ... on Stripe {\n reference\n paymentMethod {\n ... on Card {\n brand\n expiryYear\n expiryMonth\n last4\n }\n }\n }\n }\n spec {\n name\n schedule {\n name\n minimumTerm\n terminates\n phases {\n billingCycle\n duration\n price {\n amount\n currency\n }\n }\n }\n }\n }\n }\n spec {\n id\n name\n description\n }\n }\n }\n"], ["\n fragment UserSubscription on User {\n cpn\n vxInstances {\n isActive\n id\n expiryDate\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n provider {\n ... on Stripe {\n reference\n paymentMethod {\n ... on Card {\n brand\n expiryYear\n expiryMonth\n last4\n }\n }\n }\n }\n spec {\n name\n schedule {\n name\n minimumTerm\n terminates\n phases {\n billingCycle\n duration\n price {\n amount\n currency\n }\n }\n }\n }\n }\n }\n spec {\n id\n name\n description\n }\n }\n }\n"])));
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.GET_USER_SUBSCRIPTION = void 0;
8
+ var client_1 = require("@apollo/client");
9
+ exports.GET_USER_SUBSCRIPTION = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserSubscription on User {\n cpn\n vxInstances {\n isActive\n id\n expiryDate\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n provider {\n ... on Stripe {\n reference\n paymentMethod {\n ... on Card {\n brand\n expiryYear\n expiryMonth\n last4\n }\n }\n }\n }\n spec {\n name\n schedule {\n name\n minimumTerm\n terminates\n phases {\n billingCycle\n duration\n price {\n amount\n currency\n }\n }\n }\n }\n }\n }\n spec {\n id\n name\n description\n }\n }\n }\n"], ["\n fragment UserSubscription on User {\n cpn\n vxInstances {\n isActive\n id\n expiryDate\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n provider {\n ... on Stripe {\n reference\n paymentMethod {\n ... on Card {\n brand\n expiryYear\n expiryMonth\n last4\n }\n }\n }\n }\n spec {\n name\n schedule {\n name\n minimumTerm\n terminates\n phases {\n billingCycle\n duration\n price {\n amount\n currency\n }\n }\n }\n }\n }\n }\n spec {\n id\n name\n description\n }\n }\n }\n"])));
7
10
  var templateObject_1;
8
11
  //# sourceMappingURL=getUserSubscription.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getUserSubscription.js","sourceRoot":"","sources":["../../src/queries/getUserSubscription.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,qBAAqB,GAAG,GAAG,4lCAAA,yhCAoDvC,IAAA,CAAA"}
1
+ {"version":3,"file":"getUserSubscription.js","sourceRoot":"","sources":["../../src/queries/getUserSubscription.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,qBAAqB,OAAG,YAAG,6lCAAA,yhCAoDvC,KAAA"}
@@ -1,15 +1,27 @@
1
- export * from './getEditField';
2
- export * from './getUserDisplayName';
3
- export * from './getUserNewsletter';
4
- export * from './getUserPaymentInstance';
5
- export * from './getUserProfile';
6
- export * from './getUserQuery';
7
- export * from './getUserSubscription';
8
- export * from './mutateAddress';
9
- export * from './mutateCustom';
10
- export * from './mutateDisplayName';
11
- export * from './mutatePaymentMethod';
12
- export * from './mutateUser';
13
- export * from './updateUser';
14
- export * from './mutateCancellation';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./getEditField"), exports);
14
+ __exportStar(require("./getUserDisplayName"), exports);
15
+ __exportStar(require("./getUserNewsletter"), exports);
16
+ __exportStar(require("./getUserPaymentInstance"), exports);
17
+ __exportStar(require("./getUserProfile"), exports);
18
+ __exportStar(require("./getUserQuery"), exports);
19
+ __exportStar(require("./getUserSubscription"), exports);
20
+ __exportStar(require("./mutateAddress"), exports);
21
+ __exportStar(require("./mutateCustom"), exports);
22
+ __exportStar(require("./mutateDisplayName"), exports);
23
+ __exportStar(require("./mutatePaymentMethod"), exports);
24
+ __exportStar(require("./mutateUser"), exports);
25
+ __exportStar(require("./updateUser"), exports);
26
+ __exportStar(require("./mutateCancellation"), exports);
15
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/queries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA8B;AAC9B,uDAAoC;AACpC,sDAAmC;AACnC,2DAAwC;AACxC,mDAAgC;AAChC,iDAA8B;AAC9B,wDAAqC;AACrC,kDAA+B;AAC/B,iDAA8B;AAC9B,sDAAmC;AACnC,wDAAqC;AACrC,+CAA4B;AAC5B,+CAA4B;AAC5B,uDAAoC"}
@@ -1,12 +1,15 @@
1
+ "use strict";
1
2
  var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
4
  return cooked;
4
5
  };
5
- import { gql } from '@apollo/client';
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.mutateAdress = void 0;
8
+ var client_1 = require("@apollo/client");
6
9
  //Used for address
7
- export var mutateAdress = {
8
- external: gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: SaveUserAddressInput!) {\n saveUserAddress(id: $id, input: $input) {\n addresses {\n type\n country\n line1\n line2\n line3\n line4\n line5\n line6\n line7\n }\n }\n }\n "], ["\n mutation ($id: ID, $input: SaveUserAddressInput!) {\n saveUserAddress(id: $id, input: $input) {\n addresses {\n type\n country\n line1\n line2\n line3\n line4\n line5\n line6\n line7\n }\n }\n }\n "]))),
9
- internal: gql(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n mutation ($input: SaveUserAddressInput!) {\n saveUserAddress(input: $input) {\n addresses {\n type\n country\n line1\n line2\n line3\n line4\n line5\n line6\n line7\n }\n }\n }\n "], ["\n mutation ($input: SaveUserAddressInput!) {\n saveUserAddress(input: $input) {\n addresses {\n type\n country\n line1\n line2\n line3\n line4\n line5\n line6\n line7\n }\n }\n }\n "]))),
10
+ exports.mutateAdress = {
11
+ external: (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: SaveUserAddressInput!) {\n saveUserAddress(id: $id, input: $input) {\n addresses {\n type\n country\n line1\n line2\n line3\n line4\n line5\n line6\n line7\n }\n }\n }\n "], ["\n mutation ($id: ID, $input: SaveUserAddressInput!) {\n saveUserAddress(id: $id, input: $input) {\n addresses {\n type\n country\n line1\n line2\n line3\n line4\n line5\n line6\n line7\n }\n }\n }\n "]))),
12
+ internal: (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n mutation ($input: SaveUserAddressInput!) {\n saveUserAddress(input: $input) {\n addresses {\n type\n country\n line1\n line2\n line3\n line4\n line5\n line6\n line7\n }\n }\n }\n "], ["\n mutation ($input: SaveUserAddressInput!) {\n saveUserAddress(input: $input) {\n addresses {\n type\n country\n line1\n line2\n line3\n line4\n line5\n line6\n line7\n }\n }\n }\n "]))),
10
13
  };
11
14
  var templateObject_1, templateObject_2;
12
15
  //# sourceMappingURL=mutateAddress.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mutateAddress.js","sourceRoot":"","sources":["../../src/queries/mutateAddress.ts"],"names":[],"mappings":";;;;AACA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,kBAAkB;AAClB,MAAM,CAAC,IAAM,YAAY,GAAiB;IACxC,QAAQ,EAAE,GAAG,6XAAA,0TAgBZ,IAAA;IACD,QAAQ,EAAE,GAAG,2WAAA,wSAgBZ,IAAA;CACF,CAAA"}
1
+ {"version":3,"file":"mutateAddress.js","sourceRoot":"","sources":["../../src/queries/mutateAddress.ts"],"names":[],"mappings":";;;;;;;AACA,yCAAoC;AAEpC,kBAAkB;AACL,QAAA,YAAY,GAAiB;IACxC,QAAQ,MAAE,YAAG,8XAAA,0TAgBZ,IAAA;IACD,QAAQ,MAAE,YAAG,4WAAA,wSAgBZ,IAAA;CACF,CAAA"}
@@ -1,11 +1,14 @@
1
+ "use strict";
1
2
  var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
4
  return cooked;
4
5
  };
5
- import { gql } from '@apollo/client';
6
- export var mutateCancellation = {
7
- external: gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID!, $input: CancelInteractionInput!, $principalID: ID!) {\n cancel(id: $id, input: $input, principalID: $principalID)\n }\n "], ["\n mutation ($id: ID!, $input: CancelInteractionInput!, $principalID: ID!) {\n cancel(id: $id, input: $input, principalID: $principalID)\n }\n "]))),
8
- internal: gql(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n mutation ($input: CancelInteractionInput!, $principalID: ID!) {\n cancel(input: $input, principalID: $principalID)\n }\n "], ["\n mutation ($input: CancelInteractionInput!, $principalID: ID!) {\n cancel(input: $input, principalID: $principalID)\n }\n "]))),
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.mutateCancellation = void 0;
8
+ var client_1 = require("@apollo/client");
9
+ exports.mutateCancellation = {
10
+ external: (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID!, $input: CancelInteractionInput!, $principalID: ID!) {\n cancel(id: $id, input: $input, principalID: $principalID)\n }\n "], ["\n mutation ($id: ID!, $input: CancelInteractionInput!, $principalID: ID!) {\n cancel(id: $id, input: $input, principalID: $principalID)\n }\n "]))),
11
+ internal: (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n mutation ($input: CancelInteractionInput!, $principalID: ID!) {\n cancel(input: $input, principalID: $principalID)\n }\n "], ["\n mutation ($input: CancelInteractionInput!, $principalID: ID!) {\n cancel(input: $input, principalID: $principalID)\n }\n "]))),
9
12
  };
10
13
  var templateObject_1, templateObject_2;
11
14
  //# sourceMappingURL=mutateCancellation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mutateCancellation.js","sourceRoot":"","sources":["../../src/queries/mutateCancellation.ts"],"names":[],"mappings":";;;;AACA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,kBAAkB,GAAiB;IAC9C,QAAQ,EAAE,GAAG,gOAAA,6JAIZ,IAAA;IACD,QAAQ,EAAE,GAAG,6MAAA,0IAIZ,IAAA;CACF,CAAA"}
1
+ {"version":3,"file":"mutateCancellation.js","sourceRoot":"","sources":["../../src/queries/mutateCancellation.ts"],"names":[],"mappings":";;;;;;;AACA,yCAAoC;AAEvB,QAAA,kBAAkB,GAAiB;IAC9C,QAAQ,MAAE,YAAG,iOAAA,6JAIZ,IAAA;IACD,QAAQ,MAAE,YAAG,8MAAA,0IAIZ,IAAA;CACF,CAAA"}
@@ -1,12 +1,15 @@
1
+ "use strict";
1
2
  var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
4
  return cooked;
4
5
  };
5
- import { gql } from '@apollo/client';
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.mutateCustomData = void 0;
8
+ var client_1 = require("@apollo/client");
6
9
  //Used for single field of customData
7
- export var mutateCustomData = {
8
- external: gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: SaveUserCustomDataInput!) {\n saveUserCustomDataSingle(id: $id, input: $input) {\n firstName\n }\n }\n "], ["\n mutation ($id: ID, $input: SaveUserCustomDataInput!) {\n saveUserCustomDataSingle(id: $id, input: $input) {\n firstName\n }\n }\n "]))),
9
- internal: gql(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n mutation ($input: SaveUserCustomDataInput!) {\n saveUserCustomDataSingle(input: $input) {\n firstName\n }\n }\n "], ["\n mutation ($input: SaveUserCustomDataInput!) {\n saveUserCustomDataSingle(input: $input) {\n firstName\n }\n }\n "]))),
10
+ exports.mutateCustomData = {
11
+ external: (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: SaveUserCustomDataInput!) {\n saveUserCustomDataSingle(id: $id, input: $input) {\n firstName\n }\n }\n "], ["\n mutation ($id: ID, $input: SaveUserCustomDataInput!) {\n saveUserCustomDataSingle(id: $id, input: $input) {\n firstName\n }\n }\n "]))),
12
+ internal: (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n mutation ($input: SaveUserCustomDataInput!) {\n saveUserCustomDataSingle(input: $input) {\n firstName\n }\n }\n "], ["\n mutation ($input: SaveUserCustomDataInput!) {\n saveUserCustomDataSingle(input: $input) {\n firstName\n }\n }\n "]))),
10
13
  };
11
14
  var templateObject_1, templateObject_2;
12
15
  //# sourceMappingURL=mutateCustom.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mutateCustom.js","sourceRoot":"","sources":["../../src/queries/mutateCustom.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,qCAAqC;AACrC,MAAM,CAAC,IAAM,gBAAgB,GAAG;IAC9B,QAAQ,EAAE,GAAG,kOAAA,+JAMZ,IAAA;IACD,QAAQ,EAAE,GAAG,gNAAA,6IAMZ,IAAA;CACF,CAAA"}
1
+ {"version":3,"file":"mutateCustom.js","sourceRoot":"","sources":["../../src/queries/mutateCustom.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEpC,qCAAqC;AACxB,QAAA,gBAAgB,GAAG;IAC9B,QAAQ,MAAE,YAAG,mOAAA,+JAMZ,IAAA;IACD,QAAQ,MAAE,YAAG,iNAAA,6IAMZ,IAAA;CACF,CAAA"}
@@ -1,11 +1,14 @@
1
+ "use strict";
1
2
  var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
4
  return cooked;
4
5
  };
5
- import { gql } from '@apollo/client';
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.mutateDisplayName = void 0;
8
+ var client_1 = require("@apollo/client");
6
9
  //Used for Display name and notification preferences
7
- export var mutateDisplayName = {
8
- internal: gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation (\n $notifications: NotificationsInput\n $displayName: String!\n $publisher: Publisher!\n ) {\n updateUser(\n notifications: $notifications\n displayName: $displayName\n publisher: $publisher\n ) {\n success\n }\n }\n "], ["\n mutation (\n $notifications: NotificationsInput\n $displayName: String!\n $publisher: Publisher!\n ) {\n updateUser(\n notifications: $notifications\n displayName: $displayName\n publisher: $publisher\n ) {\n success\n }\n }\n "]))),
10
+ exports.mutateDisplayName = {
11
+ internal: (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation (\n $notifications: NotificationsInput\n $displayName: String!\n $publisher: Publisher!\n ) {\n updateUser(\n notifications: $notifications\n displayName: $displayName\n publisher: $publisher\n ) {\n success\n }\n }\n "], ["\n mutation (\n $notifications: NotificationsInput\n $displayName: String!\n $publisher: Publisher!\n ) {\n updateUser(\n notifications: $notifications\n displayName: $displayName\n publisher: $publisher\n ) {\n success\n }\n }\n "]))),
9
12
  };
10
13
  var templateObject_1;
11
14
  //# sourceMappingURL=mutateDisplayName.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mutateDisplayName.js","sourceRoot":"","sources":["../../src/queries/mutateDisplayName.ts"],"names":[],"mappings":";;;;AACA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,oDAAoD;AACpD,MAAM,CAAC,IAAM,iBAAiB,GAAiB;IAC7C,QAAQ,EAAE,GAAG,+WAAA,4SAcZ,IAAA;CACF,CAAA"}
1
+ {"version":3,"file":"mutateDisplayName.js","sourceRoot":"","sources":["../../src/queries/mutateDisplayName.ts"],"names":[],"mappings":";;;;;;;AACA,yCAAoC;AAEpC,oDAAoD;AACvC,QAAA,iBAAiB,GAAiB;IAC7C,QAAQ,MAAE,YAAG,gXAAA,4SAcZ,IAAA;CACF,CAAA"}
@@ -1,12 +1,15 @@
1
+ "use strict";
1
2
  var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
4
  return cooked;
4
5
  };
5
- import { gql } from '@apollo/client';
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.mutatePaymentMethod = void 0;
8
+ var client_1 = require("@apollo/client");
6
9
  //Used for single field of customData
7
- export var mutatePaymentMethod = {
8
- external: gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: StripeUpdatePaymentMethodInput!) {\n stripeUpdatePaymentMethod(id: $id, input: $input) {\n __typename\n ... on StripeUpdatePaymentMethodSucceeded {\n status\n }\n ... on StripeRequiresPaymentMethod {\n status\n }\n ... on StripeRequiresSetupIntentConfirmation {\n clientSecret\n }\n }\n }\n "], ["\n mutation ($id: ID, $input: StripeUpdatePaymentMethodInput!) {\n stripeUpdatePaymentMethod(id: $id, input: $input) {\n __typename\n ... on StripeUpdatePaymentMethodSucceeded {\n status\n }\n ... on StripeRequiresPaymentMethod {\n status\n }\n ... on StripeRequiresSetupIntentConfirmation {\n clientSecret\n }\n }\n }\n "]))),
9
- internal: gql(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n mutation ($input: StripeUpdatePaymentMethodInput!) {\n stripeUpdatePaymentMethod(input: $input) {\n __typename\n ... on StripeUpdatePaymentMethodSucceeded {\n status\n }\n ... on StripeRequiresPaymentMethod {\n status\n }\n ... on StripeRequiresSetupIntentConfirmation {\n clientSecret\n }\n }\n }\n "], ["\n mutation ($input: StripeUpdatePaymentMethodInput!) {\n stripeUpdatePaymentMethod(input: $input) {\n __typename\n ... on StripeUpdatePaymentMethodSucceeded {\n status\n }\n ... on StripeRequiresPaymentMethod {\n status\n }\n ... on StripeRequiresSetupIntentConfirmation {\n clientSecret\n }\n }\n }\n "]))),
10
+ exports.mutatePaymentMethod = {
11
+ external: (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: StripeUpdatePaymentMethodInput!) {\n stripeUpdatePaymentMethod(id: $id, input: $input) {\n __typename\n ... on StripeUpdatePaymentMethodSucceeded {\n status\n }\n ... on StripeRequiresPaymentMethod {\n status\n }\n ... on StripeRequiresSetupIntentConfirmation {\n clientSecret\n }\n }\n }\n "], ["\n mutation ($id: ID, $input: StripeUpdatePaymentMethodInput!) {\n stripeUpdatePaymentMethod(id: $id, input: $input) {\n __typename\n ... on StripeUpdatePaymentMethodSucceeded {\n status\n }\n ... on StripeRequiresPaymentMethod {\n status\n }\n ... on StripeRequiresSetupIntentConfirmation {\n clientSecret\n }\n }\n }\n "]))),
12
+ internal: (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n mutation ($input: StripeUpdatePaymentMethodInput!) {\n stripeUpdatePaymentMethod(input: $input) {\n __typename\n ... on StripeUpdatePaymentMethodSucceeded {\n status\n }\n ... on StripeRequiresPaymentMethod {\n status\n }\n ... on StripeRequiresSetupIntentConfirmation {\n clientSecret\n }\n }\n }\n "], ["\n mutation ($input: StripeUpdatePaymentMethodInput!) {\n stripeUpdatePaymentMethod(input: $input) {\n __typename\n ... on StripeUpdatePaymentMethodSucceeded {\n status\n }\n ... on StripeRequiresPaymentMethod {\n status\n }\n ... on StripeRequiresSetupIntentConfirmation {\n clientSecret\n }\n }\n }\n "]))),
10
13
  };
11
14
  var templateObject_1, templateObject_2;
12
15
  //# sourceMappingURL=mutatePaymentMethod.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mutatePaymentMethod.js","sourceRoot":"","sources":["../../src/queries/mutatePaymentMethod.ts"],"names":[],"mappings":";;;;AACA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,qCAAqC;AACrC,MAAM,CAAC,IAAM,mBAAmB,GAAiB;IAC/C,QAAQ,EAAE,GAAG,meAAA,gaAeZ,IAAA;IACD,QAAQ,EAAE,GAAG,idAAA,8YAeZ,IAAA;CACF,CAAA"}
1
+ {"version":3,"file":"mutatePaymentMethod.js","sourceRoot":"","sources":["../../src/queries/mutatePaymentMethod.ts"],"names":[],"mappings":";;;;;;;AACA,yCAAoC;AAEpC,qCAAqC;AACxB,QAAA,mBAAmB,GAAiB;IAC/C,QAAQ,MAAE,YAAG,oeAAA,gaAeZ,IAAA;IACD,QAAQ,MAAE,YAAG,kdAAA,8YAeZ,IAAA;CACF,CAAA"}
@@ -1,12 +1,15 @@
1
+ "use strict";
1
2
  var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
4
  return cooked;
4
5
  };
5
- import { gql } from '@apollo/client';
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.mutateUser = void 0;
8
+ var client_1 = require("@apollo/client");
6
9
  //Used for firstname & lastName
7
- export var mutateUser = {
8
- external: gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n email\n }\n }\n "], ["\n mutation ($id: ID, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n email\n }\n }\n "]))),
9
- internal: gql(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n mutation ($input: UpdateUserInput!) {\n updateUser(input: $input) {\n email\n }\n }\n "], ["\n mutation ($input: UpdateUserInput!) {\n updateUser(input: $input) {\n email\n }\n }\n "]))),
10
+ exports.mutateUser = {
11
+ external: (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n email\n }\n }\n "], ["\n mutation ($id: ID, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n email\n }\n }\n "]))),
12
+ internal: (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n mutation ($input: UpdateUserInput!) {\n updateUser(input: $input) {\n email\n }\n }\n "], ["\n mutation ($input: UpdateUserInput!) {\n updateUser(input: $input) {\n email\n }\n }\n "]))),
10
13
  };
11
14
  var templateObject_1, templateObject_2;
12
15
  //# sourceMappingURL=mutateUser.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mutateUser.js","sourceRoot":"","sources":["../../src/queries/mutateUser.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAGpC,+BAA+B;AAC/B,MAAM,CAAC,IAAM,UAAU,GAAiB;IACtC,QAAQ,EAAE,GAAG,wMAAA,qIAMZ,IAAA;IACD,QAAQ,EAAE,GAAG,sLAAA,mHAMZ,IAAA;CACF,CAAA"}
1
+ {"version":3,"file":"mutateUser.js","sourceRoot":"","sources":["../../src/queries/mutateUser.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAGpC,+BAA+B;AAClB,QAAA,UAAU,GAAiB;IACtC,QAAQ,MAAE,YAAG,yMAAA,qIAMZ,IAAA;IACD,QAAQ,MAAE,YAAG,uLAAA,mHAMZ,IAAA;CACF,CAAA"}
@@ -1,8 +1,11 @@
1
+ "use strict";
1
2
  var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
4
  return cooked;
4
5
  };
5
- import { gql } from '@apollo/client';
6
- export var UPDATE_USER = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($input: UpdateUserInput!) {\n updateUser(input: $input)\n }\n"], ["\n mutation ($input: UpdateUserInput!) {\n updateUser(input: $input)\n }\n"])));
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.UPDATE_USER = void 0;
8
+ var client_1 = require("@apollo/client");
9
+ exports.UPDATE_USER = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($input: UpdateUserInput!) {\n updateUser(input: $input)\n }\n"], ["\n mutation ($input: UpdateUserInput!) {\n updateUser(input: $input)\n }\n"])));
7
10
  var templateObject_1;
8
11
  //# sourceMappingURL=updateUser.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateUser.js","sourceRoot":"","sources":["../../src/queries/updateUser.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,WAAW,GAAG,GAAG,oJAAA,iFAI7B,IAAA,CAAA"}
1
+ {"version":3,"file":"updateUser.js","sourceRoot":"","sources":["../../src/queries/updateUser.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,WAAW,OAAG,YAAG,qJAAA,iFAI7B,KAAA"}
@@ -1,5 +1,8 @@
1
- import { createTheme } from 'newskit';
2
- export var accountTheme = createTheme({
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.accountTheme = void 0;
4
+ var newskit_1 = require("newskit");
5
+ exports.accountTheme = (0, newskit_1.createTheme)({
3
6
  name: 'account-theme',
4
7
  overrides: {
5
8
  stylePresets: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAErC,MAAM,CAAC,IAAM,YAAY,GAAG,WAAW,CAAC;IACtC,IAAI,EAAE,eAAe;IACrB,SAAS,EAAE;QACT,YAAY,EAAE;YACZ,yBAAyB,EAAE;gBACzB,IAAI,EAAE;oBACJ,KAAK,EAAE,kCAAkC;iBAC1C;aACF;YACD,qBAAqB,EAAE;gBACrB,IAAI,EAAE;oBACJ,eAAe,EAAE,yBAAyB;iBAC3C;aACF;YACD,aAAa,EAAE;gBACb,IAAI,EAAE;oBACJ,eAAe,EAAE,yBAAyB;oBAC1C,WAAW,EAAE,yBAAyB;oBACtC,WAAW,EAAE,OAAO;oBACpB,WAAW,EACT,6GAA6G;iBAChH;aACF;YACD,aAAa,EAAE;gBACb,IAAI,EAAE;oBACJ,eAAe,EAAE,wBAAwB;oBACzC,WAAW,EAAE,yBAAyB;oBACtC,WAAW,EAAE,OAAO;oBACpB,WAAW,EACT,6GAA6G;iBAChH;aACF;YACD,WAAW,EAAE;gBACX,IAAI,EAAE;oBACJ,eAAe,EAAE,yBAAyB;oBAC1C,YAAY,EAAE,oCAAoC;iBACnD;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE;oBACJ,eAAe,EAAE,yBAAyB;oBAC1C,WAAW,EAAE,OAAO;oBACpB,WAAW,EAAE,yBAAyB;oBACtC,WAAW,EAAE,gCAAgC;oBAC7C,YAAY,EAAE,iCAAiC;oBAC/C,KAAK,EAAE,oBAAoB;oBAC3B,YAAY,EAAE,UAAU;oBACxB,gBAAgB,EAAE,sBAAsB;iBACzC;aACF;YACD,eAAe,EAAE;gBACf,IAAI,EAAE;oBACJ,WAAW,EAAE,yBAAyB;oBACtC,WAAW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