@zeniai/client-epic-state 5.1.31 → 5.1.32-betaAK0

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 (659) hide show
  1. package/README.md +3 -1
  2. package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.d.ts +1 -1
  3. package/lib/entity/invoicing/coupon/couponPayload.d.ts +50 -0
  4. package/lib/entity/invoicing/coupon/couponPayload.js +2 -0
  5. package/lib/entity/invoicing/coupon/couponReducer.d.ts +10 -0
  6. package/lib/entity/invoicing/coupon/couponReducer.js +33 -0
  7. package/lib/entity/invoicing/coupon/couponState.d.ts +5 -0
  8. package/lib/entity/invoicing/coupon/couponState.js +2 -0
  9. package/lib/entity/invoicing/creditNote/creditNotePayload.d.ts +47 -0
  10. package/lib/entity/invoicing/creditNote/creditNotePayload.js +2 -0
  11. package/lib/entity/invoicing/creditNote/creditNoteReducer.d.ts +10 -0
  12. package/lib/entity/invoicing/creditNote/creditNoteReducer.js +35 -0
  13. package/lib/entity/invoicing/creditNote/creditNoteState.d.ts +5 -0
  14. package/lib/entity/invoicing/creditNote/creditNoteState.js +2 -0
  15. package/lib/entity/invoicing/dunningCase/dunningCasePayload.d.ts +29 -0
  16. package/lib/entity/invoicing/dunningCase/dunningCasePayload.js +2 -0
  17. package/lib/entity/invoicing/dunningCase/dunningCaseReducer.d.ts +10 -0
  18. package/lib/entity/invoicing/dunningCase/dunningCaseReducer.js +35 -0
  19. package/lib/entity/invoicing/dunningCase/dunningCaseState.d.ts +5 -0
  20. package/lib/entity/invoicing/dunningCase/dunningCaseState.js +2 -0
  21. package/lib/entity/invoicing/invoice/invoicePayload.d.ts +93 -0
  22. package/lib/entity/invoicing/invoice/invoicePayload.js +2 -0
  23. package/lib/entity/invoicing/invoice/invoiceReducer.d.ts +10 -0
  24. package/lib/entity/invoicing/invoice/invoiceReducer.js +36 -0
  25. package/lib/entity/invoicing/invoice/invoiceSelector.d.ts +5 -0
  26. package/lib/entity/invoicing/invoice/invoiceSelector.js +9 -0
  27. package/lib/entity/invoicing/invoice/invoiceState.d.ts +5 -0
  28. package/lib/entity/invoicing/invoice/invoiceState.js +2 -0
  29. package/lib/entity/invoicing/invoicingCommonPayload.d.ts +56 -0
  30. package/lib/entity/invoicing/invoicingCommonPayload.js +2 -0
  31. package/lib/entity/invoicing/invoicingCommonState.d.ts +45 -0
  32. package/lib/entity/invoicing/invoicingCommonState.js +2 -0
  33. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.d.ts +54 -0
  34. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +72 -0
  35. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.d.ts +9 -0
  36. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +47 -0
  37. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.d.ts +4 -0
  38. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.js +17 -0
  39. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.d.ts +50 -0
  40. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.js +2 -0
  41. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.d.ts +75 -0
  42. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +105 -0
  43. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.d.ts +9 -0
  44. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +49 -0
  45. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.d.ts +5 -0
  46. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.js +17 -0
  47. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.d.ts +75 -0
  48. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +2 -0
  49. package/lib/entity/invoicing/plan/planPayload.d.ts +41 -0
  50. package/lib/entity/invoicing/plan/planPayload.js +2 -0
  51. package/lib/entity/invoicing/plan/planReducer.d.ts +10 -0
  52. package/lib/entity/invoicing/plan/planReducer.js +33 -0
  53. package/lib/entity/invoicing/plan/planState.d.ts +5 -0
  54. package/lib/entity/invoicing/plan/planState.js +2 -0
  55. package/lib/entity/invoicing/product/productPayload.d.ts +60 -0
  56. package/lib/entity/invoicing/product/productPayload.js +2 -0
  57. package/lib/entity/invoicing/product/productReducer.d.ts +10 -0
  58. package/lib/entity/invoicing/product/productReducer.js +33 -0
  59. package/lib/entity/invoicing/product/productState.d.ts +5 -0
  60. package/lib/entity/invoicing/product/productState.js +2 -0
  61. package/lib/entity/invoicing/transaction/transactionPayload.d.ts +54 -0
  62. package/lib/entity/invoicing/transaction/transactionPayload.js +2 -0
  63. package/lib/entity/invoicing/transaction/transactionReducer.d.ts +10 -0
  64. package/lib/entity/invoicing/transaction/transactionReducer.js +35 -0
  65. package/lib/entity/invoicing/transaction/transactionState.d.ts +5 -0
  66. package/lib/entity/invoicing/transaction/transactionState.js +2 -0
  67. package/lib/entity/tenant/clearAllEpic.d.ts +41 -2
  68. package/lib/entity/tenant/clearAllEpic.js +82 -4
  69. package/lib/entity/tenant/tenantReducer.js +3 -3
  70. package/lib/epic.d.ts +35 -1
  71. package/lib/epic.js +46 -1
  72. package/lib/esm/entity/invoicing/coupon/couponPayload.js +1 -0
  73. package/lib/esm/entity/invoicing/coupon/couponReducer.js +29 -0
  74. package/lib/esm/entity/invoicing/coupon/couponState.js +1 -0
  75. package/lib/esm/entity/invoicing/creditNote/creditNotePayload.js +1 -0
  76. package/lib/esm/entity/invoicing/creditNote/creditNoteReducer.js +31 -0
  77. package/lib/esm/entity/invoicing/creditNote/creditNoteState.js +1 -0
  78. package/lib/esm/entity/invoicing/dunningCase/dunningCasePayload.js +1 -0
  79. package/lib/esm/entity/invoicing/dunningCase/dunningCaseReducer.js +31 -0
  80. package/lib/esm/entity/invoicing/dunningCase/dunningCaseState.js +1 -0
  81. package/lib/esm/entity/invoicing/invoice/invoicePayload.js +1 -0
  82. package/lib/esm/entity/invoicing/invoice/invoiceReducer.js +32 -0
  83. package/lib/esm/entity/invoicing/invoice/invoiceSelector.js +4 -0
  84. package/lib/esm/entity/invoicing/invoice/invoiceState.js +1 -0
  85. package/lib/esm/entity/invoicing/invoicingCommonPayload.js +1 -0
  86. package/lib/esm/entity/invoicing/invoicingCommonState.js +1 -0
  87. package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +68 -0
  88. package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +40 -0
  89. package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.js +10 -0
  90. package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerState.js +1 -0
  91. package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +98 -0
  92. package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +42 -0
  93. package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.js +10 -0
  94. package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +1 -0
  95. package/lib/esm/entity/invoicing/plan/planPayload.js +1 -0
  96. package/lib/esm/entity/invoicing/plan/planReducer.js +29 -0
  97. package/lib/esm/entity/invoicing/plan/planState.js +1 -0
  98. package/lib/esm/entity/invoicing/product/productPayload.js +1 -0
  99. package/lib/esm/entity/invoicing/product/productReducer.js +29 -0
  100. package/lib/esm/entity/invoicing/product/productState.js +1 -0
  101. package/lib/esm/entity/invoicing/transaction/transactionPayload.js +1 -0
  102. package/lib/esm/entity/invoicing/transaction/transactionReducer.js +31 -0
  103. package/lib/esm/entity/invoicing/transaction/transactionState.js +1 -0
  104. package/lib/esm/entity/tenant/clearAllEpic.js +78 -0
  105. package/lib/esm/entity/tenant/tenantReducer.js +3 -3
  106. package/lib/esm/entity/transactionActivityLog/transactionActivityLogPayload.js +1 -1
  107. package/lib/esm/epic.js +46 -1
  108. package/lib/esm/index.js +84 -2
  109. package/lib/esm/reducer.js +120 -0
  110. package/lib/esm/view/aiCfoView/aiCfoViewReducer.js +29 -3
  111. package/lib/esm/view/aiCfoView/aiCfoViewSelector.js +11 -0
  112. package/lib/esm/view/aiCfoView/epics/createSessionAndSubmitEpic.js +2 -2
  113. package/lib/esm/view/aiCfoView/epics/fetchSkillsEpic.js +34 -0
  114. package/lib/esm/view/aiCfoView/epics/submitQuestionEpic.js +7 -1
  115. package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +2 -1
  116. package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +4 -2
  117. package/lib/esm/view/expenseAutomationView/reducers/transactionsViewReducer.js +1 -2
  118. package/lib/esm/view/fileView/fileUploadHelpers.js +1 -2
  119. package/lib/esm/view/invoicing/approvalAction/approvalActionEpic.js +27 -0
  120. package/lib/esm/view/invoicing/approvalAction/approvalActionPayload.js +1 -0
  121. package/lib/esm/view/invoicing/approvalAction/approvalActionReducer.js +36 -0
  122. package/lib/esm/view/invoicing/approvalAction/approvalActionSelector.js +5 -0
  123. package/lib/esm/view/invoicing/approvalAction/approvalActionState.js +1 -0
  124. package/lib/esm/view/invoicing/approvalsView/approvalsViewEpics.js +35 -0
  125. package/lib/esm/view/invoicing/approvalsView/approvalsViewPayload.js +1 -0
  126. package/lib/esm/view/invoicing/approvalsView/approvalsViewReducer.js +62 -0
  127. package/lib/esm/view/invoicing/approvalsView/approvalsViewSelector.js +8 -0
  128. package/lib/esm/view/invoicing/approvalsView/approvalsViewState.js +1 -0
  129. package/lib/esm/view/invoicing/auditView/auditViewEpics.js +44 -0
  130. package/lib/esm/view/invoicing/auditView/auditViewPayload.js +1 -0
  131. package/lib/esm/view/invoicing/auditView/auditViewReducer.js +56 -0
  132. package/lib/esm/view/invoicing/auditView/auditViewSelector.js +8 -0
  133. package/lib/esm/view/invoicing/auditView/auditViewState.js +1 -0
  134. package/lib/esm/view/invoicing/catalogView/catalogViewEpics.js +139 -0
  135. package/lib/esm/view/invoicing/catalogView/catalogViewPayload.js +1 -0
  136. package/lib/esm/view/invoicing/catalogView/catalogViewReducer.js +162 -0
  137. package/lib/esm/view/invoicing/catalogView/catalogViewSelector.js +31 -0
  138. package/lib/esm/view/invoicing/catalogView/catalogViewState.js +1 -0
  139. package/lib/esm/view/invoicing/catalogWrite/catalogWriteEpic.js +35 -0
  140. package/lib/esm/view/invoicing/catalogWrite/catalogWritePayload.js +1 -0
  141. package/lib/esm/view/invoicing/catalogWrite/catalogWriteReducer.js +39 -0
  142. package/lib/esm/view/invoicing/catalogWrite/catalogWriteSelector.js +6 -0
  143. package/lib/esm/view/invoicing/catalogWrite/catalogWriteState.js +1 -0
  144. package/lib/esm/view/invoicing/couponView/couponViewEpics.js +79 -0
  145. package/lib/esm/view/invoicing/couponView/couponViewPayload.js +1 -0
  146. package/lib/esm/view/invoicing/couponView/couponViewReducer.js +105 -0
  147. package/lib/esm/view/invoicing/couponView/couponViewSelector.js +18 -0
  148. package/lib/esm/view/invoicing/couponView/couponViewState.js +1 -0
  149. package/lib/esm/view/invoicing/couponWrite/couponWriteEpic.js +28 -0
  150. package/lib/esm/view/invoicing/couponWrite/couponWritePayload.js +1 -0
  151. package/lib/esm/view/invoicing/couponWrite/couponWriteReducer.js +36 -0
  152. package/lib/esm/view/invoicing/couponWrite/couponWriteSelector.js +5 -0
  153. package/lib/esm/view/invoicing/couponWrite/couponWriteState.js +1 -0
  154. package/lib/esm/view/invoicing/createInvoice/createInvoiceEpic.js +22 -0
  155. package/lib/esm/view/invoicing/createInvoice/createInvoicePayload.js +1 -0
  156. package/lib/esm/view/invoicing/createInvoice/createInvoiceReducer.js +36 -0
  157. package/lib/esm/view/invoicing/createInvoice/createInvoiceSelector.js +5 -0
  158. package/lib/esm/view/invoicing/createInvoice/createInvoiceState.js +1 -0
  159. package/lib/esm/view/invoicing/creditNoteView/creditNoteViewEpics.js +85 -0
  160. package/lib/esm/view/invoicing/creditNoteView/creditNoteViewPayload.js +1 -0
  161. package/lib/esm/view/invoicing/creditNoteView/creditNoteViewReducer.js +105 -0
  162. package/lib/esm/view/invoicing/creditNoteView/creditNoteViewSelector.js +20 -0
  163. package/lib/esm/view/invoicing/creditNoteView/creditNoteViewState.js +1 -0
  164. package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +60 -0
  165. package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +1 -0
  166. package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +84 -0
  167. package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +7 -0
  168. package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodState.js +1 -0
  169. package/lib/esm/view/invoicing/dataImportAction/dataImportActionEpic.js +41 -0
  170. package/lib/esm/view/invoicing/dataImportAction/dataImportActionPayload.js +1 -0
  171. package/lib/esm/view/invoicing/dataImportAction/dataImportActionReducer.js +73 -0
  172. package/lib/esm/view/invoicing/dataImportAction/dataImportActionSelector.js +5 -0
  173. package/lib/esm/view/invoicing/dataImportAction/dataImportActionState.js +1 -0
  174. package/lib/esm/view/invoicing/dataImportView/dataImportViewEpics.js +34 -0
  175. package/lib/esm/view/invoicing/dataImportView/dataImportViewPayload.js +1 -0
  176. package/lib/esm/view/invoicing/dataImportView/dataImportViewReducer.js +66 -0
  177. package/lib/esm/view/invoicing/dataImportView/dataImportViewSelector.js +8 -0
  178. package/lib/esm/view/invoicing/dataImportView/dataImportViewState.js +1 -0
  179. package/lib/esm/view/invoicing/dunningAction/dunningActionEpic.js +27 -0
  180. package/lib/esm/view/invoicing/dunningAction/dunningActionPayload.js +1 -0
  181. package/lib/esm/view/invoicing/dunningAction/dunningActionReducer.js +36 -0
  182. package/lib/esm/view/invoicing/dunningAction/dunningActionSelector.js +5 -0
  183. package/lib/esm/view/invoicing/dunningAction/dunningActionState.js +1 -0
  184. package/lib/esm/view/invoicing/dunningCaseView/dunningCaseViewEpics.js +79 -0
  185. package/lib/esm/view/invoicing/dunningCaseView/dunningCaseViewPayload.js +1 -0
  186. package/lib/esm/view/invoicing/dunningCaseView/dunningCaseViewReducer.js +105 -0
  187. package/lib/esm/view/invoicing/dunningCaseView/dunningCaseViewSelector.js +20 -0
  188. package/lib/esm/view/invoicing/dunningCaseView/dunningCaseViewState.js +1 -0
  189. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +1 -0
  190. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +36 -0
  191. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +19 -0
  192. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +1 -0
  193. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +22 -0
  194. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +1 -0
  195. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +36 -0
  196. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +30 -0
  197. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.js +1 -0
  198. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +24 -0
  199. package/lib/esm/view/invoicing/invoiceAction/invoiceActionEpic.js +49 -0
  200. package/lib/esm/view/invoicing/invoiceAction/invoiceActionPayload.js +1 -0
  201. package/lib/esm/view/invoicing/invoiceAction/invoiceActionReducer.js +42 -0
  202. package/lib/esm/view/invoicing/invoiceAction/invoiceActionSelector.js +5 -0
  203. package/lib/esm/view/invoicing/invoiceAction/invoiceActionState.js +1 -0
  204. package/lib/esm/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +19 -0
  205. package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailPayload.js +1 -0
  206. package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailReducer.js +34 -0
  207. package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailSelector.js +9 -0
  208. package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailState.js +1 -0
  209. package/lib/esm/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +32 -0
  210. package/lib/esm/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +14 -0
  211. package/lib/esm/view/invoicing/invoiceList/fetchInvoiceListEpic.js +53 -0
  212. package/lib/esm/view/invoicing/invoiceList/invoiceListPayload.js +1 -0
  213. package/lib/esm/view/invoicing/invoiceList/invoiceListReducer.js +90 -0
  214. package/lib/esm/view/invoicing/invoiceList/invoiceListSelector.js +11 -0
  215. package/lib/esm/view/invoicing/invoiceList/invoiceListState.js +1 -0
  216. package/lib/esm/view/invoicing/invoicePdf/invoicePdfEpic.js +36 -0
  217. package/lib/esm/view/invoicing/invoicePdf/invoicePdfReducer.js +33 -0
  218. package/lib/esm/view/invoicing/invoicePdf/invoicePdfSelector.js +5 -0
  219. package/lib/esm/view/invoicing/invoicePdf/invoicePdfState.js +1 -0
  220. package/lib/esm/view/invoicing/invoicingApiHelper.js +14 -0
  221. package/lib/esm/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +22 -0
  222. package/lib/esm/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +41 -0
  223. package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.js +1 -0
  224. package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +51 -0
  225. package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.js +25 -0
  226. package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.js +1 -0
  227. package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.js +20 -0
  228. package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +40 -0
  229. package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +27 -0
  230. package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +1 -0
  231. package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +89 -0
  232. package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +9 -0
  233. package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.js +1 -0
  234. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.js +17 -0
  235. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.js +17 -0
  236. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.js +55 -0
  237. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.js +17 -0
  238. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.js +17 -0
  239. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.js +17 -0
  240. package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.js +17 -0
  241. package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +87 -0
  242. package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +115 -0
  243. package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewSelector.js +62 -0
  244. package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewState.js +1 -0
  245. package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.js +19 -0
  246. package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.js +1 -0
  247. package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +31 -0
  248. package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.js +13 -0
  249. package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.js +1 -0
  250. package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.js +23 -0
  251. package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +49 -0
  252. package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +27 -0
  253. package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +1 -0
  254. package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +89 -0
  255. package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +9 -0
  256. package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +1 -0
  257. package/lib/esm/view/invoicing/paymentAction/paymentActionEpic.js +27 -0
  258. package/lib/esm/view/invoicing/paymentAction/paymentActionPayload.js +1 -0
  259. package/lib/esm/view/invoicing/paymentAction/paymentActionReducer.js +36 -0
  260. package/lib/esm/view/invoicing/paymentAction/paymentActionSelector.js +5 -0
  261. package/lib/esm/view/invoicing/paymentAction/paymentActionState.js +1 -0
  262. package/lib/esm/view/invoicing/recordPayment/recordPaymentEpic.js +22 -0
  263. package/lib/esm/view/invoicing/recordPayment/recordPaymentPayload.js +1 -0
  264. package/lib/esm/view/invoicing/recordPayment/recordPaymentReducer.js +36 -0
  265. package/lib/esm/view/invoicing/recordPayment/recordPaymentSelector.js +5 -0
  266. package/lib/esm/view/invoicing/recordPayment/recordPaymentState.js +1 -0
  267. package/lib/esm/view/invoicing/reportsView/reportsViewEpics.js +27 -0
  268. package/lib/esm/view/invoicing/reportsView/reportsViewPayload.js +1 -0
  269. package/lib/esm/view/invoicing/reportsView/reportsViewReducer.js +54 -0
  270. package/lib/esm/view/invoicing/reportsView/reportsViewSelector.js +13 -0
  271. package/lib/esm/view/invoicing/reportsView/reportsViewState.js +1 -0
  272. package/lib/esm/view/invoicing/settingsView/settingsViewEpics.js +52 -0
  273. package/lib/esm/view/invoicing/settingsView/settingsViewPayload.js +1 -0
  274. package/lib/esm/view/invoicing/settingsView/settingsViewReducer.js +69 -0
  275. package/lib/esm/view/invoicing/settingsView/settingsViewSelector.js +7 -0
  276. package/lib/esm/view/invoicing/settingsView/settingsViewState.js +1 -0
  277. package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionEpic.js +27 -0
  278. package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionPayload.js +1 -0
  279. package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionReducer.js +36 -0
  280. package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionSelector.js +5 -0
  281. package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionState.js +1 -0
  282. package/lib/esm/view/invoicing/transactionView/transactionViewEpics.js +70 -0
  283. package/lib/esm/view/invoicing/transactionView/transactionViewPayload.js +1 -0
  284. package/lib/esm/view/invoicing/transactionView/transactionViewReducer.js +90 -0
  285. package/lib/esm/view/invoicing/transactionView/transactionViewSelector.js +19 -0
  286. package/lib/esm/view/invoicing/transactionView/transactionViewState.js +1 -0
  287. package/lib/esm/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +5 -21
  288. package/lib/esm/view/onboardingView/cockpitView/onboardingCockpitViewPayload.js +2 -2
  289. package/lib/esm/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +5 -4
  290. package/lib/esm/view/spendManagement/commonSetup/setupViewReducer.js +2 -1
  291. package/lib/esm/view/transactionDetail/epics/saveTransactionDetailEpic.js +1 -1
  292. package/lib/esm/view/transactionDetail/epics/updateTransactionDetailEpic.js +1 -1
  293. package/lib/index.d.ts +131 -4
  294. package/lib/index.js +363 -5
  295. package/lib/reducer.d.ts +120 -0
  296. package/lib/reducer.js +126 -6
  297. package/lib/view/aiCfoView/aiCfoViewPayload.d.ts +14 -0
  298. package/lib/view/aiCfoView/aiCfoViewReducer.d.ts +8 -4
  299. package/lib/view/aiCfoView/aiCfoViewReducer.js +30 -4
  300. package/lib/view/aiCfoView/aiCfoViewSelector.d.ts +2 -1
  301. package/lib/view/aiCfoView/aiCfoViewSelector.js +12 -0
  302. package/lib/view/aiCfoView/aiCfoViewState.d.ts +15 -0
  303. package/lib/view/aiCfoView/epics/createSessionAndSubmitEpic.js +2 -2
  304. package/lib/view/aiCfoView/epics/fetchSkillsEpic.d.ts +8 -0
  305. package/lib/view/aiCfoView/epics/fetchSkillsEpic.js +38 -0
  306. package/lib/view/aiCfoView/epics/submitQuestionEpic.js +7 -1
  307. package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +2 -1
  308. package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +4 -2
  309. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +1 -2
  310. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +1 -1
  311. package/lib/view/fileView/fileUploadHelpers.js +1 -2
  312. package/lib/view/invoicing/approvalAction/approvalActionEpic.d.ts +8 -0
  313. package/lib/view/invoicing/approvalAction/approvalActionEpic.js +31 -0
  314. package/lib/view/invoicing/approvalAction/approvalActionPayload.d.ts +3 -0
  315. package/lib/view/invoicing/approvalAction/approvalActionPayload.js +2 -0
  316. package/lib/view/invoicing/approvalAction/approvalActionReducer.d.ts +17 -0
  317. package/lib/view/invoicing/approvalAction/approvalActionReducer.js +40 -0
  318. package/lib/view/invoicing/approvalAction/approvalActionSelector.d.ts +3 -0
  319. package/lib/view/invoicing/approvalAction/approvalActionSelector.js +9 -0
  320. package/lib/view/invoicing/approvalAction/approvalActionState.d.ts +5 -0
  321. package/lib/view/invoicing/approvalAction/approvalActionState.js +2 -0
  322. package/lib/view/invoicing/approvalsView/approvalsViewEpics.d.ts +7 -0
  323. package/lib/view/invoicing/approvalsView/approvalsViewEpics.js +39 -0
  324. package/lib/view/invoicing/approvalsView/approvalsViewPayload.d.ts +14 -0
  325. package/lib/view/invoicing/approvalsView/approvalsViewPayload.js +2 -0
  326. package/lib/view/invoicing/approvalsView/approvalsViewReducer.d.ts +22 -0
  327. package/lib/view/invoicing/approvalsView/approvalsViewReducer.js +66 -0
  328. package/lib/view/invoicing/approvalsView/approvalsViewSelector.d.ts +9 -0
  329. package/lib/view/invoicing/approvalsView/approvalsViewSelector.js +16 -0
  330. package/lib/view/invoicing/approvalsView/approvalsViewState.d.ts +14 -0
  331. package/lib/view/invoicing/approvalsView/approvalsViewState.js +2 -0
  332. package/lib/view/invoicing/auditView/auditViewEpics.d.ts +7 -0
  333. package/lib/view/invoicing/auditView/auditViewEpics.js +48 -0
  334. package/lib/view/invoicing/auditView/auditViewPayload.d.ts +14 -0
  335. package/lib/view/invoicing/auditView/auditViewPayload.js +2 -0
  336. package/lib/view/invoicing/auditView/auditViewReducer.d.ts +22 -0
  337. package/lib/view/invoicing/auditView/auditViewReducer.js +60 -0
  338. package/lib/view/invoicing/auditView/auditViewSelector.d.ts +9 -0
  339. package/lib/view/invoicing/auditView/auditViewSelector.js +16 -0
  340. package/lib/view/invoicing/auditView/auditViewState.d.ts +17 -0
  341. package/lib/view/invoicing/auditView/auditViewState.js +2 -0
  342. package/lib/view/invoicing/catalogView/catalogViewEpics.d.ts +14 -0
  343. package/lib/view/invoicing/catalogView/catalogViewEpics.js +148 -0
  344. package/lib/view/invoicing/catalogView/catalogViewPayload.d.ts +10 -0
  345. package/lib/view/invoicing/catalogView/catalogViewPayload.js +2 -0
  346. package/lib/view/invoicing/catalogView/catalogViewReducer.d.ts +46 -0
  347. package/lib/view/invoicing/catalogView/catalogViewReducer.js +166 -0
  348. package/lib/view/invoicing/catalogView/catalogViewSelector.d.ts +24 -0
  349. package/lib/view/invoicing/catalogView/catalogViewSelector.js +52 -0
  350. package/lib/view/invoicing/catalogView/catalogViewState.d.ts +36 -0
  351. package/lib/view/invoicing/catalogView/catalogViewState.js +2 -0
  352. package/lib/view/invoicing/catalogWrite/catalogWriteEpic.d.ts +9 -0
  353. package/lib/view/invoicing/catalogWrite/catalogWriteEpic.js +39 -0
  354. package/lib/view/invoicing/catalogWrite/catalogWritePayload.d.ts +4 -0
  355. package/lib/view/invoicing/catalogWrite/catalogWritePayload.js +2 -0
  356. package/lib/view/invoicing/catalogWrite/catalogWriteReducer.d.ts +16 -0
  357. package/lib/view/invoicing/catalogWrite/catalogWriteReducer.js +43 -0
  358. package/lib/view/invoicing/catalogWrite/catalogWriteSelector.d.ts +6 -0
  359. package/lib/view/invoicing/catalogWrite/catalogWriteSelector.js +12 -0
  360. package/lib/view/invoicing/catalogWrite/catalogWriteState.d.ts +7 -0
  361. package/lib/view/invoicing/catalogWrite/catalogWriteState.js +2 -0
  362. package/lib/view/invoicing/couponView/couponViewEpics.d.ts +11 -0
  363. package/lib/view/invoicing/couponView/couponViewEpics.js +86 -0
  364. package/lib/view/invoicing/couponView/couponViewPayload.d.ts +7 -0
  365. package/lib/view/invoicing/couponView/couponViewPayload.js +2 -0
  366. package/lib/view/invoicing/couponView/couponViewReducer.d.ts +28 -0
  367. package/lib/view/invoicing/couponView/couponViewReducer.js +109 -0
  368. package/lib/view/invoicing/couponView/couponViewSelector.d.ts +15 -0
  369. package/lib/view/invoicing/couponView/couponViewSelector.js +31 -0
  370. package/lib/view/invoicing/couponView/couponViewState.d.ts +20 -0
  371. package/lib/view/invoicing/couponView/couponViewState.js +2 -0
  372. package/lib/view/invoicing/couponWrite/couponWriteEpic.d.ts +8 -0
  373. package/lib/view/invoicing/couponWrite/couponWriteEpic.js +32 -0
  374. package/lib/view/invoicing/couponWrite/couponWritePayload.d.ts +3 -0
  375. package/lib/view/invoicing/couponWrite/couponWritePayload.js +2 -0
  376. package/lib/view/invoicing/couponWrite/couponWriteReducer.d.ts +14 -0
  377. package/lib/view/invoicing/couponWrite/couponWriteReducer.js +40 -0
  378. package/lib/view/invoicing/couponWrite/couponWriteSelector.d.ts +4 -0
  379. package/lib/view/invoicing/couponWrite/couponWriteSelector.js +10 -0
  380. package/lib/view/invoicing/couponWrite/couponWriteState.d.ts +5 -0
  381. package/lib/view/invoicing/couponWrite/couponWriteState.js +2 -0
  382. package/lib/view/invoicing/createInvoice/createInvoiceEpic.d.ts +8 -0
  383. package/lib/view/invoicing/createInvoice/createInvoiceEpic.js +26 -0
  384. package/lib/view/invoicing/createInvoice/createInvoicePayload.d.ts +25 -0
  385. package/lib/view/invoicing/createInvoice/createInvoicePayload.js +2 -0
  386. package/lib/view/invoicing/createInvoice/createInvoiceReducer.d.ts +10 -0
  387. package/lib/view/invoicing/createInvoice/createInvoiceReducer.js +40 -0
  388. package/lib/view/invoicing/createInvoice/createInvoiceSelector.d.ts +4 -0
  389. package/lib/view/invoicing/createInvoice/createInvoiceSelector.js +10 -0
  390. package/lib/view/invoicing/createInvoice/createInvoiceState.d.ts +6 -0
  391. package/lib/view/invoicing/createInvoice/createInvoiceState.js +2 -0
  392. package/lib/view/invoicing/creditNoteView/creditNoteViewEpics.d.ts +11 -0
  393. package/lib/view/invoicing/creditNoteView/creditNoteViewEpics.js +92 -0
  394. package/lib/view/invoicing/creditNoteView/creditNoteViewPayload.d.ts +7 -0
  395. package/lib/view/invoicing/creditNoteView/creditNoteViewPayload.js +2 -0
  396. package/lib/view/invoicing/creditNoteView/creditNoteViewReducer.d.ts +28 -0
  397. package/lib/view/invoicing/creditNoteView/creditNoteViewReducer.js +109 -0
  398. package/lib/view/invoicing/creditNoteView/creditNoteViewSelector.d.ts +15 -0
  399. package/lib/view/invoicing/creditNoteView/creditNoteViewSelector.js +33 -0
  400. package/lib/view/invoicing/creditNoteView/creditNoteViewState.d.ts +21 -0
  401. package/lib/view/invoicing/creditNoteView/creditNoteViewState.js +2 -0
  402. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.d.ts +11 -0
  403. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +67 -0
  404. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.d.ts +18 -0
  405. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +2 -0
  406. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.d.ts +21 -0
  407. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +88 -0
  408. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.d.ts +10 -0
  409. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +17 -0
  410. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.d.ts +23 -0
  411. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.js +2 -0
  412. package/lib/view/invoicing/dataImportAction/dataImportActionEpic.d.ts +7 -0
  413. package/lib/view/invoicing/dataImportAction/dataImportActionEpic.js +45 -0
  414. package/lib/view/invoicing/dataImportAction/dataImportActionPayload.d.ts +3 -0
  415. package/lib/view/invoicing/dataImportAction/dataImportActionPayload.js +2 -0
  416. package/lib/view/invoicing/dataImportAction/dataImportActionReducer.d.ts +19 -0
  417. package/lib/view/invoicing/dataImportAction/dataImportActionReducer.js +77 -0
  418. package/lib/view/invoicing/dataImportAction/dataImportActionSelector.d.ts +4 -0
  419. package/lib/view/invoicing/dataImportAction/dataImportActionSelector.js +9 -0
  420. package/lib/view/invoicing/dataImportAction/dataImportActionState.d.ts +5 -0
  421. package/lib/view/invoicing/dataImportAction/dataImportActionState.js +2 -0
  422. package/lib/view/invoicing/dataImportView/dataImportViewEpics.d.ts +9 -0
  423. package/lib/view/invoicing/dataImportView/dataImportViewEpics.js +40 -0
  424. package/lib/view/invoicing/dataImportView/dataImportViewPayload.d.ts +50 -0
  425. package/lib/view/invoicing/dataImportView/dataImportViewPayload.js +2 -0
  426. package/lib/view/invoicing/dataImportView/dataImportViewReducer.d.ts +7 -0
  427. package/lib/view/invoicing/dataImportView/dataImportViewReducer.js +70 -0
  428. package/lib/view/invoicing/dataImportView/dataImportViewSelector.d.ts +9 -0
  429. package/lib/view/invoicing/dataImportView/dataImportViewSelector.js +17 -0
  430. package/lib/view/invoicing/dataImportView/dataImportViewState.d.ts +10 -0
  431. package/lib/view/invoicing/dataImportView/dataImportViewState.js +2 -0
  432. package/lib/view/invoicing/dunningAction/dunningActionEpic.d.ts +8 -0
  433. package/lib/view/invoicing/dunningAction/dunningActionEpic.js +31 -0
  434. package/lib/view/invoicing/dunningAction/dunningActionPayload.d.ts +3 -0
  435. package/lib/view/invoicing/dunningAction/dunningActionPayload.js +2 -0
  436. package/lib/view/invoicing/dunningAction/dunningActionReducer.d.ts +21 -0
  437. package/lib/view/invoicing/dunningAction/dunningActionReducer.js +40 -0
  438. package/lib/view/invoicing/dunningAction/dunningActionSelector.d.ts +3 -0
  439. package/lib/view/invoicing/dunningAction/dunningActionSelector.js +9 -0
  440. package/lib/view/invoicing/dunningAction/dunningActionState.d.ts +5 -0
  441. package/lib/view/invoicing/dunningAction/dunningActionState.js +2 -0
  442. package/lib/view/invoicing/dunningCaseView/dunningCaseViewEpics.d.ts +11 -0
  443. package/lib/view/invoicing/dunningCaseView/dunningCaseViewEpics.js +86 -0
  444. package/lib/view/invoicing/dunningCaseView/dunningCaseViewPayload.d.ts +7 -0
  445. package/lib/view/invoicing/dunningCaseView/dunningCaseViewPayload.js +2 -0
  446. package/lib/view/invoicing/dunningCaseView/dunningCaseViewReducer.d.ts +28 -0
  447. package/lib/view/invoicing/dunningCaseView/dunningCaseViewReducer.js +109 -0
  448. package/lib/view/invoicing/dunningCaseView/dunningCaseViewSelector.d.ts +15 -0
  449. package/lib/view/invoicing/dunningCaseView/dunningCaseViewSelector.js +33 -0
  450. package/lib/view/invoicing/dunningCaseView/dunningCaseViewState.d.ts +20 -0
  451. package/lib/view/invoicing/dunningCaseView/dunningCaseViewState.js +2 -0
  452. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.d.ts +3 -0
  453. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +2 -0
  454. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.d.ts +14 -0
  455. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +40 -0
  456. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.d.ts +15 -0
  457. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +23 -0
  458. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.d.ts +5 -0
  459. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +2 -0
  460. package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.d.ts +8 -0
  461. package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +26 -0
  462. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.d.ts +3 -0
  463. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +2 -0
  464. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.d.ts +14 -0
  465. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +40 -0
  466. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.d.ts +34 -0
  467. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +35 -0
  468. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.d.ts +5 -0
  469. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.js +2 -0
  470. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.d.ts +8 -0
  471. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +28 -0
  472. package/lib/view/invoicing/invoiceAction/invoiceActionEpic.d.ts +9 -0
  473. package/lib/view/invoicing/invoiceAction/invoiceActionEpic.js +54 -0
  474. package/lib/view/invoicing/invoiceAction/invoiceActionPayload.d.ts +3 -0
  475. package/lib/view/invoicing/invoiceAction/invoiceActionPayload.js +2 -0
  476. package/lib/view/invoicing/invoiceAction/invoiceActionReducer.d.ts +23 -0
  477. package/lib/view/invoicing/invoiceAction/invoiceActionReducer.js +46 -0
  478. package/lib/view/invoicing/invoiceAction/invoiceActionSelector.d.ts +3 -0
  479. package/lib/view/invoicing/invoiceAction/invoiceActionSelector.js +9 -0
  480. package/lib/view/invoicing/invoiceAction/invoiceActionState.d.ts +5 -0
  481. package/lib/view/invoicing/invoiceAction/invoiceActionState.js +2 -0
  482. package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.d.ts +8 -0
  483. package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +23 -0
  484. package/lib/view/invoicing/invoiceDetail/invoiceDetailPayload.d.ts +3 -0
  485. package/lib/view/invoicing/invoiceDetail/invoiceDetailPayload.js +2 -0
  486. package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.d.ts +11 -0
  487. package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.js +38 -0
  488. package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.d.ts +5 -0
  489. package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.js +14 -0
  490. package/lib/view/invoicing/invoiceDetail/invoiceDetailState.d.ts +4 -0
  491. package/lib/view/invoicing/invoiceDetail/invoiceDetailState.js +2 -0
  492. package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.d.ts +7 -0
  493. package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +36 -0
  494. package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.d.ts +7 -0
  495. package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +18 -0
  496. package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.d.ts +8 -0
  497. package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.js +57 -0
  498. package/lib/view/invoicing/invoiceList/invoiceListPayload.d.ts +6 -0
  499. package/lib/view/invoicing/invoiceList/invoiceListPayload.js +2 -0
  500. package/lib/view/invoicing/invoiceList/invoiceListReducer.d.ts +23 -0
  501. package/lib/view/invoicing/invoiceList/invoiceListReducer.js +94 -0
  502. package/lib/view/invoicing/invoiceList/invoiceListSelector.d.ts +12 -0
  503. package/lib/view/invoicing/invoiceList/invoiceListSelector.js +21 -0
  504. package/lib/view/invoicing/invoiceList/invoiceListState.d.ts +26 -0
  505. package/lib/view/invoicing/invoiceList/invoiceListState.js +2 -0
  506. package/lib/view/invoicing/invoicePdf/invoicePdfEpic.d.ts +7 -0
  507. package/lib/view/invoicing/invoicePdf/invoicePdfEpic.js +40 -0
  508. package/lib/view/invoicing/invoicePdf/invoicePdfReducer.d.ts +17 -0
  509. package/lib/view/invoicing/invoicePdf/invoicePdfReducer.js +37 -0
  510. package/lib/view/invoicing/invoicePdf/invoicePdfSelector.d.ts +3 -0
  511. package/lib/view/invoicing/invoicePdf/invoicePdfSelector.js +9 -0
  512. package/lib/view/invoicing/invoicePdf/invoicePdfState.d.ts +5 -0
  513. package/lib/view/invoicing/invoicePdf/invoicePdfState.js +2 -0
  514. package/lib/view/invoicing/invoicingApiHelper.d.ts +15 -0
  515. package/lib/view/invoicing/invoicingApiHelper.js +19 -0
  516. package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.d.ts +8 -0
  517. package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +26 -0
  518. package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.d.ts +18 -0
  519. package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +45 -0
  520. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.d.ts +3 -0
  521. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.js +2 -0
  522. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.d.ts +22 -0
  523. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +56 -0
  524. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.d.ts +25 -0
  525. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.js +32 -0
  526. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.d.ts +7 -0
  527. package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.js +2 -0
  528. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.d.ts +7 -0
  529. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.js +24 -0
  530. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.d.ts +8 -0
  531. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +44 -0
  532. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.d.ts +16 -0
  533. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +31 -0
  534. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.d.ts +5 -0
  535. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +2 -0
  536. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.d.ts +31 -0
  537. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +93 -0
  538. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.d.ts +12 -0
  539. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +13 -0
  540. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.d.ts +16 -0
  541. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.js +2 -0
  542. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.d.ts +7 -0
  543. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.js +21 -0
  544. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.d.ts +7 -0
  545. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.js +21 -0
  546. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.d.ts +14 -0
  547. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.js +59 -0
  548. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.d.ts +7 -0
  549. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.js +21 -0
  550. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.d.ts +7 -0
  551. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.js +21 -0
  552. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.d.ts +7 -0
  553. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.js +21 -0
  554. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.d.ts +7 -0
  555. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.js +21 -0
  556. package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.d.ts +98 -0
  557. package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +96 -0
  558. package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.d.ts +10 -0
  559. package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +119 -0
  560. package/lib/view/invoicing/invoicingOverview/invoicingOverviewSelector.d.ts +32 -0
  561. package/lib/view/invoicing/invoicingOverview/invoicingOverviewSelector.js +67 -0
  562. package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.d.ts +110 -0
  563. package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.js +2 -0
  564. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.d.ts +8 -0
  565. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.js +23 -0
  566. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.d.ts +3 -0
  567. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.js +2 -0
  568. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.d.ts +11 -0
  569. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +35 -0
  570. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.d.ts +15 -0
  571. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.js +18 -0
  572. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.d.ts +4 -0
  573. package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.js +2 -0
  574. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.d.ts +7 -0
  575. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.js +27 -0
  576. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.d.ts +8 -0
  577. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +53 -0
  578. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.d.ts +16 -0
  579. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +31 -0
  580. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.d.ts +5 -0
  581. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +2 -0
  582. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.d.ts +31 -0
  583. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +93 -0
  584. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.d.ts +12 -0
  585. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +13 -0
  586. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.d.ts +19 -0
  587. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +2 -0
  588. package/lib/view/invoicing/paymentAction/paymentActionEpic.d.ts +8 -0
  589. package/lib/view/invoicing/paymentAction/paymentActionEpic.js +31 -0
  590. package/lib/view/invoicing/paymentAction/paymentActionPayload.d.ts +3 -0
  591. package/lib/view/invoicing/paymentAction/paymentActionPayload.js +2 -0
  592. package/lib/view/invoicing/paymentAction/paymentActionReducer.d.ts +18 -0
  593. package/lib/view/invoicing/paymentAction/paymentActionReducer.js +40 -0
  594. package/lib/view/invoicing/paymentAction/paymentActionSelector.d.ts +3 -0
  595. package/lib/view/invoicing/paymentAction/paymentActionSelector.js +9 -0
  596. package/lib/view/invoicing/paymentAction/paymentActionState.d.ts +5 -0
  597. package/lib/view/invoicing/paymentAction/paymentActionState.js +2 -0
  598. package/lib/view/invoicing/recordPayment/recordPaymentEpic.d.ts +8 -0
  599. package/lib/view/invoicing/recordPayment/recordPaymentEpic.js +26 -0
  600. package/lib/view/invoicing/recordPayment/recordPaymentPayload.d.ts +23 -0
  601. package/lib/view/invoicing/recordPayment/recordPaymentPayload.js +2 -0
  602. package/lib/view/invoicing/recordPayment/recordPaymentReducer.d.ts +10 -0
  603. package/lib/view/invoicing/recordPayment/recordPaymentReducer.js +40 -0
  604. package/lib/view/invoicing/recordPayment/recordPaymentSelector.d.ts +4 -0
  605. package/lib/view/invoicing/recordPayment/recordPaymentSelector.js +10 -0
  606. package/lib/view/invoicing/recordPayment/recordPaymentState.d.ts +6 -0
  607. package/lib/view/invoicing/recordPayment/recordPaymentState.js +2 -0
  608. package/lib/view/invoicing/reportsView/reportsViewEpics.d.ts +7 -0
  609. package/lib/view/invoicing/reportsView/reportsViewEpics.js +31 -0
  610. package/lib/view/invoicing/reportsView/reportsViewPayload.d.ts +58 -0
  611. package/lib/view/invoicing/reportsView/reportsViewPayload.js +2 -0
  612. package/lib/view/invoicing/reportsView/reportsViewReducer.d.ts +13 -0
  613. package/lib/view/invoicing/reportsView/reportsViewReducer.js +58 -0
  614. package/lib/view/invoicing/reportsView/reportsViewSelector.d.ts +12 -0
  615. package/lib/view/invoicing/reportsView/reportsViewSelector.js +24 -0
  616. package/lib/view/invoicing/reportsView/reportsViewState.d.ts +8 -0
  617. package/lib/view/invoicing/reportsView/reportsViewState.js +2 -0
  618. package/lib/view/invoicing/settingsView/settingsViewEpics.d.ts +10 -0
  619. package/lib/view/invoicing/settingsView/settingsViewEpics.js +59 -0
  620. package/lib/view/invoicing/settingsView/settingsViewPayload.d.ts +8 -0
  621. package/lib/view/invoicing/settingsView/settingsViewPayload.js +2 -0
  622. package/lib/view/invoicing/settingsView/settingsViewReducer.d.ts +7 -0
  623. package/lib/view/invoicing/settingsView/settingsViewReducer.js +73 -0
  624. package/lib/view/invoicing/settingsView/settingsViewSelector.d.ts +7 -0
  625. package/lib/view/invoicing/settingsView/settingsViewSelector.js +14 -0
  626. package/lib/view/invoicing/settingsView/settingsViewState.d.ts +7 -0
  627. package/lib/view/invoicing/settingsView/settingsViewState.js +2 -0
  628. package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.d.ts +8 -0
  629. package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.js +31 -0
  630. package/lib/view/invoicing/subscriptionAction/subscriptionActionPayload.d.ts +3 -0
  631. package/lib/view/invoicing/subscriptionAction/subscriptionActionPayload.js +2 -0
  632. package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.d.ts +18 -0
  633. package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.js +40 -0
  634. package/lib/view/invoicing/subscriptionAction/subscriptionActionSelector.d.ts +3 -0
  635. package/lib/view/invoicing/subscriptionAction/subscriptionActionSelector.js +9 -0
  636. package/lib/view/invoicing/subscriptionAction/subscriptionActionState.d.ts +5 -0
  637. package/lib/view/invoicing/subscriptionAction/subscriptionActionState.js +2 -0
  638. package/lib/view/invoicing/transactionView/transactionViewEpics.d.ts +10 -0
  639. package/lib/view/invoicing/transactionView/transactionViewEpics.js +76 -0
  640. package/lib/view/invoicing/transactionView/transactionViewPayload.d.ts +6 -0
  641. package/lib/view/invoicing/transactionView/transactionViewPayload.js +2 -0
  642. package/lib/view/invoicing/transactionView/transactionViewReducer.d.ts +27 -0
  643. package/lib/view/invoicing/transactionView/transactionViewReducer.js +94 -0
  644. package/lib/view/invoicing/transactionView/transactionViewSelector.d.ts +13 -0
  645. package/lib/view/invoicing/transactionView/transactionViewSelector.js +31 -0
  646. package/lib/view/invoicing/transactionView/transactionViewState.d.ts +20 -0
  647. package/lib/view/invoicing/transactionView/transactionViewState.js +2 -0
  648. package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +4 -20
  649. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewPayload.js +2 -2
  650. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +5 -4
  651. package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +1 -1
  652. package/lib/view/spendManagement/billPay/billList/billListState.d.ts +1 -1
  653. package/lib/view/spendManagement/commonSetup/setupViewReducer.js +2 -1
  654. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +1 -1
  655. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +3 -3
  656. package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.js +1 -1
  657. package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +1 -1
  658. package/lib/zeniAPI.d.ts +1 -0
  659. package/package.json +5 -2
package/lib/reducer.d.ts CHANGED
@@ -32,6 +32,15 @@ import { ForecastState } from './entity/forecast/forecastState';
32
32
  import { EntityState } from './entity/genericEntity/entityState';
33
33
  import { GlobalMerchantState } from './entity/globalMerchant/globalMerchantState';
34
34
  import { InsightState } from './entity/insights/insightState';
35
+ import { InvoicingCouponState } from './entity/invoicing/coupon/couponState';
36
+ import { InvoicingCreditNoteState } from './entity/invoicing/creditNote/creditNoteState';
37
+ import { InvoicingCustomerState } from './entity/invoicing/invoicingCustomer/invoicingCustomerState';
38
+ import { InvoicingDunningCaseState } from './entity/invoicing/dunningCase/dunningCaseState';
39
+ import { InvoiceState as InvoicingInvoiceState } from './entity/invoicing/invoice/invoiceState';
40
+ import { InvoicingPlanState } from './entity/invoicing/plan/planState';
41
+ import { InvoicingProductState } from './entity/invoicing/product/productState';
42
+ import { InvoicingSubscriptionState } from './entity/invoicing/invoicingSubscription/invoicingSubscriptionState';
43
+ import { InvoicingTransactionState } from './entity/invoicing/transaction/transactionState';
35
44
  import { JESchedulesState } from './entity/jeSchedules/jeSchedulesState';
36
45
  import { MerchantState } from './entity/merchant/merchant';
37
46
  import { MonthEndCloseChecksState } from './entity/monthEndCloseChecks/monthEndCloseChecksState';
@@ -115,6 +124,37 @@ import { ForecastListState } from './view/forecastList/forecastListState';
115
124
  import { GlobalMerchantAutoCompleteState } from './view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState';
116
125
  import { GlobalMerchantViewState } from './view/globalMerchantView/globalMerchantViewState';
117
126
  import { InsightsCardState } from './view/insightsCard/insightsCardState';
127
+ import { InvoicingOverviewState } from './view/invoicing/invoicingOverview/invoicingOverviewState';
128
+ import { InvoicingApprovalActionState } from './view/invoicing/approvalAction/approvalActionState';
129
+ import { InvoicingApprovalsViewState } from './view/invoicing/approvalsView/approvalsViewState';
130
+ import { InvoicingAuditViewState } from './view/invoicing/auditView/auditViewState';
131
+ import { InvoicingCatalogViewState } from './view/invoicing/catalogView/catalogViewState';
132
+ import { InvoicingCatalogWriteState } from './view/invoicing/catalogWrite/catalogWriteState';
133
+ import { InvoicingCouponViewState } from './view/invoicing/couponView/couponViewState';
134
+ import { InvoicingCouponWriteState } from './view/invoicing/couponWrite/couponWriteState';
135
+ import { CreateInvoiceState as InvoicingCreateInvoiceState } from './view/invoicing/createInvoice/createInvoiceState';
136
+ import { InvoicingCreditNoteViewState } from './view/invoicing/creditNoteView/creditNoteViewState';
137
+ import { InvoicingCustomerPaymentMethodState } from './view/invoicing/customerPaymentMethod/customerPaymentMethodState';
138
+ import { InvoicingCustomerDetailViewState } from './view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState';
139
+ import { InvoicingCustomerListViewState } from './view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState';
140
+ import { EditInvoicingCustomerDetailViewState } from './view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState';
141
+ import { InvoicingDataImportActionState } from './view/invoicing/dataImportAction/dataImportActionState';
142
+ import { InvoicingDataImportViewState } from './view/invoicing/dataImportView/dataImportViewState';
143
+ import { InvoicingDunningActionState } from './view/invoicing/dunningAction/dunningActionState';
144
+ import { InvoicingDunningCaseViewState } from './view/invoicing/dunningCaseView/dunningCaseViewState';
145
+ import { InvoicingInvoiceActionState } from './view/invoicing/invoiceAction/invoiceActionState';
146
+ import { InvoiceDetailState as InvoicingInvoiceDetailState } from './view/invoicing/invoiceDetail/invoiceDetailState';
147
+ import { InvoiceListState as InvoicingInvoiceListState } from './view/invoicing/invoiceList/invoiceListState';
148
+ import { InvoicingInvoicePdfState } from './view/invoicing/invoicePdf/invoicePdfState';
149
+ import { InvoicingPaymentActionState } from './view/invoicing/paymentAction/paymentActionState';
150
+ import { RecordPaymentState as InvoicingRecordPaymentState } from './view/invoicing/recordPayment/recordPaymentState';
151
+ import { InvoicingReportsViewState } from './view/invoicing/reportsView/reportsViewState';
152
+ import { InvoicingSettingsViewState } from './view/invoicing/settingsView/settingsViewState';
153
+ import { InvoicingSubscriptionActionState } from './view/invoicing/subscriptionAction/subscriptionActionState';
154
+ import { InvoicingSubscriptionDetailViewState } from './view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState';
155
+ import { InvoicingSubscriptionListViewState } from './view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState';
156
+ import { EditInvoicingSubscriptionDetailViewState } from './view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState';
157
+ import { InvoicingTransactionViewState } from './view/invoicing/transactionView/transactionViewState';
118
158
  import { MonthEndCloseChecksViewState } from './view/monthEndCloseChecksView/monthEndCloseChecksViewState';
119
159
  import { NetBurnOrIncomeWithForecastState } from './view/netBurnOrIncome/netBurnOrIncomeState';
120
160
  import { NetBurnOrIncomeClassesViewState } from './view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewState';
@@ -262,6 +302,15 @@ type EntitiesState = {
262
302
  forecastState: ForecastState;
263
303
  globalMerchantState: GlobalMerchantState;
264
304
  insightState: InsightState;
305
+ invoicingCouponState: InvoicingCouponState;
306
+ invoicingCreditNoteState: InvoicingCreditNoteState;
307
+ invoicingCustomerState: InvoicingCustomerState;
308
+ invoicingDunningCaseState: InvoicingDunningCaseState;
309
+ invoicingInvoiceState: InvoicingInvoiceState;
310
+ invoicingPlanState: InvoicingPlanState;
311
+ invoicingProductState: InvoicingProductState;
312
+ invoicingSubscriptionState: InvoicingSubscriptionState;
313
+ invoicingTransactionState: InvoicingTransactionState;
265
314
  jeSchedulesState: JESchedulesState;
266
315
  merchantState: MerchantState;
267
316
  monthEndCloseChecksState: MonthEndCloseChecksState;
@@ -362,6 +411,8 @@ type ViewsState = {
362
411
  depositAccountListState: DepositAccountListState;
363
412
  depositAccountTransactionListState: DepositAccountTransactionListState;
364
413
  editBillDetailViewState: EditBillDetailViewState;
414
+ editInvoicingCustomerDetailViewState: EditInvoicingCustomerDetailViewState;
415
+ editInvoicingSubscriptionDetailViewState: EditInvoicingSubscriptionDetailViewState;
365
416
  editRemiDetailViewState: EditRemiDetailViewState;
366
417
  entityAutoCompleteState: EntityAutoCompleteState;
367
418
  entityRecommendationState: EntityRecommendationState;
@@ -381,6 +432,35 @@ type ViewsState = {
381
432
  insightsCardState: InsightsCardState;
382
433
  internationalWireState: InternationalWireState;
383
434
  internationalWireVerificationState: InternationalWireVerificationState;
435
+ invoicingApprovalActionState: InvoicingApprovalActionState;
436
+ invoicingApprovalsViewState: InvoicingApprovalsViewState;
437
+ invoicingAuditViewState: InvoicingAuditViewState;
438
+ invoicingCatalogViewState: InvoicingCatalogViewState;
439
+ invoicingCatalogWriteState: InvoicingCatalogWriteState;
440
+ invoicingCouponViewState: InvoicingCouponViewState;
441
+ invoicingCouponWriteState: InvoicingCouponWriteState;
442
+ invoicingCreateInvoiceState: InvoicingCreateInvoiceState;
443
+ invoicingCreditNoteViewState: InvoicingCreditNoteViewState;
444
+ invoicingCustomerDetailViewState: InvoicingCustomerDetailViewState;
445
+ invoicingCustomerListViewState: InvoicingCustomerListViewState;
446
+ invoicingCustomerPaymentMethodState: InvoicingCustomerPaymentMethodState;
447
+ invoicingDataImportActionState: InvoicingDataImportActionState;
448
+ invoicingDataImportViewState: InvoicingDataImportViewState;
449
+ invoicingDunningActionState: InvoicingDunningActionState;
450
+ invoicingDunningCaseViewState: InvoicingDunningCaseViewState;
451
+ invoicingInvoiceActionState: InvoicingInvoiceActionState;
452
+ invoicingInvoiceDetailState: InvoicingInvoiceDetailState;
453
+ invoicingInvoiceListState: InvoicingInvoiceListState;
454
+ invoicingInvoicePdfState: InvoicingInvoicePdfState;
455
+ invoicingOverviewState: InvoicingOverviewState;
456
+ invoicingPaymentActionState: InvoicingPaymentActionState;
457
+ invoicingRecordPaymentState: InvoicingRecordPaymentState;
458
+ invoicingReportsViewState: InvoicingReportsViewState;
459
+ invoicingSettingsViewState: InvoicingSettingsViewState;
460
+ invoicingSubscriptionActionState: InvoicingSubscriptionActionState;
461
+ invoicingSubscriptionDetailViewState: InvoicingSubscriptionDetailViewState;
462
+ invoicingSubscriptionListViewState: InvoicingSubscriptionListViewState;
463
+ invoicingTransactionViewState: InvoicingTransactionViewState;
384
464
  issueChargeCardState: IssueChargeCardState;
385
465
  magicLinkViewState: MagicLinkViewState;
386
466
  merchantListState: MerchantListState;
@@ -545,6 +625,37 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
545
625
  globalMerchantAutoCompleteState: GlobalMerchantAutoCompleteState;
546
626
  globalMerchantViewState: GlobalMerchantViewState;
547
627
  insightsCardState: InsightsCardState;
628
+ invoicingOverviewState: InvoicingOverviewState;
629
+ invoicingApprovalActionState: InvoicingApprovalActionState;
630
+ invoicingApprovalsViewState: InvoicingApprovalsViewState;
631
+ invoicingAuditViewState: InvoicingAuditViewState;
632
+ invoicingCatalogViewState: InvoicingCatalogViewState;
633
+ invoicingCatalogWriteState: InvoicingCatalogWriteState;
634
+ invoicingCouponWriteState: InvoicingCouponWriteState;
635
+ invoicingCouponViewState: InvoicingCouponViewState;
636
+ invoicingCreditNoteViewState: InvoicingCreditNoteViewState;
637
+ invoicingCreateInvoiceState: InvoicingCreateInvoiceState;
638
+ invoicingRecordPaymentState: InvoicingRecordPaymentState;
639
+ invoicingCustomerDetailViewState: InvoicingCustomerDetailViewState;
640
+ invoicingCustomerListViewState: InvoicingCustomerListViewState;
641
+ invoicingCustomerPaymentMethodState: InvoicingCustomerPaymentMethodState;
642
+ editInvoicingCustomerDetailViewState: EditInvoicingCustomerDetailViewState;
643
+ invoicingDataImportActionState: InvoicingDataImportActionState;
644
+ invoicingDataImportViewState: InvoicingDataImportViewState;
645
+ invoicingDunningActionState: import("./view/invoicing/dunningAction/dunningActionReducer").InvoicingDunningActionState;
646
+ invoicingDunningCaseViewState: InvoicingDunningCaseViewState;
647
+ invoicingInvoiceActionState: InvoicingInvoiceActionState;
648
+ invoicingInvoiceDetailState: InvoicingInvoiceDetailState;
649
+ invoicingInvoiceListState: InvoicingInvoiceListState;
650
+ invoicingInvoicePdfState: InvoicingInvoicePdfState;
651
+ invoicingPaymentActionState: InvoicingPaymentActionState;
652
+ invoicingReportsViewState: InvoicingReportsViewState;
653
+ invoicingSettingsViewState: InvoicingSettingsViewState;
654
+ invoicingSubscriptionActionState: InvoicingSubscriptionActionState;
655
+ invoicingSubscriptionDetailViewState: InvoicingSubscriptionDetailViewState;
656
+ invoicingSubscriptionListViewState: InvoicingSubscriptionListViewState;
657
+ editInvoicingSubscriptionDetailViewState: EditInvoicingSubscriptionDetailViewState;
658
+ invoicingTransactionViewState: InvoicingTransactionViewState;
548
659
  internationalWireState: InternationalWireState;
549
660
  issueChargeCardState: IssueChargeCardState;
550
661
  internationalWireVerificationState: InternationalWireVerificationState;
@@ -666,6 +777,15 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
666
777
  forecastState: ForecastState;
667
778
  globalMerchantState: GlobalMerchantState;
668
779
  insightState: InsightState;
780
+ invoicingCouponState: InvoicingCouponState;
781
+ invoicingCreditNoteState: InvoicingCreditNoteState;
782
+ invoicingCustomerState: InvoicingCustomerState;
783
+ invoicingDunningCaseState: InvoicingDunningCaseState;
784
+ invoicingInvoiceState: InvoicingInvoiceState;
785
+ invoicingPlanState: InvoicingPlanState;
786
+ invoicingProductState: InvoicingProductState;
787
+ invoicingSubscriptionState: InvoicingSubscriptionState;
788
+ invoicingTransactionState: InvoicingTransactionState;
669
789
  jeSchedulesState: JESchedulesState;
670
790
  merchantState: MerchantState;
671
791
  monthEndCloseChecksState: MonthEndCloseChecksState;
package/lib/reducer.js CHANGED
@@ -72,6 +72,15 @@ const forecastReducer_1 = __importStar(require("./entity/forecast/forecastReduce
72
72
  const entityReducer_1 = __importStar(require("./entity/genericEntity/entityReducer"));
73
73
  const globalMerchantReducer_1 = __importStar(require("./entity/globalMerchant/globalMerchantReducer"));
74
74
  const insightReducer_1 = __importStar(require("./entity/insights/insightReducer"));
75
+ const couponReducer_1 = __importStar(require("./entity/invoicing/coupon/couponReducer"));
76
+ const creditNoteReducer_1 = __importStar(require("./entity/invoicing/creditNote/creditNoteReducer"));
77
+ const invoicingCustomerReducer_1 = __importStar(require("./entity/invoicing/invoicingCustomer/invoicingCustomerReducer"));
78
+ const dunningCaseReducer_1 = __importStar(require("./entity/invoicing/dunningCase/dunningCaseReducer"));
79
+ const invoiceReducer_1 = __importStar(require("./entity/invoicing/invoice/invoiceReducer"));
80
+ const planReducer_1 = __importStar(require("./entity/invoicing/plan/planReducer"));
81
+ const productReducer_1 = __importStar(require("./entity/invoicing/product/productReducer"));
82
+ const invoicingSubscriptionReducer_1 = __importStar(require("./entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer"));
83
+ const transactionReducer_1 = __importStar(require("./entity/invoicing/transaction/transactionReducer"));
75
84
  const jeSchedulesReducer_1 = __importStar(require("./entity/jeSchedules/jeSchedulesReducer"));
76
85
  const merchantReducer_1 = __importStar(require("./entity/merchant/merchantReducer"));
77
86
  const monthEndCloseChecksReducer_1 = __importStar(require("./entity/monthEndCloseChecks/monthEndCloseChecksReducer"));
@@ -99,7 +108,7 @@ const taskGroupTemplateReducer_1 = __importStar(require("./entity/taskGroupTempl
99
108
  const taskSummaryReducer_1 = __importStar(require("./entity/taskSummary/taskSummaryReducer"));
100
109
  const tenantReducer_1 = __importStar(require("./entity/tenant/tenantReducer"));
101
110
  const toastNotificationReducer_1 = __importStar(require("./entity/toastNotification/toastNotificationReducer"));
102
- const transactionReducer_1 = __importStar(require("./entity/transaction/transactionReducer"));
111
+ const transactionReducer_2 = __importStar(require("./entity/transaction/transactionReducer"));
103
112
  const transactionActivityLogReducer_1 = __importStar(require("./entity/transactionActivityLog/transactionActivityLogReducer"));
104
113
  const userReducer_1 = __importStar(require("./entity/user/userReducer"));
105
114
  const userGroupsReducer_1 = __importStar(require("./entity/userGroups/userGroupsReducer"));
@@ -156,6 +165,37 @@ const forecastListReducer_1 = __importStar(require("./view/forecastList/forecast
156
165
  const globalMerchantAutoCompleteViewReducer_1 = __importStar(require("./view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer"));
157
166
  const globalMerchantViewReducer_1 = __importStar(require("./view/globalMerchantView/globalMerchantViewReducer"));
158
167
  const insightsCardReducer_1 = __importStar(require("./view/insightsCard/insightsCardReducer"));
168
+ const invoicingOverviewReducer_1 = __importStar(require("./view/invoicing/invoicingOverview/invoicingOverviewReducer"));
169
+ const approvalActionReducer_1 = __importStar(require("./view/invoicing/approvalAction/approvalActionReducer"));
170
+ const approvalsViewReducer_1 = __importStar(require("./view/invoicing/approvalsView/approvalsViewReducer"));
171
+ const auditViewReducer_1 = __importStar(require("./view/invoicing/auditView/auditViewReducer"));
172
+ const catalogViewReducer_1 = __importStar(require("./view/invoicing/catalogView/catalogViewReducer"));
173
+ const catalogWriteReducer_1 = __importStar(require("./view/invoicing/catalogWrite/catalogWriteReducer"));
174
+ const couponViewReducer_1 = __importStar(require("./view/invoicing/couponView/couponViewReducer"));
175
+ const couponWriteReducer_1 = __importStar(require("./view/invoicing/couponWrite/couponWriteReducer"));
176
+ const createInvoiceReducer_1 = __importStar(require("./view/invoicing/createInvoice/createInvoiceReducer"));
177
+ const creditNoteViewReducer_1 = __importStar(require("./view/invoicing/creditNoteView/creditNoteViewReducer"));
178
+ const customerPaymentMethodReducer_1 = __importStar(require("./view/invoicing/customerPaymentMethod/customerPaymentMethodReducer"));
179
+ const invoicingCustomerDetailViewReducer_1 = __importStar(require("./view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer"));
180
+ const invoicingCustomerListViewReducer_1 = __importStar(require("./view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer"));
181
+ const editInvoicingCustomerDetailViewReducer_1 = __importStar(require("./view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer"));
182
+ const dataImportActionReducer_1 = __importStar(require("./view/invoicing/dataImportAction/dataImportActionReducer"));
183
+ const dataImportViewReducer_1 = __importStar(require("./view/invoicing/dataImportView/dataImportViewReducer"));
184
+ const dunningActionReducer_1 = __importStar(require("./view/invoicing/dunningAction/dunningActionReducer"));
185
+ const dunningCaseViewReducer_1 = __importStar(require("./view/invoicing/dunningCaseView/dunningCaseViewReducer"));
186
+ const invoiceActionReducer_1 = __importStar(require("./view/invoicing/invoiceAction/invoiceActionReducer"));
187
+ const invoiceDetailReducer_1 = __importStar(require("./view/invoicing/invoiceDetail/invoiceDetailReducer"));
188
+ const invoiceListReducer_1 = __importStar(require("./view/invoicing/invoiceList/invoiceListReducer"));
189
+ const invoicePdfReducer_1 = __importStar(require("./view/invoicing/invoicePdf/invoicePdfReducer"));
190
+ const paymentActionReducer_1 = __importStar(require("./view/invoicing/paymentAction/paymentActionReducer"));
191
+ const recordPaymentReducer_1 = __importStar(require("./view/invoicing/recordPayment/recordPaymentReducer"));
192
+ const reportsViewReducer_1 = __importStar(require("./view/invoicing/reportsView/reportsViewReducer"));
193
+ const settingsViewReducer_1 = __importStar(require("./view/invoicing/settingsView/settingsViewReducer"));
194
+ const subscriptionActionReducer_1 = __importStar(require("./view/invoicing/subscriptionAction/subscriptionActionReducer"));
195
+ const invoicingSubscriptionDetailViewReducer_1 = __importStar(require("./view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer"));
196
+ const invoicingSubscriptionListViewReducer_1 = __importStar(require("./view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer"));
197
+ const editInvoicingSubscriptionDetailViewReducer_1 = __importStar(require("./view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer"));
198
+ const transactionViewReducer_1 = __importStar(require("./view/invoicing/transactionView/transactionViewReducer"));
159
199
  const monthEndCloseChecksViewReducer_1 = __importStar(require("./view/monthEndCloseChecksView/monthEndCloseChecksViewReducer"));
160
200
  const netBurnOrIncomeReducer_1 = __importStar(require("./view/netBurnOrIncome/netBurnOrIncomeReducer"));
161
201
  const netBurnOrIncomeClassesViewReducer_1 = __importStar(require("./view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer"));
@@ -183,7 +223,7 @@ const reviewCompanyViewReducer_1 = __importStar(require("./view/reviewCompanyVie
183
223
  const scheduleAccruedDetailReducer_1 = __importStar(require("./view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailReducer"));
184
224
  const scheduleDetailReducer_1 = __importStar(require("./view/scheduleView/scheduleDetailView/scheduleDetailReducer"));
185
225
  const scheduleListReducer_1 = __importStar(require("./view/scheduleView/scheduleListView/scheduleListReducer"));
186
- const settingsViewReducer_1 = __importStar(require("./view/settingsView/settingsViewReducer"));
226
+ const settingsViewReducer_2 = __importStar(require("./view/settingsView/settingsViewReducer"));
187
227
  const autoTransferRulesReducer_1 = __importStar(require("./view/spendManagement/autotransferRules/autoTransferRulesReducer"));
188
228
  const billDetailViewReducer_1 = __importStar(require("./view/spendManagement/billPay/billDetailView/billDetailViewReducer"));
189
229
  const billListReducer_1 = __importStar(require("./view/spendManagement/billPay/billList/billListReducer"));
@@ -305,6 +345,15 @@ const initialEntitiesState = {
305
345
  forecastState: forecastReducer_1.initialState,
306
346
  globalMerchantState: globalMerchantReducer_1.initialState,
307
347
  insightState: insightReducer_1.initialState,
348
+ invoicingCouponState: couponReducer_1.initialState,
349
+ invoicingCreditNoteState: creditNoteReducer_1.initialState,
350
+ invoicingCustomerState: invoicingCustomerReducer_1.initialState,
351
+ invoicingDunningCaseState: dunningCaseReducer_1.initialState,
352
+ invoicingInvoiceState: invoiceReducer_1.initialState,
353
+ invoicingPlanState: planReducer_1.initialState,
354
+ invoicingProductState: productReducer_1.initialState,
355
+ invoicingSubscriptionState: invoicingSubscriptionReducer_1.initialState,
356
+ invoicingTransactionState: transactionReducer_1.initialState,
308
357
  jeSchedulesState: jeSchedulesReducer_1.initialState,
309
358
  merchantState: merchantReducer_1.initialState,
310
359
  monthEndCloseChecksState: monthEndCloseChecksReducer_1.initialState,
@@ -333,7 +382,7 @@ const initialEntitiesState = {
333
382
  tenantState: tenantReducer_1.initialState,
334
383
  toastNotificationState: toastNotificationReducer_1.initialState,
335
384
  transactionActivityLogState: transactionActivityLogReducer_1.initialState,
336
- transactionState: transactionReducer_1.initialState,
385
+ transactionState: transactionReducer_2.initialState,
337
386
  userGroupsState: userGroupsReducer_1.initialState,
338
387
  userRoleState: userRoleReducer_1.initialState,
339
388
  userState: userReducer_1.initialState,
@@ -421,6 +470,37 @@ const initialViewsState = {
421
470
  globalMerchantAutoCompleteState: globalMerchantAutoCompleteViewReducer_1.initialState,
422
471
  globalMerchantViewState: globalMerchantViewReducer_1.initialState,
423
472
  insightsCardState: insightsCardReducer_1.initialState,
473
+ invoicingOverviewState: invoicingOverviewReducer_1.initialState,
474
+ invoicingApprovalActionState: approvalActionReducer_1.initialState,
475
+ invoicingApprovalsViewState: approvalsViewReducer_1.initialState,
476
+ invoicingAuditViewState: auditViewReducer_1.initialState,
477
+ invoicingCatalogViewState: catalogViewReducer_1.initialState,
478
+ invoicingCatalogWriteState: catalogWriteReducer_1.initialState,
479
+ invoicingCouponWriteState: couponWriteReducer_1.initialState,
480
+ invoicingCouponViewState: couponViewReducer_1.initialState,
481
+ invoicingCreditNoteViewState: creditNoteViewReducer_1.initialState,
482
+ invoicingCreateInvoiceState: createInvoiceReducer_1.initialState,
483
+ invoicingRecordPaymentState: recordPaymentReducer_1.initialState,
484
+ invoicingCustomerDetailViewState: invoicingCustomerDetailViewReducer_1.initialState,
485
+ invoicingCustomerListViewState: invoicingCustomerListViewReducer_1.initialState,
486
+ invoicingCustomerPaymentMethodState: customerPaymentMethodReducer_1.initialState,
487
+ editInvoicingCustomerDetailViewState: editInvoicingCustomerDetailViewReducer_1.initialState,
488
+ invoicingDataImportActionState: dataImportActionReducer_1.initialState,
489
+ invoicingDataImportViewState: dataImportViewReducer_1.initialState,
490
+ invoicingDunningActionState: dunningActionReducer_1.initialState,
491
+ invoicingDunningCaseViewState: dunningCaseViewReducer_1.initialState,
492
+ invoicingInvoiceActionState: invoiceActionReducer_1.initialState,
493
+ invoicingInvoiceDetailState: invoiceDetailReducer_1.initialState,
494
+ invoicingInvoiceListState: invoiceListReducer_1.initialState,
495
+ invoicingInvoicePdfState: invoicePdfReducer_1.initialState,
496
+ invoicingPaymentActionState: paymentActionReducer_1.initialState,
497
+ invoicingReportsViewState: reportsViewReducer_1.initialState,
498
+ invoicingSettingsViewState: settingsViewReducer_1.initialState,
499
+ invoicingSubscriptionActionState: subscriptionActionReducer_1.initialState,
500
+ invoicingSubscriptionDetailViewState: invoicingSubscriptionDetailViewReducer_1.initialState,
501
+ invoicingSubscriptionListViewState: invoicingSubscriptionListViewReducer_1.initialState,
502
+ editInvoicingSubscriptionDetailViewState: editInvoicingSubscriptionDetailViewReducer_1.initialState,
503
+ invoicingTransactionViewState: transactionViewReducer_1.initialState,
424
504
  internationalWireState: internationalWireReducer_1.initialState,
425
505
  issueChargeCardState: issueChargeCardReducer_1.initialState,
426
506
  internationalWireVerificationState: internationalWireVerificationReducer_1.initialState,
@@ -462,7 +542,7 @@ const initialViewsState = {
462
542
  scheduleAccruedDetailState: scheduleAccruedDetailReducer_1.initialState,
463
543
  scheduleDetailState: scheduleDetailReducer_1.initialState,
464
544
  scheduleListState: scheduleListReducer_1.initialState,
465
- settingsViewState: settingsViewReducer_1.initialState,
545
+ settingsViewState: settingsViewReducer_2.initialState,
466
546
  setupViewState: setupViewReducer_1.initialState,
467
547
  subscriptionViewState: subscriptionViewReducer_1.initialState,
468
548
  tagViewState: tagViewReducer_1.initialState,
@@ -548,6 +628,15 @@ const entityReducers = {
548
628
  forecastState: forecastReducer_1.default,
549
629
  globalMerchantState: globalMerchantReducer_1.default,
550
630
  insightState: insightReducer_1.default,
631
+ invoicingCouponState: couponReducer_1.default,
632
+ invoicingCreditNoteState: creditNoteReducer_1.default,
633
+ invoicingCustomerState: invoicingCustomerReducer_1.default,
634
+ invoicingDunningCaseState: dunningCaseReducer_1.default,
635
+ invoicingInvoiceState: invoiceReducer_1.default,
636
+ invoicingPlanState: planReducer_1.default,
637
+ invoicingProductState: productReducer_1.default,
638
+ invoicingSubscriptionState: invoicingSubscriptionReducer_1.default,
639
+ invoicingTransactionState: transactionReducer_1.default,
551
640
  jeSchedulesState: jeSchedulesReducer_1.default,
552
641
  merchantState: merchantReducer_1.default,
553
642
  monthEndCloseChecksState: monthEndCloseChecksReducer_1.default,
@@ -576,7 +665,7 @@ const entityReducers = {
576
665
  tenantState: tenantReducer_1.default,
577
666
  toastNotificationState: toastNotificationReducer_1.default,
578
667
  transactionActivityLogState: transactionActivityLogReducer_1.default,
579
- transactionState: transactionReducer_1.default,
668
+ transactionState: transactionReducer_2.default,
580
669
  userGroupsState: userGroupsReducer_1.default,
581
670
  userRoleState: userRoleReducer_1.default,
582
671
  userState: userReducer_1.default,
@@ -663,6 +752,37 @@ const viewReducers = {
663
752
  globalMerchantAutoCompleteState: globalMerchantAutoCompleteViewReducer_1.default,
664
753
  globalMerchantViewState: globalMerchantViewReducer_1.default,
665
754
  insightsCardState: insightsCardReducer_1.default,
755
+ invoicingOverviewState: invoicingOverviewReducer_1.default,
756
+ invoicingApprovalActionState: approvalActionReducer_1.default,
757
+ invoicingApprovalsViewState: approvalsViewReducer_1.default,
758
+ invoicingAuditViewState: auditViewReducer_1.default,
759
+ invoicingCatalogViewState: catalogViewReducer_1.default,
760
+ invoicingCatalogWriteState: catalogWriteReducer_1.default,
761
+ invoicingCouponWriteState: couponWriteReducer_1.default,
762
+ invoicingCouponViewState: couponViewReducer_1.default,
763
+ invoicingCreditNoteViewState: creditNoteViewReducer_1.default,
764
+ invoicingCreateInvoiceState: createInvoiceReducer_1.default,
765
+ invoicingRecordPaymentState: recordPaymentReducer_1.default,
766
+ invoicingCustomerDetailViewState: invoicingCustomerDetailViewReducer_1.default,
767
+ invoicingCustomerListViewState: invoicingCustomerListViewReducer_1.default,
768
+ invoicingCustomerPaymentMethodState: customerPaymentMethodReducer_1.default,
769
+ editInvoicingCustomerDetailViewState: editInvoicingCustomerDetailViewReducer_1.default,
770
+ invoicingDataImportActionState: dataImportActionReducer_1.default,
771
+ invoicingDataImportViewState: dataImportViewReducer_1.default,
772
+ invoicingDunningActionState: dunningActionReducer_1.default,
773
+ invoicingDunningCaseViewState: dunningCaseViewReducer_1.default,
774
+ invoicingInvoiceActionState: invoiceActionReducer_1.default,
775
+ invoicingInvoiceDetailState: invoiceDetailReducer_1.default,
776
+ invoicingInvoiceListState: invoiceListReducer_1.default,
777
+ invoicingInvoicePdfState: invoicePdfReducer_1.default,
778
+ invoicingPaymentActionState: paymentActionReducer_1.default,
779
+ invoicingReportsViewState: reportsViewReducer_1.default,
780
+ invoicingSettingsViewState: settingsViewReducer_1.default,
781
+ invoicingSubscriptionActionState: subscriptionActionReducer_1.default,
782
+ invoicingSubscriptionDetailViewState: invoicingSubscriptionDetailViewReducer_1.default,
783
+ invoicingSubscriptionListViewState: invoicingSubscriptionListViewReducer_1.default,
784
+ editInvoicingSubscriptionDetailViewState: editInvoicingSubscriptionDetailViewReducer_1.default,
785
+ invoicingTransactionViewState: transactionViewReducer_1.default,
666
786
  internationalWireState: internationalWireReducer_1.default,
667
787
  issueChargeCardState: issueChargeCardReducer_1.default,
668
788
  internationalWireVerificationState: internationalWireVerificationReducer_1.default,
@@ -705,7 +825,7 @@ const viewReducers = {
705
825
  scheduleAccruedDetailState: scheduleAccruedDetailReducer_1.default,
706
826
  scheduleDetailState: scheduleDetailReducer_1.default,
707
827
  scheduleListState: scheduleListReducer_1.default,
708
- settingsViewState: settingsViewReducer_1.default,
828
+ settingsViewState: settingsViewReducer_2.default,
709
829
  setupViewState: setupViewReducer_1.default,
710
830
  subscriptionViewState: subscriptionViewReducer_1.default,
711
831
  cannedResponsesState: cannedResponsesReducer_1.default,
@@ -30,4 +30,18 @@ export interface SuggestedQuestionsDataPayload {
30
30
  suggested_questions: string[];
31
31
  }
32
32
  export type FetchSuggestedQuestionsResponse = ZeniAPIResponse<SuggestedQuestionsDataPayload>;
33
+ /** One entry in the `/` skill menu — from GET {chat}/1.0/skills (SkillSummary). */
34
+ export interface SkillSummaryPayload {
35
+ description: string | null;
36
+ display_name: string | null;
37
+ has_scripts: boolean;
38
+ macro_id: string;
39
+ name: string;
40
+ parameter_hints: Record<string, unknown> | null;
41
+ semver: string | null;
42
+ }
43
+ export interface SkillListDataPayload {
44
+ skills: SkillSummaryPayload[];
45
+ }
46
+ export type FetchSkillsResponse = ZeniAPIResponse<SkillListDataPayload>;
33
47
  export {};
@@ -5,9 +5,9 @@ import { ChatSessionPayload } from '../../entity/aiCfo/aiCfoPayload';
5
5
  import { AiCfoAnswerResponseType } from '../../entity/aiCfo/aiCfoState';
6
6
  import { ZeniAPIStatus } from '../../responsePayload';
7
7
  import { ContextStatus } from './aiCfoViewPayload';
8
- import { AiCfoViewState } from './aiCfoViewState';
8
+ import { AiCfoViewState, Skill } from './aiCfoViewState';
9
9
  export declare const initialAiCfoViewState: AiCfoViewState;
10
- export declare const submitQuestion: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[sessionId: string, questionAnswerId: string, userId: string, questionId: string, createdAt: import("dayjs").Dayjs, question: string, files?: File[] | undefined], {
10
+ export declare const submitQuestion: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[sessionId: string, questionAnswerId: string, userId: string, questionId: string, createdAt: import("dayjs").Dayjs, question: string, files?: File[] | undefined, macroId?: string | undefined], {
11
11
  sessionId: string;
12
12
  questionAnswerId: string;
13
13
  userId: string;
@@ -15,6 +15,7 @@ export declare const submitQuestion: import("@reduxjs/toolkit").ActionCreatorWit
15
15
  createdAt: import("dayjs").Dayjs;
16
16
  question: string;
17
17
  files: File[] | undefined;
18
+ macroId: string | undefined;
18
19
  }, "aiCfoView/submitQuestion", never, never>, submitQuestionSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "aiCfoView/submitQuestionSuccess">, submitQuestionFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
19
20
  error: ZeniAPIStatus;
20
21
  sessionId: ID;
@@ -36,7 +37,7 @@ export declare const submitQuestion: import("@reduxjs/toolkit").ActionCreatorWit
36
37
  sessionId: ID;
37
38
  contextMessage?: string;
38
39
  contextStatus?: ContextStatus;
39
- }, "aiCfoView/createSessionSuccess">, createSessionFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "aiCfoView/createSessionFailure">, createSessionAndSubmit: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[agentId: string, userId: string, questionAnswerId: string, questionId: string, createdAt: import("dayjs").Dayjs, question: string, files?: File[] | undefined, pageContext?: string | undefined], {
40
+ }, "aiCfoView/createSessionSuccess">, createSessionFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "aiCfoView/createSessionFailure">, createSessionAndSubmit: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[agentId: string, userId: string, questionAnswerId: string, questionId: string, createdAt: import("dayjs").Dayjs, question: string, files?: File[] | undefined, pageContext?: string | undefined, macroId?: string | undefined], {
40
41
  agentId: string;
41
42
  userId: string;
42
43
  questionAnswerId: string;
@@ -45,6 +46,7 @@ export declare const submitQuestion: import("@reduxjs/toolkit").ActionCreatorWit
45
46
  question: string;
46
47
  files: File[] | undefined;
47
48
  pageContext: string | undefined;
49
+ macroId: string | undefined;
48
50
  }, "aiCfoView/createSessionAndSubmit", never, never>, initializeNewSessionState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
49
51
  agentId: string;
50
52
  sessionId: ID;
@@ -108,7 +110,9 @@ export declare const submitQuestion: import("@reduxjs/toolkit").ActionCreatorWit
108
110
  }, "aiCfoView/fetchSuggestedQuestionsSuccess">, fetchSuggestedQuestionsFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
109
111
  error: ZeniAPIStatus;
110
112
  pageContext: AiCfoSuggestedQuestionsPageContext;
111
- }, "aiCfoView/fetchSuggestedQuestionsFailure">, applyAiCfoSidePanelHostPageTransition: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
113
+ }, "aiCfoView/fetchSuggestedQuestionsFailure">, fetchSkills: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/fetchSkills">, fetchSkillsSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
114
+ skills: Skill[];
115
+ }, "aiCfoView/fetchSkillsSuccess">, fetchSkillsFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "aiCfoView/fetchSkillsFailure">, applyAiCfoSidePanelHostPageTransition: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
112
116
  newAiCfoSidePanelHostPageKey: string;
113
117
  /** When omitted or null, clears the active session (empty / suggested questions). */
114
118
  nextCurrentChatSessionId?: ID | null;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.clearAiCfoSidePanelHostPageContext = exports.applyAiCfoSidePanelHostPageTransition = exports.fetchSuggestedQuestionsFailure = exports.fetchSuggestedQuestionsSuccess = exports.fetchSuggestedQuestions = exports.updateCotCollapsedState = exports.clearAiCfoView = exports.clearDeleteChatSessionStatus = exports.deleteChatSessionFailure = exports.deleteChatSessionSuccess = exports.deleteChatSession = exports.acceptMasterTOSFailure = exports.acceptMasterTOSSuccess = exports.acceptMasterTOS = exports.stopSubmitQuestionFailure = exports.stopSubmitQuestionSuccess = exports.stopSubmitQuestion = exports.stopSubmitFailure = exports.stopSubmitSuccess = exports.stopSubmit = exports.clearLastContextMessage = exports.clearCurrentSessionId = exports.fetchChatHistoryFailure = exports.fetchChatHistorySuccess = exports.fetchChatHistory = exports.fetchChatSessionsForUserFailure = exports.fetchChatSessionsForUserSuccess = exports.fetchChatSessionsForUser = exports.createSessionAndSubmitFailure = exports.createSessionAndSubmitSuccess = exports.initializeNewSessionState = exports.createSessionAndSubmit = exports.createSessionFailure = exports.createSessionSuccess = exports.createSession = exports.setSession = exports.clearInput = exports.updateCurrentInput = exports.updateAiCfoViewScrollPosition = exports.updateResponseState = exports.submitQuestionFailure = exports.submitQuestionSuccess = exports.submitQuestion = exports.initialAiCfoViewState = void 0;
4
+ exports.clearAiCfoSidePanelHostPageContext = exports.applyAiCfoSidePanelHostPageTransition = exports.fetchSkillsFailure = exports.fetchSkillsSuccess = exports.fetchSkills = exports.fetchSuggestedQuestionsFailure = exports.fetchSuggestedQuestionsSuccess = exports.fetchSuggestedQuestions = exports.updateCotCollapsedState = exports.clearAiCfoView = exports.clearDeleteChatSessionStatus = exports.deleteChatSessionFailure = exports.deleteChatSessionSuccess = exports.deleteChatSession = exports.acceptMasterTOSFailure = exports.acceptMasterTOSSuccess = exports.acceptMasterTOS = exports.stopSubmitQuestionFailure = exports.stopSubmitQuestionSuccess = exports.stopSubmitQuestion = exports.stopSubmitFailure = exports.stopSubmitSuccess = exports.stopSubmit = exports.clearLastContextMessage = exports.clearCurrentSessionId = exports.fetchChatHistoryFailure = exports.fetchChatHistorySuccess = exports.fetchChatHistory = exports.fetchChatSessionsForUserFailure = exports.fetchChatSessionsForUserSuccess = exports.fetchChatSessionsForUser = exports.createSessionAndSubmitFailure = exports.createSessionAndSubmitSuccess = exports.initializeNewSessionState = exports.createSessionAndSubmit = exports.createSessionFailure = exports.createSessionSuccess = exports.createSession = exports.setSession = exports.clearInput = exports.updateCurrentInput = exports.updateAiCfoViewScrollPosition = exports.updateResponseState = exports.submitQuestionFailure = exports.submitQuestionSuccess = exports.submitQuestion = exports.initialAiCfoViewState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
6
  function removeSessionIdFromPageKeyMap(draft, sessionId) {
7
7
  const map = draft.uiState.chatSessionIdByPageKey;
@@ -51,6 +51,7 @@ exports.initialAiCfoViewState = {
51
51
  responseStateByChatSessionId: {},
52
52
  stopSubmitStateByChatSessionId: {},
53
53
  suggestedQuestionsByPageContext: {},
54
+ skills: { fetchState: 'Not-Started', error: undefined, skills: [] },
54
55
  };
55
56
  const aiCfoView = (0, toolkit_1.createSlice)({
56
57
  name: 'aiCfoView',
@@ -66,7 +67,7 @@ const aiCfoView = (0, toolkit_1.createSlice)({
66
67
  answer: { fetchState: 'In-Progress', error: undefined },
67
68
  };
68
69
  },
69
- prepare(sessionId, questionAnswerId, userId, questionId, createdAt, question, files) {
70
+ prepare(sessionId, questionAnswerId, userId, questionId, createdAt, question, files, macroId) {
70
71
  return {
71
72
  payload: {
72
73
  sessionId,
@@ -76,6 +77,7 @@ const aiCfoView = (0, toolkit_1.createSlice)({
76
77
  createdAt,
77
78
  question,
78
79
  files,
80
+ macroId,
79
81
  },
80
82
  };
81
83
  },
@@ -226,7 +228,7 @@ const aiCfoView = (0, toolkit_1.createSlice)({
226
228
  draft.createSessionAndSubmitState.fetchState = 'In-Progress';
227
229
  draft.createSessionAndSubmitState.error = undefined;
228
230
  },
229
- prepare(agentId, userId, questionAnswerId, questionId, createdAt, question, files, pageContext) {
231
+ prepare(agentId, userId, questionAnswerId, questionId, createdAt, question, files, pageContext, macroId) {
230
232
  return {
231
233
  payload: {
232
234
  agentId,
@@ -237,6 +239,7 @@ const aiCfoView = (0, toolkit_1.createSlice)({
237
239
  question,
238
240
  files,
239
241
  pageContext,
242
+ macroId,
240
243
  },
241
244
  };
242
245
  },
@@ -449,6 +452,29 @@ const aiCfoView = (0, toolkit_1.createSlice)({
449
452
  error,
450
453
  };
451
454
  },
455
+ fetchSkills(draft) {
456
+ // Optional-chain: persisted/rehydrated state from before this slice existed
457
+ // may have no `skills`, so don't assume draft.skills is set.
458
+ draft.skills = {
459
+ fetchState: 'In-Progress',
460
+ error: undefined,
461
+ skills: draft.skills?.skills ?? [],
462
+ };
463
+ },
464
+ fetchSkillsSuccess(draft, action) {
465
+ draft.skills = {
466
+ fetchState: 'Completed',
467
+ error: undefined,
468
+ skills: action.payload.skills,
469
+ };
470
+ },
471
+ fetchSkillsFailure(draft, action) {
472
+ draft.skills = {
473
+ fetchState: 'Error',
474
+ error: action.payload,
475
+ skills: draft.skills?.skills ?? [],
476
+ };
477
+ },
452
478
  clearAiCfoView(draft) {
453
479
  Object.assign(draft, exports.initialAiCfoViewState);
454
480
  },
@@ -459,5 +485,5 @@ const aiCfoView = (0, toolkit_1.createSlice)({
459
485
  },
460
486
  },
461
487
  });
462
- _a = aiCfoView.actions, exports.submitQuestion = _a.submitQuestion, exports.submitQuestionSuccess = _a.submitQuestionSuccess, exports.submitQuestionFailure = _a.submitQuestionFailure, exports.updateResponseState = _a.updateResponseState, exports.updateAiCfoViewScrollPosition = _a.updateAiCfoViewScrollPosition, exports.updateCurrentInput = _a.updateCurrentInput, exports.clearInput = _a.clearInput, exports.setSession = _a.setSession, exports.createSession = _a.createSession, exports.createSessionSuccess = _a.createSessionSuccess, exports.createSessionFailure = _a.createSessionFailure, exports.createSessionAndSubmit = _a.createSessionAndSubmit, exports.initializeNewSessionState = _a.initializeNewSessionState, exports.createSessionAndSubmitSuccess = _a.createSessionAndSubmitSuccess, exports.createSessionAndSubmitFailure = _a.createSessionAndSubmitFailure, exports.fetchChatSessionsForUser = _a.fetchChatSessionsForUser, exports.fetchChatSessionsForUserSuccess = _a.fetchChatSessionsForUserSuccess, exports.fetchChatSessionsForUserFailure = _a.fetchChatSessionsForUserFailure, exports.fetchChatHistory = _a.fetchChatHistory, exports.fetchChatHistorySuccess = _a.fetchChatHistorySuccess, exports.fetchChatHistoryFailure = _a.fetchChatHistoryFailure, exports.clearCurrentSessionId = _a.clearCurrentSessionId, exports.clearLastContextMessage = _a.clearLastContextMessage, exports.stopSubmit = _a.stopSubmit, exports.stopSubmitSuccess = _a.stopSubmitSuccess, exports.stopSubmitFailure = _a.stopSubmitFailure, exports.stopSubmitQuestion = _a.stopSubmitQuestion, exports.stopSubmitQuestionSuccess = _a.stopSubmitQuestionSuccess, exports.stopSubmitQuestionFailure = _a.stopSubmitQuestionFailure, exports.acceptMasterTOS = _a.acceptMasterTOS, exports.acceptMasterTOSSuccess = _a.acceptMasterTOSSuccess, exports.acceptMasterTOSFailure = _a.acceptMasterTOSFailure, exports.deleteChatSession = _a.deleteChatSession, exports.deleteChatSessionSuccess = _a.deleteChatSessionSuccess, exports.deleteChatSessionFailure = _a.deleteChatSessionFailure, exports.clearDeleteChatSessionStatus = _a.clearDeleteChatSessionStatus, exports.clearAiCfoView = _a.clearAiCfoView, exports.updateCotCollapsedState = _a.updateCotCollapsedState, exports.fetchSuggestedQuestions = _a.fetchSuggestedQuestions, exports.fetchSuggestedQuestionsSuccess = _a.fetchSuggestedQuestionsSuccess, exports.fetchSuggestedQuestionsFailure = _a.fetchSuggestedQuestionsFailure, exports.applyAiCfoSidePanelHostPageTransition = _a.applyAiCfoSidePanelHostPageTransition, exports.clearAiCfoSidePanelHostPageContext = _a.clearAiCfoSidePanelHostPageContext;
488
+ _a = aiCfoView.actions, exports.submitQuestion = _a.submitQuestion, exports.submitQuestionSuccess = _a.submitQuestionSuccess, exports.submitQuestionFailure = _a.submitQuestionFailure, exports.updateResponseState = _a.updateResponseState, exports.updateAiCfoViewScrollPosition = _a.updateAiCfoViewScrollPosition, exports.updateCurrentInput = _a.updateCurrentInput, exports.clearInput = _a.clearInput, exports.setSession = _a.setSession, exports.createSession = _a.createSession, exports.createSessionSuccess = _a.createSessionSuccess, exports.createSessionFailure = _a.createSessionFailure, exports.createSessionAndSubmit = _a.createSessionAndSubmit, exports.initializeNewSessionState = _a.initializeNewSessionState, exports.createSessionAndSubmitSuccess = _a.createSessionAndSubmitSuccess, exports.createSessionAndSubmitFailure = _a.createSessionAndSubmitFailure, exports.fetchChatSessionsForUser = _a.fetchChatSessionsForUser, exports.fetchChatSessionsForUserSuccess = _a.fetchChatSessionsForUserSuccess, exports.fetchChatSessionsForUserFailure = _a.fetchChatSessionsForUserFailure, exports.fetchChatHistory = _a.fetchChatHistory, exports.fetchChatHistorySuccess = _a.fetchChatHistorySuccess, exports.fetchChatHistoryFailure = _a.fetchChatHistoryFailure, exports.clearCurrentSessionId = _a.clearCurrentSessionId, exports.clearLastContextMessage = _a.clearLastContextMessage, exports.stopSubmit = _a.stopSubmit, exports.stopSubmitSuccess = _a.stopSubmitSuccess, exports.stopSubmitFailure = _a.stopSubmitFailure, exports.stopSubmitQuestion = _a.stopSubmitQuestion, exports.stopSubmitQuestionSuccess = _a.stopSubmitQuestionSuccess, exports.stopSubmitQuestionFailure = _a.stopSubmitQuestionFailure, exports.acceptMasterTOS = _a.acceptMasterTOS, exports.acceptMasterTOSSuccess = _a.acceptMasterTOSSuccess, exports.acceptMasterTOSFailure = _a.acceptMasterTOSFailure, exports.deleteChatSession = _a.deleteChatSession, exports.deleteChatSessionSuccess = _a.deleteChatSessionSuccess, exports.deleteChatSessionFailure = _a.deleteChatSessionFailure, exports.clearDeleteChatSessionStatus = _a.clearDeleteChatSessionStatus, exports.clearAiCfoView = _a.clearAiCfoView, exports.updateCotCollapsedState = _a.updateCotCollapsedState, exports.fetchSuggestedQuestions = _a.fetchSuggestedQuestions, exports.fetchSuggestedQuestionsSuccess = _a.fetchSuggestedQuestionsSuccess, exports.fetchSuggestedQuestionsFailure = _a.fetchSuggestedQuestionsFailure, exports.fetchSkills = _a.fetchSkills, exports.fetchSkillsSuccess = _a.fetchSkillsSuccess, exports.fetchSkillsFailure = _a.fetchSkillsFailure, exports.applyAiCfoSidePanelHostPageTransition = _a.applyAiCfoSidePanelHostPageTransition, exports.clearAiCfoSidePanelHostPageContext = _a.clearAiCfoSidePanelHostPageContext;
463
489
  exports.default = aiCfoView.reducer;
@@ -4,7 +4,7 @@ import { FetchStateAndError } from '../../commonStateTypes/common';
4
4
  import { SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport';
5
5
  import { AiCfoSelectorView } from '../../entity/aiCfo/aiCfoSelector';
6
6
  import { RootState } from '../../reducer';
7
- import { AiCfoViewUIState, SuggestedQuestionsForPageContext } from './aiCfoViewState';
7
+ import { AiCfoViewUIState, SkillsState, SuggestedQuestionsForPageContext } from './aiCfoViewState';
8
8
  export interface AiCfoViewSelector extends SelectorView, AiCfoSelectorView {
9
9
  createSessionAndSubmitState: FetchStateAndError;
10
10
  createSessionState: FetchStateAndError;
@@ -23,3 +23,4 @@ export interface AiCfoViewSelector extends SelectorView, AiCfoSelectorView {
23
23
  }
24
24
  export declare const getAiCfoView: (state: RootState) => AiCfoViewSelector;
25
25
  export declare function getSuggestedQuestionsForPageContext(state: RootState, pageContext: AiCfoSuggestedQuestionsPageContext): SuggestedQuestionsForPageContext | undefined;
26
+ export declare function getSkills(state: RootState): SkillsState;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getAiCfoView = void 0;
4
4
  exports.getSuggestedQuestionsForPageContext = getSuggestedQuestionsForPageContext;
5
+ exports.getSkills = getSkills;
5
6
  const aiCfoReducer_1 = require("../../entity/aiCfo/aiCfoReducer");
6
7
  const aiCfoSelector_1 = require("../../entity/aiCfo/aiCfoSelector");
7
8
  const aiCfoViewReducer_1 = require("./aiCfoViewReducer");
@@ -27,3 +28,14 @@ exports.getAiCfoView = getAiCfoView;
27
28
  function getSuggestedQuestionsForPageContext(state, pageContext) {
28
29
  return state.aiCfoViewState?.suggestedQuestionsByPageContext?.[pageContext];
29
30
  }
31
+ // Stable fallback so getSkills returns a referentially-stable object when skills
32
+ // state is absent — a fresh literal each call would defeat useSelector identity
33
+ // checks and cause needless re-renders.
34
+ const EMPTY_SKILLS_STATE = {
35
+ fetchState: 'Not-Started',
36
+ error: undefined,
37
+ skills: [],
38
+ };
39
+ function getSkills(state) {
40
+ return state.aiCfoViewState?.skills ?? EMPTY_SKILLS_STATE;
41
+ }
@@ -37,6 +37,19 @@ export interface SuggestedQuestionsForPageContext extends FetchStateAndError {
37
37
  suggestedQuestions: string[];
38
38
  generatedAt?: string;
39
39
  }
40
+ /** A chat-visible skill shown in the `/` menu. */
41
+ export interface Skill {
42
+ description: string | null;
43
+ displayName: string | null;
44
+ hasScripts: boolean;
45
+ macroId: string;
46
+ name: string;
47
+ parameterHints: Record<string, unknown> | null;
48
+ semver: string | null;
49
+ }
50
+ export interface SkillsState extends FetchStateAndError {
51
+ skills: Skill[];
52
+ }
40
53
  export interface AiCfoViewState extends FetchStateAndError {
41
54
  allChatSessionIds: ID[];
42
55
  createSessionAndSubmitState: FetchStateAndError;
@@ -50,6 +63,8 @@ export interface AiCfoViewState extends FetchStateAndError {
50
63
  reasoning: FetchStateAndError;
51
64
  thought: FetchStateAndError;
52
65
  }>;
66
+ /** Chat-visible skills for the `/` menu. */
67
+ skills: SkillsState;
53
68
  stopSubmitStateByChatSessionId: Record<ID, FetchStateAndError>;
54
69
  /** Keyed by `page_context` query value (e.g. balance_sheet). */
55
70
  suggestedQuestionsByPageContext: Partial<Record<AiCfoSuggestedQuestionsPageContext, SuggestedQuestionsForPageContext>>;