@zeniai/client-epic-state 4.10.6 → 4.10.8

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 (171) hide show
  1. package/lib/commonPayloadTypes/agingReportPayloadTypes.d.ts +1 -0
  2. package/lib/commonPayloadTypes/commonPayload.d.ts +8 -0
  3. package/lib/commonPayloadTypes/commonPayload.js +20 -0
  4. package/lib/commonPayloadTypes/subAccountView/subAccountPayloadHelper.js +2 -2
  5. package/lib/commonStateTypes/accountView/{getNestedAccountIDHeirarchyForReport.d.ts → getNestedAccountIDHierarchyForReport.d.ts} +2 -2
  6. package/lib/commonStateTypes/accountView/nestedAccountID.d.ts +2 -2
  7. package/lib/commonStateTypes/agingBalance/agingBalance.d.ts +4 -0
  8. package/lib/commonStateTypes/agingBalance/agingBalance.js +4 -1
  9. package/lib/commonStateTypes/classesView/getNestedClassIDHierarchyForReport.d.ts +2 -2
  10. package/lib/commonStateTypes/classesView/nestedClassID.d.ts +2 -2
  11. package/lib/commonStateTypes/customerView/getNestedCustomerHierarchy.d.ts +9 -0
  12. package/lib/commonStateTypes/customerView/getNestedCustomerHierarchy.js +46 -0
  13. package/lib/commonStateTypes/customerView/nestedCustomerID.d.ts +42 -0
  14. package/lib/commonStateTypes/customerView/nestedCustomerID.js +9 -0
  15. package/lib/commonStateTypes/selectorTypes/classesViewSelectorReport.d.ts +2 -2
  16. package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.d.ts +4 -7
  17. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
  18. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +1 -0
  19. package/lib/entity/account/accountState.d.ts +1 -1
  20. package/lib/entity/account/subAccountSelector.d.ts +1 -1
  21. package/lib/entity/account/subAccountSelector.js +7 -7
  22. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  23. package/lib/entity/accountGroup/accountGroupV2Selector.js +3 -3
  24. package/lib/entity/class/classReducer.d.ts +4 -4
  25. package/lib/entity/class/classSelectorV2.d.ts +1 -1
  26. package/lib/entity/class/classSelectorV2.js +10 -10
  27. package/lib/entity/class/classState.d.ts +1 -1
  28. package/lib/entity/customer/customerPayload.d.ts +1 -1
  29. package/lib/entity/customer/customerPayload.js +1 -1
  30. package/lib/entity/customer/customerReducer.d.ts +1 -1
  31. package/lib/entity/customer/customerSelector.d.ts +1 -1
  32. package/lib/entity/customerIncome/customerIncomeTrend.d.ts +1 -1
  33. package/lib/entity/customerIncome/customerIncomeTrendReducer.d.ts +1 -1
  34. package/lib/entity/forecast/forecastState.d.ts +1 -1
  35. package/lib/entity/notification/notificationPayload.d.ts +46 -0
  36. package/lib/entity/notification/notificationPayload.js +144 -0
  37. package/lib/entity/notification/notificationReducer.d.ts +20 -0
  38. package/lib/entity/notification/notificationReducer.js +118 -0
  39. package/lib/entity/notification/notificationSelector.d.ts +9 -0
  40. package/lib/entity/notification/notificationSelector.js +36 -0
  41. package/lib/entity/notification/notificationState.d.ts +7 -0
  42. package/lib/entity/notification/notificationState.js +2 -0
  43. package/lib/entity/notification/types/notificationSelectorTypes.d.ts +8 -0
  44. package/lib/entity/notification/types/notificationSelectorTypes.js +2 -0
  45. package/lib/entity/notification/types/notificationStateTypes.d.ts +50 -0
  46. package/lib/entity/notification/types/notificationStateTypes.js +2 -0
  47. package/lib/entity/notification/types/notificationTypes.d.ts +24 -0
  48. package/lib/entity/notification/types/notificationTypes.js +58 -0
  49. package/lib/entity/sectionAccountsView/getNestedAccountIDHierarchyForSection.js +9 -9
  50. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  51. package/lib/entity/sectionAccountsView/sectionAccountsViewEpic.js +2 -2
  52. package/lib/entity/sectionAccountsView/sectionAccountsViewSelector.js +3 -3
  53. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  54. package/lib/entity/sectionClassesViewV2/sectionClassesViewEpic.js +2 -2
  55. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  56. package/lib/entity/sectionClassesViewV2/sectionClassesViewSelector.js +7 -7
  57. package/lib/entity/sectionClassesViewV2/selectorHelpers/getNestedClassIDHierarchyForSection.js +7 -7
  58. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  59. package/lib/entity/snackbar/snackbarTypes.js +1 -0
  60. package/lib/entity/tenant/clearAllEpic.d.ts +4 -2
  61. package/lib/entity/tenant/clearAllEpic.js +5 -1
  62. package/lib/entity/transaction/stateTypes/customerTransaction.d.ts +1 -1
  63. package/lib/entity/transaction/stateTypes/transactionLine.d.ts +1 -1
  64. package/lib/epic.d.ts +7 -3
  65. package/lib/epic.js +5 -1
  66. package/lib/index.d.ts +24 -14
  67. package/lib/index.js +35 -13
  68. package/lib/reducer.d.ts +7 -1
  69. package/lib/reducer.js +6 -0
  70. package/lib/view/accountList/accountListReducer.js +2 -2
  71. package/lib/view/accountList/accountListSelector.d.ts +3 -3
  72. package/lib/view/accountList/accountListSelector.js +3 -3
  73. package/lib/view/accountList/accountListState.d.ts +2 -2
  74. package/lib/view/accountMappingView/accountMappingReducer.js +19 -19
  75. package/lib/view/accountMappingView/accountMappingState.d.ts +8 -8
  76. package/lib/view/accountMappingView/accountMappingViewSelector.d.ts +8 -8
  77. package/lib/view/accountMappingView/accountMappingViewSelector.js +7 -7
  78. package/lib/view/apAgingView/apAgingReport/apAgingReducer.d.ts +7 -5
  79. package/lib/view/apAgingView/apAgingReport/apAgingReducer.js +34 -15
  80. package/lib/view/apAgingView/apAgingReport/apAgingSelector.d.ts +1 -1
  81. package/lib/view/apAgingView/apAgingReport/apAgingSelector.js +29 -16
  82. package/lib/view/apAgingView/apAgingReport/apAgingState.d.ts +6 -3
  83. package/lib/view/apAgingView/apAgingReport/fetchApAgingEpic.js +11 -7
  84. package/lib/view/arAgingView/arAgingDetail/arAgingDetailSelector.d.ts +1 -1
  85. package/lib/view/arAgingView/arAgingReport/arAgingPayload.js +8 -1
  86. package/lib/view/arAgingView/arAgingReport/arAgingReducer.d.ts +13 -7
  87. package/lib/view/arAgingView/arAgingReport/arAgingReducer.js +49 -15
  88. package/lib/view/arAgingView/arAgingReport/arAgingSelector.d.ts +12 -6
  89. package/lib/view/arAgingView/arAgingReport/arAgingSelector.js +68 -35
  90. package/lib/view/arAgingView/arAgingReport/arAgingState.d.ts +12 -4
  91. package/lib/view/arAgingView/arAgingReport/fetchArAgingEpic.js +10 -7
  92. package/lib/view/auditReportView/auditReportViewState.d.ts +2 -2
  93. package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
  94. package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -1
  95. package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
  96. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
  97. package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
  98. package/lib/view/classList/classListSelector.d.ts +3 -3
  99. package/lib/view/classList/classListSelector.js +3 -3
  100. package/lib/view/classList/classListState.d.ts +2 -2
  101. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.d.ts +4 -4
  102. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.js +4 -4
  103. package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +4 -4
  104. package/lib/view/commonVendorView/vendorView/vendorViewSelector.js +4 -4
  105. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.d.ts +4 -4
  106. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +4 -4
  107. package/lib/view/dashboard/dashboardEpic.js +6 -4
  108. package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
  109. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  110. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
  111. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +3 -3
  112. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.js +3 -3
  113. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewState.d.ts +2 -2
  114. package/lib/view/notificationView/epics/fetchNotificationUnreadCountEpic.d.ts +10 -0
  115. package/lib/view/notificationView/epics/fetchNotificationUnreadCountEpic.js +39 -0
  116. package/lib/view/notificationView/epics/fetchNotificationViewEpic.d.ts +9 -0
  117. package/lib/view/notificationView/epics/fetchNotificationViewEpic.js +56 -0
  118. package/lib/view/notificationView/epics/updateNotificationViewAllNotificationsStatusEpic.d.ts +9 -0
  119. package/lib/view/notificationView/epics/updateNotificationViewAllNotificationsStatusEpic.js +50 -0
  120. package/lib/view/notificationView/epics/updateNotificationViewNotificationStatusEpic.d.ts +9 -0
  121. package/lib/view/notificationView/epics/updateNotificationViewNotificationStatusEpic.js +86 -0
  122. package/lib/view/notificationView/notificationView.helpers.d.ts +2 -0
  123. package/lib/view/notificationView/notificationView.helpers.js +11 -0
  124. package/lib/view/notificationView/notificationViewPayload.d.ts +48 -0
  125. package/lib/view/notificationView/notificationViewPayload.js +2 -0
  126. package/lib/view/notificationView/notificationViewReducer.d.ts +64 -0
  127. package/lib/view/notificationView/notificationViewReducer.js +372 -0
  128. package/lib/view/notificationView/notificationViewSelector.d.ts +29 -0
  129. package/lib/view/notificationView/notificationViewSelector.js +89 -0
  130. package/lib/view/notificationView/notificationViewState.d.ts +31 -0
  131. package/lib/view/notificationView/notificationViewState.js +19 -0
  132. package/lib/view/opExClassesView/opExClassesViewReducer.js +3 -3
  133. package/lib/view/opExClassesView/opExClassesViewSelector.js +3 -3
  134. package/lib/view/opExClassesView/opExClassesViewState.d.ts +2 -2
  135. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
  136. package/lib/view/people/deletePersonEpic.d.ts +1 -1
  137. package/lib/view/people/invitePeopleEpic.d.ts +1 -1
  138. package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
  139. package/lib/view/people/resendInviteEpic.d.ts +1 -1
  140. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +3 -3
  141. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelector.js +2 -2
  142. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewState.d.ts +2 -2
  143. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
  144. package/lib/view/revenueClassesView/revenueClassesViewReducer.js +3 -3
  145. package/lib/view/revenueClassesView/revenueClassesViewSelector.js +3 -3
  146. package/lib/view/revenueClassesView/revenueClassesViewState.d.ts +2 -2
  147. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +5 -5
  148. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +5 -5
  149. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.d.ts +2 -2
  150. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.d.ts +2 -2
  151. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +1 -1
  152. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
  153. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +4 -4
  154. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +4 -4
  155. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.d.ts +4 -4
  156. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +4 -4
  157. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.d.ts +2 -1
  158. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.js +37 -5
  159. package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
  160. package/lib/view/topEx/topExSelector.d.ts +1 -1
  161. package/lib/view/transactionDetail/transactionDetailSelector.d.ts +4 -4
  162. package/lib/view/transactionDetail/transactionDetailSelector.js +4 -4
  163. package/lib/view/transactionDetail/transactionDetailState.d.ts +1 -1
  164. package/lib/view/transactionDetail/transactionDetailTypes.d.ts +1 -1
  165. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.d.ts +1 -1
  166. package/lib/zeniAPI.d.ts +2 -0
  167. package/lib/zeniAPI.js +8 -0
  168. package/package.json +2 -1
  169. package/lib/commonStateTypes/accountView/{getNestedAccountIDHeirarchyForReport.js → getNestedAccountIDHierarchyForReport.js} +0 -0
  170. package/lib/entity/customer/{customer.d.ts → customerState.d.ts} +4 -4
  171. /package/lib/entity/customer/{customer.js → customerState.js} +0 -0
@@ -35,7 +35,7 @@ export declare const invitePeopleEpic: (actions$: ActionsObservable<ActionType>,
35
35
  type: string;
36
36
  } | {
37
37
  payload: {
38
- messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "delete_task" | "archive_task" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "settings_accounting_accounts_updated";
38
+ messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "settings_accounting_accounts_updated";
39
39
  messageText: "failed" | "success";
40
40
  type: import("../..").SnackbarMessageType;
41
41
  showStatusIcon?: boolean | undefined;
@@ -32,7 +32,7 @@ export declare const inviteZeniPeopleEpic: (actions$: ActionsObservable<ActionTy
32
32
  type: string;
33
33
  } | {
34
34
  payload: {
35
- messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "delete_task" | "archive_task" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "settings_accounting_accounts_updated";
35
+ messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "settings_accounting_accounts_updated";
36
36
  messageText: "failed" | "success";
37
37
  type: import("../..").SnackbarMessageType;
38
38
  showStatusIcon?: boolean | undefined;
@@ -13,7 +13,7 @@ export declare const resendInviteEpic: (actions$: ActionsObservable<ActionType>,
13
13
  type: string;
14
14
  } | {
15
15
  payload: {
16
- messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "delete_task" | "archive_task" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "settings_accounting_accounts_updated";
16
+ messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "settings_accounting_accounts_updated";
17
17
  messageText: "failed" | "success";
18
18
  type: import("../..").SnackbarMessageType;
19
19
  showStatusIcon?: boolean | undefined;
@@ -7,7 +7,7 @@ const getNestedClassIDHierarchyForReport_1 = require("../../commonStateTypes/cla
7
7
  const classPayload_1 = require("../../entity/class/classPayload");
8
8
  const viewAndReportPayloadv2_1 = require("../../commonPayloadTypes/v2/viewAndReportPayloadv2");
9
9
  exports.initialState = {
10
- classHeirarchy: [],
10
+ classHierarchy: [],
11
11
  bookCloseDate: undefined,
12
12
  fetchState: {
13
13
  month: {
@@ -120,7 +120,7 @@ const doUpdatedProfitAndLossClassesView = (draft, timeframe, pandLReport) => {
120
120
  draft.bookCloseDate = report.bookCloseDate;
121
121
  draft.fetchState[timeframe].fetchState = 'Completed';
122
122
  const classMetadata = pandLReport.report.classes.map((eachClass) => (0, classPayload_1.toClassMetadata)(eachClass));
123
- if (draft.classHeirarchy.length <= 0) {
124
- draft.classHeirarchy = (0, getNestedClassIDHierarchyForReport_1.geNestedClassIDHierarchyForReport)(classMetadata);
123
+ if (draft.classHierarchy.length <= 0) {
124
+ draft.classHierarchy = (0, getNestedClassIDHierarchyForReport_1.geNestedClassIDHierarchyForReport)(classMetadata);
125
125
  }
126
126
  };
@@ -47,7 +47,7 @@ const getProfitAndLossClassesView = (filter, accountState, classState, sectionsS
47
47
  : ebitBalancesByPeriod;
48
48
  calculatedSections['netIncome'] = (0, coaBalance_1.getCOABalances)(netIncomeBalances, filter);
49
49
  }
50
- const classHeirarchy = profitAndLossClassesViewState.classHeirarchy;
50
+ const classHierarchy = profitAndLossClassesViewState.classHierarchy;
51
51
  return {
52
52
  sections,
53
53
  calculatedSections,
@@ -62,7 +62,7 @@ const getProfitAndLossClassesView = (filter, accountState, classState, sectionsS
62
62
  error: fetchState.error,
63
63
  filter: filter,
64
64
  uiState: profitAndLossClassesViewState.uiState,
65
- classHeirarchy,
65
+ classHierarchy,
66
66
  classesToFilterOut: profitAndLossClassesViewState.uiState.classesToFilterOut,
67
67
  idsInOrder: exports.profitAndLossIdsInOrder,
68
68
  };
@@ -1,6 +1,6 @@
1
1
  import { AccountViewMode, FetchStateAndError, ID } from '../../commonStateTypes/common';
2
2
  import { Report } from '../../commonStateTypes/viewAndReport/viewAndReport';
3
- import { NestedClassID, NestedClassHeirarchyForReport } from '../../commonStateTypes/classesView/nestedClassID';
3
+ import { NestedClassID, NestedClassHierarchyForReport } from '../../commonStateTypes/classesView/nestedClassID';
4
4
  export interface ProfitAndLossClassesViewUIState {
5
5
  classesToFilterOut: NestedClassID[];
6
6
  nodeCollapseState: Record<ID, boolean>;
@@ -11,7 +11,7 @@ export interface ProfitAndLossClassesViewUIState {
11
11
  } | undefined;
12
12
  }
13
13
  export interface ProfitAndLossClassesViewState extends Report {
14
- classHeirarchy: NestedClassHeirarchyForReport[];
14
+ classHierarchy: NestedClassHierarchyForReport[];
15
15
  fetchState: {
16
16
  month: FetchStateAndError;
17
17
  quarter: FetchStateAndError;
@@ -1,6 +1,6 @@
1
1
  import { RootState } from '../../reducer';
2
2
  export declare const getReimbursementCardReport: (state: RootState) => {
3
- reportId: "cash_balance" | "card_balance" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets";
3
+ reportId: "cash_balance" | "card_balance" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification";
4
4
  reportTitle: string;
5
5
  version: string | number | undefined;
6
6
  fetchState: import("../..").FetchState;
@@ -7,7 +7,7 @@ const getNestedClassIDHierarchyForReport_1 = require("../../commonStateTypes/cla
7
7
  const classPayload_1 = require("../../entity/class/classPayload");
8
8
  const viewAndReportPayloadv2_1 = require("../../commonPayloadTypes/v2/viewAndReportPayloadv2");
9
9
  exports.initialState = {
10
- classHeirarchy: [],
10
+ classHierarchy: [],
11
11
  fetchState: {
12
12
  month: {
13
13
  fetchState: 'Not-Started',
@@ -116,7 +116,7 @@ const doUpdatedRevenueClassesView = (draft, timeframe, revenueReport) => {
116
116
  draft.bookCloseDate = report.bookCloseDate;
117
117
  draft.fetchState[timeframe].fetchState = 'Completed';
118
118
  const classMetadata = revenueReport.report.classes.map((eachClass) => (0, classPayload_1.toClassMetadata)(eachClass));
119
- if (draft.classHeirarchy.length <= 0) {
120
- draft.classHeirarchy = (0, getNestedClassIDHierarchyForReport_1.geNestedClassIDHierarchyForReport)(classMetadata);
119
+ if (draft.classHierarchy.length <= 0) {
120
+ draft.classHierarchy = (0, getNestedClassIDHierarchyForReport_1.geNestedClassIDHierarchyForReport)(classMetadata);
121
121
  }
122
122
  };
@@ -17,7 +17,7 @@ const getRevenueClassesView = (filter, accountState, classState, sectionsState,
17
17
  const reportId = 'revenue_by_classes';
18
18
  const sections = {};
19
19
  const calculatedSections = {};
20
- let classHeirarchy = [];
20
+ let classHierarchy = [];
21
21
  let insights = [];
22
22
  if (fetchState.fetchState === 'Completed') {
23
23
  revenueClassesViewSelectorTypes_1.ALL_REVENUE_CLASSES_VIEW_SECTION_IDS.forEach((sectionId) => {
@@ -29,7 +29,7 @@ const getRevenueClassesView = (filter, accountState, classState, sectionsState,
29
29
  const grossBurnBalancesByPeriod = sections['cogs'].sectionBalancesTotalByPeriod;
30
30
  const grossProfitBalances = (0, getDifferenceOfBalancesGroupedByPeriod_1.getDifferenceOfBalancesGroupedByPeriod)(sections['income'].sectionBalancesTotalByPeriod, grossBurnBalancesByPeriod);
31
31
  calculatedSections['grossMargin'] = (0, coaBalance_1.getCOABalances)(grossProfitBalances, filter);
32
- classHeirarchy = revenueClassesViewState.classHeirarchy;
32
+ classHierarchy = revenueClassesViewState.classHierarchy;
33
33
  insights = revenueWithForecastState.revenue.insights;
34
34
  }
35
35
  return {
@@ -46,7 +46,7 @@ const getRevenueClassesView = (filter, accountState, classState, sectionsState,
46
46
  error: fetchState.error,
47
47
  filter: filter,
48
48
  uiState: revenueClassesViewState.uiState,
49
- classHeirarchy,
49
+ classHierarchy,
50
50
  classesToFilterOut: revenueClassesViewState.uiState.classesToFilterOut,
51
51
  idsInOrder: exports.revenueIdsInOrder,
52
52
  insights,
@@ -1,6 +1,6 @@
1
1
  import { AccountViewMode, FetchStateAndError, ID } from '../../commonStateTypes/common';
2
2
  import { Report } from '../../commonStateTypes/viewAndReport/viewAndReport';
3
- import { NestedClassID, NestedClassHeirarchyForReport } from '../../commonStateTypes/classesView/nestedClassID';
3
+ import { NestedClassID, NestedClassHierarchyForReport } from '../../commonStateTypes/classesView/nestedClassID';
4
4
  export interface RevenueClassesViewUIState {
5
5
  classesToFilterOut: NestedClassID[];
6
6
  nodeCollapseState: Record<ID, boolean>;
@@ -11,7 +11,7 @@ export interface RevenueClassesViewUIState {
11
11
  } | undefined;
12
12
  }
13
13
  export interface RevenueClassesViewState extends Report {
14
- classHeirarchy: NestedClassHeirarchyForReport[];
14
+ classHierarchy: NestedClassHierarchyForReport[];
15
15
  fetchState: {
16
16
  month: FetchStateAndError;
17
17
  quarter: FetchStateAndError;
@@ -1,6 +1,6 @@
1
1
  import { RootState } from '../../../reducer';
2
- import { NestedAccountHeirarchyForReport } from '../../../commonStateTypes/accountView/nestedAccountID';
3
- import { NestedClassHeirarchyForReport } from '../../../commonStateTypes/classesView/nestedClassID';
2
+ import { NestedAccountHierarchyForReport } from '../../../commonStateTypes/accountView/nestedAccountID';
3
+ import { NestedClassHierarchyForReport } from '../../../commonStateTypes/classesView/nestedClassID';
4
4
  import { AccountBase } from '../../../entity/account/accountState';
5
5
  import { ClassBase } from '../../../entity/class/classState';
6
6
  import { JEScheduledTransaction } from '../../../entity/jeSchedules/jeSchedulesSelector';
@@ -13,11 +13,11 @@ export interface ScheduleDetailsView extends SelectorView {
13
13
  scheduleType: ScheduleTypes;
14
14
  allAccountList: AccountBase[];
15
15
  uncategorizedAccounts: UncategorizedAccounts;
16
- accountListNestedAccountHierarchy: NestedAccountHeirarchyForReport[];
16
+ accountListNestedAccountHierarchy: NestedAccountHierarchyForReport[];
17
17
  allClassList: ClassBase[];
18
- classListNestedAccountHierarchy: NestedClassHeirarchyForReport[];
18
+ classListNestedAccountHierarchy: NestedClassHierarchyForReport[];
19
19
  allDepreciationAccountList: AccountBase[];
20
- allDepreciationAccountListNestedAccountHeirarchy: NestedAccountHeirarchyForReport[];
20
+ allDepreciationAccountListNestedAccountHierarchy: NestedAccountHierarchyForReport[];
21
21
  uiState: ScheduleDetailUIState;
22
22
  updateStatus: FetchStateAndError;
23
23
  deleteStatus: FetchStateAndError;
@@ -29,7 +29,7 @@ const getScheduleDetailsView = (state, scheduleType) => {
29
29
  uncategorizedAccounts,
30
30
  accountListNestedAccountHierarchy: [],
31
31
  classListNestedAccountHierarchy: [],
32
- allDepreciationAccountListNestedAccountHeirarchy: [],
32
+ allDepreciationAccountListNestedAccountHierarchy: [],
33
33
  scheduleDetailsLocalData: scheduleDetailReducer_1.initialScheduleDetailsLocalData,
34
34
  fetchState: scheduleDetailState.fetchState,
35
35
  error: scheduleDetailState.error,
@@ -54,12 +54,12 @@ const getScheduleDetailsView = (state, scheduleType) => {
54
54
  const allClasses = allClassList.classes.map((classData) => {
55
55
  return (0, omit_1.default)(classData, ['accountIds', 'key']);
56
56
  });
57
- const accountListNestedAccountHierarchy = (0, accountListSelector_1.getNestedAccountListHeirarchy)(accountListState, accountTypes.accountListKey).filter((account) => account.accountId[0] != null &&
57
+ const accountListNestedAccountHierarchy = (0, accountListSelector_1.getNestedAccountListHierarchy)(accountListState, accountTypes.accountListKey).filter((account) => account.accountId[0] != null &&
58
58
  scheduleDetailAccountIds.includes(account.accountId[0]));
59
- const depAccountListNestedAccountHierarchy = (0, accountListSelector_1.getNestedAccountListHeirarchy)(accountListState, accountTypes.accountListKey).filter((account) => account.accountId[0] != null &&
59
+ const depAccountListNestedAccountHierarchy = (0, accountListSelector_1.getNestedAccountListHierarchy)(accountListState, accountTypes.accountListKey).filter((account) => account.accountId[0] != null &&
60
60
  depreciationCategoryIds.includes(account.accountId[0]) &&
61
61
  !fixedAssetLabelAccountIds.includes(account.accountId[0]));
62
- const classListNestedAccountHierarchy = (0, classListSelector_1.getNestedClassListHeirarchy)(classListState);
62
+ const classListNestedAccountHierarchy = (0, classListSelector_1.getNestedClassListHierarchy)(classListState);
63
63
  const selectedJeScheduleDetailId = jeScheduleTransactionState.jeScheduleId;
64
64
  const scheduleDetailsLocalData = Object.assign({}, scheduleDetailReducer_1.initialScheduleDetailsLocalData);
65
65
  if (selectedJeScheduleDetailId != null) {
@@ -84,7 +84,7 @@ const getScheduleDetailsView = (state, scheduleType) => {
84
84
  allAccountList: filteredAccounts,
85
85
  allClassList: allClasses,
86
86
  allDepreciationAccountList: filteredDepAccounts,
87
- allDepreciationAccountListNestedAccountHeirarchy: depAccountListNestedAccountHierarchy,
87
+ allDepreciationAccountListNestedAccountHierarchy: depAccountListNestedAccountHierarchy,
88
88
  uncategorizedAccounts,
89
89
  accountListNestedAccountHierarchy,
90
90
  classListNestedAccountHierarchy,
@@ -1,4 +1,4 @@
1
- import { NestedAccountHeirarchyForReport } from '../../../commonStateTypes/accountView/nestedAccountID';
1
+ import { NestedAccountHierarchyForReport } from '../../../commonStateTypes/accountView/nestedAccountID';
2
2
  import { Amount } from '../../../commonStateTypes/amount';
3
3
  import { COABalance, COABalanceGroupedByPeriod } from '../../../commonStateTypes/coaBalance/coaBalance';
4
4
  import { TimeframeTick, TimeframeTickWithMetaData } from '../../../commonStateTypes/timeframeTick';
@@ -23,7 +23,7 @@ export declare const getCalculatedScheduleTotals: (jeTransactions: JEScheduledTr
23
23
  export declare const getAccountListKeyForSchedules: () => AccountListKeyType;
24
24
  export declare const getAccountLabelForSchedulesTab: (tab: ScheduleTypes) => AccountLabel;
25
25
  export declare const getAllAccountBase: () => AccountBase;
26
- export declare const getAllAccountNested: () => NestedAccountHeirarchyForReport;
26
+ export declare const getAllAccountNested: () => NestedAccountHierarchyForReport;
27
27
  /**
28
28
  * This helper function is to get all possible timeframe
29
29
  * Logic --> Timeframe Range is startDate = (currentDate to 3 months back )and endDate = (currentDate to 9 months ahead)
@@ -3,7 +3,7 @@ import { EntityOrder } from '../../../commonStateTypes/selectorTypes/selectorTyp
3
3
  import { SelectorView } from '../../../commonStateTypes/viewAndReport/viewAndReport';
4
4
  import { RootState } from '../../../reducer';
5
5
  import { ScheduleListLocalData, ScheduleListUIState } from './scheduleListState';
6
- import { NestedAccountHeirarchyForReport } from '../../../commonStateTypes/accountView/nestedAccountID';
6
+ import { NestedAccountHierarchyForReport } from '../../../commonStateTypes/accountView/nestedAccountID';
7
7
  import { TimeframeTick, TimeframeTickWithMetaData } from '../../../commonStateTypes/timeframeTick';
8
8
  import { AccountBase } from '../../../entity/account/accountState';
9
9
  import { JEScheduledTransaction } from '../../../entity/jeSchedules/jeSchedulesSelector';
@@ -20,7 +20,7 @@ export interface ScheduleListReport extends SelectorView {
20
20
  jeScheduleOrder: EntityOrder;
21
21
  jeScheduledTransactions: JEScheduledTransactionWithBalance[];
22
22
  scheduleListAccounts: AccountBase[];
23
- scheduleListNestedAccountHierarchy: NestedAccountHeirarchyForReport[];
23
+ scheduleListNestedAccountHierarchy: NestedAccountHierarchyForReport[];
24
24
  uiState: ScheduleListUIState;
25
25
  selectedCategoryId: ID;
26
26
  selectedTimeframe: TimeframeTick;
@@ -76,7 +76,7 @@ const getScheduleListReport = (state, scheduleType) => {
76
76
  const scheduleState = (0, scheduleListReducer_1.getState)(scheduleListState, scheduleType);
77
77
  const downloadState = scheduleState.downloadState;
78
78
  const allScheduleAccounts = (0, accountListSelector_1.getAccountList)(accountState, accountListState, (0, scheduleListHelper_1.getAccountListKeyForSchedules)());
79
- let allNestedAccounts = (0, accountListSelector_1.getNestedAccountListHeirarchy)(accountListState, (0, scheduleListHelper_1.getAccountListKeyForSchedules)());
79
+ let allNestedAccounts = (0, accountListSelector_1.getNestedAccountListHierarchy)(accountListState, (0, scheduleListHelper_1.getAccountListKeyForSchedules)());
80
80
  let allAccounts = allScheduleAccounts.accounts;
81
81
  const accountTypes = (0, scheduleListHelper_1.getAccountsTypesForScheduleList)(scheduleType);
82
82
  const accountLabel = (0, scheduleListHelper_1.getAccountLabelForScheduleType)(scheduleType);
@@ -18,7 +18,7 @@ export declare const saveNotificationSettingsEpic: (actions$: ActionsObservable<
18
18
  type: string;
19
19
  } | {
20
20
  payload: {
21
- messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "delete_task" | "archive_task" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "settings_accounting_accounts_updated";
21
+ messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "zeni_account_accept_term" | "update_vendor" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "settings_accounting_accounts_updated";
22
22
  messageText: "failed" | "success";
23
23
  type: import("../../..").SnackbarMessageType;
24
24
  showStatusIcon?: boolean | undefined;
@@ -17,8 +17,8 @@ import { BillPaySetupApproverView } from '../billPaySetupApproverView/billPaySet
17
17
  import { User } from '../../../../entity/user/userState';
18
18
  import { BillPayConfig, BillPayConfigState, AccountTypeSubConfigCodeKeyType } from '../billPayConfig/billPayConfigState';
19
19
  import { ActivityHistorySelectorView } from '../../commonHistoryView/commonHistorySelector';
20
- import { NestedAccountHeirarchyForReport } from '../../../../commonStateTypes/accountView/nestedAccountID';
21
- import { NestedClassHeirarchyForReport } from '../../../../commonStateTypes/classesView/nestedClassID';
20
+ import { NestedAccountHierarchyForReport } from '../../../../commonStateTypes/accountView/nestedAccountID';
21
+ import { NestedClassHierarchyForReport } from '../../../../commonStateTypes/classesView/nestedClassID';
22
22
  import { DuplicateBillsSelectorView } from '../billPayReview/billPayReviewSelector';
23
23
  import { PiLabel } from '../../../../entity/paymentInstrument/paymentInstrument';
24
24
  import { RecommendationByLineId } from '../../../../entity/transaction/stateTypes/transaction';
@@ -96,8 +96,8 @@ export interface EditBillDetailSelectorView extends SelectorView {
96
96
  toAccountVendorEmail?: string;
97
97
  isCollectToAccountInfoFromVendorContact: boolean;
98
98
  vendorContactSaveStatus?: FetchStateAndError;
99
- accountsHeirarchyList: NestedAccountHeirarchyForReport[];
100
- classHeirarchyList: NestedClassHeirarchyForReport[];
99
+ accountsHierarchyList: NestedAccountHierarchyForReport[];
100
+ classHierarchyList: NestedClassHierarchyForReport[];
101
101
  latestApprovedDate?: ZeniDate;
102
102
  recommendationByLineID?: RecommendationByLineId;
103
103
  vendorDetailLocalData?: VendorDetailLocalData;
@@ -299,8 +299,8 @@ const getEditBillDetail = (state, isVendorRecommendationFeatureEnabled, isZeniAc
299
299
  });
300
300
  }
301
301
  const billHistory = (0, commonHistorySelector_1.getActivityHistory)(commonHistoryState, billId !== null && billId !== void 0 ? billId : '', 'bill_pay');
302
- const accountsHeirarchyList = (0, accountListSelector_1.getNestedAccountListHeirarchy)(accountListState, 'billPayAccountList');
303
- const classHeirarchyList = (0, classListSelector_1.getNestedClassListHeirarchy)(classListState);
302
+ const accountsHierarchyList = (0, accountListSelector_1.getNestedAccountListHierarchy)(accountListState, 'billPayAccountList');
303
+ const classHierarchyList = (0, classListSelector_1.getNestedClassListHierarchy)(classListState);
304
304
  const duplicateBills = (0, billPayReviewSelector_1.getDuplicateBills)(state, billId);
305
305
  return {
306
306
  showVendorGptRecommendationText,
@@ -342,8 +342,8 @@ const getEditBillDetail = (state, isVendorRecommendationFeatureEnabled, isZeniAc
342
342
  toAccountVendorEmail,
343
343
  isCollectToAccountInfoFromVendorContact,
344
344
  vendorContactSaveStatus,
345
- accountsHeirarchyList,
346
- classHeirarchyList,
345
+ accountsHierarchyList,
346
+ classHierarchyList,
347
347
  latestApprovedDate: (0, helpers_1.getLatestApprovalDate)(billActivities),
348
348
  recommendationByLineID: recommendations,
349
349
  isRecurring,
@@ -17,8 +17,8 @@ import { BankAccountSelectorView } from '../../../bankAccountView/bankAccountVie
17
17
  import { BankAccount } from '../../../../entity/bankAccount/bankAccount';
18
18
  import { ActivityHistorySelectorView } from '../../commonHistoryView/commonHistorySelector';
19
19
  import { CountryWithCurrency } from '../../../../entity/currency/currency';
20
- import { NestedAccountHeirarchyForReport } from '../../../../commonStateTypes/accountView/nestedAccountID';
21
- import { NestedClassHeirarchyForReport } from '../../../../commonStateTypes/classesView/nestedClassID';
20
+ import { NestedAccountHierarchyForReport } from '../../../../commonStateTypes/accountView/nestedAccountID';
21
+ import { NestedClassHierarchyForReport } from '../../../../commonStateTypes/classesView/nestedClassID';
22
22
  import { DuplicateLine } from '../remiDetailView/remiDetailViewState';
23
23
  export interface EditRemiDetailSelectorView extends BankAccountSelectorView, SelectorView {
24
24
  remiId: ID | undefined;
@@ -42,8 +42,8 @@ export interface EditRemiDetailSelectorView extends BankAccountSelectorView, Sel
42
42
  uploadStatus: FetchState;
43
43
  editRemiInitialDetails: EditRemiInitialDetails;
44
44
  remiActivities: RemiActivity[];
45
- accountsHeirarchyList: NestedAccountHeirarchyForReport[];
46
- classHeirarchyList: NestedClassHeirarchyForReport[];
45
+ accountsHierarchyList: NestedAccountHierarchyForReport[];
46
+ classHierarchyList: NestedClassHierarchyForReport[];
47
47
  approvalRules: RemiSetupApproverView;
48
48
  createdBy: User | undefined;
49
49
  remiHistory: ActivityHistorySelectorView;
@@ -148,8 +148,8 @@ const getEditRemiDetail = (state, reimbursementId) => {
148
148
  ? (0, bankAccountSelector_1.getBankAccountByBankAccountId)(bankAccountState, paymentTo)
149
149
  : undefined;
150
150
  const bankAccount = (0, bankAccountViewSelector_1.getBankAccount)(state);
151
- const accountsHeirarchyList = (0, accountListSelector_1.getNestedAccountListHeirarchy)(accountListState, 'reimbursementAccountList');
152
- const classHeirarchyList = (0, classListSelector_1.getNestedClassListHeirarchy)(classListState);
151
+ const accountsHierarchyList = (0, accountListSelector_1.getNestedAccountListHierarchy)(accountListState, 'reimbursementAccountList');
152
+ const classHierarchyList = (0, classListSelector_1.getNestedClassListHierarchy)(classListState);
153
153
  const loggedInUserDepartmentId = (_p = (0, tenantSelector_1.getCurrentTenant)(state).accountingClassIDs) === null || _p === void 0 ? void 0 : _p[0];
154
154
  const duplicateReimbursementStatus = remiDetailViewState.duplicateReimbursementFetchStatus;
155
155
  const duplicateLineByLineId = remiDetailViewState.duplicateLineByLineId;
@@ -168,8 +168,8 @@ const getEditRemiDetail = (state, reimbursementId) => {
168
168
  editRemiInitialDetails,
169
169
  createdBy,
170
170
  remiActivities,
171
- accountsHeirarchyList,
172
- classHeirarchyList,
171
+ accountsHierarchyList,
172
+ classHierarchyList,
173
173
  createTime, approvalRules: (0, remiSetupApproverViewSelector_1.getRemiSetupApproverView)(state, false), reimbursementInfo,
174
174
  paymentToBankAccountDetail, remiHistory: (0, commonHistorySelector_1.getActivityHistory)(commonHistoryState, reimbursementId !== null && reimbursementId !== void 0 ? reimbursementId : '', 'reimbursement'), latestApprovedDate: (0, helpers_1.getLatestApprovalDate)(remiActivities), loggedInUserDepartmentId });
175
175
  };
@@ -5,5 +5,6 @@ import { ZeniAPI } from '../../../../zeniAPI';
5
5
  import { RootState } from '../../../../reducer';
6
6
  import { updateTasks } from '../../../../entity/task/taskReducer';
7
7
  import { fetchFileList } from '../../../fileView/fileViewReducer';
8
- export declare type ActionType = ReturnType<typeof fetchTaskDetail> | ReturnType<typeof updateEditTaskFetchStatus> | ReturnType<typeof removeTaskDetail> | ReturnType<typeof updateTasks> | ReturnType<typeof initializeTaskToLocalStore> | ReturnType<typeof fetchFileList>;
8
+ import { openSnackbar } from '../../../../entity/snackbar/snackbarReducer';
9
+ export declare type ActionType = ReturnType<typeof fetchTaskDetail> | ReturnType<typeof updateEditTaskFetchStatus> | ReturnType<typeof removeTaskDetail> | ReturnType<typeof updateTasks> | ReturnType<typeof initializeTaskToLocalStore> | ReturnType<typeof fetchFileList> | ReturnType<typeof openSnackbar>;
9
10
  export declare const fetchTaskDetailEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
@@ -11,6 +11,7 @@ const taskDetailReducer_1 = require("../taskDetailReducer");
11
11
  const responsePayload_1 = require("../../../../responsePayload");
12
12
  const taskReducer_1 = require("../../../../entity/task/taskReducer");
13
13
  const fileViewReducer_1 = require("../../../fileView/fileViewReducer");
14
+ const snackbarReducer_1 = require("../../../../entity/snackbar/snackbarReducer");
14
15
  const fetchTaskDetailEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(taskDetailReducer_1.fetchTaskDetail.match), (0, operators_1.mergeMap)((action) => {
15
16
  const { taskId, cacheOverride } = action.payload;
16
17
  const taskActions = [];
@@ -42,11 +43,42 @@ const fetchTaskDetailEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, ope
42
43
  return (0, rxjs_1.from)(fetchActions);
43
44
  }
44
45
  else {
45
- return (0, rxjs_1.of)((0, taskDetailReducer_1.updateEditTaskFetchStatus)({
46
- taskId,
47
- fetchState: 'Error',
48
- error: response.status,
49
- }));
46
+ const fetchActions = [
47
+ (0, taskDetailReducer_1.updateEditTaskFetchStatus)({
48
+ taskId,
49
+ fetchState: 'Error',
50
+ error: response.status,
51
+ }),
52
+ ];
53
+ if (response.status.message.includes('delete')) {
54
+ fetchActions.push((0, snackbarReducer_1.openSnackbar)({
55
+ messageSection: 'fetch_task_detail',
56
+ messageText: 'failed',
57
+ type: 'error',
58
+ showStatusIcon: true,
59
+ variables: [
60
+ {
61
+ variableName: '_api-error_',
62
+ variableValue: 'Cannot retrieve deleted task.',
63
+ },
64
+ ],
65
+ }));
66
+ }
67
+ else {
68
+ fetchActions.push((0, snackbarReducer_1.openSnackbar)({
69
+ messageSection: 'fetch_task_detail',
70
+ messageText: 'failed',
71
+ type: 'error',
72
+ showStatusIcon: true,
73
+ variables: [
74
+ {
75
+ variableName: '_api-error_',
76
+ variableValue: response.status.message,
77
+ },
78
+ ],
79
+ }));
80
+ }
81
+ return (0, rxjs_1.from)(fetchActions);
50
82
  }
51
83
  }), (0, operators_1.catchError)((error) => {
52
84
  console.error(`REST API call errored out ${error}`);
@@ -1,6 +1,6 @@
1
1
  import { RootState } from '../../reducer';
2
2
  export declare const getTasksCardReport: (state: RootState) => {
3
- reportId: "cash_balance" | "card_balance" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets";
3
+ reportId: "cash_balance" | "card_balance" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification";
4
4
  reportTitle: string;
5
5
  version: string | number | undefined;
6
6
  status: import("../..").Status | undefined;
@@ -5,7 +5,7 @@ import { AccountState } from '../../entity/account/accountState';
5
5
  import { EntityOrder } from '../../commonStateTypes/selectorTypes/selectorTypes';
6
6
  import { TopExReport, TopExTimePeriodWithMetaData } from './topExSelectorTypes';
7
7
  export declare const getTopExpenses: (accountState: AccountState, topExState: TopExState, numberOfExpenses?: number | undefined) => {
8
- reportId: "cash_balance" | "card_balance" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets";
8
+ reportId: "cash_balance" | "card_balance" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification";
9
9
  reportTitle: string;
10
10
  version: string | number | undefined;
11
11
  status: import("../..").Status | undefined;
@@ -7,8 +7,8 @@ import { ClassListSelectorView } from '../classList/classListSelector';
7
7
  import { AccountListSelectorView } from '../accountList/accountListSelector';
8
8
  import { ZeniDate } from '../../zeniDayJS';
9
9
  import { TransactionDetailLocalData } from './transactionDetailTypes';
10
- import { NestedAccountHeirarchyForReport } from '../../commonStateTypes/accountView/nestedAccountID';
11
- import { NestedClassHeirarchyForReport } from '../../commonStateTypes/classesView/nestedClassID';
10
+ import { NestedAccountHierarchyForReport } from '../../commonStateTypes/accountView/nestedAccountID';
11
+ import { NestedClassHierarchyForReport } from '../../commonStateTypes/classesView/nestedClassID';
12
12
  import { Vendor } from '../../entity/vendor/vendorState';
13
13
  export interface TransactionDetailReport extends SelectorView {
14
14
  transaction?: SupportedTransaction;
@@ -17,8 +17,8 @@ export interface TransactionDetailReport extends SelectorView {
17
17
  accountList: AccountListSelectorView;
18
18
  classList: ClassListSelectorView;
19
19
  transactionDetailLocalData: TransactionDetailLocalData;
20
- accountsHeirarchyList: NestedAccountHeirarchyForReport[];
21
- classHeirarchyList: NestedClassHeirarchyForReport[];
20
+ accountsHierarchyList: NestedAccountHierarchyForReport[];
21
+ classHierarchyList: NestedClassHierarchyForReport[];
22
22
  isUpdateNotAllowed?: boolean;
23
23
  allVendors: Vendor[];
24
24
  }
@@ -58,8 +58,8 @@ const getTransactionDetail = (state, transactionId, fetchLinkedTransactions = tr
58
58
  }
59
59
  const accountsList = (0, accountListSelector_1.getAccountList)(accountState, accountListState, 'accountList');
60
60
  const classList = (0, classListSelector_1.getClassList)(classState, classListState);
61
- const accountsHeirarchyList = (0, accountListSelector_1.getNestedAccountListHeirarchy)(accountListState, 'accountList');
62
- const classHeirarchyList = (0, classListSelector_1.getNestedClassListHeirarchy)(classListState);
61
+ const accountsHierarchyList = (0, accountListSelector_1.getNestedAccountListHierarchy)(accountListState, 'accountList');
62
+ const classHierarchyList = (0, classListSelector_1.getNestedClassListHierarchy)(classListState);
63
63
  const transactionDetailAnyUpdateStatus = reduceUpdateFetchStates(transactionDetail);
64
64
  const vendors = (0, vendorSelector_1.getVendorsByVendorIds)(vendorState, vendorListState.vendorIds);
65
65
  return {
@@ -73,8 +73,8 @@ const getTransactionDetail = (state, transactionId, fetchLinkedTransactions = tr
73
73
  linkedTransactions,
74
74
  transactionDetailUpdateStatus: transactionDetailAnyUpdateStatus,
75
75
  accountList: accountsList,
76
- classHeirarchyList,
77
- accountsHeirarchyList,
76
+ classHierarchyList,
77
+ accountsHierarchyList,
78
78
  classList: classList,
79
79
  isUpdateNotAllowed: transactionDetail === null || transactionDetail === void 0 ? void 0 : transactionDetail.isUpdateNotAllowed,
80
80
  transactionDetailLocalData: (_b = transactionDetail === null || transactionDetail === void 0 ? void 0 : transactionDetail.transactionDetailLocalData) !== null && _b !== void 0 ? _b : transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData,
@@ -2,7 +2,7 @@ import { FetchedState, FetchState, FetchStateAndError, ID } from '../../commonSt
2
2
  import { Recommendation } from '../../commonStateTypes/recommendationBase';
3
3
  import { AccountBase } from '../../entity/account/accountState';
4
4
  import { ClassBase } from '../../entity/class/classState';
5
- import { CustomerBase } from '../../entity/customer/customer';
5
+ import { CustomerBase } from '../../entity/customer/customerState';
6
6
  import { EntityType } from '../../entity/genericEntity/entity';
7
7
  import { Transaction, TransactionID } from '../../entity/transaction/stateTypes/transaction';
8
8
  import { VendorBase } from '../../entity/vendor/vendorState';
@@ -4,7 +4,7 @@ import { ClassBase, RecommendedClassBase } from '../../entity/class/classState';
4
4
  import { BillableStatus, PlatformLineDetailType, ProductOrService, TransactionLineBase } from '../../entity/transaction/stateTypes/transactionLine';
5
5
  import { TransactionCategory, TransactionType } from '../../entity/transaction/stateTypes/transactionType';
6
6
  import { TransactionID } from '../../entity/transaction/stateTypes/transaction';
7
- import { CustomerBase } from '../../entity/customer/customer';
7
+ import { CustomerBase } from '../../entity/customer/customerState';
8
8
  import { Entity } from '../../entity/genericEntity/entity';
9
9
  import { VendorBase } from '../../entity/vendor/vendorState';
10
10
  import { Recommendation } from '../../commonStateTypes/recommendationBase';