@hmcts/ccpay-web-component 6.0.0-beta9 → 6.0.1

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 (317) hide show
  1. package/esm2022/hmcts-ccpay-web-component.mjs +5 -0
  2. package/esm2022/lib/components/add-remission/add-remission.component.mjs +1189 -0
  3. package/esm2022/lib/components/allocate-payments/allocate-payments.component.mjs +407 -0
  4. package/esm2022/lib/components/card-details/card-details.component.mjs +32 -0
  5. package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +798 -0
  6. package/esm2022/lib/components/contact-details/contact-details.component.mjs +338 -0
  7. package/esm2022/lib/components/error-banner/error-banner.component.mjs +18 -0
  8. package/esm2022/lib/components/fee-summary/fee-summary.component.mjs +247 -0
  9. package/esm2022/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.mjs +195 -0
  10. package/esm2022/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.mjs +255 -0
  11. package/esm2022/lib/components/notification-preview/notification-preview.component.mjs +79 -0
  12. package/esm2022/lib/components/page-not-found.component.mjs +17 -0
  13. package/esm2022/lib/components/payment-list/payment-list.component.mjs +36 -0
  14. package/esm2022/lib/components/payment-view/payment-view.component.mjs +416 -0
  15. package/esm2022/lib/components/pba-details/pba-details.component.mjs +18 -0
  16. package/esm2022/lib/components/pba-payment/pba-payment.component.mjs +151 -0
  17. package/esm2022/lib/components/process-refund/process-refund.component.mjs +417 -0
  18. package/esm2022/lib/components/processed-payments/processed-payments.component.mjs +37 -0
  19. package/esm2022/lib/components/refund-list/refund-list.component.mjs +73 -0
  20. package/esm2022/lib/components/refund-status/refund-status.component.mjs +453 -0
  21. package/esm2022/lib/components/reports/reports.component.mjs +291 -0
  22. package/esm2022/lib/components/service-request/service-request.component.mjs +456 -0
  23. package/esm2022/lib/components/status-history/status-history.component.mjs +33 -0
  24. package/esm2022/lib/components/table/table.component.mjs +128 -0
  25. package/esm2022/lib/components/unprocessed-payments/unprocessed-payments.component.mjs +236 -0
  26. package/esm2022/lib/interfaces/AddRemissionRequest.mjs +17 -0
  27. package/esm2022/lib/interfaces/AddRetroRemissionRequest.mjs +9 -0
  28. package/esm2022/lib/interfaces/AllocatePaymentRequest.mjs +41 -0
  29. package/esm2022/lib/interfaces/IAllocationPaymentsRequest.mjs +20 -0
  30. package/esm2022/lib/interfaces/IBSPayments.mjs +2 -0
  31. package/esm2022/lib/interfaces/ICardDetails.mjs +2 -0
  32. package/esm2022/lib/interfaces/IFee.mjs +2 -0
  33. package/esm2022/lib/interfaces/INotificationPreview.mjs +2 -0
  34. package/esm2022/lib/interfaces/IOrderReferenceFee.mjs +2 -0
  35. package/esm2022/lib/interfaces/IPatchRefundAction.mjs +2 -0
  36. package/esm2022/lib/interfaces/IPayment.mjs +2 -0
  37. package/esm2022/lib/interfaces/IPaymentFailure.mjs +2 -0
  38. package/esm2022/lib/interfaces/IPaymentGroup.mjs +2 -0
  39. package/esm2022/lib/interfaces/IPaymentStatus.mjs +12 -0
  40. package/esm2022/lib/interfaces/IPaymentView.mjs +2 -0
  41. package/esm2022/lib/interfaces/IPayments.mjs +2 -0
  42. package/esm2022/lib/interfaces/IPutNotificationRequest.mjs +13 -0
  43. package/esm2022/lib/interfaces/IRefundAction.mjs +2 -0
  44. package/esm2022/lib/interfaces/IRefundContactDetails.mjs +2 -0
  45. package/esm2022/lib/interfaces/IRefundFee.mjs +2 -0
  46. package/esm2022/lib/interfaces/IRefundList.mjs +2 -0
  47. package/esm2022/lib/interfaces/IRefundReasons.mjs +2 -0
  48. package/esm2022/lib/interfaces/IRefundRejectReason.mjs +2 -0
  49. package/esm2022/lib/interfaces/IRefundStatus.mjs +2 -0
  50. package/esm2022/lib/interfaces/IRefundStatusHistory.mjs +2 -0
  51. package/esm2022/lib/interfaces/IRefundsNotifications.mjs +2 -0
  52. package/esm2022/lib/interfaces/IRemission.mjs +2 -0
  53. package/esm2022/lib/interfaces/IResubmitRefundRequest.mjs +13 -0
  54. package/esm2022/lib/interfaces/IStatusHistories.mjs +2 -0
  55. package/esm2022/lib/interfaces/IStatusHistory.mjs +2 -0
  56. package/esm2022/lib/interfaces/IserviceRequestCardPayment.mjs +11 -0
  57. package/esm2022/lib/interfaces/IserviceRequestPbaPayment.mjs +15 -0
  58. package/esm2022/lib/interfaces/IssueRefundRequest.mjs +11 -0
  59. package/esm2022/lib/interfaces/NotificationPreviewRequest.mjs +45 -0
  60. package/esm2022/lib/interfaces/PayhubAntennaRequest.mjs +12 -0
  61. package/esm2022/lib/interfaces/PaymentToPayhubRequest.mjs +15 -0
  62. package/esm2022/lib/interfaces/PostIssueRefundRetroRemission.mjs +9 -0
  63. package/esm2022/lib/interfaces/PostRefundRetroRemission.mjs +18 -0
  64. package/esm2022/lib/interfaces/RefundsRequest.mjs +9 -0
  65. package/esm2022/lib/interfaces/UnidentifiedPaymentsRequest.mjs +16 -0
  66. package/esm2022/lib/interfaces/UnsolicitedPaymentsRequest.mjs +22 -0
  67. package/esm2022/lib/payment-lib.component.mjs +288 -0
  68. package/esm2022/lib/payment-lib.module.mjs +187 -0
  69. package/esm2022/lib/payment-lib.service.mjs +49 -0
  70. package/esm2022/lib/pipes/capitalize.pipe.mjs +18 -0
  71. package/esm2022/lib/pipes/ccd-hyphens.pipe.mjs +22 -0
  72. package/esm2022/lib/pipes/key-value.pipe.mjs +23 -0
  73. package/esm2022/lib/pipes/sanitize-html.pipe.mjs +20 -0
  74. package/esm2022/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.mjs +87 -0
  75. package/esm2022/lib/services/card-details/card-details.service.mjs +39 -0
  76. package/esm2022/lib/services/case-transactions/case-transactions.service.mjs +39 -0
  77. package/esm2022/lib/services/notification/notification.service.mjs +70 -0
  78. package/esm2022/lib/services/orderslist.service.mjs +154 -0
  79. package/esm2022/lib/services/payment-list/payment-list.service.mjs +40 -0
  80. package/esm2022/lib/services/payment-view/payment-view.service.mjs +152 -0
  81. package/esm2022/lib/services/refunds/refunds.service.mjs +117 -0
  82. package/esm2022/lib/services/shared/error-handler.service.mjs +96 -0
  83. package/esm2022/lib/services/shared/httpclient/webcomponent.http.client.mjs +64 -0
  84. package/esm2022/lib/services/shared/logger/console-logger.service.mjs +43 -0
  85. package/esm2022/lib/services/shared/logger/logger.service.mjs +23 -0
  86. package/{esm2015/lib/services/status-history/status-history.service.js → esm2022/lib/services/status-history/status-history.service.mjs} +13 -51
  87. package/esm2022/lib/services/xl-file/xl-file.service.mjs +153 -0
  88. package/esm2022/public_api.mjs +7 -0
  89. package/fesm2022/hmcts-ccpay-web-component.mjs +7874 -0
  90. package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -0
  91. package/index.d.ts +5 -0
  92. package/lib/components/add-remission/add-remission.component.d.ts +59 -7
  93. package/lib/components/allocate-payments/allocate-payments.component.d.ts +5 -6
  94. package/lib/components/card-details/card-details.component.d.ts +4 -1
  95. package/lib/components/case-transactions/case-transactions.component.d.ts +9 -7
  96. package/lib/components/contact-details/contact-details.component.d.ts +52 -0
  97. package/lib/components/error-banner/error-banner.component.d.ts +3 -0
  98. package/lib/components/fee-summary/fee-summary.component.d.ts +4 -3
  99. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +4 -1
  100. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +4 -1
  101. package/lib/components/notification-preview/notification-preview.component.d.ts +30 -0
  102. package/lib/components/page-not-found.component.d.ts +3 -0
  103. package/lib/components/payment-list/payment-list.component.d.ts +4 -1
  104. package/lib/components/payment-view/payment-view.component.d.ts +46 -12
  105. package/lib/components/pba-details/pba-details.component.d.ts +3 -0
  106. package/lib/components/pba-payment/pba-payment.component.d.ts +9 -1
  107. package/lib/components/process-refund/process-refund.component.d.ts +22 -2
  108. package/lib/components/processed-payments/processed-payments.component.d.ts +3 -0
  109. package/lib/components/refund-list/refund-list.component.d.ts +3 -0
  110. package/lib/components/refund-status/refund-status.component.d.ts +50 -10
  111. package/lib/components/reports/reports.component.d.ts +10 -5
  112. package/lib/components/service-request/service-request.component.d.ts +42 -14
  113. package/lib/components/status-history/status-history.component.d.ts +4 -1
  114. package/lib/components/table/table.component.d.ts +5 -1
  115. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +4 -5
  116. package/lib/interfaces/IFee.d.ts +6 -0
  117. package/lib/interfaces/INotificationPreview.d.ts +27 -0
  118. package/lib/interfaces/IPayment.d.ts +3 -0
  119. package/lib/interfaces/IPaymentFailure.d.ts +13 -0
  120. package/lib/interfaces/IPutNotificationRequest.d.ts +6 -0
  121. package/lib/interfaces/IRefundContactDetails.d.ts +9 -0
  122. package/lib/interfaces/IRefundFee.d.ts +7 -0
  123. package/lib/interfaces/IRefundList.d.ts +5 -0
  124. package/lib/interfaces/IRefundsNotifications.d.ts +16 -0
  125. package/lib/interfaces/IRemission.d.ts +3 -0
  126. package/lib/interfaces/IResubmitRefundRequest.d.ts +5 -1
  127. package/lib/interfaces/IserviceRequestPbaPayment.d.ts +2 -1
  128. package/lib/interfaces/NotificationPreviewRequest.d.ts +24 -0
  129. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +3 -1
  130. package/lib/interfaces/PostRefundRetroRemission.d.ts +7 -1
  131. package/lib/payment-lib.component.d.ts +7 -5
  132. package/lib/payment-lib.module.d.ts +40 -0
  133. package/lib/payment-lib.service.d.ts +9 -3
  134. package/lib/pipes/capitalize.pipe.d.ts +3 -0
  135. package/lib/pipes/ccd-hyphens.pipe.d.ts +3 -0
  136. package/lib/pipes/key-value.pipe.d.ts +3 -0
  137. package/lib/pipes/sanitize-html.pipe.d.ts +3 -0
  138. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +4 -1
  139. package/lib/services/card-details/card-details.service.d.ts +3 -0
  140. package/lib/services/case-transactions/case-transactions.service.d.ts +4 -1
  141. package/lib/services/notification/notification.service.d.ts +21 -0
  142. package/lib/services/orderslist.service.d.ts +3 -0
  143. package/lib/services/payment-list/payment-list.service.d.ts +3 -0
  144. package/lib/services/payment-view/payment-view.service.d.ts +6 -1
  145. package/lib/services/refunds/refunds.service.d.ts +6 -1
  146. package/lib/services/shared/error-handler.service.d.ts +5 -2
  147. package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +3 -0
  148. package/lib/services/shared/logger/console-logger.service.d.ts +6 -3
  149. package/lib/services/shared/logger/logger.service.d.ts +3 -0
  150. package/lib/services/status-history/status-history.service.d.ts +3 -0
  151. package/lib/services/xl-file/xl-file.service.d.ts +4 -0
  152. package/package.json +18 -14
  153. package/bundles/hmcts-ccpay-web-component.umd.js +0 -9664
  154. package/bundles/hmcts-ccpay-web-component.umd.js.map +0 -1
  155. package/bundles/hmcts-ccpay-web-component.umd.min.js +0 -2
  156. package/bundles/hmcts-ccpay-web-component.umd.min.js.map +0 -1
  157. package/esm2015/hmcts-ccpay-web-component.js +0 -48
  158. package/esm2015/lib/components/add-remission/add-remission.component.js +0 -1083
  159. package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +0 -692
  160. package/esm2015/lib/components/card-details/card-details.component.js +0 -71
  161. package/esm2015/lib/components/case-transactions/case-transactions.component.js +0 -1298
  162. package/esm2015/lib/components/error-banner/error-banner.component.js +0 -30
  163. package/esm2015/lib/components/fee-summary/fee-summary.component.js +0 -482
  164. package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +0 -342
  165. package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +0 -436
  166. package/esm2015/lib/components/page-not-found.component.js +0 -15
  167. package/esm2015/lib/components/payment-list/payment-list.component.js +0 -75
  168. package/esm2015/lib/components/payment-view/payment-view.component.js +0 -514
  169. package/esm2015/lib/components/pba-details/pba-details.component.js +0 -30
  170. package/esm2015/lib/components/pba-payment/pba-payment.component.js +0 -205
  171. package/esm2015/lib/components/process-refund/process-refund.component.js +0 -455
  172. package/esm2015/lib/components/processed-payments/processed-payments.component.js +0 -72
  173. package/esm2015/lib/components/refund-list/refund-list.component.js +0 -127
  174. package/esm2015/lib/components/refund-status/refund-status.component.js +0 -497
  175. package/esm2015/lib/components/reports/reports.component.js +0 -357
  176. package/esm2015/lib/components/service-request/service-request.component.js +0 -626
  177. package/esm2015/lib/components/status-history/status-history.component.js +0 -68
  178. package/esm2015/lib/components/table/table.component.js +0 -196
  179. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +0 -385
  180. package/esm2015/lib/interfaces/AddRemissionRequest.js +0 -37
  181. package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +0 -21
  182. package/esm2015/lib/interfaces/AllocatePaymentRequest.js +0 -68
  183. package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +0 -39
  184. package/esm2015/lib/interfaces/IBSPayments.js +0 -45
  185. package/esm2015/lib/interfaces/ICardDetails.js +0 -21
  186. package/esm2015/lib/interfaces/IFee.js +0 -53
  187. package/esm2015/lib/interfaces/IOrderReferenceFee.js +0 -25
  188. package/esm2015/lib/interfaces/IPatchRefundAction.js +0 -15
  189. package/esm2015/lib/interfaces/IPayment.js +0 -65
  190. package/esm2015/lib/interfaces/IPaymentGroup.js +0 -19
  191. package/esm2015/lib/interfaces/IPaymentStatus.js +0 -27
  192. package/esm2015/lib/interfaces/IPaymentView.js +0 -17
  193. package/esm2015/lib/interfaces/IPayments.js +0 -13
  194. package/esm2015/lib/interfaces/IRefundAction.js +0 -15
  195. package/esm2015/lib/interfaces/IRefundList.js +0 -29
  196. package/esm2015/lib/interfaces/IRefundReasons.js +0 -19
  197. package/esm2015/lib/interfaces/IRefundRejectReason.js +0 -15
  198. package/esm2015/lib/interfaces/IRefundStatus.js +0 -23
  199. package/esm2015/lib/interfaces/IRefundStatusHistory.js +0 -15
  200. package/esm2015/lib/interfaces/IRemission.js +0 -25
  201. package/esm2015/lib/interfaces/IResubmitRefundRequest.js +0 -21
  202. package/esm2015/lib/interfaces/IStatusHistories.js +0 -19
  203. package/esm2015/lib/interfaces/IStatusHistory.js +0 -21
  204. package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +0 -23
  205. package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +0 -28
  206. package/esm2015/lib/interfaces/IssueRefundRequest.js +0 -25
  207. package/esm2015/lib/interfaces/PayhubAntennaRequest.js +0 -28
  208. package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +0 -37
  209. package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +0 -17
  210. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +0 -21
  211. package/esm2015/lib/interfaces/RefundsRequest.js +0 -21
  212. package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +0 -31
  213. package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +0 -43
  214. package/esm2015/lib/payment-lib.component.js +0 -275
  215. package/esm2015/lib/payment-lib.module.js +0 -99
  216. package/esm2015/lib/payment-lib.service.js +0 -80
  217. package/esm2015/lib/pipes/capitalize.pipe.js +0 -24
  218. package/esm2015/lib/pipes/ccd-hyphens.pipe.js +0 -29
  219. package/esm2015/lib/pipes/key-value.pipe.js +0 -30
  220. package/esm2015/lib/pipes/sanitize-html.pipe.js +0 -36
  221. package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +0 -180
  222. package/esm2015/lib/services/card-details/card-details.service.js +0 -76
  223. package/esm2015/lib/services/case-transactions/case-transactions.service.js +0 -76
  224. package/esm2015/lib/services/orderslist.service.js +0 -403
  225. package/esm2015/lib/services/payment-list/payment-list.service.js +0 -79
  226. package/esm2015/lib/services/payment-view/payment-view.service.js +0 -285
  227. package/esm2015/lib/services/refunds/refunds.service.js +0 -203
  228. package/esm2015/lib/services/shared/error-handler.service.js +0 -108
  229. package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +0 -124
  230. package/esm2015/lib/services/shared/logger/console-logger.service.js +0 -67
  231. package/esm2015/lib/services/shared/logger/logger.service.js +0 -49
  232. package/esm2015/lib/services/xl-file/xl-file.service.js +0 -181
  233. package/esm2015/public_api.js +0 -11
  234. package/esm5/hmcts-ccpay-web-component.js +0 -48
  235. package/esm5/lib/components/add-remission/add-remission.component.js +0 -1168
  236. package/esm5/lib/components/allocate-payments/allocate-payments.component.js +0 -745
  237. package/esm5/lib/components/card-details/card-details.component.js +0 -77
  238. package/esm5/lib/components/case-transactions/case-transactions.component.js +0 -1443
  239. package/esm5/lib/components/error-banner/error-banner.component.js +0 -36
  240. package/esm5/lib/components/fee-summary/fee-summary.component.js +0 -542
  241. package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +0 -371
  242. package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +0 -474
  243. package/esm5/lib/components/page-not-found.component.js +0 -17
  244. package/esm5/lib/components/payment-list/payment-list.component.js +0 -83
  245. package/esm5/lib/components/payment-view/payment-view.component.js +0 -602
  246. package/esm5/lib/components/pba-details/pba-details.component.js +0 -36
  247. package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -222
  248. package/esm5/lib/components/process-refund/process-refund.component.js +0 -536
  249. package/esm5/lib/components/processed-payments/processed-payments.component.js +0 -83
  250. package/esm5/lib/components/refund-list/refund-list.component.js +0 -130
  251. package/esm5/lib/components/refund-status/refund-status.component.js +0 -558
  252. package/esm5/lib/components/reports/reports.component.js +0 -398
  253. package/esm5/lib/components/service-request/service-request.component.js +0 -702
  254. package/esm5/lib/components/status-history/status-history.component.js +0 -70
  255. package/esm5/lib/components/table/table.component.js +0 -229
  256. package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +0 -434
  257. package/esm5/lib/interfaces/AddRemissionRequest.js +0 -32
  258. package/esm5/lib/interfaces/AddRetroRemissionRequest.js +0 -19
  259. package/esm5/lib/interfaces/AllocatePaymentRequest.js +0 -63
  260. package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +0 -34
  261. package/esm5/lib/interfaces/IBSPayments.js +0 -45
  262. package/esm5/lib/interfaces/ICardDetails.js +0 -21
  263. package/esm5/lib/interfaces/IFee.js +0 -53
  264. package/esm5/lib/interfaces/IOrderReferenceFee.js +0 -25
  265. package/esm5/lib/interfaces/IPatchRefundAction.js +0 -15
  266. package/esm5/lib/interfaces/IPayment.js +0 -65
  267. package/esm5/lib/interfaces/IPaymentGroup.js +0 -19
  268. package/esm5/lib/interfaces/IPaymentStatus.js +0 -31
  269. package/esm5/lib/interfaces/IPaymentView.js +0 -17
  270. package/esm5/lib/interfaces/IPayments.js +0 -13
  271. package/esm5/lib/interfaces/IRefundAction.js +0 -15
  272. package/esm5/lib/interfaces/IRefundList.js +0 -29
  273. package/esm5/lib/interfaces/IRefundReasons.js +0 -19
  274. package/esm5/lib/interfaces/IRefundRejectReason.js +0 -15
  275. package/esm5/lib/interfaces/IRefundStatus.js +0 -23
  276. package/esm5/lib/interfaces/IRefundStatusHistory.js +0 -15
  277. package/esm5/lib/interfaces/IRemission.js +0 -25
  278. package/esm5/lib/interfaces/IResubmitRefundRequest.js +0 -19
  279. package/esm5/lib/interfaces/IStatusHistories.js +0 -19
  280. package/esm5/lib/interfaces/IStatusHistory.js +0 -21
  281. package/esm5/lib/interfaces/IserviceRequestCardPayment.js +0 -22
  282. package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +0 -25
  283. package/esm5/lib/interfaces/IssueRefundRequest.js +0 -22
  284. package/esm5/lib/interfaces/PayhubAntennaRequest.js +0 -25
  285. package/esm5/lib/interfaces/PaymentToPayhubRequest.js +0 -34
  286. package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +0 -16
  287. package/esm5/lib/interfaces/PostRefundRetroRemission.js +0 -19
  288. package/esm5/lib/interfaces/RefundsRequest.js +0 -19
  289. package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +0 -28
  290. package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +0 -37
  291. package/esm5/lib/payment-lib.component.js +0 -244
  292. package/esm5/lib/payment-lib.module.js +0 -103
  293. package/esm5/lib/payment-lib.service.js +0 -111
  294. package/esm5/lib/pipes/capitalize.pipe.js +0 -32
  295. package/esm5/lib/pipes/ccd-hyphens.pipe.js +0 -37
  296. package/esm5/lib/pipes/key-value.pipe.js +0 -37
  297. package/esm5/lib/pipes/sanitize-html.pipe.js +0 -39
  298. package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +0 -218
  299. package/esm5/lib/services/card-details/card-details.service.js +0 -76
  300. package/esm5/lib/services/case-transactions/case-transactions.service.js +0 -76
  301. package/esm5/lib/services/orderslist.service.js +0 -531
  302. package/esm5/lib/services/payment-list/payment-list.service.js +0 -80
  303. package/esm5/lib/services/payment-view/payment-view.service.js +0 -385
  304. package/esm5/lib/services/refunds/refunds.service.js +0 -243
  305. package/esm5/lib/services/shared/error-handler.service.js +0 -119
  306. package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +0 -154
  307. package/esm5/lib/services/shared/logger/console-logger.service.js +0 -88
  308. package/esm5/lib/services/shared/logger/logger.service.js +0 -68
  309. package/esm5/lib/services/status-history/status-history.service.js +0 -80
  310. package/esm5/lib/services/xl-file/xl-file.service.js +0 -221
  311. package/esm5/public_api.js +0 -11
  312. package/fesm2015/hmcts-ccpay-web-component.js +0 -8525
  313. package/fesm2015/hmcts-ccpay-web-component.js.map +0 -1
  314. package/fesm5/hmcts-ccpay-web-component.js +0 -9773
  315. package/fesm5/hmcts-ccpay-web-component.js.map +0 -1
  316. package/hmcts-ccpay-web-component.d.ts +0 -43
  317. package/hmcts-ccpay-web-component.metadata.json +0 -1
@@ -1,514 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- import { Component, Input } from '@angular/core';
6
- import { PaymentViewService } from '../../services/payment-view/payment-view.service';
7
- import { PaymentLibComponent } from '../../payment-lib.component';
8
- /** @type {?} */
9
- const BS_ENABLE_FLAG = 'bulk-scan-enabling-fe';
10
- import { ChangeDetectorRef } from '@angular/core';
11
- import { OrderslistService } from '../../services/orderslist.service';
12
- export class PaymentViewComponent {
13
- /**
14
- * @param {?} paymentViewService
15
- * @param {?} paymentLibComponent
16
- * @param {?} cd
17
- * @param {?} OrderslistService
18
- */
19
- constructor(paymentViewService, paymentLibComponent, cd, OrderslistService) {
20
- this.paymentViewService = paymentViewService;
21
- this.paymentLibComponent = paymentLibComponent;
22
- this.cd = cd;
23
- this.OrderslistService = OrderslistService;
24
- this.isRefundRemission = false;
25
- this.isAddFeeBtnEnabled = false;
26
- this.isIssueRefunfBtnEnable = false;
27
- this.allowedRolesToAccessRefund = ['payments-refund-approver', 'payments-refund'];
28
- this.remissions = [];
29
- this.check4AllowedRoles2AccessRefund = (/**
30
- * @return {?}
31
- */
32
- () => {
33
- return this.allowedRolesToAccessRefund.some((/**
34
- * @param {?} role
35
- * @return {?}
36
- */
37
- role => this.LOGGEDINUSERROLES.indexOf(role) !== -1));
38
- });
39
- this.allowFurtherAccessAfter4Days = (/**
40
- * @param {?} payment
41
- * @return {?}
42
- */
43
- (payment) => {
44
- if (payment !== null && payment !== undefined) {
45
- /** @type {?} */
46
- let tmp4DayAgo = new Date();
47
- tmp4DayAgo.setDate(tmp4DayAgo.getDate() - 4);
48
- return tmp4DayAgo >= new Date(payment.date_created);
49
- }
50
- });
51
- }
52
- /**
53
- * @return {?}
54
- */
55
- ngAfterContentChecked() {
56
- this.cd.detectChanges();
57
- }
58
- /**
59
- * @return {?}
60
- */
61
- ngOnInit() {
62
- this.ccdCaseNumber = this.paymentLibComponent.CCD_CASE_NUMBER;
63
- this.selectedOption = this.paymentLibComponent.SELECTED_OPTION;
64
- this.dcnNumber = this.paymentLibComponent.DCN_NUMBER;
65
- this.isTurnOff = this.paymentLibComponent.ISTURNOFF;
66
- this.serviceReference = this.paymentLibComponent.paymentGroupReference;
67
- this.viewStatus = 'paymentview';
68
- this.paymentViewService.getApportionPaymentDetails(this.paymentLibComponent.paymentReference).subscribe((/**
69
- * @param {?} paymentGroup
70
- * @return {?}
71
- */
72
- paymentGroup => {
73
- /** @type {?} */
74
- let fees = [];
75
- paymentGroup.fees.forEach((/**
76
- * @param {?} fee
77
- * @return {?}
78
- */
79
- fee => {
80
- this.isRemissionsMatch = false;
81
- paymentGroup.remissions.forEach((/**
82
- * @param {?} rem
83
- * @return {?}
84
- */
85
- rem => {
86
- if (rem.fee_code === fee.code) {
87
- this.isRemissionsMatch = true;
88
- fee['remissions'] = rem;
89
- fees.push(fee);
90
- }
91
- }));
92
- if (!this.isRemissionsMatch) {
93
- fees.push(fee);
94
- }
95
- }));
96
- paymentGroup.fees = fees;
97
- this.paymentGroup = paymentGroup;
98
- this.paymentGroup.payments = this.paymentGroup.payments.filter((/**
99
- * @param {?} paymentGroupObj
100
- * @return {?}
101
- */
102
- paymentGroupObj => paymentGroupObj['reference'].includes(this.paymentLibComponent.paymentReference)));
103
- /** @type {?} */
104
- const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
105
- this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
106
- }), (/**
107
- * @param {?} error
108
- * @return {?}
109
- */
110
- (error) => this.errorMessage = error));
111
- }
112
- /**
113
- * @return {?}
114
- */
115
- get isCardPayment() {
116
- return this.paymentGroup.payments[0].method === 'card';
117
- }
118
- /**
119
- * @return {?}
120
- */
121
- get isTelephonyPayment() {
122
- return this.paymentGroup.payments[0].channel === 'telephony';
123
- }
124
- /**
125
- * @return {?}
126
- */
127
- goToPaymentList() {
128
- this.paymentLibComponent.viewName = 'payment-list';
129
- }
130
- /**
131
- * @param {?} event
132
- * @return {?}
133
- */
134
- goToCaseTransationPage(event) {
135
- event.preventDefault();
136
- if (!this.paymentLibComponent.isFromServiceRequestPage) {
137
- this.OrderslistService.setnavigationPage('casetransactions');
138
- this.OrderslistService.setisFromServiceRequestPage(false);
139
- this.paymentLibComponent.viewName = 'case-transactions';
140
- this.paymentLibComponent.ISBSENABLE = true;
141
- this.resetOrderData();
142
- }
143
- else {
144
- this.OrderslistService.getorderRefs().subscribe((/**
145
- * @param {?} data
146
- * @return {?}
147
- */
148
- (data) => this.orderRef = data));
149
- this.OrderslistService.getorderCCDEvents().subscribe((/**
150
- * @param {?} data
151
- * @return {?}
152
- */
153
- (data) => this.orderCCDEvent = data));
154
- this.OrderslistService.getorderCreateds().subscribe((/**
155
- * @param {?} data
156
- * @return {?}
157
- */
158
- (data) => this.orderCreated = data));
159
- this.OrderslistService.getorderDetail().subscribe((/**
160
- * @param {?} data
161
- * @return {?}
162
- */
163
- (data) => this.orderDetail = data));
164
- this.OrderslistService.getorderPartys().subscribe((/**
165
- * @param {?} data
166
- * @return {?}
167
- */
168
- (data) => this.orderParty = data));
169
- this.OrderslistService.getorderRemissionTotals().subscribe((/**
170
- * @param {?} data
171
- * @return {?}
172
- */
173
- (data) => this.orderRemissionTotal = data));
174
- this.OrderslistService.getorderFeesTotals().subscribe((/**
175
- * @param {?} data
176
- * @return {?}
177
- */
178
- (data) => this.orderFeesTotal = data));
179
- this.OrderslistService.getoorderTotalPaymentss().subscribe((/**
180
- * @param {?} data
181
- * @return {?}
182
- */
183
- (data) => this.orderTotalPayments = data));
184
- this.viewStatus = 'order-full-view';
185
- }
186
- }
187
- /**
188
- * @param {?} fee
189
- * @return {?}
190
- */
191
- addRemission(fee) {
192
- if (this.chkForAddRemission(fee.code)) {
193
- this.feeId = fee;
194
- this.paymentViewService.getApportionPaymentDetails(this.paymentGroup.payments[0].reference).subscribe((/**
195
- * @param {?} paymentGroup
196
- * @return {?}
197
- */
198
- paymentGroup => {
199
- this.paymentGroup = paymentGroup;
200
- this.paymentGroup.payments = this.paymentGroup.payments.filter((/**
201
- * @param {?} paymentGroupObj
202
- * @return {?}
203
- */
204
- paymentGroupObj => paymentGroupObj['reference'].includes(this.paymentLibComponent.paymentReference)));
205
- this.payment = this.paymentGroup.payments[0];
206
- this.paymentLibComponent.isFromPaymentDetailPage = true;
207
- this.viewStatus = 'addremission';
208
- this.isRefundRemission = true;
209
- this.cd.detectChanges();
210
- }), (/**
211
- * @param {?} error
212
- * @return {?}
213
- */
214
- (error) => this.errorMessage = error));
215
- }
216
- }
217
- /**
218
- * @param {?} paymentGroup
219
- * @return {?}
220
- */
221
- checkForFees(paymentGroup) {
222
- if (paymentGroup !== null && paymentGroup !== undefined) {
223
- if (paymentGroup.fees !== null && paymentGroup.fees !== undefined) {
224
- return true;
225
- }
226
- }
227
- return false;
228
- }
229
- /**
230
- * @param {?} payment
231
- * @param {?} remission
232
- * @param {?} fees
233
- * @return {?}
234
- */
235
- addRefundForRemission(payment, remission, fees) {
236
- if (this.chkIsRefundRemissionBtnEnable()) {
237
- this.payment = payment;
238
- this.paymentViewService.getApportionPaymentDetails(this.payment.reference).subscribe((/**
239
- * @param {?} paymentGroup
240
- * @return {?}
241
- */
242
- paymentGroup => {
243
- this.paymentGroup = paymentGroup;
244
- this.paymentGroup.payments = this.paymentGroup.payments.filter((/**
245
- * @param {?} paymentGroupObj
246
- * @return {?}
247
- */
248
- paymentGroupObj => paymentGroupObj['reference'].includes(this.payment.reference)));
249
- this.payment = this.paymentGroup.payments[0];
250
- this.remissions = remission;
251
- this.remissionFeeAmt = fees.filter((/**
252
- * @param {?} data
253
- * @return {?}
254
- */
255
- data => data.code === this.remissions['fee_code']))[0].net_amount;
256
- this.viewStatus = 'addrefundforremission';
257
- // const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
258
- // this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
259
- }), (/**
260
- * @param {?} error
261
- * @return {?}
262
- */
263
- (error) => this.errorMessage = error));
264
- }
265
- }
266
- /**
267
- * @return {?}
268
- */
269
- chkIsRefundRemissionBtnEnable() {
270
- if (this.paymentGroup !== null && this.paymentGroup !== undefined) {
271
- this.paymentGroup.payments.forEach((/**
272
- * @param {?} payment
273
- * @return {?}
274
- */
275
- payment => {
276
- if (payment.method.toLocaleLowerCase() === 'payment by account' && payment.status.toLocaleLowerCase() === 'success' && this.allowFurtherAccessAfter4Days(payment)) {
277
- this.isRefundRemissionBtnEnable = true;
278
- }
279
- }));
280
- if (this.isRefundRemissionBtnEnable) {
281
- return true;
282
- }
283
- else {
284
- return false;
285
- }
286
- ;
287
- }
288
- }
289
- /**
290
- * @param {?} paymentgrp
291
- * @return {?}
292
- */
293
- issueRefund(paymentgrp) {
294
- if (paymentgrp !== null && paymentgrp !== undefined) {
295
- if (this.chkIssueRefundBtnEnable(paymentgrp.payments[0])) {
296
- this.paymentGroup = paymentgrp;
297
- this.viewStatus = 'issuerefund';
298
- this.isRefundRemission = true;
299
- this.paymentLibComponent.isFromPaymentDetailPage = true;
300
- this.isFromPaymentDetailPage = true;
301
- this.isFromServiceRequestPage = this.paymentLibComponent.isFromServiceRequestPage;
302
- }
303
- }
304
- }
305
- /**
306
- * @param {?} feeCode
307
- * @param {?} remissions
308
- * @return {?}
309
- */
310
- getRemissionByFeeCode(feeCode, remissions) {
311
- if (remissions && remissions.length > 0) {
312
- for (const remission of remissions) {
313
- if (remission.fee_code === feeCode) {
314
- return remission;
315
- }
316
- }
317
- }
318
- return null;
319
- }
320
- /**
321
- * @param {?} payment
322
- * @return {?}
323
- */
324
- chkIssueRefundBtnEnable(payment) {
325
- if (this.check4AllowedRoles2AccessRefund() && this.allowFurtherAccessAfter4Days(payment) &&
326
- payment.method === 'payment by account' && payment.status.toLocaleLowerCase() === 'success') {
327
- this.isIssueRefunfBtnEnable = true;
328
- }
329
- if (this.isIssueRefunfBtnEnable) {
330
- return true;
331
- }
332
- else {
333
- return false;
334
- }
335
- ;
336
- }
337
- /**
338
- * @return {?}
339
- */
340
- chkForPBAPayment() {
341
- if (this.paymentGroup !== null && this.paymentGroup !== undefined) {
342
- /** @type {?} */
343
- let payment = this.paymentGroup.payments[0];
344
- if (payment.method.toLocaleLowerCase() === 'payment by account' && this.allowFurtherAccessAfter4Days(payment)) {
345
- return true;
346
- }
347
- return false;
348
- }
349
- }
350
- /**
351
- * @param {?} feeCode
352
- * @return {?}
353
- */
354
- chkForAddRemission(feeCode) {
355
- if (this.chkForPBAPayment() && this.check4AllowedRoles2AccessRefund() && this.allowFurtherAccessAfter4Days(this.paymentGroup.payments[0])) {
356
- if (this.paymentGroup.remissions && this.paymentGroup.remissions.length > 0) {
357
- for (const remission of this.paymentGroup.remissions) {
358
- if (remission.fee_code === feeCode) {
359
- return false;
360
- }
361
- }
362
- return true;
363
- }
364
- return true;
365
- }
366
- else {
367
- return false;
368
- }
369
- }
370
- /**
371
- * @return {?}
372
- */
373
- resetOrderData() {
374
- this.OrderslistService.setOrderRef(null);
375
- this.OrderslistService.setorderCCDEvent(null);
376
- this.OrderslistService.setorderCreated(null);
377
- this.OrderslistService.setorderDetail(null);
378
- this.OrderslistService.setorderParty(null);
379
- this.OrderslistService.setorderTotalPayments(null);
380
- this.OrderslistService.setorderRemissionTotal(null);
381
- this.OrderslistService.setorderFeesTotal(null);
382
- }
383
- }
384
- PaymentViewComponent.decorators = [
385
- { type: Component, args: [{
386
- selector: 'ccpay-payment-view',
387
- template: "\n<ng-container *ngIf=\"viewStatus === 'paymentview'\">\n<div class=\"govuk-width-container\">\n\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"goToCaseTransationPage($event)\" class=\"govuk-back-link\">Back</a>\n </li>\n </ol>\n </div>\n\n <main class=\"govuk-main-wrapper govuk-!-padding-top-0\" id=\"main-content\" role=\"main\">\n\n <div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Payment details could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n\n <div class=\"payment-view-alignment\" *ngIf=\"!errorMessage && paymentGroup?.payments[0]\">\n\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='PAYMENTDETAILS'>\n <div class=\"govuk-grid-row\">\n <div class=\"column\">\n <h1 class=\"heading-large govuk-!-margin-top-0\">Payment details</h1>\n </div>\n </div>\n <table>\n <tbody>\n \n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Service request reference</td>\n <td class=\"tb-col-w\">{{ serviceReference }}</td> \n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment reference</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment amount</td>\n <td class=\"tb-col-w\">\u00A3{{ paymentGroup?.payments[0]?.amount | number:'.2' }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0] && paymentGroup?.payments[0]?.document_control_number && !paymentGroup?.payments[0]?.external_reference\">\n <td class=\"bold tb-col-w\">Payment asset number(DCN)</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.document_control_number }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0] && paymentGroup?.payments[0]?.document_control_number && !paymentGroup?.payments[0]?.external_reference\">\n <td class=\"bold tb-col-w\">Banked date</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.banked_date | date:'dd MMM yyyy' }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0] && paymentGroup?.payments[0]?.external_reference\">\n <td class=\"bold tb-col-w\">GovPay Transaction ID</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.external_reference }}</td>\n </tr>\n <tr class=\"section\" >\n <td class=\"bold tb-col-w\">Payment method</td>\n <td class=\"tb-col-w text-transform\">{{ paymentGroup?.payments[0]?.method }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0]?.method === 'payment by account'\" >\n <td class=\"bold tb-col-w\">Type</td>\n <td class=\"tb-col-w\" *ngIf=\"paymentGroup?.payments[0]?.method !== 'card'\">Credit</td>\n <td class=\"tb-col-w\" *ngIf=\"paymentGroup?.payments[0]?.method === 'card'\">Card</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Channel</td>\n <td class=\"tb-col-w text-transform\">{{ paymentGroup?.payments[0]?.channel }}</td>\n </tr>\n <!-- <tr class=\"section\">\n <td class=\"bold tb-col-w\">Method</td>\n <td *ngIf=\"paymentGroup?.payments[0]?.method !== 'card'\">{{ paymentGroup?.payments[0]?.method }}</td>\n <td *ngIf=\"paymentGroup?.payments[0]?.method === 'card'\">CARD</td>\n </tr> -->\n <!-- <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0]?.channel !== 'telephony'\">\n <td class=\"bold tb-col-w\">Status</td>\n <td>{{ paymentGroup?.payments[0]?.status }}</td>\n </tr> -->\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0]?.payment_allocation[0] !== undefined\">\n <td class=\"bold tb-col-w\">Allocaton status</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.payment_allocation[0]?.allocation_status }}</td>\n </tr>\n \n <tr *ngIf=\"paymentGroup?.payments[0].organisation_name\">\n <td class=\"bold tb-col-w\">PBA account name</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.organisation_name }}</td>\n </tr>\n\n <tr *ngIf=\"paymentGroup?.payments[0].account_number\">\n <td class=\"bold tb-col-w\">PBA number</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.account_number }}</td>\n </tr>\n\n <tr *ngIf=\"paymentGroup?.payments[0].customer_reference\">\n <td class=\"bold tb-col-w\">Customer internal reference</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.customer_reference }}</td>\n </tr>\n \n </tbody>\n </table>\n\n <div>\n <!-- Status histories -->\n <ccpay-payment-statuses *ngIf=\"isStatusAllocated\" [isTakePayment]=\"isTakePayment\"></ccpay-payment-statuses>\n </div>\n <div class=\"remission\">\n <button [disabled]=\"!chkIssueRefundBtnEnable(paymentGroup?.payments[0])\" (click)=\"issueRefund(paymentGroup)\" class=\"govuk-button govuk-button--secondary\">Issue refund</button>\n </div>\n \n <div *ngIf=\"checkForFees(paymentGroup)\">\n <div *ngIf=\"paymentGroup.fees.length > 0\">\n <div class=\"column\">\n <br/>\n <br/>\n <h2 class=\"heading-large\">Fee and remission details</h2>\n \n </div>\n </div>\n \n <div *ngFor=\"let fee of paymentGroup.fees\">\n <table class=\"table\">\n <tbody>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Description</td>\n <td class=\"tb-col-w\">Application for {{ fee.description }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Fee code</td>\n <td class=\"tb-col-w\">{{ fee?.code }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\" [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions && !isTurnOff }\">Fee amount</td>\n <td [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions && !isTurnOff}\">\u00A3{{ fee?.calculated_amount | number:'.2' }}</td>\n </tr>\n \n <tr *ngIf=\"fee.apportion_amount\">\n <td class=\"bold tb-col-w tr-border\" [ngClass]=\"{'tr-border': !fee.remissions}\">Allocated amount</td>\n <td [ngClass]=\"{'tr-border': !fee.remissions}\">\u00A3{{ fee?.apportion_amount | number:'.2' }}</td>\n </tr>\n\n </tbody>\n </table>\n <button [disabled]=\"!chkForAddRemission(fee.code)\" (click)=\"addRemission(fee)\" class=\"govuk-button govuk-button--secondary\"> Add remission</button>\n\n\n \n <!-- <button *ngIf=\"paymentGroup.payments[0].method === 'payment by account'\" (click)=\"addRemission(fee)\" class=\"govuk-button govuk-button--secondary\"> Add remission</button>\n -->\n\n </div>\n\n <!-- remissions -->\n <div class=\"order-class\">\n <div class=\"column\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-24 whitespace-inherit\" scope=\"col\">Help with fees or remission code</td>\n <td class=\"govuk-table__header col-27 whitespace-inherit\" scope=\"col\">Reference</td>\n <td class=\"govuk-table__header whitespace-inherit\" scope=\"col\">Fee</td>\n <td class=\"govuk-table__header whitespace-inherit\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header whitespace-inherit refundBtn\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngFor=\"let remission of paymentGroup.remissions\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.hwf_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.remission_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.fee_code }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n <td class=\"govuk-table__cell refundBtn whitespace-inherit\" >\n <button [disabled]=\"!chkIsRefundRemissionBtnEnable()\" (click)=\"addRefundForRemission(paymentGroup.payments[0],remission,paymentGroup.fees)\" class=\"govuk-button govuk-button--secondary\"> Add refund</button>\n </td>\n <!-- <td *ngIf=\"!chkIsRefundRemissionBtnEnable()\" class=\"govuk-table__cell refundBtn whitespace-inherit\" >\n \n </td> -->\n </tr>\n </tbody>\n \n\n </table>\n </div></div>\n \n <div *ngIf=\"paymentGroup.remissions?.length === 0\">\n <span class=\"mar-17\" >No help with fees or remissions.</span>\n </div>\n \n </div>\n\n\n\n <!-- card details -->\n <!-- <ccpay-card-details *ngIf=\"isCardPayment && !isTelephonyPayment\"></ccpay-card-details> -->\n\n <!-- pba details -->\n <!-- <ccpay-pba-details *ngIf=\"!isCardPayment\" [payment]=\"paymentGroup.payments[0]\"></ccpay-pba-details> -->\n\n \n\n </div>\n\n </main>\n</div>\n\n</ng-container>\n<ng-container *ngIf=\"viewStatus === 'addremission' && feeId\">\n<ccpay-add-remission \n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\" \n[isOldPcipalOff]=\"isOldPcipalOff\" \n[viewCompStatus]= \"viewStatus\"\n[isNewPcipalOff]=\"isNewPcipalOff\" \n[fee]=\"feeId\" \n[payment] = \"payment\"\n[orderStatus] =\"paymentGroup.payments[0].status\"\n[paidAmount]= \"paymentGroup.payments[0].amount\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\" \n[paymentGroupRef]=\"paymentGroup.payment_group_reference\" \n[isFromPaymentDetailPage] = \"true\"\n[ccdCaseNumber]=\"ccdCaseNumber\"\n[orderFeesTotal] = \"orderFeesTotal\"\n[orderTotalPayments] = \"orderTotalPayments\"\n[orderRemissionTotal] = \"orderRemissionTotal\"\n[orderRef] = \"orderRef\"\n[orderCreated] = \"orderCreated\"\n[orderParty] = \"orderParty\"\n[orderCCDEvent] = \"orderCCDEvent\"\n[orderDetail] = \"orderDetail\"\n[LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"></ccpay-add-remission>\n</ng-container>\n\n<ng-container *ngIf=\"viewStatus === 'addrefundforremission' && payment\">\n\n<ccpay-add-remission \n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\" \n[isOldPcipalOff]=\"isOldPcipalOff\" \n[viewCompStatus]= \"viewStatus\"\n[isNewPcipalOff]=\"isNewPcipalOff\" \n[payment]=\"payment\" \n[orderStatus] =\"orderStatus\"\n[paidAmount]= \"orderTotalPayments\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\" \n[feeamount]=\"remissionFeeAmt\"\n[remission] = \"remissions\"\n[isFromServiceRequestPage]=\"false\" \n[paymentGroupRef]=\"paymentGroup.payment_group_reference\"\n[ccdCaseNumber]=\"ccdCaseNumber\"\n[orderFeesTotal] = \"orderFeesTotal\"\n[orderTotalPayments] = \"orderTotalPayments\"\n[orderRemissionTotal] = \"orderRemissionTotal\"\n[orderRef] = \"orderRef\"\n[orderCreated] = \"orderCreated\"\n[orderParty] = \"orderParty\"\n[orderCCDEvent] = \"orderCCDEvent\"\n[orderDetail] = \"orderDetail\"\n[LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"></ccpay-add-remission>\n</ng-container>\n\n<ng-container *ngIf=\"viewStatus === 'issuerefund'\">\n <ccpay-add-remission \n [isTurnOff]=\"isTurnOff\"\n [isStrategicFixEnable]=\"isStrategicFixEnable\" \n [isOldPcipalOff]=\"isOldPcipalOff\" \n [payment] = 'paymentGroup.payments[0]'\n [viewCompStatus]= \"viewStatus\"\n [isNewPcipalOff]=\"isNewPcipalOff\" \n [orderStatus] =\"paymentGroup.payments[0].status\"\n [paidAmount]= \"paymentGroup.payments[0].amount\"\n [isRefundRemission]=\"isRefundRemission\"\n [caseType]=\"caseType\" \n [isFromServiceRequestPage]=\"isFromServiceRequestPage\"\n [isFromPaymentDetailPage] = \"isFromPaymentDetailPage\"\n [paymentGroupRef]=\"paymentGroup.payment_group_reference\" \n [ccdCaseNumber]=\"ccdCaseNumber\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\"\n [orderRef] = \"orderRef\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\">\n ></ccpay-add-remission>\n</ng-container>\n<ng-container *ngIf=\"viewStatus === 'order-full-view'\">\n <ccpay-service-request\n [viewStatus] = \"viewStatus\"\n [orderRef] = \"orderRef\"\n [orderStatus] = \"orderStatus\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"\n [takePayment] = \"isTakePayment\"\n [ccdCaseNumber] = \"ccdCaseNumber\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\">\n</ccpay-service-request>\n</ng-container>\n<!-- <ng-container *ngIf=\"isTakePayment\">\n <div class=\"govuk-width-container\">\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"#\" (click)=\"goToCaseTransationPage($event)\" class=\"govuk-back-link\">Back</a>\n </li>\n </ol>\n </div>\n \n <main class=\"govuk-main-wrapper govuk-!-padding-top-0\" id=\"main-content\" role=\"main\">\n \n <div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Payment details could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n \n <div class=\"payment-view-alignment\" *ngIf=\"!errorMessage && paymentGroup\">\n \n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='PAYMENTDETAILS'>\n <div class=\"govuk-grid-row\">\n <div class=\"column\">\n <h1 class=\"heading-large govuk-!-margin-top-0\">Payment details</h1>\n </div>\n </div>\n <table>\n <tbody>\n <tr class=\"section\" *ngIf=\"isTurnOff\">\n <td class=\"bold tb-col-w\">Payment group reference</td>\n <td>{{ paymentGroup.payment_group_reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment reference</td>\n <td>{{ paymentGroup.payments[0].reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment amount</td>\n <td>\u00A3{{ paymentGroup.payments[0].amount | number:'.2' }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup.payments[0] && paymentGroup.payments[0].external_reference\">\n <td class=\"bold tb-col-w\">GovPay Transaction ID</td>\n <td>{{ paymentGroup.payments[0].external_reference }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup.payments[0] && paymentGroup.payments[0].document_control_number && !paymentGroup.payments[0].external_reference\">\n <td class=\"bold tb-col-w\">Payment asset number(DCN)</td>\n <td>{{ paymentGroup.payments[0].document_control_number }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup.payments[0] && paymentGroup.payments[0].document_control_number && !paymentGroup.payments[0].external_reference\">\n <td class=\"bold tb-col-w\">Banked date</td>\n <td>{{ paymentGroup.payments[0].banked_date | date:'dd MMM yyyy' }}</td>\n </tr>\n </tbody>\n </table>\n \n <div class=\"govuk-grid-row\" *ngIf=\"paymentGroup.fees.length > 0\">\n <div class=\"column\">\n <h2 class=\"heading-large\">Fee and remission details</h2>\n </div>\n </div>\n \n <div *ngFor=\"let fee of paymentGroup.fees\">\n <table class=\"table\">\n <tbody>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Description</td>\n <td>Application for {{ fee.description }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Fee code</td>\n <td>{{ fee.code }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\" [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions && !isTurnOff }\">Fee amount</td>\n <td [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions && !isTurnOff }\">\u00A3{{ fee.calculated_amount | number:'.2' }}</td>\n </tr>\n <tr *ngIf=\"fee.net_amount && isTurnOff\">\n <td class=\"bold tb-col-w\" [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions}\" >Net amount</td>\n <td [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions}\">\u00A3{{ fee.net_amount | number:'.2' }}</td>\n </tr>\n <tr *ngIf=\"fee.apportion_amount\">\n <td class=\"bold tb-col-w tr-border\" [ngClass]=\"{'tr-border': !fee.remissions}\">Allocated amount</td>\n <td [ngClass]=\"{'tr-border': !fee.remissions}\">\u00A3{{ fee.apportion_amount | number:'.2' }}</td>\n </tr>\n \n <tr *ngIf=\"fee.remissions\">\n <td class=\"bold tb-col-w\">Remission code</td>\n <td>{{fee.remissions.hwf_reference}}</td>\n </tr>\n <tr *ngIf=\"fee.remissions\">\n <td class=\"bold tb-col-w tr-border\">Remission amount</td>\n <td class=\"tr-border\">\u00A3{{ fee.remissions.hwf_amount | number:'.2'}}</td>\n </tr>\n </tbody>\n </table>\n \n </div>\n \n <!-- card details -->\n <!-- <ccpay-card-details *ngIf=\"isCardPayment && !isTelephonyPayment\"></ccpay-card-details>\n -->\n <!-- pba details -->\n <!-- <ccpay-pba-details *ngIf=\"!isCardPayment\" [payment]=\"paymentGroup.payments[0]\"></ccpay-pba-details> -->\n <!-- Status histories -->\n <!-- <ccpay-payment-statuses *ngIf=\"isStatusAllocated\"[isTakePayment]=\"isTakePayment\" ></ccpay-payment-statuses>\n \n </div>\n \n </main>\n </div> -->\n<!-- </ng-container> --> \n",
388
- styles: [".tb-col-w{width:330px}.tr-border{border-bottom:2px solid}.payment-view-alignment{margin-left:30px}.govuk-button{font-size:19px;float:left;margin-top:2em}.remission{margin-bottom:7em}.govuk-error-summary__title{font-size:24px!important}.govuk-table__cell,.govuk-table__header{padding:0;line-height:1.3;vertical-align:middle}.govuk-table__row{line-height:1.3}.govuk-table__cell:last-child{text-align:right}.text-transform::first-letter{text-transform:capitalize}.govuk-link{cursor:pointer}.mar-17{font-size:19px!important}"]
389
- }] }
390
- ];
391
- /** @nocollapse */
392
- PaymentViewComponent.ctorParameters = () => [
393
- { type: PaymentViewService },
394
- { type: PaymentLibComponent },
395
- { type: ChangeDetectorRef },
396
- { type: OrderslistService }
397
- ];
398
- PaymentViewComponent.propDecorators = {
399
- isTurnOff: [{ type: Input }],
400
- isTakePayment: [{ type: Input }],
401
- caseType: [{ type: Input }],
402
- isNewPcipalOff: [{ type: Input }],
403
- isOldPcipalOff: [{ type: Input }],
404
- orderRef: [{ type: Input }],
405
- orderStatus: [{ type: Input }],
406
- orderTotalPayments: [{ type: Input }],
407
- payment: [{ type: Input }],
408
- LOGGEDINUSERROLES: [{ type: Input }],
409
- orderParty: [{ type: Input }],
410
- orderCreated: [{ type: Input }],
411
- orderCCDEvent: [{ type: Input }],
412
- orderFeesTotal: [{ type: Input }],
413
- orderRemissionTotal: [{ type: Input }],
414
- orderDetail: [{ type: Input }]
415
- };
416
- if (false) {
417
- /** @type {?} */
418
- PaymentViewComponent.prototype.isTurnOff;
419
- /** @type {?} */
420
- PaymentViewComponent.prototype.isTakePayment;
421
- /** @type {?} */
422
- PaymentViewComponent.prototype.caseType;
423
- /** @type {?} */
424
- PaymentViewComponent.prototype.isNewPcipalOff;
425
- /** @type {?} */
426
- PaymentViewComponent.prototype.isOldPcipalOff;
427
- /** @type {?} */
428
- PaymentViewComponent.prototype.orderRef;
429
- /** @type {?} */
430
- PaymentViewComponent.prototype.orderStatus;
431
- /** @type {?} */
432
- PaymentViewComponent.prototype.orderTotalPayments;
433
- /** @type {?} */
434
- PaymentViewComponent.prototype.payment;
435
- /** @type {?} */
436
- PaymentViewComponent.prototype.LOGGEDINUSERROLES;
437
- /** @type {?} */
438
- PaymentViewComponent.prototype.orderParty;
439
- /** @type {?} */
440
- PaymentViewComponent.prototype.orderCreated;
441
- /** @type {?} */
442
- PaymentViewComponent.prototype.orderCCDEvent;
443
- /** @type {?} */
444
- PaymentViewComponent.prototype.orderFeesTotal;
445
- /** @type {?} */
446
- PaymentViewComponent.prototype.orderRemissionTotal;
447
- /** @type {?} */
448
- PaymentViewComponent.prototype.orderDetail;
449
- /** @type {?} */
450
- PaymentViewComponent.prototype.paymentGroup;
451
- /** @type {?} */
452
- PaymentViewComponent.prototype.errorMessage;
453
- /** @type {?} */
454
- PaymentViewComponent.prototype.ccdCaseNumber;
455
- /** @type {?} */
456
- PaymentViewComponent.prototype.selectedOption;
457
- /** @type {?} */
458
- PaymentViewComponent.prototype.dcnNumber;
459
- /** @type {?} */
460
- PaymentViewComponent.prototype.isStatusAllocated;
461
- /** @type {?} */
462
- PaymentViewComponent.prototype.isRemissionsMatch;
463
- /** @type {?} */
464
- PaymentViewComponent.prototype.feeId;
465
- /** @type {?} */
466
- PaymentViewComponent.prototype.viewStatus;
467
- /** @type {?} */
468
- PaymentViewComponent.prototype.isRefundRemission;
469
- /** @type {?} */
470
- PaymentViewComponent.prototype.isStrategicFixEnable;
471
- /** @type {?} */
472
- PaymentViewComponent.prototype.isAddFeeBtnEnabled;
473
- /** @type {?} */
474
- PaymentViewComponent.prototype.isIssueRefunfBtnEnable;
475
- /** @type {?} */
476
- PaymentViewComponent.prototype.allowedRolesToAccessRefund;
477
- /** @type {?} */
478
- PaymentViewComponent.prototype.remissions;
479
- /** @type {?} */
480
- PaymentViewComponent.prototype.remissionFeeAmt;
481
- /** @type {?} */
482
- PaymentViewComponent.prototype.isRefundRemissionBtnEnable;
483
- /** @type {?} */
484
- PaymentViewComponent.prototype.serviceReference;
485
- /** @type {?} */
486
- PaymentViewComponent.prototype.isFromServiceRequestPage;
487
- /** @type {?} */
488
- PaymentViewComponent.prototype.isFromPaymentDetailPage;
489
- /** @type {?} */
490
- PaymentViewComponent.prototype.check4AllowedRoles2AccessRefund;
491
- /** @type {?} */
492
- PaymentViewComponent.prototype.allowFurtherAccessAfter4Days;
493
- /**
494
- * @type {?}
495
- * @private
496
- */
497
- PaymentViewComponent.prototype.paymentViewService;
498
- /**
499
- * @type {?}
500
- * @private
501
- */
502
- PaymentViewComponent.prototype.paymentLibComponent;
503
- /**
504
- * @type {?}
505
- * @private
506
- */
507
- PaymentViewComponent.prototype.cd;
508
- /**
509
- * @type {?}
510
- * @private
511
- */
512
- PaymentViewComponent.prototype.OrderslistService;
513
- }
514
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9jY3BheS13ZWItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvcGF5bWVudC12aWV3L3BheW1l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nQucGF5bWVudFJlZmVyZW5jZSkuc3Vic2NyaWJlKFxuICAgICAgcGF5bWVudEdyb3VwID0+IHtcbiAgICAgICAgbGV0IGZlZXMgPSBbXTtcbiAgICAgICAgcGF5bWVudEdyb3VwLmZlZXMuZm9yRWFjaChmZWUgPT4ge1xuICAgICAgICAgIHRoaXMuaXNSZW1pc3Npb25zTWF0Y2ggPSBmYWxzZTtcblxuICAgICAgICAgIHBheW1lbnRHcm91cC5yZW1pc3Npb25zLmZvckVhY2gocmVtID0+IHtcbiAgICAgICAgICAgIGlmIChyZW0uZmVlX2NvZGUgPT09IGZlZS5jb2RlKSB7XG4gICAgICAgICAgICAgIHRoaXMuaXNSZW1pc3Npb25zTWF0Y2ggPSB0cnVlO1xuICAgICAgICAgICAgICBmZWVbJ3JlbWlzc2lvbnMnXSA9IHJlbTtcbiAgICAgICAgICAgICAgZmVlcy5wdXNoKGZlZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSk7XG4gICAgICAgICAgaWYgKCF0aGlzLmlzUmVtaXNzaW9uc01hdGNoKSB7XG4gICAgICAgICAgICBmZWVzLnB1c2goZmVlKTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgICBwYXltZW50R3JvdXAuZmVlcyA9IGZlZXNcbiAgICAgICAgdGhpcy5wYXltZW50R3JvdXAgPSBwYXltZW50R3JvdXA7XG5cbiAgICAgICAgdGhpcy5wYXltZW50R3JvdXAucGF5bWVudHMgPSB0aGlzLnBheW1lbnRHcm91cC5wYXltZW50cy5maWx0ZXJcbiAgICAgICAgICAocGF5bWVudEdyb3VwT2JqID0+IHBheW1lbnRHcm91cE9ialsncmVmZXJlbmNlJ10uaW5jbHVkZXModGhpcy5wYXltZW50TGliQ29tcG9uZW50LnBheW1lbnRSZWZlcmVuY2UpKTtcbiAgICAgICAgY29uc3QgcGF5bWVudEFsbG9jYXRpb24gPSB0aGlzLnBheW1lbnRHcm91cC5wYXltZW50c1swXS5wYXltZW50X2FsbG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Lk9yZGVyc2xpc3RTZXJ2aWNlLnNldG9yZGVyRmVlc1RvdGFsKG51bGwpO1xuICB9XG59Il19
@@ -1,30 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- import { Component, Input } from '@angular/core';
6
- export class PbaDetailsComponent {
7
- constructor() { }
8
- /**
9
- * @return {?}
10
- */
11
- ngOnInit() {
12
- }
13
- }
14
- PbaDetailsComponent.decorators = [
15
- { type: Component, args: [{
16
- selector: 'ccpay-pba-details',
17
- template: "\n <h2 class=\"heading-large\">Payment method</h2>\n <table>\n <tbody>\n <tr>\n <td class=\"bold tb-col-w\">Method</td>\n <td class=\"capitalize\">{{ payment.method | lowercase}}</td>\n </tr>\n <tr>\n <td class=\"bold tb-col-w\">Type</td>\n <td>Credit</td>\n </tr>\n <tr *ngIf=\"payment.organisation_name\">\n <td class=\"bold tb-col-w\">PBA account name</td>\n <td>{{ payment.organisation_name }}</td>\n </tr>\n <tr *ngIf=\"payment.account_number\">\n <td class=\"bold tb-col-w\">PBA number</td>\n <td>{{ payment.account_number }}</td>\n </tr>\n <tr *ngIf=\"payment.customer_reference\">\n <td class=\"bold tb-col-w\">Customer internal reference</td>\n <td>{{ payment.customer_reference }}</td>\n </tr>\n </tbody>\n </table>\n",
18
- styles: [".capitalize::first-letter{text-transform:uppercase}.tb-col-w{width:330px}"]
19
- }] }
20
- ];
21
- /** @nocollapse */
22
- PbaDetailsComponent.ctorParameters = () => [];
23
- PbaDetailsComponent.propDecorators = {
24
- payment: [{ type: Input }]
25
- };
26
- if (false) {
27
- /** @type {?} */
28
- PbaDetailsComponent.prototype.payment;
29
- }
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGJhLWRldGFpbHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1j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