@zeniai/client-epic-state 5.1.54-betaAK0 → 5.1.54-betaDI0

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 (817) hide show
  1. package/lib/coreEpics.js +3 -2
  2. package/lib/entity/chargeCard/chargeCard.d.ts +1 -1
  3. package/lib/entity/notificationRegistry/notificationRegistryPayload.d.ts +18 -0
  4. package/lib/entity/notificationRegistry/notificationRegistryPayload.js +28 -0
  5. package/lib/entity/notificationRegistry/notificationRegistryReducer.d.ts +6 -0
  6. package/lib/entity/notificationRegistry/notificationRegistryReducer.js +26 -0
  7. package/lib/entity/notificationRegistry/notificationRegistrySelector.d.ts +2 -0
  8. package/lib/entity/notificationRegistry/notificationRegistrySelector.js +10 -0
  9. package/lib/entity/notificationRegistry/notificationRegistryState.d.ts +31 -0
  10. package/lib/entity/notificationRegistry/notificationRegistryState.js +10 -0
  11. package/lib/entity/tenant/clearAllEpic.d.ts +4 -45
  12. package/lib/entity/tenant/clearAllEpic.js +6 -88
  13. package/lib/entity/tenant/tenantReducer.js +3 -3
  14. package/lib/entity/userRole/userRoleType.d.ts +0 -1
  15. package/lib/entity/userRole/userRoleType.js +1 -15
  16. package/lib/epic.d.ts +2 -38
  17. package/lib/epic.js +2 -62
  18. package/lib/esm/coreEpics.js +3 -2
  19. package/lib/esm/entity/notificationRegistry/notificationRegistryPayload.js +24 -0
  20. package/lib/esm/entity/notificationRegistry/notificationRegistryReducer.js +22 -0
  21. package/lib/esm/entity/notificationRegistry/notificationRegistrySelector.js +6 -0
  22. package/lib/esm/entity/notificationRegistry/notificationRegistryState.js +5 -0
  23. package/lib/esm/entity/tenant/clearAllEpic.js +4 -86
  24. package/lib/esm/entity/tenant/tenantReducer.js +3 -3
  25. package/lib/esm/entity/transactionActivityLog/transactionActivityLogPayload.js +1 -1
  26. package/lib/esm/entity/userRole/userRoleType.js +0 -13
  27. package/lib/esm/epic.js +2 -62
  28. package/lib/esm/index.js +7 -109
  29. package/lib/esm/reducer.js +6 -126
  30. package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +1 -2
  31. package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +2 -4
  32. package/lib/esm/view/fileView/fileUploadHelpers.js +2 -1
  33. package/lib/esm/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.js +58 -0
  34. package/lib/esm/view/notificationPreferencesView/notificationPreferencesEndpoint.js +5 -0
  35. package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewPayload.js +36 -0
  36. package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewReducer.js +124 -0
  37. package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewSelector.js +25 -0
  38. package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewState.js +4 -0
  39. package/lib/esm/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +5 -1
  40. package/lib/esm/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +4 -5
  41. package/lib/esm/view/settingsView/epic/fetchNotificationSettingsEpic.js +12 -2
  42. package/lib/esm/view/settingsView/settingsViewHelpers.js +3 -2
  43. package/lib/esm/view/spendManagement/commonSetup/setupViewReducer.js +1 -2
  44. package/lib/esm/view/transactionDetail/epics/saveTransactionDetailEpic.js +1 -1
  45. package/lib/index.d.ts +8 -182
  46. package/lib/index.js +47 -437
  47. package/lib/reducer.d.ts +6 -126
  48. package/lib/reducer.js +9 -129
  49. package/lib/view/addressView/addressViewState.d.ts +1 -1
  50. package/lib/view/common/recurringViewHelper.d.ts +2 -2
  51. package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +1 -2
  52. package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +2 -4
  53. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +1 -1
  54. package/lib/view/fileView/fileUploadHelpers.js +2 -1
  55. package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.d.ts +30 -0
  56. package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.js +62 -0
  57. package/lib/view/notificationPreferencesView/notificationPreferencesEndpoint.d.ts +2 -0
  58. package/lib/view/notificationPreferencesView/notificationPreferencesEndpoint.js +9 -0
  59. package/lib/view/notificationPreferencesView/notificationPreferencesViewPayload.d.ts +7 -0
  60. package/lib/view/notificationPreferencesView/notificationPreferencesViewPayload.js +41 -0
  61. package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.d.ts +23 -0
  62. package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.js +128 -0
  63. package/lib/view/notificationPreferencesView/notificationPreferencesViewSelector.d.ts +7 -0
  64. package/lib/view/notificationPreferencesView/notificationPreferencesViewSelector.js +32 -0
  65. package/lib/view/notificationPreferencesView/notificationPreferencesViewState.d.ts +12 -0
  66. package/lib/view/notificationPreferencesView/notificationPreferencesViewState.js +8 -0
  67. package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +5 -1
  68. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +4 -5
  69. package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.d.ts +9 -1
  70. package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.js +12 -2
  71. package/lib/view/settingsView/settingsViewHelpers.d.ts +1 -1
  72. package/lib/view/settingsView/settingsViewHelpers.js +3 -2
  73. package/lib/view/settingsView/settingsViewPayload.d.ts +4 -0
  74. package/lib/view/settingsView/settingsViewState.d.ts +1 -1
  75. package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +1 -1
  76. package/lib/view/spendManagement/billPay/billList/billListState.d.ts +1 -1
  77. package/lib/view/spendManagement/commonSetup/setupViewReducer.js +1 -2
  78. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +1 -1
  79. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +3 -3
  80. package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.js +1 -1
  81. package/lib/zeniAPI.d.ts +0 -1
  82. package/package.json +1 -1
  83. package/lib/entity/invoicing/coupon/couponConstants.d.ts +0 -11
  84. package/lib/entity/invoicing/coupon/couponConstants.js +0 -29
  85. package/lib/entity/invoicing/coupon/couponPayload.d.ts +0 -49
  86. package/lib/entity/invoicing/coupon/couponPayload.js +0 -40
  87. package/lib/entity/invoicing/coupon/couponReducer.d.ts +0 -9
  88. package/lib/entity/invoicing/coupon/couponReducer.js +0 -47
  89. package/lib/entity/invoicing/coupon/couponSelector.d.ts +0 -5
  90. package/lib/entity/invoicing/coupon/couponSelector.js +0 -9
  91. package/lib/entity/invoicing/coupon/couponState.d.ts +0 -33
  92. package/lib/entity/invoicing/coupon/couponState.js +0 -2
  93. package/lib/entity/invoicing/creditNote/creditNotePayload.d.ts +0 -49
  94. package/lib/entity/invoicing/creditNote/creditNotePayload.js +0 -62
  95. package/lib/entity/invoicing/creditNote/creditNoteReducer.d.ts +0 -9
  96. package/lib/entity/invoicing/creditNote/creditNoteReducer.js +0 -49
  97. package/lib/entity/invoicing/creditNote/creditNoteSelector.d.ts +0 -4
  98. package/lib/entity/invoicing/creditNote/creditNoteSelector.js +0 -17
  99. package/lib/entity/invoicing/creditNote/creditNoteState.d.ts +0 -49
  100. package/lib/entity/invoicing/creditNote/creditNoteState.js +0 -2
  101. package/lib/entity/invoicing/dunningCase/dunningCasePayload.d.ts +0 -26
  102. package/lib/entity/invoicing/dunningCase/dunningCasePayload.js +0 -36
  103. package/lib/entity/invoicing/dunningCase/dunningCaseReducer.d.ts +0 -9
  104. package/lib/entity/invoicing/dunningCase/dunningCaseReducer.js +0 -49
  105. package/lib/entity/invoicing/dunningCase/dunningCaseSelector.d.ts +0 -4
  106. package/lib/entity/invoicing/dunningCase/dunningCaseSelector.js +0 -17
  107. package/lib/entity/invoicing/dunningCase/dunningCaseState.d.ts +0 -29
  108. package/lib/entity/invoicing/dunningCase/dunningCaseState.js +0 -2
  109. package/lib/entity/invoicing/invoice/invoicePayload.d.ts +0 -109
  110. package/lib/entity/invoicing/invoice/invoicePayload.js +0 -141
  111. package/lib/entity/invoicing/invoice/invoiceReducer.d.ts +0 -9
  112. package/lib/entity/invoicing/invoice/invoiceReducer.js +0 -49
  113. package/lib/entity/invoicing/invoice/invoiceSelector.d.ts +0 -5
  114. package/lib/entity/invoicing/invoice/invoiceSelector.js +0 -9
  115. package/lib/entity/invoicing/invoice/invoiceState.d.ts +0 -104
  116. package/lib/entity/invoicing/invoice/invoiceState.js +0 -2
  117. package/lib/entity/invoicing/invoicingCommonPayload.d.ts +0 -67
  118. package/lib/entity/invoicing/invoicingCommonPayload.js +0 -21
  119. package/lib/entity/invoicing/invoicingCommonState.d.ts +0 -40
  120. package/lib/entity/invoicing/invoicingCommonState.js +0 -2
  121. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.d.ts +0 -63
  122. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +0 -80
  123. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.d.ts +0 -9
  124. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +0 -47
  125. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.d.ts +0 -4
  126. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.js +0 -17
  127. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.d.ts +0 -49
  128. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.js +0 -2
  129. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.d.ts +0 -84
  130. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +0 -117
  131. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.d.ts +0 -9
  132. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +0 -49
  133. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.d.ts +0 -5
  134. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.js +0 -17
  135. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.d.ts +0 -76
  136. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +0 -2
  137. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionPayload.d.ts +0 -52
  138. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionPayload.js +0 -62
  139. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.d.ts +0 -9
  140. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +0 -49
  141. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionSelector.d.ts +0 -4
  142. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionSelector.js +0 -17
  143. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionState.d.ts +0 -54
  144. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionState.js +0 -2
  145. package/lib/entity/invoicing/plan/planPayload.d.ts +0 -40
  146. package/lib/entity/invoicing/plan/planPayload.js +0 -51
  147. package/lib/entity/invoicing/plan/planReducer.d.ts +0 -9
  148. package/lib/entity/invoicing/plan/planReducer.js +0 -47
  149. package/lib/entity/invoicing/plan/planSelector.d.ts +0 -4
  150. package/lib/entity/invoicing/plan/planSelector.js +0 -17
  151. package/lib/entity/invoicing/plan/planState.d.ts +0 -43
  152. package/lib/entity/invoicing/plan/planState.js +0 -2
  153. package/lib/entity/invoicing/product/productPayload.d.ts +0 -65
  154. package/lib/entity/invoicing/product/productPayload.js +0 -78
  155. package/lib/entity/invoicing/product/productReducer.d.ts +0 -9
  156. package/lib/entity/invoicing/product/productReducer.js +0 -47
  157. package/lib/entity/invoicing/product/productSelector.d.ts +0 -4
  158. package/lib/entity/invoicing/product/productSelector.js +0 -17
  159. package/lib/entity/invoicing/product/productState.d.ts +0 -67
  160. package/lib/entity/invoicing/product/productState.js +0 -2
  161. package/lib/esm/entity/invoicing/coupon/couponConstants.js +0 -26
  162. package/lib/esm/entity/invoicing/coupon/couponPayload.js +0 -36
  163. package/lib/esm/entity/invoicing/coupon/couponReducer.js +0 -40
  164. package/lib/esm/entity/invoicing/coupon/couponSelector.js +0 -4
  165. package/lib/esm/entity/invoicing/coupon/couponState.js +0 -1
  166. package/lib/esm/entity/invoicing/creditNote/creditNotePayload.js +0 -56
  167. package/lib/esm/entity/invoicing/creditNote/creditNoteReducer.js +0 -42
  168. package/lib/esm/entity/invoicing/creditNote/creditNoteSelector.js +0 -10
  169. package/lib/esm/entity/invoicing/creditNote/creditNoteState.js +0 -1
  170. package/lib/esm/entity/invoicing/dunningCase/dunningCasePayload.js +0 -32
  171. package/lib/esm/entity/invoicing/dunningCase/dunningCaseReducer.js +0 -42
  172. package/lib/esm/entity/invoicing/dunningCase/dunningCaseSelector.js +0 -10
  173. package/lib/esm/entity/invoicing/dunningCase/dunningCaseState.js +0 -1
  174. package/lib/esm/entity/invoicing/invoice/invoicePayload.js +0 -135
  175. package/lib/esm/entity/invoicing/invoice/invoiceReducer.js +0 -42
  176. package/lib/esm/entity/invoicing/invoice/invoiceSelector.js +0 -4
  177. package/lib/esm/entity/invoicing/invoice/invoiceState.js +0 -1
  178. package/lib/esm/entity/invoicing/invoicingCommonPayload.js +0 -17
  179. package/lib/esm/entity/invoicing/invoicingCommonState.js +0 -1
  180. package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +0 -75
  181. package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +0 -40
  182. package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.js +0 -10
  183. package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerState.js +0 -1
  184. package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +0 -109
  185. package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +0 -42
  186. package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.js +0 -10
  187. package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +0 -1
  188. package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionPayload.js +0 -58
  189. package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +0 -42
  190. package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionSelector.js +0 -10
  191. package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionState.js +0 -1
  192. package/lib/esm/entity/invoicing/plan/planPayload.js +0 -47
  193. package/lib/esm/entity/invoicing/plan/planReducer.js +0 -40
  194. package/lib/esm/entity/invoicing/plan/planSelector.js +0 -10
  195. package/lib/esm/entity/invoicing/plan/planState.js +0 -1
  196. package/lib/esm/entity/invoicing/product/productPayload.js +0 -73
  197. package/lib/esm/entity/invoicing/product/productReducer.js +0 -40
  198. package/lib/esm/entity/invoicing/product/productSelector.js +0 -10
  199. package/lib/esm/entity/invoicing/product/productState.js +0 -1
  200. package/lib/esm/view/invoicing/auditView/auditViewEpics.js +0 -44
  201. package/lib/esm/view/invoicing/auditView/auditViewPayload.js +0 -1
  202. package/lib/esm/view/invoicing/auditView/auditViewReducer.js +0 -56
  203. package/lib/esm/view/invoicing/auditView/auditViewSelector.js +0 -17
  204. package/lib/esm/view/invoicing/auditView/auditViewState.js +0 -1
  205. package/lib/esm/view/invoicing/couponView/couponViewEpics.js +0 -79
  206. package/lib/esm/view/invoicing/couponView/couponViewPayload.js +0 -1
  207. package/lib/esm/view/invoicing/couponView/couponViewReducer.js +0 -109
  208. package/lib/esm/view/invoicing/couponView/couponViewSelector.js +0 -34
  209. package/lib/esm/view/invoicing/couponView/couponViewState.js +0 -39
  210. package/lib/esm/view/invoicing/createInvoice/createInvoiceEpic.js +0 -30
  211. package/lib/esm/view/invoicing/createInvoice/createInvoiceFormConfig.js +0 -65
  212. package/lib/esm/view/invoicing/createInvoice/createInvoicePayload.js +0 -1
  213. package/lib/esm/view/invoicing/createInvoice/createInvoiceReducer.js +0 -41
  214. package/lib/esm/view/invoicing/createInvoice/createInvoiceSelector.js +0 -26
  215. package/lib/esm/view/invoicing/createInvoice/createInvoiceState.js +0 -1
  216. package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +0 -63
  217. package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +0 -1
  218. package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +0 -87
  219. package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +0 -8
  220. package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodState.js +0 -1
  221. package/lib/esm/view/invoicing/dataImportAction/dataImportActionEpic.js +0 -35
  222. package/lib/esm/view/invoicing/dataImportAction/dataImportActionPayload.js +0 -1
  223. package/lib/esm/view/invoicing/dataImportAction/dataImportActionReducer.js +0 -68
  224. package/lib/esm/view/invoicing/dataImportAction/dataImportActionSelector.js +0 -5
  225. package/lib/esm/view/invoicing/dataImportAction/dataImportActionState.js +0 -1
  226. package/lib/esm/view/invoicing/dataImportView/dataImportViewEpics.js +0 -74
  227. package/lib/esm/view/invoicing/dataImportView/dataImportViewPayload.js +0 -1
  228. package/lib/esm/view/invoicing/dataImportView/dataImportViewReducer.js +0 -106
  229. package/lib/esm/view/invoicing/dataImportView/dataImportViewSelector.js +0 -18
  230. package/lib/esm/view/invoicing/dataImportView/dataImportViewState.js +0 -1
  231. package/lib/esm/view/invoicing/dunningAction/dunningActionEpic.js +0 -27
  232. package/lib/esm/view/invoicing/dunningAction/dunningActionPayload.js +0 -1
  233. package/lib/esm/view/invoicing/dunningAction/dunningActionReducer.js +0 -36
  234. package/lib/esm/view/invoicing/dunningAction/dunningActionRequestPayload.js +0 -2
  235. package/lib/esm/view/invoicing/dunningAction/dunningActionSelector.js +0 -5
  236. package/lib/esm/view/invoicing/dunningAction/dunningActionState.js +0 -1
  237. package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +0 -134
  238. package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +0 -64
  239. package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.js +0 -70
  240. package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.js +0 -1
  241. package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormConfig.js +0 -152
  242. package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +0 -60
  243. package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.js +0 -59
  244. package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +0 -65
  245. package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +0 -41
  246. package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.js +0 -1
  247. package/lib/esm/view/invoicing/editInvoicingCouponDetailView/invoicingCouponFormConfig.js +0 -44
  248. package/lib/esm/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +0 -50
  249. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +0 -31
  250. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +0 -62
  251. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +0 -42
  252. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +0 -1
  253. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js +0 -35
  254. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.js +0 -53
  255. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +0 -53
  256. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +0 -45
  257. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +0 -73
  258. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +0 -56
  259. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.js +0 -1
  260. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.js +0 -29
  261. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/initializeInvoicingSubscriptionAddressEpic.js +0 -36
  262. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionFormConfig.js +0 -69
  263. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +0 -52
  264. package/lib/esm/view/invoicing/invoiceAction/invoiceActionEpic.js +0 -53
  265. package/lib/esm/view/invoicing/invoiceAction/invoiceActionPayload.js +0 -1
  266. package/lib/esm/view/invoicing/invoiceAction/invoiceActionReducer.js +0 -42
  267. package/lib/esm/view/invoicing/invoiceAction/invoiceActionRequestPayload.js +0 -2
  268. package/lib/esm/view/invoicing/invoiceAction/invoiceActionSelector.js +0 -5
  269. package/lib/esm/view/invoicing/invoiceAction/invoiceActionState.js +0 -1
  270. package/lib/esm/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +0 -25
  271. package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailPayload.js +0 -1
  272. package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailReducer.js +0 -38
  273. package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailSelector.js +0 -21
  274. package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailState.js +0 -1
  275. package/lib/esm/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +0 -32
  276. package/lib/esm/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +0 -15
  277. package/lib/esm/view/invoicing/invoiceList/fetchInvoiceListEpic.js +0 -56
  278. package/lib/esm/view/invoicing/invoiceList/fetchInvoiceListPageEpic.js +0 -30
  279. package/lib/esm/view/invoicing/invoiceList/invoiceListPayload.js +0 -1
  280. package/lib/esm/view/invoicing/invoiceList/invoiceListReducer.js +0 -140
  281. package/lib/esm/view/invoicing/invoiceList/invoiceListSelector.js +0 -23
  282. package/lib/esm/view/invoicing/invoiceList/invoiceListState.js +0 -19
  283. package/lib/esm/view/invoicing/invoicingApiHelper.js +0 -14
  284. package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewEpics.js +0 -19
  285. package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewPayload.js +0 -1
  286. package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js +0 -34
  287. package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewSelector.js +0 -10
  288. package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState.js +0 -1
  289. package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogCountsEpic.js +0 -20
  290. package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogListPageEpic.js +0 -35
  291. package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogPlanListEpic.js +0 -43
  292. package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogProductListEpic.js +0 -43
  293. package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.js +0 -1
  294. package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +0 -152
  295. package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.js +0 -32
  296. package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.js +0 -20
  297. package/lib/esm/view/invoicing/invoicingConfigView/epics/acceptInvoicingTermsEpic.js +0 -21
  298. package/lib/esm/view/invoicing/invoicingConfigView/epics/enableInvoicingEpic.js +0 -18
  299. package/lib/esm/view/invoicing/invoicingConfigView/epics/fetchInvoicingConfigEpic.js +0 -21
  300. package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewPayload.js +0 -17
  301. package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +0 -104
  302. package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.js +0 -20
  303. package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewState.js +0 -1
  304. package/lib/esm/view/invoicing/invoicingCouponDetailView/fetchInvoicingCouponDetailEpic.js +0 -22
  305. package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewPayload.js +0 -1
  306. package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.js +0 -38
  307. package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewSelector.js +0 -11
  308. package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewState.js +0 -1
  309. package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewEpics.js +0 -19
  310. package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewPayload.js +0 -1
  311. package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +0 -31
  312. package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewSelector.js +0 -11
  313. package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState.js +0 -1
  314. package/lib/esm/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteCountsEpic.js +0 -23
  315. package/lib/esm/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListEpic.js +0 -43
  316. package/lib/esm/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListPageEpic.js +0 -27
  317. package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewPayload.js +0 -1
  318. package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +0 -89
  319. package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.js +0 -21
  320. package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.js +0 -39
  321. package/lib/esm/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +0 -25
  322. package/lib/esm/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +0 -45
  323. package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.js +0 -1
  324. package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +0 -51
  325. package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.js +0 -26
  326. package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.js +0 -1
  327. package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.js +0 -20
  328. package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +0 -43
  329. package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +0 -27
  330. package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +0 -1
  331. package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +0 -105
  332. package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +0 -21
  333. package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.js +0 -34
  334. package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewEpics.js +0 -19
  335. package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewPayload.js +0 -1
  336. package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +0 -31
  337. package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewSelector.js +0 -13
  338. package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewState.js +0 -1
  339. package/lib/esm/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseCountsEpic.js +0 -20
  340. package/lib/esm/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListEpic.js +0 -40
  341. package/lib/esm/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListPageEpic.js +0 -27
  342. package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewPayload.js +0 -1
  343. package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +0 -89
  344. package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.js +0 -21
  345. package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.js +0 -40
  346. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.js +0 -17
  347. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.js +0 -17
  348. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.js +0 -55
  349. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.js +0 -17
  350. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.js +0 -17
  351. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.js +0 -17
  352. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.js +0 -17
  353. package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +0 -88
  354. package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +0 -115
  355. package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewSelector.js +0 -65
  356. package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewState.js +0 -1
  357. package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.js +0 -22
  358. package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.js +0 -1
  359. package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +0 -31
  360. package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.js +0 -13
  361. package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.js +0 -1
  362. package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.js +0 -23
  363. package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +0 -52
  364. package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +0 -27
  365. package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +0 -1
  366. package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +0 -103
  367. package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +0 -22
  368. package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +0 -43
  369. package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewEpics.js +0 -19
  370. package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewPayload.js +0 -1
  371. package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +0 -31
  372. package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewSelector.js +0 -13
  373. package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState.js +0 -1
  374. package/lib/esm/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListEpic.js +0 -46
  375. package/lib/esm/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.js +0 -24
  376. package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewPayload.js +0 -1
  377. package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +0 -84
  378. package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.js +0 -19
  379. package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.js +0 -39
  380. package/lib/esm/view/invoicing/paymentAction/paymentActionEpic.js +0 -27
  381. package/lib/esm/view/invoicing/paymentAction/paymentActionPayload.js +0 -1
  382. package/lib/esm/view/invoicing/paymentAction/paymentActionReducer.js +0 -36
  383. package/lib/esm/view/invoicing/paymentAction/paymentActionRequestPayload.js +0 -2
  384. package/lib/esm/view/invoicing/paymentAction/paymentActionSelector.js +0 -5
  385. package/lib/esm/view/invoicing/paymentAction/paymentActionState.js +0 -1
  386. package/lib/esm/view/invoicing/recordPayment/recordPaymentEpic.js +0 -26
  387. package/lib/esm/view/invoicing/recordPayment/recordPaymentFormConfig.js +0 -37
  388. package/lib/esm/view/invoicing/recordPayment/recordPaymentPayload.js +0 -32
  389. package/lib/esm/view/invoicing/recordPayment/recordPaymentReducer.js +0 -42
  390. package/lib/esm/view/invoicing/recordPayment/recordPaymentSelector.js +0 -25
  391. package/lib/esm/view/invoicing/recordPayment/recordPaymentState.js +0 -1
  392. package/lib/esm/view/invoicing/settingsView/invoicingBrandingFormConfig.js +0 -47
  393. package/lib/esm/view/invoicing/settingsView/invoicingBrandingFormEpics.js +0 -58
  394. package/lib/esm/view/invoicing/settingsView/invoicingSettingsHelpers.js +0 -7
  395. package/lib/esm/view/invoicing/settingsView/settingsViewEpics.js +0 -71
  396. package/lib/esm/view/invoicing/settingsView/settingsViewPayload.js +0 -1
  397. package/lib/esm/view/invoicing/settingsView/settingsViewReducer.js +0 -86
  398. package/lib/esm/view/invoicing/settingsView/settingsViewSelector.js +0 -50
  399. package/lib/esm/view/invoicing/settingsView/settingsViewState.js +0 -1
  400. package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionEpic.js +0 -30
  401. package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionPayload.js +0 -1
  402. package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionReducer.js +0 -36
  403. package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionRequestPayload.js +0 -2
  404. package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionSelector.js +0 -5
  405. package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionState.js +0 -1
  406. package/lib/view/invoicing/auditView/auditViewEpics.d.ts +0 -7
  407. package/lib/view/invoicing/auditView/auditViewEpics.js +0 -48
  408. package/lib/view/invoicing/auditView/auditViewPayload.d.ts +0 -14
  409. package/lib/view/invoicing/auditView/auditViewPayload.js +0 -2
  410. package/lib/view/invoicing/auditView/auditViewReducer.d.ts +0 -22
  411. package/lib/view/invoicing/auditView/auditViewReducer.js +0 -60
  412. package/lib/view/invoicing/auditView/auditViewSelector.d.ts +0 -16
  413. package/lib/view/invoicing/auditView/auditViewSelector.js +0 -21
  414. package/lib/view/invoicing/auditView/auditViewState.d.ts +0 -17
  415. package/lib/view/invoicing/auditView/auditViewState.js +0 -2
  416. package/lib/view/invoicing/couponView/couponViewEpics.d.ts +0 -15
  417. package/lib/view/invoicing/couponView/couponViewEpics.js +0 -85
  418. package/lib/view/invoicing/couponView/couponViewPayload.d.ts +0 -5
  419. package/lib/view/invoicing/couponView/couponViewPayload.js +0 -2
  420. package/lib/view/invoicing/couponView/couponViewReducer.d.ts +0 -35
  421. package/lib/view/invoicing/couponView/couponViewReducer.js +0 -113
  422. package/lib/view/invoicing/couponView/couponViewSelector.d.ts +0 -30
  423. package/lib/view/invoicing/couponView/couponViewSelector.js +0 -43
  424. package/lib/view/invoicing/couponView/couponViewState.d.ts +0 -40
  425. package/lib/view/invoicing/couponView/couponViewState.js +0 -44
  426. package/lib/view/invoicing/createInvoice/createInvoiceEpic.d.ts +0 -10
  427. package/lib/view/invoicing/createInvoice/createInvoiceEpic.js +0 -34
  428. package/lib/view/invoicing/createInvoice/createInvoiceFormConfig.d.ts +0 -13
  429. package/lib/view/invoicing/createInvoice/createInvoiceFormConfig.js +0 -70
  430. package/lib/view/invoicing/createInvoice/createInvoicePayload.d.ts +0 -24
  431. package/lib/view/invoicing/createInvoice/createInvoicePayload.js +0 -2
  432. package/lib/view/invoicing/createInvoice/createInvoiceReducer.d.ts +0 -10
  433. package/lib/view/invoicing/createInvoice/createInvoiceReducer.js +0 -45
  434. package/lib/view/invoicing/createInvoice/createInvoiceSelector.d.ts +0 -24
  435. package/lib/view/invoicing/createInvoice/createInvoiceSelector.js +0 -30
  436. package/lib/view/invoicing/createInvoice/createInvoiceState.d.ts +0 -35
  437. package/lib/view/invoicing/createInvoice/createInvoiceState.js +0 -2
  438. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.d.ts +0 -11
  439. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +0 -70
  440. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.d.ts +0 -18
  441. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +0 -2
  442. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.d.ts +0 -25
  443. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +0 -91
  444. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.d.ts +0 -11
  445. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +0 -19
  446. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.d.ts +0 -24
  447. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.js +0 -2
  448. package/lib/view/invoicing/dataImportAction/dataImportActionEpic.d.ts +0 -7
  449. package/lib/view/invoicing/dataImportAction/dataImportActionEpic.js +0 -39
  450. package/lib/view/invoicing/dataImportAction/dataImportActionPayload.d.ts +0 -3
  451. package/lib/view/invoicing/dataImportAction/dataImportActionPayload.js +0 -2
  452. package/lib/view/invoicing/dataImportAction/dataImportActionReducer.d.ts +0 -13
  453. package/lib/view/invoicing/dataImportAction/dataImportActionReducer.js +0 -72
  454. package/lib/view/invoicing/dataImportAction/dataImportActionSelector.d.ts +0 -4
  455. package/lib/view/invoicing/dataImportAction/dataImportActionSelector.js +0 -9
  456. package/lib/view/invoicing/dataImportAction/dataImportActionState.d.ts +0 -5
  457. package/lib/view/invoicing/dataImportAction/dataImportActionState.js +0 -2
  458. package/lib/view/invoicing/dataImportView/dataImportViewEpics.d.ts +0 -10
  459. package/lib/view/invoicing/dataImportView/dataImportViewEpics.js +0 -81
  460. package/lib/view/invoicing/dataImportView/dataImportViewPayload.d.ts +0 -84
  461. package/lib/view/invoicing/dataImportView/dataImportViewPayload.js +0 -2
  462. package/lib/view/invoicing/dataImportView/dataImportViewReducer.d.ts +0 -15
  463. package/lib/view/invoicing/dataImportView/dataImportViewReducer.js +0 -110
  464. package/lib/view/invoicing/dataImportView/dataImportViewSelector.d.ts +0 -20
  465. package/lib/view/invoicing/dataImportView/dataImportViewSelector.js +0 -22
  466. package/lib/view/invoicing/dataImportView/dataImportViewState.d.ts +0 -19
  467. package/lib/view/invoicing/dataImportView/dataImportViewState.js +0 -2
  468. package/lib/view/invoicing/dunningAction/dunningActionEpic.d.ts +0 -8
  469. package/lib/view/invoicing/dunningAction/dunningActionEpic.js +0 -31
  470. package/lib/view/invoicing/dunningAction/dunningActionPayload.d.ts +0 -3
  471. package/lib/view/invoicing/dunningAction/dunningActionPayload.js +0 -2
  472. package/lib/view/invoicing/dunningAction/dunningActionReducer.d.ts +0 -20
  473. package/lib/view/invoicing/dunningAction/dunningActionReducer.js +0 -40
  474. package/lib/view/invoicing/dunningAction/dunningActionRequestPayload.d.ts +0 -24
  475. package/lib/view/invoicing/dunningAction/dunningActionRequestPayload.js +0 -3
  476. package/lib/view/invoicing/dunningAction/dunningActionSelector.d.ts +0 -3
  477. package/lib/view/invoicing/dunningAction/dunningActionSelector.js +0 -9
  478. package/lib/view/invoicing/dunningAction/dunningActionState.d.ts +0 -5
  479. package/lib/view/invoicing/dunningAction/dunningActionState.js +0 -2
  480. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.d.ts +0 -9
  481. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +0 -138
  482. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.d.ts +0 -30
  483. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +0 -68
  484. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.d.ts +0 -46
  485. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.js +0 -77
  486. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.d.ts +0 -57
  487. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.js +0 -2
  488. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormConfig.d.ts +0 -22
  489. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormConfig.js +0 -159
  490. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.d.ts +0 -9
  491. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +0 -64
  492. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.d.ts +0 -10
  493. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.js +0 -63
  494. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.d.ts +0 -27
  495. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +0 -69
  496. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.d.ts +0 -32
  497. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +0 -46
  498. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.d.ts +0 -29
  499. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.js +0 -2
  500. package/lib/view/invoicing/editInvoicingCouponDetailView/invoicingCouponFormConfig.d.ts +0 -5
  501. package/lib/view/invoicing/editInvoicingCouponDetailView/invoicingCouponFormConfig.js +0 -48
  502. package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.d.ts +0 -9
  503. package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +0 -54
  504. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.d.ts +0 -12
  505. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +0 -35
  506. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.d.ts +0 -22
  507. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +0 -66
  508. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.d.ts +0 -22
  509. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +0 -46
  510. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.d.ts +0 -27
  511. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +0 -2
  512. package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.d.ts +0 -16
  513. package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js +0 -39
  514. package/lib/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.d.ts +0 -15
  515. package/lib/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.js +0 -57
  516. package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.d.ts +0 -11
  517. package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +0 -57
  518. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.d.ts +0 -11
  519. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +0 -49
  520. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.d.ts +0 -26
  521. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +0 -77
  522. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.d.ts +0 -40
  523. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +0 -61
  524. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.d.ts +0 -26
  525. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.js +0 -2
  526. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.d.ts +0 -20
  527. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.js +0 -33
  528. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/initializeInvoicingSubscriptionAddressEpic.d.ts +0 -17
  529. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/initializeInvoicingSubscriptionAddressEpic.js +0 -40
  530. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionFormConfig.d.ts +0 -20
  531. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionFormConfig.js +0 -75
  532. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.d.ts +0 -11
  533. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +0 -56
  534. package/lib/view/invoicing/invoiceAction/invoiceActionEpic.d.ts +0 -10
  535. package/lib/view/invoicing/invoiceAction/invoiceActionEpic.js +0 -58
  536. package/lib/view/invoicing/invoiceAction/invoiceActionPayload.d.ts +0 -3
  537. package/lib/view/invoicing/invoiceAction/invoiceActionPayload.js +0 -2
  538. package/lib/view/invoicing/invoiceAction/invoiceActionReducer.d.ts +0 -24
  539. package/lib/view/invoicing/invoiceAction/invoiceActionReducer.js +0 -46
  540. package/lib/view/invoicing/invoiceAction/invoiceActionRequestPayload.d.ts +0 -47
  541. package/lib/view/invoicing/invoiceAction/invoiceActionRequestPayload.js +0 -3
  542. package/lib/view/invoicing/invoiceAction/invoiceActionSelector.d.ts +0 -3
  543. package/lib/view/invoicing/invoiceAction/invoiceActionSelector.js +0 -9
  544. package/lib/view/invoicing/invoiceAction/invoiceActionState.d.ts +0 -5
  545. package/lib/view/invoicing/invoiceAction/invoiceActionState.js +0 -2
  546. package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.d.ts +0 -9
  547. package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +0 -29
  548. package/lib/view/invoicing/invoiceDetail/invoiceDetailPayload.d.ts +0 -3
  549. package/lib/view/invoicing/invoiceDetail/invoiceDetailPayload.js +0 -2
  550. package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.d.ts +0 -16
  551. package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.js +0 -43
  552. package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.d.ts +0 -18
  553. package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.js +0 -28
  554. package/lib/view/invoicing/invoiceDetail/invoiceDetailState.d.ts +0 -7
  555. package/lib/view/invoicing/invoiceDetail/invoiceDetailState.js +0 -2
  556. package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.d.ts +0 -7
  557. package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +0 -36
  558. package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.d.ts +0 -7
  559. package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +0 -19
  560. package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.d.ts +0 -9
  561. package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.js +0 -60
  562. package/lib/view/invoicing/invoiceList/fetchInvoiceListPageEpic.d.ts +0 -11
  563. package/lib/view/invoicing/invoiceList/fetchInvoiceListPageEpic.js +0 -34
  564. package/lib/view/invoicing/invoiceList/invoiceListPayload.d.ts +0 -6
  565. package/lib/view/invoicing/invoiceList/invoiceListPayload.js +0 -2
  566. package/lib/view/invoicing/invoiceList/invoiceListReducer.d.ts +0 -48
  567. package/lib/view/invoicing/invoiceList/invoiceListReducer.js +0 -145
  568. package/lib/view/invoicing/invoiceList/invoiceListSelector.d.ts +0 -23
  569. package/lib/view/invoicing/invoiceList/invoiceListSelector.js +0 -26
  570. package/lib/view/invoicing/invoiceList/invoiceListState.d.ts +0 -36
  571. package/lib/view/invoicing/invoiceList/invoiceListState.js +0 -23
  572. package/lib/view/invoicing/invoicingApiHelper.d.ts +0 -15
  573. package/lib/view/invoicing/invoicingApiHelper.js +0 -19
  574. package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewEpics.d.ts +0 -8
  575. package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewEpics.js +0 -23
  576. package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewPayload.d.ts +0 -3
  577. package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewPayload.js +0 -2
  578. package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.d.ts +0 -13
  579. package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js +0 -38
  580. package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewSelector.d.ts +0 -14
  581. package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewSelector.js +0 -14
  582. package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState.d.ts +0 -6
  583. package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState.js +0 -2
  584. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogCountsEpic.d.ts +0 -7
  585. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogCountsEpic.js +0 -24
  586. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogListPageEpic.d.ts +0 -16
  587. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogListPageEpic.js +0 -39
  588. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogPlanListEpic.d.ts +0 -8
  589. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogPlanListEpic.js +0 -47
  590. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogProductListEpic.d.ts +0 -8
  591. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogProductListEpic.js +0 -47
  592. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.d.ts +0 -6
  593. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.js +0 -2
  594. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.d.ts +0 -52
  595. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +0 -156
  596. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.d.ts +0 -29
  597. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.js +0 -36
  598. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.d.ts +0 -48
  599. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.js +0 -24
  600. package/lib/view/invoicing/invoicingConfigView/epics/acceptInvoicingTermsEpic.d.ts +0 -8
  601. package/lib/view/invoicing/invoicingConfigView/epics/acceptInvoicingTermsEpic.js +0 -25
  602. package/lib/view/invoicing/invoicingConfigView/epics/enableInvoicingEpic.d.ts +0 -7
  603. package/lib/view/invoicing/invoicingConfigView/epics/enableInvoicingEpic.js +0 -22
  604. package/lib/view/invoicing/invoicingConfigView/epics/fetchInvoicingConfigEpic.d.ts +0 -12
  605. package/lib/view/invoicing/invoicingConfigView/epics/fetchInvoicingConfigEpic.js +0 -25
  606. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewPayload.d.ts +0 -28
  607. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewPayload.js +0 -21
  608. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.d.ts +0 -12
  609. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +0 -109
  610. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.d.ts +0 -22
  611. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.js +0 -24
  612. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewState.d.ts +0 -15
  613. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewState.js +0 -2
  614. package/lib/view/invoicing/invoicingCouponDetailView/fetchInvoicingCouponDetailEpic.d.ts +0 -8
  615. package/lib/view/invoicing/invoicingCouponDetailView/fetchInvoicingCouponDetailEpic.js +0 -26
  616. package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewPayload.d.ts +0 -3
  617. package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewPayload.js +0 -2
  618. package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.d.ts +0 -16
  619. package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.js +0 -43
  620. package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewSelector.d.ts +0 -12
  621. package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewSelector.js +0 -18
  622. package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewState.d.ts +0 -7
  623. package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewState.js +0 -2
  624. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewEpics.d.ts +0 -8
  625. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewEpics.js +0 -23
  626. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewPayload.d.ts +0 -3
  627. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewPayload.js +0 -2
  628. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.d.ts +0 -11
  629. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +0 -35
  630. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewSelector.d.ts +0 -14
  631. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewSelector.js +0 -16
  632. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState.d.ts +0 -4
  633. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState.js +0 -2
  634. package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteCountsEpic.d.ts +0 -7
  635. package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteCountsEpic.js +0 -27
  636. package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListEpic.d.ts +0 -8
  637. package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListEpic.js +0 -47
  638. package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListPageEpic.d.ts +0 -16
  639. package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListPageEpic.js +0 -31
  640. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewPayload.d.ts +0 -5
  641. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewPayload.js +0 -2
  642. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.d.ts +0 -31
  643. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +0 -93
  644. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.d.ts +0 -22
  645. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.js +0 -24
  646. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.d.ts +0 -42
  647. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.js +0 -44
  648. package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.d.ts +0 -9
  649. package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +0 -29
  650. package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.d.ts +0 -18
  651. package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +0 -49
  652. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.d.ts +0 -3
  653. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.js +0 -2
  654. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.d.ts +0 -22
  655. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +0 -56
  656. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.d.ts +0 -26
  657. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.js +0 -33
  658. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.d.ts +0 -7
  659. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.js +0 -2
  660. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.d.ts +0 -7
  661. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.js +0 -24
  662. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.d.ts +0 -9
  663. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +0 -47
  664. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.d.ts +0 -16
  665. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +0 -31
  666. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.d.ts +0 -5
  667. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +0 -2
  668. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.d.ts +0 -34
  669. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +0 -109
  670. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.d.ts +0 -24
  671. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +0 -24
  672. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.d.ts +0 -41
  673. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.js +0 -39
  674. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewEpics.d.ts +0 -8
  675. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewEpics.js +0 -23
  676. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewPayload.d.ts +0 -3
  677. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewPayload.js +0 -2
  678. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.d.ts +0 -11
  679. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +0 -35
  680. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewSelector.d.ts +0 -15
  681. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewSelector.js +0 -18
  682. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewState.d.ts +0 -4
  683. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewState.js +0 -2
  684. package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseCountsEpic.d.ts +0 -7
  685. package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseCountsEpic.js +0 -24
  686. package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListEpic.d.ts +0 -8
  687. package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListEpic.js +0 -44
  688. package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListPageEpic.d.ts +0 -16
  689. package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListPageEpic.js +0 -31
  690. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewPayload.d.ts +0 -5
  691. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewPayload.js +0 -2
  692. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.d.ts +0 -31
  693. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +0 -93
  694. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.d.ts +0 -22
  695. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.js +0 -24
  696. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.d.ts +0 -41
  697. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.js +0 -45
  698. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.d.ts +0 -7
  699. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.js +0 -21
  700. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.d.ts +0 -7
  701. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.js +0 -21
  702. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.d.ts +0 -14
  703. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.js +0 -59
  704. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.d.ts +0 -7
  705. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.js +0 -21
  706. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.d.ts +0 -7
  707. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.js +0 -21
  708. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.d.ts +0 -7
  709. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.js +0 -21
  710. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.d.ts +0 -7
  711. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.js +0 -21
  712. package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.d.ts +0 -99
  713. package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +0 -97
  714. package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.d.ts +0 -10
  715. package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +0 -119
  716. package/lib/view/invoicing/invoicingOverview/invoicingOverviewSelector.d.ts +0 -32
  717. package/lib/view/invoicing/invoicingOverview/invoicingOverviewSelector.js +0 -70
  718. package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.d.ts +0 -111
  719. package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.js +0 -2
  720. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.d.ts +0 -9
  721. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.js +0 -26
  722. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.d.ts +0 -3
  723. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.js +0 -2
  724. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.d.ts +0 -11
  725. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +0 -35
  726. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.d.ts +0 -15
  727. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.js +0 -18
  728. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.d.ts +0 -4
  729. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.js +0 -2
  730. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.d.ts +0 -7
  731. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.js +0 -27
  732. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.d.ts +0 -9
  733. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +0 -56
  734. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.d.ts +0 -16
  735. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +0 -31
  736. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.d.ts +0 -5
  737. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +0 -2
  738. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.d.ts +0 -35
  739. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +0 -107
  740. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.d.ts +0 -25
  741. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +0 -25
  742. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.d.ts +0 -44
  743. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +0 -48
  744. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewEpics.d.ts +0 -8
  745. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewEpics.js +0 -23
  746. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewPayload.d.ts +0 -3
  747. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewPayload.js +0 -2
  748. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.d.ts +0 -11
  749. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +0 -35
  750. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewSelector.d.ts +0 -16
  751. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewSelector.js +0 -18
  752. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState.d.ts +0 -4
  753. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState.js +0 -2
  754. package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListEpic.d.ts +0 -8
  755. package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListEpic.js +0 -50
  756. package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.d.ts +0 -16
  757. package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.js +0 -28
  758. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewPayload.d.ts +0 -4
  759. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewPayload.js +0 -2
  760. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.d.ts +0 -30
  761. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +0 -88
  762. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.d.ts +0 -19
  763. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.js +0 -22
  764. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.d.ts +0 -40
  765. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.js +0 -44
  766. package/lib/view/invoicing/paymentAction/paymentActionEpic.d.ts +0 -8
  767. package/lib/view/invoicing/paymentAction/paymentActionEpic.js +0 -31
  768. package/lib/view/invoicing/paymentAction/paymentActionPayload.d.ts +0 -3
  769. package/lib/view/invoicing/paymentAction/paymentActionPayload.js +0 -2
  770. package/lib/view/invoicing/paymentAction/paymentActionReducer.d.ts +0 -19
  771. package/lib/view/invoicing/paymentAction/paymentActionReducer.js +0 -40
  772. package/lib/view/invoicing/paymentAction/paymentActionRequestPayload.d.ts +0 -7
  773. package/lib/view/invoicing/paymentAction/paymentActionRequestPayload.js +0 -3
  774. package/lib/view/invoicing/paymentAction/paymentActionSelector.d.ts +0 -3
  775. package/lib/view/invoicing/paymentAction/paymentActionSelector.js +0 -9
  776. package/lib/view/invoicing/paymentAction/paymentActionState.d.ts +0 -5
  777. package/lib/view/invoicing/paymentAction/paymentActionState.js +0 -2
  778. package/lib/view/invoicing/recordPayment/recordPaymentEpic.d.ts +0 -9
  779. package/lib/view/invoicing/recordPayment/recordPaymentEpic.js +0 -30
  780. package/lib/view/invoicing/recordPayment/recordPaymentFormConfig.d.ts +0 -8
  781. package/lib/view/invoicing/recordPayment/recordPaymentFormConfig.js +0 -40
  782. package/lib/view/invoicing/recordPayment/recordPaymentPayload.d.ts +0 -30
  783. package/lib/view/invoicing/recordPayment/recordPaymentPayload.js +0 -36
  784. package/lib/view/invoicing/recordPayment/recordPaymentReducer.d.ts +0 -11
  785. package/lib/view/invoicing/recordPayment/recordPaymentReducer.js +0 -46
  786. package/lib/view/invoicing/recordPayment/recordPaymentSelector.d.ts +0 -22
  787. package/lib/view/invoicing/recordPayment/recordPaymentSelector.js +0 -30
  788. package/lib/view/invoicing/recordPayment/recordPaymentState.d.ts +0 -22
  789. package/lib/view/invoicing/recordPayment/recordPaymentState.js +0 -2
  790. package/lib/view/invoicing/settingsView/invoicingBrandingFormConfig.d.ts +0 -32
  791. package/lib/view/invoicing/settingsView/invoicingBrandingFormConfig.js +0 -52
  792. package/lib/view/invoicing/settingsView/invoicingBrandingFormEpics.d.ts +0 -22
  793. package/lib/view/invoicing/settingsView/invoicingBrandingFormEpics.js +0 -63
  794. package/lib/view/invoicing/settingsView/invoicingSettingsHelpers.d.ts +0 -2
  795. package/lib/view/invoicing/settingsView/invoicingSettingsHelpers.js +0 -11
  796. package/lib/view/invoicing/settingsView/settingsViewEpics.d.ts +0 -11
  797. package/lib/view/invoicing/settingsView/settingsViewEpics.js +0 -78
  798. package/lib/view/invoicing/settingsView/settingsViewPayload.d.ts +0 -18
  799. package/lib/view/invoicing/settingsView/settingsViewPayload.js +0 -2
  800. package/lib/view/invoicing/settingsView/settingsViewReducer.d.ts +0 -15
  801. package/lib/view/invoicing/settingsView/settingsViewReducer.js +0 -90
  802. package/lib/view/invoicing/settingsView/settingsViewSelector.d.ts +0 -42
  803. package/lib/view/invoicing/settingsView/settingsViewSelector.js +0 -57
  804. package/lib/view/invoicing/settingsView/settingsViewState.d.ts +0 -9
  805. package/lib/view/invoicing/settingsView/settingsViewState.js +0 -2
  806. package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.d.ts +0 -9
  807. package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.js +0 -34
  808. package/lib/view/invoicing/subscriptionAction/subscriptionActionPayload.d.ts +0 -3
  809. package/lib/view/invoicing/subscriptionAction/subscriptionActionPayload.js +0 -2
  810. package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.d.ts +0 -19
  811. package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.js +0 -40
  812. package/lib/view/invoicing/subscriptionAction/subscriptionActionRequestPayload.d.ts +0 -43
  813. package/lib/view/invoicing/subscriptionAction/subscriptionActionRequestPayload.js +0 -3
  814. package/lib/view/invoicing/subscriptionAction/subscriptionActionSelector.d.ts +0 -3
  815. package/lib/view/invoicing/subscriptionAction/subscriptionActionSelector.js +0 -9
  816. package/lib/view/invoicing/subscriptionAction/subscriptionActionState.d.ts +0 -5
  817. package/lib/view/invoicing/subscriptionAction/subscriptionActionState.js +0 -2
@@ -0,0 +1,7 @@
1
+ import { NotificationPreferences } from './notificationPreferencesViewState';
2
+ export interface NotificationPreferencesPayload {
3
+ event_enabled_by_channel?: Record<string, Record<string, boolean>>;
4
+ group_frequency_by_group_id?: Record<string, string>;
5
+ }
6
+ export declare const mapPayloadToPreferences: (payload?: NotificationPreferencesPayload) => NotificationPreferences;
7
+ export declare const mapPreferencesToPayload: (preferences: NotificationPreferences) => Record<string, unknown>;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.mapPreferencesToPayload = exports.mapPayloadToPreferences = void 0;
4
+ const notificationRegistryState_1 = require("../../entity/notificationRegistry/notificationRegistryState");
5
+ const mapEventEnabledByChannel = (raw) => {
6
+ if (raw == null) {
7
+ return {};
8
+ }
9
+ const out = {};
10
+ Object.entries(raw).forEach(([eventId, channelMap]) => {
11
+ const mapped = {};
12
+ Object.entries(channelMap).forEach(([channel, enabled]) => {
13
+ mapped[(0, notificationRegistryState_1.toNotificationChannel)(channel)] = enabled;
14
+ });
15
+ out[eventId] = mapped;
16
+ });
17
+ return out;
18
+ };
19
+ const mapPayloadToPreferences = (payload) => {
20
+ const groupFrequencyRaw = payload?.group_frequency_by_group_id ?? {};
21
+ const groupFrequencyByGroupId = Object.fromEntries(Object.entries(groupFrequencyRaw).map(([groupId, frequency]) => [
22
+ groupId,
23
+ (0, notificationRegistryState_1.toNotificationFrequency)(frequency),
24
+ ]));
25
+ return {
26
+ eventEnabledByChannel: mapEventEnabledByChannel(payload?.event_enabled_by_channel),
27
+ groupFrequencyByGroupId,
28
+ };
29
+ };
30
+ exports.mapPayloadToPreferences = mapPayloadToPreferences;
31
+ const mapPreferencesToPayload = (preferences) => {
32
+ const payload = {};
33
+ if (Object.keys(preferences.eventEnabledByChannel).length > 0) {
34
+ payload.event_enabled_by_channel = preferences.eventEnabledByChannel;
35
+ }
36
+ if (Object.keys(preferences.groupFrequencyByGroupId).length > 0) {
37
+ payload.group_frequency_by_group_id = preferences.groupFrequencyByGroupId;
38
+ }
39
+ return payload;
40
+ };
41
+ exports.mapPreferencesToPayload = mapPreferencesToPayload;
@@ -0,0 +1,23 @@
1
+ import { NotificationChannel, NotificationFrequency } from '../../entity/notificationRegistry/notificationRegistryState';
2
+ import { ZeniAPIStatus } from '../../responsePayload';
3
+ import { NotificationPreferencesPayload } from './notificationPreferencesViewPayload';
4
+ import { NotificationPreferences, NotificationPreferencesViewState } from './notificationPreferencesViewState';
5
+ export declare const initialState: NotificationPreferencesViewState;
6
+ export interface SetFrequencyPayload {
7
+ frequency: NotificationFrequency;
8
+ groupId: string;
9
+ }
10
+ export interface TogglePreferencePayload {
11
+ channel: NotificationChannel;
12
+ enabled: boolean;
13
+ eventId: string;
14
+ }
15
+ export interface SaveNotificationPreferencesSuccessPayload {
16
+ savedOverrides: NotificationPreferences;
17
+ serverEcho: NotificationPreferencesPayload | undefined;
18
+ }
19
+ export declare const clearAllNotificationPreferencesView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"notificationPreferencesView/clearAllNotificationPreferencesView">, fetchNotificationPreferencesSuccess: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<NotificationPreferencesPayload | undefined, "notificationPreferencesView/fetchNotificationPreferencesSuccess">, saveNotificationPreferences: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"notificationPreferencesView/saveNotificationPreferences">, saveNotificationPreferencesFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
20
+ error?: ZeniAPIStatus;
21
+ }, "notificationPreferencesView/saveNotificationPreferencesFailure">, saveNotificationPreferencesSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<SaveNotificationPreferencesSuccessPayload, "notificationPreferencesView/saveNotificationPreferencesSuccess">, setGroupFrequency: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetFrequencyPayload, "notificationPreferencesView/setGroupFrequency">, toggleEventChannel: import("@reduxjs/toolkit").ActionCreatorWithPayload<TogglePreferencePayload, "notificationPreferencesView/toggleEventChannel">;
22
+ declare const _default: import("redux").Reducer<NotificationPreferencesViewState>;
23
+ export default _default;
@@ -0,0 +1,128 @@
1
+ "use strict";
2
+ var _a;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.toggleEventChannel = exports.setGroupFrequency = exports.saveNotificationPreferencesSuccess = exports.saveNotificationPreferencesFailure = exports.saveNotificationPreferences = exports.fetchNotificationPreferencesSuccess = exports.clearAllNotificationPreferencesView = exports.initialState = void 0;
5
+ const toolkit_1 = require("@reduxjs/toolkit");
6
+ const notificationPreferencesViewPayload_1 = require("./notificationPreferencesViewPayload");
7
+ const notificationPreferencesViewState_1 = require("./notificationPreferencesViewState");
8
+ exports.initialState = {
9
+ localOverrides: (0, notificationPreferencesViewState_1.emptyNotificationPreferences)(),
10
+ preferences: (0, notificationPreferencesViewState_1.emptyNotificationPreferences)(),
11
+ savePreferencesState: { fetchState: 'Not-Started' },
12
+ };
13
+ const mergePreferences = (base, patch) => {
14
+ const eventEnabledByChannel = {
15
+ ...base.eventEnabledByChannel,
16
+ };
17
+ Object.entries(patch.eventEnabledByChannel).forEach(([eventId, channels]) => {
18
+ eventEnabledByChannel[eventId] = {
19
+ ...(base.eventEnabledByChannel[eventId] ?? {}),
20
+ ...channels,
21
+ };
22
+ });
23
+ return {
24
+ eventEnabledByChannel,
25
+ groupFrequencyByGroupId: {
26
+ ...base.groupFrequencyByGroupId,
27
+ ...patch.groupFrequencyByGroupId,
28
+ },
29
+ };
30
+ };
31
+ // Remove only the (eventId, channel) and groupId keys that were actually saved
32
+ // to the server from `localOverrides`. Any new edits the user added while the
33
+ // PUT was in flight (i.e. keys in `current` not present in `saved`) are
34
+ // preserved so the next debounce cycle picks them up.
35
+ const subtractSavedOverrides = (current, saved) => {
36
+ const eventEnabledByChannel = {};
37
+ Object.entries(current.eventEnabledByChannel).forEach(([eventId, channels]) => {
38
+ const savedChannels = saved.eventEnabledByChannel[eventId];
39
+ if (savedChannels == null) {
40
+ eventEnabledByChannel[eventId] = channels;
41
+ return;
42
+ }
43
+ const remainingChannels = {};
44
+ Object.keys(channels).forEach((channel) => {
45
+ if (!(channel in savedChannels)) {
46
+ remainingChannels[channel] = channels[channel];
47
+ }
48
+ });
49
+ if (Object.keys(remainingChannels).length > 0) {
50
+ eventEnabledByChannel[eventId] = remainingChannels;
51
+ }
52
+ });
53
+ const groupFrequencyByGroupId = {};
54
+ Object.entries(current.groupFrequencyByGroupId).forEach(([groupId, frequency]) => {
55
+ if (!(groupId in saved.groupFrequencyByGroupId)) {
56
+ groupFrequencyByGroupId[groupId] = frequency;
57
+ }
58
+ });
59
+ return { eventEnabledByChannel, groupFrequencyByGroupId };
60
+ };
61
+ const notificationPreferencesView = (0, toolkit_1.createSlice)({
62
+ name: 'notificationPreferencesView',
63
+ initialState: exports.initialState,
64
+ reducers: {
65
+ clearAllNotificationPreferencesView() {
66
+ return exports.initialState;
67
+ },
68
+ fetchNotificationPreferencesSuccess(draft, action) {
69
+ // Piggybacks on the settings-envelope fetch. Merge server data into
70
+ // `preferences` and DO NOT touch `localOverrides` — a refetch that fires
71
+ // while the user has in-flight edits (pre-debounce) must not silently
72
+ // drop them. `localOverrides` is cleared only by the save-success path
73
+ // once the edits are persisted.
74
+ const patch = (0, notificationPreferencesViewPayload_1.mapPayloadToPreferences)(action.payload);
75
+ draft.preferences = mergePreferences(draft.preferences, patch);
76
+ },
77
+ saveNotificationPreferences(draft) {
78
+ draft.savePreferencesState = { fetchState: 'In-Progress' };
79
+ },
80
+ saveNotificationPreferencesFailure(draft, action) {
81
+ // Preserve `localOverrides` so the user's in-flight edits survive a
82
+ // transient network blip. UI should surface an error affordance and
83
+ // allow retry.
84
+ draft.savePreferencesState = {
85
+ fetchState: 'Error',
86
+ error: action.payload.error,
87
+ };
88
+ },
89
+ saveNotificationPreferencesSuccess(draft, action) {
90
+ // Preserve-on-partial: PUT /preferences is patch-semantic. The response
91
+ // echoes only the fields that changed, so merge into `preferences`
92
+ // instead of replacing — otherwise a single-channel toggle would wipe
93
+ // every other stored preference.
94
+ //
95
+ // Rollback invariant (F5): `serverEcho` may be `undefined` if the server
96
+ // rolls back to an older shape that omits the echo entirely.
97
+ // `mapPayloadToPreferences(undefined)` intentionally returns an empty
98
+ // patch, so `mergePreferences` becomes a no-op — the user's stored
99
+ // preferences remain intact and no error is surfaced. Do NOT change
100
+ // this to throw or reset on nullish payload.
101
+ //
102
+ // In-flight-edit invariant: `savedOverrides` is the exact snapshot the
103
+ // epic PUT to the server. Subtracting those keys from `localOverrides`
104
+ // (instead of clearing it wholesale) preserves any edits the user
105
+ // added AFTER the debounce fired but BEFORE the response landed. The
106
+ // next debounce cycle will pick them up. Clearing wholesale drops
107
+ // in-flight edits from both UI (once server echo lands) and server.
108
+ const patch = (0, notificationPreferencesViewPayload_1.mapPayloadToPreferences)(action.payload.serverEcho);
109
+ draft.savePreferencesState = { fetchState: 'Completed' };
110
+ draft.preferences = mergePreferences(draft.preferences, patch);
111
+ draft.localOverrides = subtractSavedOverrides(draft.localOverrides, action.payload.savedOverrides);
112
+ },
113
+ setGroupFrequency(draft, action) {
114
+ draft.localOverrides.groupFrequencyByGroupId[action.payload.groupId] =
115
+ action.payload.frequency;
116
+ },
117
+ toggleEventChannel(draft, action) {
118
+ const { channel, enabled, eventId } = action.payload;
119
+ const eventMap = {
120
+ ...(draft.localOverrides.eventEnabledByChannel[eventId] ?? {}),
121
+ };
122
+ eventMap[channel] = enabled;
123
+ draft.localOverrides.eventEnabledByChannel[eventId] = eventMap;
124
+ },
125
+ },
126
+ });
127
+ _a = notificationPreferencesView.actions, exports.clearAllNotificationPreferencesView = _a.clearAllNotificationPreferencesView, exports.fetchNotificationPreferencesSuccess = _a.fetchNotificationPreferencesSuccess, exports.saveNotificationPreferences = _a.saveNotificationPreferences, exports.saveNotificationPreferencesFailure = _a.saveNotificationPreferencesFailure, exports.saveNotificationPreferencesSuccess = _a.saveNotificationPreferencesSuccess, exports.setGroupFrequency = _a.setGroupFrequency, exports.toggleEventChannel = _a.toggleEventChannel;
128
+ exports.default = notificationPreferencesView.reducer;
@@ -0,0 +1,7 @@
1
+ import { FetchStateAndError } from '../../commonStateTypes/common';
2
+ import { RootState } from '../../reducer';
3
+ import { NotificationPreferences } from './notificationPreferencesViewState';
4
+ export declare const getNotificationPreferencesSaveState: (state: RootState) => FetchStateAndError;
5
+ export declare const getEffectiveNotificationPreferences: (state: RootState) => NotificationPreferences;
6
+ export declare const getNotificationLocalOverrides: (state: RootState) => NotificationPreferences;
7
+ export declare const hasUnsavedNotificationPreferences: (state: RootState) => boolean;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.hasUnsavedNotificationPreferences = exports.getNotificationLocalOverrides = exports.getEffectiveNotificationPreferences = exports.getNotificationPreferencesSaveState = void 0;
4
+ const getView = (state) => state.notificationPreferencesViewState;
5
+ const getNotificationPreferencesSaveState = (state) => getView(state).savePreferencesState;
6
+ exports.getNotificationPreferencesSaveState = getNotificationPreferencesSaveState;
7
+ const getEffectiveNotificationPreferences = (state) => {
8
+ const view = getView(state);
9
+ const mergedEventEnabledByChannel = { ...view.preferences.eventEnabledByChannel };
10
+ Object.entries(view.localOverrides.eventEnabledByChannel).forEach(([eventId, channels]) => {
11
+ mergedEventEnabledByChannel[eventId] = {
12
+ ...(view.preferences.eventEnabledByChannel[eventId] ?? {}),
13
+ ...channels,
14
+ };
15
+ });
16
+ return {
17
+ eventEnabledByChannel: mergedEventEnabledByChannel,
18
+ groupFrequencyByGroupId: {
19
+ ...view.preferences.groupFrequencyByGroupId,
20
+ ...view.localOverrides.groupFrequencyByGroupId,
21
+ },
22
+ };
23
+ };
24
+ exports.getEffectiveNotificationPreferences = getEffectiveNotificationPreferences;
25
+ const getNotificationLocalOverrides = (state) => getView(state).localOverrides;
26
+ exports.getNotificationLocalOverrides = getNotificationLocalOverrides;
27
+ const hasUnsavedNotificationPreferences = (state) => {
28
+ const overrides = getView(state).localOverrides;
29
+ return (Object.keys(overrides.eventEnabledByChannel).length > 0 ||
30
+ Object.keys(overrides.groupFrequencyByGroupId).length > 0);
31
+ };
32
+ exports.hasUnsavedNotificationPreferences = hasUnsavedNotificationPreferences;
@@ -0,0 +1,12 @@
1
+ import { FetchStateAndError } from '../../commonStateTypes/common';
2
+ import { NotificationChannel, NotificationFrequency } from '../../entity/notificationRegistry/notificationRegistryState';
3
+ export interface NotificationPreferences {
4
+ eventEnabledByChannel: Record<string, Partial<Record<NotificationChannel, boolean>>>;
5
+ groupFrequencyByGroupId: Record<string, NotificationFrequency>;
6
+ }
7
+ export interface NotificationPreferencesViewState {
8
+ localOverrides: NotificationPreferences;
9
+ preferences: NotificationPreferences;
10
+ savePreferencesState: FetchStateAndError;
11
+ }
12
+ export declare const emptyNotificationPreferences: () => NotificationPreferences;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.emptyNotificationPreferences = void 0;
4
+ const emptyNotificationPreferences = () => ({
5
+ eventEnabledByChannel: {},
6
+ groupFrequencyByGroupId: {},
7
+ });
8
+ exports.emptyNotificationPreferences = emptyNotificationPreferences;
@@ -126,7 +126,11 @@ const getSelectedProducts = (isDebitCardFlagEnabled, tenant) => {
126
126
  return [];
127
127
  }
128
128
  else if (isBookkeepingEnabled) {
129
- return ['bookkeeping', 'zeni_bill_pay', 'zeni_reimbursements'];
129
+ return [
130
+ 'bookkeeping',
131
+ 'zeni_bill_pay',
132
+ 'zeni_reimbursements',
133
+ ];
130
134
  }
131
135
  else if (isOtherProductsEnabled) {
132
136
  const selectedProducts = [];
@@ -84,8 +84,9 @@ const updateOnboardingCustomerViewLocalStoreDataEpic = (actions$, state$) => act
84
84
  companyView?.company.company.companyOnboardingInfo
85
85
  .subscriptionBillingAddressId != null) {
86
86
  updatedCurrentStep = 'connect_ledger';
87
- const isOnboardingAiActivationViewed = companyOnboardingInfo?.onboardingInfo?.onboardingAiActivationInfo
88
- ?.isOnboardingAiActivationViewed ?? false;
87
+ const isOnboardingAiActivationViewed = companyOnboardingInfo?.onboardingInfo
88
+ ?.onboardingAiActivationInfo?.isOnboardingAiActivationViewed ??
89
+ false;
89
90
  // Past the ledger step we always sit on connect_data_source —
90
91
  // it has many integrations, so we treat it as never auto-complete
91
92
  // and only advance to verification on an explicit user dispatch.
@@ -119,9 +120,7 @@ const updateOnboardingCustomerViewLocalStoreDataEpic = (actions$, state$) => act
119
120
  // stale subStep (e.g. 'default' carried over from another step)
120
121
  // leaves verification rendering an empty form.
121
122
  if (updatedCurrentStep !== onboardingCustomerViewState.currentStep) {
122
- const targetSubStep = updatedCurrentStep === 'verification'
123
- ? 'unlock-stack'
124
- : 'default';
123
+ const targetSubStep = updatedCurrentStep === 'verification' ? 'unlock-stack' : 'default';
125
124
  fetchActions.push((0, onboardingCustomerViewReducer_1.updateCurrentSubStep)({ subStep: targetSubStep }));
126
125
  }
127
126
  }
@@ -1,8 +1,10 @@
1
1
  import { ActionsObservable, StateObservable } from 'redux-observable';
2
+ import { updateNotificationRegistry } from '../../../entity/notificationRegistry/notificationRegistryReducer';
2
3
  import { RootState } from '../../../reducer';
3
4
  import { ZeniAPI } from '../../../zeniAPI';
5
+ import { fetchNotificationPreferencesSuccess } from '../../notificationPreferencesView/notificationPreferencesViewReducer';
4
6
  import { fetchNotificationSettings, updateNotificationSettingsOnFailure, updateNotificationSettingsOnSuccess } from '../settingsViewReducer';
5
- export type ActionType = ReturnType<typeof fetchNotificationSettings> | ReturnType<typeof updateNotificationSettingsOnSuccess> | ReturnType<typeof updateNotificationSettingsOnFailure>;
7
+ export type ActionType = ReturnType<typeof fetchNotificationSettings> | ReturnType<typeof updateNotificationSettingsOnSuccess> | ReturnType<typeof updateNotificationSettingsOnFailure> | ReturnType<typeof updateNotificationRegistry> | ReturnType<typeof fetchNotificationPreferencesSuccess>;
6
8
  export declare const fetchNotificationSettingsEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
7
9
  payload: undefined;
8
10
  type: "settings/fetchNotificationSettings";
@@ -15,4 +17,10 @@ export declare const fetchNotificationSettingsEpic: (actions$: ActionsObservable
15
17
  } | {
16
18
  payload: import("../../../responsePayload").ZeniAPIStatus<Record<string, unknown>>;
17
19
  type: "settings/updateNotificationSettingsOnFailure";
20
+ } | {
21
+ payload: import("../../../entity/notificationRegistry/notificationRegistryPayload").NotificationRegistryPayload;
22
+ type: "notificationRegistry/updateNotificationRegistry";
23
+ } | {
24
+ payload: import("../../notificationPreferencesView/notificationPreferencesViewPayload").NotificationPreferencesPayload | undefined;
25
+ type: "notificationPreferencesView/fetchNotificationPreferencesSuccess";
18
26
  }>;
@@ -3,20 +3,30 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.fetchNotificationSettingsEpic = void 0;
4
4
  const rxjs_1 = require("rxjs");
5
5
  const operators_1 = require("rxjs/operators");
6
+ const notificationRegistryReducer_1 = require("../../../entity/notificationRegistry/notificationRegistryReducer");
6
7
  const responsePayload_1 = require("../../../responsePayload");
8
+ const notificationPreferencesEndpoint_1 = require("../../notificationPreferencesView/notificationPreferencesEndpoint");
9
+ const notificationPreferencesViewReducer_1 = require("../../notificationPreferencesView/notificationPreferencesViewReducer");
7
10
  const settingsViewReducer_1 = require("../settingsViewReducer");
8
11
  const fetchNotificationSettingsEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(settingsViewReducer_1.fetchNotificationSettings.match), (0, operators_1.switchMap)(() => {
9
12
  const state = state$.value;
10
- const URL = `${zeniAPI.apiEndPoints.notificationMicroServiceBaseUrl}/1.0/notification-preferences`;
11
13
  const userEmail = state.tenantState.loggedInUser?.userEmail;
12
14
  if (userEmail == null) {
13
15
  return (0, rxjs_1.from)([]);
14
16
  }
15
- return zeniAPI.getJSON(URL).pipe((0, operators_1.mergeMap)((response) => {
17
+ return zeniAPI
18
+ .getJSON((0, notificationPreferencesEndpoint_1.notificationPreferencesUrl)(zeniAPI))
19
+ .pipe((0, operators_1.mergeMap)((response) => {
16
20
  if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
17
21
  const updateActions = [
18
22
  (0, settingsViewReducer_1.updateNotificationSettingsOnSuccess)(response.data, userEmail),
19
23
  ];
24
+ if (response.data.task_checklist_registry != null) {
25
+ updateActions.push((0, notificationRegistryReducer_1.updateNotificationRegistry)(response.data.task_checklist_registry));
26
+ }
27
+ if (response.data.task_checklist_preferences != null) {
28
+ updateActions.push((0, notificationPreferencesViewReducer_1.fetchNotificationPreferencesSuccess)(response.data.task_checklist_preferences));
29
+ }
20
30
  return (0, rxjs_1.of)(...updateActions);
21
31
  }
22
32
  else {
@@ -14,4 +14,4 @@ export declare const isMyBankConnectionsTabVisible: (currentTenant: CurrentTenan
14
14
  export declare const isPerformanceTabVisible: (userRole: UserRoleType[], loggedInUser?: LoggedInUser) => boolean;
15
15
  export declare const isRemindersSectionVisibleOnSettingsPage: (reminderNotificationSettings: ReminderNotificationSettingsData) => boolean;
16
16
  export declare const isMonthEndNotificationsSectionVisibleOnSettingsPage: (monthEndInsightsNotificationSettings: MonthEndInsightsNotificationSettingsData, signedInUseEmail: string) => boolean;
17
- export declare const isNotificationsTabVisible: (notificationSettings: NotificationSettingsData, signedInUseEmail: string, isDebitCardFlagEnabled: boolean, currentTenant: CurrentTenant | undefined) => boolean;
17
+ export declare const isNotificationsTabVisible: (notificationSettings: NotificationSettingsData, signedInUseEmail: string, isDebitCardFlagEnabled: boolean, currentTenant: CurrentTenant | undefined, hasTaskChecklistAccess: boolean) => boolean;
@@ -160,13 +160,14 @@ const isMonthEndNotificationsSectionVisibleOnSettingsPage = (monthEndInsightsNot
160
160
  monthEndInsightsNotificationSettings.recipientEmailIds.includes(signedInUseEmail));
161
161
  };
162
162
  exports.isMonthEndNotificationsSectionVisibleOnSettingsPage = isMonthEndNotificationsSectionVisibleOnSettingsPage;
163
- const isNotificationsTabVisible = (notificationSettings, signedInUseEmail, isDebitCardFlagEnabled, currentTenant) => {
163
+ const isNotificationsTabVisible = (notificationSettings, signedInUseEmail, isDebitCardFlagEnabled, currentTenant, hasTaskChecklistAccess) => {
164
164
  if (currentTenant == null) {
165
165
  return false;
166
166
  }
167
167
  const { reminderNotificationSettings, monthEndInsightsNotificationSettings } = notificationSettings;
168
168
  return (((0, exports.isRemindersSectionVisibleOnSettingsPage)(reminderNotificationSettings) ||
169
- (0, exports.isMonthEndNotificationsSectionVisibleOnSettingsPage)(monthEndInsightsNotificationSettings, signedInUseEmail)) &&
169
+ (0, exports.isMonthEndNotificationsSectionVisibleOnSettingsPage)(monthEndInsightsNotificationSettings, signedInUseEmail) ||
170
+ hasTaskChecklistAccess) &&
170
171
  ((0, tenantSelector_1.isTenantAccountingServicesEnabled)(currentTenant) ||
171
172
  ((0, tenantSelector_1.isTenantBankingOnly)(isDebitCardFlagEnabled, currentTenant) === false &&
172
173
  (0, tenantSelector_1.isTenantCardsOnly)(currentTenant) === false)));
@@ -1,9 +1,11 @@
1
1
  import { AddressPayload } from '../../entity/address/addressPayload';
2
2
  import { CompanyPayload } from '../../entity/company/companyPayload';
3
+ import { NotificationRegistryPayload } from '../../entity/notificationRegistry/notificationRegistryPayload';
3
4
  import { UserPayload } from '../../entity/user/userPayload';
4
5
  import { UserRolePayload } from '../../entity/userRole/userRolePayload';
5
6
  import { ZeniAPIResponse } from '../../responsePayload';
6
7
  import { AddressUpdatableInfoPayload } from '../addressView/addressViewPayload';
8
+ import { NotificationPreferencesPayload } from '../notificationPreferencesView/notificationPreferencesViewPayload';
7
9
  interface MyProfilePeoplePayload {
8
10
  user_roles: UserRolePayload[];
9
11
  users: UserPayload[];
@@ -36,6 +38,8 @@ export interface NotificationSettingsPayload {
36
38
  pending_reimbursement_approval_notification: RemindersPayload | null;
37
39
  uncategorized_transaction_notification: RemindersPayload | null;
38
40
  month_end_email_recipient_email_ids?: string[];
41
+ task_checklist_preferences?: NotificationPreferencesPayload;
42
+ task_checklist_registry?: NotificationRegistryPayload;
39
43
  }
40
44
  export type NotificationSettingsResponse = ZeniAPIResponse<NotificationSettingsPayload>;
41
45
  interface RefreshQBOPayload {
@@ -12,7 +12,7 @@ export interface IntegrationsSettings {
12
12
  export declare const REMINDER_NOTIFICATION_TYPES: readonly ["missingReceiptNotification", "uncategorizedTransactionNotification", "pendingBillApprovalNotification", "pendingReimbursementApprovalNotification"];
13
13
  declare const toReminderTypeKey: (v: string) => "missingReceiptNotification" | "uncategorizedTransactionNotification" | "pendingBillApprovalNotification" | "pendingReimbursementApprovalNotification";
14
14
  export type ReminderTypeKey = ReturnType<typeof toReminderTypeKey>;
15
- export declare const toRemindersFrequencyType: (v: string) => "weekly" | "monthly" | "daily" | "bi-weekly";
15
+ export declare const toRemindersFrequencyType: (v: string) => "daily" | "weekly" | "monthly" | "bi-weekly";
16
16
  export type FrequencyTypeKey = ReturnType<typeof toRemindersFrequencyType>;
17
17
  export declare const NOTIFICATION_MODES: readonly ["email", "dashboard"];
18
18
  export declare const toNotificationMode: (v: string) => "dashboard" | "email";
@@ -21,7 +21,7 @@ export declare const fetchBillList: import("@reduxjs/toolkit").ActionCreatorWith
21
21
  period: TimePeriod;
22
22
  tab: "paid" | "pending_approval" | "scheduled" | "draft";
23
23
  error: ZeniAPIStatus<Record<string, unknown>>;
24
- }, "billList/updateBillListFailure", never, never>, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "billList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "all" | "overdue" | "awaiting_approval" | "awaiting_my_approval" | "offline", "billList/updateSubTab">, updateSelectedBillId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "billList/updateSelectedBillId">, clearBillList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"billList/clearBillList">, updateBillDetailSaveBillCode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SaveBillStageCode, "billList/updateBillDetailSaveBillCode">, updateBillListUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
24
+ }, "billList/updateBillListFailure", never, never>, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "billList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "overdue" | "all" | "awaiting_approval" | "awaiting_my_approval" | "offline", "billList/updateSubTab">, updateSelectedBillId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "billList/updateSelectedBillId">, clearBillList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"billList/clearBillList">, updateBillDetailSaveBillCode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SaveBillStageCode, "billList/updateBillDetailSaveBillCode">, updateBillListUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
25
25
  period: TimePeriod;
26
26
  uiState: Partial<BillListUIState>;
27
27
  }, "billList/updateBillListUIState">, updateSearchResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "billList/updateSearchResult">, updateFilterResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
@@ -35,7 +35,7 @@ export type SaveBillStageCode = 'draft' | 'pending_approval' | undefined;
35
35
  export declare const ALL_BILL_TABS: readonly ["paid", "pending_approval", "scheduled", "draft"];
36
36
  declare const toBillTabType: (v: string) => "paid" | "pending_approval" | "scheduled" | "draft";
37
37
  export type BillTab = ReturnType<typeof toBillTabType>;
38
- declare const toBillsSubTabType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "all" | "overdue" | "awaiting_approval" | "awaiting_my_approval" | "offline";
38
+ declare const toBillsSubTabType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "overdue" | "all" | "awaiting_approval" | "awaiting_my_approval" | "offline";
39
39
  export type BillsSubTabType = ReturnType<typeof toBillsSubTabType>;
40
40
  declare const toBillPaySortKeyType: (v: string) => "amount" | "status" | "name" | "dueDate" | "paymentMethod" | "invoiceNumber" | "invoiceDate";
41
41
  export declare type BillPayViewSortKey = ReturnType<typeof toBillPaySortKeyType>;
@@ -115,8 +115,7 @@ const setupView = (0, toolkit_1.createSlice)({
115
115
  saveSetupViewDataInLocalStore(draft, action) {
116
116
  const setupViewLocalData = action.payload;
117
117
  if (setupViewLocalData.companyDetails != null) {
118
- const syncToken = setupViewLocalData.companyDetails.syncToken ??
119
- draft.companyDetails.localData?.syncToken;
118
+ const syncToken = setupViewLocalData.companyDetails.syncToken ?? draft.companyDetails.localData?.syncToken;
120
119
  draft.companyDetails.localData = {
121
120
  ...setupViewLocalData.companyDetails,
122
121
  ...(syncToken != null ? { syncToken } : {}),
@@ -27,7 +27,7 @@ export declare const fetchRemiList: import("@reduxjs/toolkit").ActionCreatorWith
27
27
  }, "remiList/updateRemiListFailure", never, never>, updateRemiListUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
28
28
  period: TimePeriod;
29
29
  uiState: Partial<RemiListUIState>;
30
- }, "remiList/updateRemiListUIState">, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "remiList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "all" | "overdue" | "myDrafts" | "awaitingApproval" | "awaitingMyApproval" | "awaitingAllApproval", "remiList/updateSubTab">, updateSelectedRemiId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "remiList/updateSelectedRemiId">, clearRemiList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"remiList/clearRemiList">, updateRemiDetailSaveRemiCode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SaveRemiStageCode, "remiList/updateRemiDetailSaveRemiCode">, updateSearchResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "remiList/updateSearchResult">, updateFilterResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
30
+ }, "remiList/updateRemiListUIState">, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "remiList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "overdue" | "all" | "myDrafts" | "awaitingApproval" | "awaitingMyApproval" | "awaitingAllApproval", "remiList/updateSubTab">, updateSelectedRemiId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "remiList/updateSelectedRemiId">, clearRemiList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"remiList/clearRemiList">, updateRemiDetailSaveRemiCode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SaveRemiStageCode, "remiList/updateRemiDetailSaveRemiCode">, updateSearchResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "remiList/updateSearchResult">, updateFilterResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
31
31
  filters: ReimbursementFilters;
32
32
  }, "remiList/updateFilterResult">, updateRemiListDownloadUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
33
33
  uiState: Partial<RemiListDownloadUIState>;
@@ -33,10 +33,10 @@ export declare const ALL_REMI_TABS: readonly ["paid", "pending_approval", "sched
33
33
  export declare const toRemiTabType: (v: string) => "paid" | "pending_approval" | "scheduled" | "draft";
34
34
  export declare const toRemiTabTypeStrict: (v: string) => "paid" | "pending_approval" | "scheduled" | "draft" | undefined;
35
35
  export type RemiTabType = ReturnType<typeof toRemiTabType>;
36
- export declare const toRemiSubTabType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "all" | "overdue" | "myDrafts" | "awaitingApproval" | "awaitingMyApproval" | "awaitingAllApproval";
37
- export declare const toRemiSubTabTypeStrict: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "all" | "overdue" | "myDrafts" | "awaitingApproval" | "awaitingMyApproval" | "awaitingAllApproval" | undefined;
36
+ export declare const toRemiSubTabType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "overdue" | "all" | "myDrafts" | "awaitingApproval" | "awaitingMyApproval" | "awaitingAllApproval";
37
+ export declare const toRemiSubTabTypeStrict: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "overdue" | "all" | "myDrafts" | "awaitingApproval" | "awaitingMyApproval" | "awaitingAllApproval" | undefined;
38
38
  export type RemiSubTabType = ReturnType<typeof toRemiSubTabType>;
39
- export declare const toRemiSubTabUnderScoreType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "all" | "overdue" | "awaiting_approval" | "awaiting_my_approval" | "my_drafts" | "awaiting_all_approval";
39
+ export declare const toRemiSubTabUnderScoreType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "overdue" | "all" | "awaiting_approval" | "awaiting_my_approval" | "my_drafts" | "awaiting_all_approval";
40
40
  export type RemiSubTabUnderScoreType = ReturnType<typeof toRemiSubTabUnderScoreType>;
41
41
  declare const toReimbursementSortKeyType: (v: string) => "amount" | "status" | "type" | "createdBy" | "submittedOn" | "reportName";
42
42
  export type ReimbursementViewSortKey = ReturnType<typeof toReimbursementSortKeyType>;
@@ -7,8 +7,8 @@ exports.saveTransactionDetailEpic = void 0;
7
7
  const get_1 = __importDefault(require("lodash/get"));
8
8
  const rxjs_1 = require("rxjs");
9
9
  const operators_1 = require("rxjs/operators");
10
- const tenantSelector_1 = require("../../../entity/tenant/tenantSelector");
11
10
  const transactionSelector_1 = require("../../../entity/transaction/transactionSelector");
11
+ const tenantSelector_1 = require("../../../entity/tenant/tenantSelector");
12
12
  const transactionDetailReducer_1 = require("../transactionDetailReducer");
13
13
  const transactionDetailState_1 = require("../transactionDetailState");
14
14
  const saveTransactionHelper_1 = require("./saveTransactionHelper");
package/lib/zeniAPI.d.ts CHANGED
@@ -14,7 +14,6 @@ export interface RESTAPIEndpoints {
14
14
  readonly documentAIMicroServiceBaseUrl: string;
15
15
  readonly fileMicroServiceBaseUrl: string;
16
16
  readonly insightsMicroServiceBaseUrl: string;
17
- readonly invoicingMicroServiceBaseUrl: string;
18
17
  readonly noAuthMicroServiceBaseUrl: string;
19
18
  readonly notificationMicroServiceBaseUrl: string;
20
19
  readonly payMicroServiceBaseUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "5.1.54-betaAK0",
3
+ "version": "5.1.54-betaDI0",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/esm/index.js",
@@ -1,11 +0,0 @@
1
- import { InvoicingFormOption } from '../invoicingCommonPayload';
2
- import { InvoicingCouponApplyOn, InvoicingCouponDurationType, InvoicingCouponPeriodUnit, InvoicingDiscountType } from './couponPayload';
3
- /**
4
- * Coupon form select options. Single source of truth (CES-owned) for the value
5
- * sets that back the coupon's string-union domain fields; surfaced to the form
6
- * via `getInvoicingCouponFormView` so web-components need not hardcode them.
7
- */
8
- export declare const INVOICING_DISCOUNT_TYPE_OPTIONS: readonly InvoicingFormOption<InvoicingDiscountType>[];
9
- export declare const INVOICING_COUPON_DURATION_TYPE_OPTIONS: readonly InvoicingFormOption<InvoicingCouponDurationType>[];
10
- export declare const INVOICING_COUPON_PERIOD_UNIT_OPTIONS: readonly InvoicingFormOption<InvoicingCouponPeriodUnit>[];
11
- export declare const INVOICING_COUPON_APPLY_ON_OPTIONS: readonly InvoicingFormOption<InvoicingCouponApplyOn>[];
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.INVOICING_COUPON_APPLY_ON_OPTIONS = exports.INVOICING_COUPON_PERIOD_UNIT_OPTIONS = exports.INVOICING_COUPON_DURATION_TYPE_OPTIONS = exports.INVOICING_DISCOUNT_TYPE_OPTIONS = void 0;
4
- /**
5
- * Coupon form select options. Single source of truth (CES-owned) for the value
6
- * sets that back the coupon's string-union domain fields; surfaced to the form
7
- * via `getInvoicingCouponFormView` so web-components need not hardcode them.
8
- */
9
- exports.INVOICING_DISCOUNT_TYPE_OPTIONS = [
10
- { label: 'Percentage', value: 'percentage' },
11
- { label: 'Fixed amount', value: 'fixed_amount' },
12
- { label: 'Offer quantity', value: 'offer_quantity' },
13
- ];
14
- exports.INVOICING_COUPON_DURATION_TYPE_OPTIONS = [
15
- { label: 'One time', value: 'one_time' },
16
- { label: 'Forever', value: 'forever' },
17
- { label: 'Limited period', value: 'limited_period' },
18
- ];
19
- exports.INVOICING_COUPON_PERIOD_UNIT_OPTIONS = [
20
- { label: 'Day', value: 'day' },
21
- { label: 'Week', value: 'week' },
22
- { label: 'Month', value: 'month' },
23
- { label: 'Year', value: 'year' },
24
- ];
25
- exports.INVOICING_COUPON_APPLY_ON_OPTIONS = [
26
- { label: 'Invoice amount', value: 'invoice_amount' },
27
- { label: 'Each specified item', value: 'each_specified_item' },
28
- { label: 'Specified items total', value: 'specified_items_total' },
29
- ];
@@ -1,49 +0,0 @@
1
- import { InvoicingCoupon } from './couponState';
2
- export type InvoicingDiscountType = 'percentage' | 'fixed_amount' | 'offer_quantity';
3
- export type InvoicingCouponDurationType = 'one_time' | 'forever' | 'limited_period';
4
- export type InvoicingCouponStatus = 'active' | 'expired' | 'archived';
5
- export type InvoicingCouponApplyOn = 'invoice_amount' | 'each_specified_item' | 'specified_items_total';
6
- export type InvoicingCouponPeriodUnit = 'day' | 'week' | 'month' | 'year';
7
- export interface InvoicingCouponPayload {
8
- id: string;
9
- apply_on?: InvoicingCouponApplyOn;
10
- coupon_code?: string;
11
- created_at?: string;
12
- currency_code?: string;
13
- currency_symbol?: string;
14
- discount_amount?: number;
15
- discount_percentage?: number;
16
- discount_quantity?: number;
17
- discount_type?: InvoicingDiscountType;
18
- duration_type?: InvoicingCouponDurationType;
19
- invoice_name?: string;
20
- invoice_notes?: string;
21
- item_constraints?: Record<string, unknown>[];
22
- max_redemptions?: number;
23
- name?: string;
24
- period?: number;
25
- period_unit?: InvoicingCouponPeriodUnit;
26
- redemptions?: number;
27
- restricted_products?: string[];
28
- rev_rec_treatment?: string;
29
- status?: InvoicingCouponStatus;
30
- updated_at?: string;
31
- valid_from?: string;
32
- valid_till?: string;
33
- }
34
- export interface InvoicingCouponCode {
35
- code: string;
36
- coupon_id?: string;
37
- coupon_set_id?: string;
38
- status?: string;
39
- }
40
- export interface InvoicingCouponSet {
41
- id: string;
42
- archived_count?: number;
43
- codes?: InvoicingCouponCode[];
44
- coupon_id?: string;
45
- name?: string;
46
- redeemed_count?: number;
47
- total_count?: number;
48
- }
49
- export declare const mapInvoicingCouponPayloadToState: (payload: InvoicingCouponPayload) => InvoicingCoupon;