@zeniai/client-epic-state 4.18.22 → 4.18.24

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 (56) hide show
  1. package/lib/commonStateTypes/accountView/getNestedAccountIDHierarchyForReport.js +0 -2
  2. package/lib/commonStateTypes/accountView/nestedAccountID.d.ts +0 -1
  3. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
  4. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +0 -1
  5. package/lib/entity/account/accountPayload.d.ts +0 -1
  6. package/lib/entity/account/accountPayload.js +1 -2
  7. package/lib/entity/account/accountSelector.d.ts +0 -3
  8. package/lib/entity/account/accountSelector.js +0 -2
  9. package/lib/entity/account/accountState.d.ts +1 -2
  10. package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +0 -1
  11. package/lib/entity/accountGroup/accountGroupSelector.d.ts +0 -22
  12. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  13. package/lib/entity/class/classReducer.d.ts +4 -4
  14. package/lib/entity/class/classState.d.ts +1 -1
  15. package/lib/entity/company/companyPayload.d.ts +0 -1
  16. package/lib/entity/company/companyPayload.js +4 -5
  17. package/lib/entity/company/companyStateTypes.d.ts +0 -1
  18. package/lib/entity/forecast/forecastState.d.ts +1 -1
  19. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  20. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  21. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  22. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  23. package/lib/entity/snackbar/snackbarTypes.js +0 -1
  24. package/lib/epic.d.ts +2 -3
  25. package/lib/epic.js +2 -3
  26. package/lib/index.d.ts +4 -4
  27. package/lib/index.js +15 -16
  28. package/lib/reducer.d.ts +1 -1
  29. package/lib/reducer.js +1 -1
  30. package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +0 -29
  31. package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +0 -1
  32. package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +0 -2
  33. package/lib/view/auditReportView/auditReportViewState.d.ts +1 -1
  34. package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
  35. package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -2
  36. package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -2
  37. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
  38. package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
  39. package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
  40. package/lib/view/dashboard/dashboardSelector.d.ts +1 -1
  41. package/lib/view/dashboard/dashboardSelector.js +12 -29
  42. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  43. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
  44. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
  45. package/lib/view/reportsResync/reportsResyncEpic.js +1 -1
  46. package/lib/view/reportsResync/reportsResyncSelector.d.ts +1 -1
  47. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.d.ts +1 -3
  48. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js +2 -31
  49. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.d.ts +1 -2
  50. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.js +2 -3
  51. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewState.d.ts +0 -1
  52. package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
  53. package/lib/view/topEx/topExSelector.d.ts +1 -1
  54. package/package.json +1 -1
  55. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/expressInterestChargeCardEpic.d.ts +0 -11
  56. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/expressInterestChargeCardEpic.js +0 -48
@@ -28,7 +28,6 @@ function geNestedAccountIDHierarchyForReport(accountsMetadata) {
28
28
  children: getNestedChildren([accountId], accountsMetadata),
29
29
  hasSiblings: parentAccounts.length > 1,
30
30
  coaId: parentAccount.coaId,
31
- isDeleted: parentAccount.isDeleted,
32
31
  };
33
32
  });
34
33
  return nestedParents;
@@ -45,7 +44,6 @@ const getNestedChildren = (parentAccount, allAccounts) => {
45
44
  children: getNestedChildren(childId, allAccounts),
46
45
  hasSiblings: children.length > 1,
47
46
  coaId: child.coaId,
48
- isDeleted: child.isDeleted,
49
47
  };
50
48
  });
51
49
  return nestedChildren;
@@ -52,7 +52,6 @@ export interface NestedAccountHierarchyForReport {
52
52
  hasSiblings: boolean;
53
53
  qboId: ID | undefined;
54
54
  coaId?: ID;
55
- isDeleted?: boolean;
56
55
  }
57
56
  export type AccountMetadataRecordsByID = Record<ID, {
58
57
  accountMetadata: AccountMetadata;
@@ -3,8 +3,8 @@ import { FetchStateAndError, ID } from '../common';
3
3
  import { DataAvailable } from '../dataAvailable';
4
4
  import { Status } from '../status';
5
5
  import { Month } from '../timePeriod';
6
- export declare const ALL_REPORT_IDS: readonly ["cash_balance", "card_balance", "expense_automation_card", "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", "zeni_treasury", "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", "rewards_card", "billing", "flux_analysis_operating_expense", "account_reconciliation", "zeni_credit_promo_card"];
7
- export declare const toReportID: (v: string) => "cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "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" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card";
6
+ export declare const ALL_REPORT_IDS: readonly ["cash_balance", "card_balance", "expense_automation_card", "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", "zeni_treasury", "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", "rewards_card", "billing", "flux_analysis_operating_expense", "account_reconciliation"];
7
+ export declare const toReportID: (v: string) => "cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "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" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation";
8
8
  export type ReportID = ReturnType<typeof toReportID>;
9
9
  export type ReportIDPlusForecastID = ReportID | `${ReportID}+${ID}`;
10
10
  /** Any view state should extend this interface */
@@ -57,7 +57,6 @@ exports.ALL_REPORT_IDS = [
57
57
  'billing',
58
58
  'flux_analysis_operating_expense',
59
59
  'account_reconciliation',
60
- 'zeni_credit_promo_card',
61
60
  ];
62
61
  const toReportID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_REPORT_IDS);
63
62
  exports.toReportID = toReportID;
@@ -12,7 +12,6 @@ export interface AccountBasePayload {
12
12
  account_sub_type?: string | null;
13
13
  account_type?: string | null;
14
14
  coa_id?: string | null;
15
- is_deleted?: boolean | null;
16
15
  last_4_digits?: string | null;
17
16
  logo?: URLPayload;
18
17
  qbo_id?: string;
@@ -5,7 +5,7 @@ const recommendationPayload_1 = require("../../commonPayloadTypes/recommendation
5
5
  const urlPayload_1 = require("../../commonPayloadTypes/urlPayload");
6
6
  const accountState_1 = require("./accountState");
7
7
  const mapAccountBasePayloadToAccountBase = (payload) => {
8
- var _a, _b, _c, _d, _e, _f, _g, _h;
8
+ var _a, _b, _c, _d, _e, _f, _g;
9
9
  return ({
10
10
  accountId: (_a = payload.account_id) !== null && _a !== void 0 ? _a : payload.account_name, // note:if account_id is null, use account_name as its ID.
11
11
  accountName: payload.account_name,
@@ -21,7 +21,6 @@ const mapAccountBasePayloadToAccountBase = (payload) => {
21
21
  reconciliationSource: payload.reconciliation_source == null
22
22
  ? undefined
23
23
  : (0, accountState_1.toReconciliationAccountSource)(payload.reconciliation_source),
24
- isDeleted: (_h = payload.is_deleted) !== null && _h !== void 0 ? _h : false,
25
24
  });
26
25
  };
27
26
  exports.mapAccountBasePayloadToAccountBase = mapAccountBasePayloadToAccountBase;
@@ -44,7 +44,6 @@ export declare function getAccount(accountState: AccountState, id: {
44
44
  classesViewParentId: ClassesViewParentID | undefined;
45
45
  accountsViewParentId: AccountsViewParentID | undefined;
46
46
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
47
- isDeleted: boolean;
48
47
  };
49
48
  export declare function getAccountWithBalance(accountState: AccountState, id: {
50
49
  accountId: ID;
@@ -67,7 +66,6 @@ export declare function getAccountWithBalance(accountState: AccountState, id: {
67
66
  classesViewParentId: ClassesViewParentID | undefined;
68
67
  accountsViewParentId: AccountsViewParentID | undefined;
69
68
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
70
- isDeleted: boolean;
71
69
  };
72
70
  export type AccountReport = ReturnType<typeof getAccount>;
73
71
  export type AccountWithBalanceReport = ReturnType<typeof getAccountWithBalance>;
@@ -108,7 +106,6 @@ export declare const getAccountsOrdered: (filter: COABalancesFilter, accountStat
108
106
  classesViewParentId: ClassesViewParentID | undefined;
109
107
  accountsViewParentId: AccountsViewParentID | undefined;
110
108
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
111
- isDeleted: boolean;
112
109
  }[];
113
110
  export declare const getAccountsByType: (accountState: AccountState, accountTypes: AccountType[]) => Partial<Record<AccountType, Account[]>>;
114
111
  export declare const getAccountIdsForTypes: (accountState: AccountState, accountTypes: AccountType[]) => ID[];
@@ -11,7 +11,6 @@ const coaBalance_1 = require("../../commonStateTypes/coaBalance/coaBalance");
11
11
  const sortBalancesByFreeRangeTotal_1 = require("../../commonStateTypes/coaBalance/sortBalancesByFreeRangeTotal");
12
12
  const accountState_1 = require("./accountState");
13
13
  function getCommonAccountFields(accountState, id) {
14
- var _a;
15
14
  const key = (0, accountState_1.getAccountKey)(id.reportId, id.accountId, id.classesViewParentId, id.accountsViewParentId);
16
15
  const account = accountState.accountsByKey[key];
17
16
  if (account == null) {
@@ -33,7 +32,6 @@ function getCommonAccountFields(accountState, id) {
33
32
  classesViewParentId: account.classesViewParentId,
34
33
  accountsViewParentId: account.accountsViewParentId,
35
34
  labels: account.labels,
36
- isDeleted: (_a = account.isDeleted) !== null && _a !== void 0 ? _a : false,
37
35
  };
38
36
  }
39
37
  const getAccountBase = (accountState, accountId, reportId) => {
@@ -13,7 +13,7 @@ export declare const toAccountTypeStrict: (v: string | null | undefined) => Acco
13
13
  declare const toAccountLabel: (v: string) => "prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses";
14
14
  export type AccountLabel = ReturnType<typeof toAccountLabel>;
15
15
  export declare const toAccountLabelStrict: (v: string | null | undefined) => AccountLabel | undefined;
16
- export declare function getAccountKey(reportIdUniqueKey: ReportIDPlusForecastID, accountId: ID, classesViewParentId?: ClassesViewParentID, accountsViewParentId?: AccountsViewParentID): `${string}-cash_balance` | `${string}-card_balance` | `${string}-expense_automation_card` | `${string}-operating_expenses` | `${string}-operating_expenses_by_classes` | `${string}-revenue` | `${string}-revenue_by_classes` | `${string}-net_burn_or_income` | `${string}-net_burn_or_income_story_card` | `${string}-net_burn_or_income_by_classes` | `${string}-cash_position` | `${string}-top_expenses` | `${string}-profit_and_loss` | `${string}-profit_and_loss_by_classes` | `${string}-balance_sheet` | `${string}-cash_flow` | `${string}-dashboard` | `${string}-finance_statement` | `${string}-transaction_list_of_account` | `${string}-transaction_list_missing_receipt` | `${string}-transaction_list_of_account_by_class` | `${string}-transaction_detail` | `${string}-cash_in_cash_out` | `${string}-insights_dashboard` | `${string}-company_details` | `${string}-class_list` | `${string}-account_list` | `${string}-account_list_by_type` | `${string}-vendor` | `${string}-task_card` | `${string}-bill_pay` | `${string}-reimbursement` | `${string}-bill_pay_card` | `${string}-reimbursement_card` | `${string}-bill_pay_promo_card` | `${string}-zeni_accounts` | `${string}-zeni_accounts_promo_card` | `${string}-zeni_treasury` | `${string}-charge_cards` | `${string}-reimbursement_promo_card` | `${string}-onboarding` | `${string}-operating_expenses_by_vendor` | `${string}-operating_expenses_by_vendor_summary` | `${string}-vendors_tab` | `${string}-accounts_payable_aging` | `${string}-accounts_receivable_aging` | `${string}-vendor_global_review` | `${string}-prepaid_expenses` | `${string}-fixed_assets` | `${string}-notification` | `${string}-rewards_card` | `${string}-billing` | `${string}-flux_analysis_operating_expense` | `${string}-account_reconciliation` | `${string}-zeni_credit_promo_card` | `${string}-cash_balance+${string}` | `${string}-card_balance+${string}` | `${string}-expense_automation_card+${string}` | `${string}-operating_expenses+${string}` | `${string}-operating_expenses_by_classes+${string}` | `${string}-revenue+${string}` | `${string}-revenue_by_classes+${string}` | `${string}-net_burn_or_income+${string}` | `${string}-net_burn_or_income_story_card+${string}` | `${string}-net_burn_or_income_by_classes+${string}` | `${string}-cash_position+${string}` | `${string}-top_expenses+${string}` | `${string}-profit_and_loss+${string}` | `${string}-profit_and_loss_by_classes+${string}` | `${string}-balance_sheet+${string}` | `${string}-cash_flow+${string}` | `${string}-dashboard+${string}` | `${string}-finance_statement+${string}` | `${string}-transaction_list_of_account+${string}` | `${string}-transaction_list_missing_receipt+${string}` | `${string}-transaction_list_of_account_by_class+${string}` | `${string}-transaction_detail+${string}` | `${string}-cash_in_cash_out+${string}` | `${string}-insights_dashboard+${string}` | `${string}-company_details+${string}` | `${string}-class_list+${string}` | `${string}-account_list+${string}` | `${string}-account_list_by_type+${string}` | `${string}-vendor+${string}` | `${string}-task_card+${string}` | `${string}-bill_pay+${string}` | `${string}-reimbursement+${string}` | `${string}-bill_pay_card+${string}` | `${string}-reimbursement_card+${string}` | `${string}-bill_pay_promo_card+${string}` | `${string}-zeni_accounts+${string}` | `${string}-zeni_accounts_promo_card+${string}` | `${string}-zeni_treasury+${string}` | `${string}-charge_cards+${string}` | `${string}-reimbursement_promo_card+${string}` | `${string}-onboarding+${string}` | `${string}-operating_expenses_by_vendor+${string}` | `${string}-operating_expenses_by_vendor_summary+${string}` | `${string}-vendors_tab+${string}` | `${string}-accounts_payable_aging+${string}` | `${string}-accounts_receivable_aging+${string}` | `${string}-vendor_global_review+${string}` | `${string}-prepaid_expenses+${string}` | `${string}-fixed_assets+${string}` | `${string}-notification+${string}` | `${string}-rewards_card+${string}` | `${string}-billing+${string}` | `${string}-flux_analysis_operating_expense+${string}` | `${string}-account_reconciliation+${string}` | `${string}-zeni_credit_promo_card+${string}`;
16
+ export declare function getAccountKey(reportIdUniqueKey: ReportIDPlusForecastID, accountId: ID, classesViewParentId?: ClassesViewParentID, accountsViewParentId?: AccountsViewParentID): `${string}-cash_balance` | `${string}-card_balance` | `${string}-expense_automation_card` | `${string}-operating_expenses` | `${string}-operating_expenses_by_classes` | `${string}-revenue` | `${string}-revenue_by_classes` | `${string}-net_burn_or_income` | `${string}-net_burn_or_income_story_card` | `${string}-net_burn_or_income_by_classes` | `${string}-cash_position` | `${string}-top_expenses` | `${string}-profit_and_loss` | `${string}-profit_and_loss_by_classes` | `${string}-balance_sheet` | `${string}-cash_flow` | `${string}-dashboard` | `${string}-finance_statement` | `${string}-transaction_list_of_account` | `${string}-transaction_list_missing_receipt` | `${string}-transaction_list_of_account_by_class` | `${string}-transaction_detail` | `${string}-cash_in_cash_out` | `${string}-insights_dashboard` | `${string}-company_details` | `${string}-class_list` | `${string}-account_list` | `${string}-account_list_by_type` | `${string}-vendor` | `${string}-task_card` | `${string}-bill_pay` | `${string}-reimbursement` | `${string}-bill_pay_card` | `${string}-reimbursement_card` | `${string}-bill_pay_promo_card` | `${string}-zeni_accounts` | `${string}-zeni_accounts_promo_card` | `${string}-zeni_treasury` | `${string}-charge_cards` | `${string}-reimbursement_promo_card` | `${string}-onboarding` | `${string}-operating_expenses_by_vendor` | `${string}-operating_expenses_by_vendor_summary` | `${string}-vendors_tab` | `${string}-accounts_payable_aging` | `${string}-accounts_receivable_aging` | `${string}-vendor_global_review` | `${string}-prepaid_expenses` | `${string}-fixed_assets` | `${string}-notification` | `${string}-rewards_card` | `${string}-billing` | `${string}-flux_analysis_operating_expense` | `${string}-account_reconciliation` | `${string}-cash_balance+${string}` | `${string}-card_balance+${string}` | `${string}-expense_automation_card+${string}` | `${string}-operating_expenses+${string}` | `${string}-operating_expenses_by_classes+${string}` | `${string}-revenue+${string}` | `${string}-revenue_by_classes+${string}` | `${string}-net_burn_or_income+${string}` | `${string}-net_burn_or_income_story_card+${string}` | `${string}-net_burn_or_income_by_classes+${string}` | `${string}-cash_position+${string}` | `${string}-top_expenses+${string}` | `${string}-profit_and_loss+${string}` | `${string}-profit_and_loss_by_classes+${string}` | `${string}-balance_sheet+${string}` | `${string}-cash_flow+${string}` | `${string}-dashboard+${string}` | `${string}-finance_statement+${string}` | `${string}-transaction_list_of_account+${string}` | `${string}-transaction_list_missing_receipt+${string}` | `${string}-transaction_list_of_account_by_class+${string}` | `${string}-transaction_detail+${string}` | `${string}-cash_in_cash_out+${string}` | `${string}-insights_dashboard+${string}` | `${string}-company_details+${string}` | `${string}-class_list+${string}` | `${string}-account_list+${string}` | `${string}-account_list_by_type+${string}` | `${string}-vendor+${string}` | `${string}-task_card+${string}` | `${string}-bill_pay+${string}` | `${string}-reimbursement+${string}` | `${string}-bill_pay_card+${string}` | `${string}-reimbursement_card+${string}` | `${string}-bill_pay_promo_card+${string}` | `${string}-zeni_accounts+${string}` | `${string}-zeni_accounts_promo_card+${string}` | `${string}-zeni_treasury+${string}` | `${string}-charge_cards+${string}` | `${string}-reimbursement_promo_card+${string}` | `${string}-onboarding+${string}` | `${string}-operating_expenses_by_vendor+${string}` | `${string}-operating_expenses_by_vendor_summary+${string}` | `${string}-vendors_tab+${string}` | `${string}-accounts_payable_aging+${string}` | `${string}-accounts_receivable_aging+${string}` | `${string}-vendor_global_review+${string}` | `${string}-prepaid_expenses+${string}` | `${string}-fixed_assets+${string}` | `${string}-notification+${string}` | `${string}-rewards_card+${string}` | `${string}-billing+${string}` | `${string}-flux_analysis_operating_expense+${string}` | `${string}-account_reconciliation+${string}`;
17
17
  export type AccountKey = ReturnType<typeof getAccountKey>;
18
18
  export declare const toReconciliationAccountSource: (v: string) => "plaid" | "bank_statement";
19
19
  export type ReconciliationAccountSourceType = ReturnType<typeof toReconciliationAccountSource>;
@@ -37,7 +37,6 @@ export interface AccountBase {
37
37
  accountSubType?: string;
38
38
  accountType?: AccountType;
39
39
  coaId?: ID;
40
- isDeleted?: boolean;
41
40
  isPreFilled?: boolean;
42
41
  last4Digits?: string;
43
42
  logo?: ZeniUrl;
@@ -36,5 +36,4 @@ export declare const cloneAccountsWithZeroBalance: (accounts: AccountReport[]) =
36
36
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
37
37
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
38
38
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
39
- isDeleted: boolean;
40
39
  }[];
@@ -42,7 +42,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
42
42
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
43
43
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
44
44
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
45
- isDeleted: boolean;
46
45
  }[];
47
46
  expensesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
48
47
  accountsWithIncomeOrdered: {
@@ -77,7 +76,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
77
76
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
78
77
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
79
78
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
80
- isDeleted: boolean;
81
79
  }[];
82
80
  incomeInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
83
81
  accountsWithCogsOrdered: {
@@ -112,7 +110,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
112
110
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
113
111
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
114
112
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
115
- isDeleted: boolean;
116
113
  }[];
117
114
  cogsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
118
115
  accountsWithCashInOrdered: {
@@ -147,7 +144,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
147
144
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
148
145
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
149
146
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
150
- isDeleted: boolean;
151
147
  }[];
152
148
  cashInInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
153
149
  accountsWithCashOutOrdered: {
@@ -182,7 +178,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
182
178
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
183
179
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
184
180
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
185
- isDeleted: boolean;
186
181
  }[];
187
182
  cashOutInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
188
183
  equityInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
@@ -218,7 +213,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
218
213
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
219
214
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
220
215
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
221
- isDeleted: boolean;
222
216
  }[];
223
217
  assetsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
224
218
  accountsWithAssetsOrdered: {
@@ -253,7 +247,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
253
247
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
254
248
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
255
249
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
256
- isDeleted: boolean;
257
250
  }[];
258
251
  liabilitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
259
252
  accountsWithLiabilitiesOrdered: {
@@ -288,7 +281,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
288
281
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
289
282
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
290
283
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
291
- isDeleted: boolean;
292
284
  }[];
293
285
  operatingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
294
286
  accountsWithOperatingActivitiesOrdered: {
@@ -323,7 +315,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
323
315
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
324
316
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
325
317
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
326
- isDeleted: boolean;
327
318
  }[];
328
319
  investingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
329
320
  accountsWithInvestingActivitiesOrdered: {
@@ -358,7 +349,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
358
349
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
359
350
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
360
351
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
361
- isDeleted: boolean;
362
352
  }[];
363
353
  financingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
364
354
  accountsWithFinancingActivitiesOrdered: {
@@ -393,7 +383,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
393
383
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
394
384
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
395
385
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
396
- isDeleted: boolean;
397
386
  }[];
398
387
  };
399
388
  export type AccountGroupReport = ReturnType<typeof getAccountGroup>;
@@ -435,7 +424,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
435
424
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
436
425
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
437
426
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
438
- isDeleted: boolean;
439
427
  }[];
440
428
  expensesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
441
429
  accountsWithIncomeOrdered: {
@@ -470,7 +458,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
470
458
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
471
459
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
472
460
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
473
- isDeleted: boolean;
474
461
  }[];
475
462
  incomeInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
476
463
  accountsWithCogsOrdered: {
@@ -505,7 +492,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
505
492
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
506
493
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
507
494
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
508
- isDeleted: boolean;
509
495
  }[];
510
496
  cogsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
511
497
  accountsWithCashInOrdered: {
@@ -540,7 +526,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
540
526
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
541
527
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
542
528
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
543
- isDeleted: boolean;
544
529
  }[];
545
530
  cashInInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
546
531
  accountsWithCashOutOrdered: {
@@ -575,7 +560,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
575
560
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
576
561
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
577
562
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
578
- isDeleted: boolean;
579
563
  }[];
580
564
  cashOutInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
581
565
  equityInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
@@ -611,7 +595,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
611
595
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
612
596
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
613
597
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
614
- isDeleted: boolean;
615
598
  }[];
616
599
  assetsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
617
600
  accountsWithAssetsOrdered: {
@@ -646,7 +629,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
646
629
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
647
630
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
648
631
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
649
- isDeleted: boolean;
650
632
  }[];
651
633
  liabilitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
652
634
  accountsWithLiabilitiesOrdered: {
@@ -681,7 +663,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
681
663
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
682
664
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
683
665
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
684
- isDeleted: boolean;
685
666
  }[];
686
667
  operatingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
687
668
  accountsWithOperatingActivitiesOrdered: {
@@ -716,7 +697,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
716
697
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
717
698
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
718
699
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
719
- isDeleted: boolean;
720
700
  }[];
721
701
  investingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
722
702
  accountsWithInvestingActivitiesOrdered: {
@@ -751,7 +731,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
751
731
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
752
732
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
753
733
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
754
- isDeleted: boolean;
755
734
  }[];
756
735
  financingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
757
736
  accountsWithFinancingActivitiesOrdered: {
@@ -786,7 +765,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
786
765
  classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
787
766
  accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
788
767
  labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
789
- isDeleted: boolean;
790
768
  }[];
791
769
  }[];
792
770
  export {};