@zeniai/client-epic-state 5.2.32-betaAK7 → 5.2.32
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.
- package/lib/commonStateTypes/fiscalYearHelpers/getFYMonths.d.ts +2 -2
- package/lib/commonStateTypes/fiscalYearHelpers/getFYQuarterAndYear.d.ts +2 -2
- package/lib/commonStateTypes/timePeriod.d.ts +4 -4
- package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +1 -1
- package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
- package/lib/entity/class/classReducer.d.ts +4 -4
- package/lib/entity/class/classState.d.ts +1 -1
- package/lib/entity/forecast/forecastState.d.ts +1 -1
- package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
- package/lib/entity/sectionProjectView/sectionProjectView.d.ts +1 -1
- package/lib/entity/sectionProjectView/sectionProjectViewReducer.d.ts +2 -2
- package/lib/entity/tenant/tenantSelector.d.ts +1 -1
- package/lib/epic.d.ts +24 -24
- package/lib/epic.js +28 -28
- package/lib/esm/epic.js +28 -28
- package/lib/esm/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +1 -1
- package/lib/esm/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +1 -1
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/newSchedule/createOneTimeAccrualEpic.js +1 -1
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/newSchedule/saveNewScheduleEpic.js +2 -2
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/revertJeScheduleEpic.js +2 -2
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/backgroundRefetchReviewTabEpic.js +2 -1
- package/lib/esm/view/expenseAutomationView/helpers/newScheduleLocalDataHelper.js +1 -1
- package/lib/esm/view/expenseAutomationView/helpers/reconciliationHelpers.js +2 -2
- package/lib/esm/view/invoicing/couponView/couponViewSelector.js +1 -1
- package/lib/esm/view/invoicing/couponView/fetchInvoicingCouponCountsEpic.js +1 -1
- package/lib/esm/view/invoicing/customerPaymentMethod/sendInvoicingPaymentLinkEpic.js +2 -2
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/fetchInvoicingCatalogItemDetailEpic.js +4 -1
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +4 -1
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +4 -4
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +4 -1
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingPaymentLinkEmailPreviewEpic.js +1 -1
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +2 -2
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionDetailPageEpic.js +8 -2
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/seedInvoicingSubscriptionFormDraftEpic.js +1 -1
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailSelector.js +2 -2
- package/lib/esm/view/invoicing/invoiceDetail/updateInvoicingInvoiceEpic.js +1 -1
- package/lib/esm/view/invoicing/invoiceList/invoiceListSelector.js +1 -1
- package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +4 -1
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +1 -1
- package/lib/esm/view/invoicing/settingsView/initializeInvoicingBrandingAddressEpic.js +1 -1
- package/lib/esm/view/invoicing/settingsView/submitInvoicingBrandingFormEpic.js +1 -1
- package/lib/view/addressView/addressViewSelector.d.ts +1 -1
- package/lib/view/auditReportView/auditReportViewState.d.ts +1 -1
- package/lib/view/billPayCard/billPayCardSelector.d.ts +2 -2
- package/lib/view/cardBalance/cardBalanceSelector.d.ts +2 -2
- package/lib/view/cashBalance/cashBalanceSelector.d.ts +2 -2
- package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +2 -2
- package/lib/view/cashPosition/cashPositionSelector.d.ts +2 -2
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.d.ts +1 -1
- package/lib/view/commonVendorView/vendorView/vendorViewPayload.d.ts +1 -1
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.d.ts +1 -1
- package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.d.ts +1 -1
- package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +1 -1
- package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +1 -1
- package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
- package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/createOneTimeAccrualEpic.js +1 -1
- package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/saveNewScheduleEpic.d.ts +1 -1
- package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/saveNewScheduleEpic.js +2 -2
- package/lib/view/expenseAutomationView/epics/jeSchedule/revertJeScheduleEpic.d.ts +1 -1
- package/lib/view/expenseAutomationView/epics/jeSchedule/revertJeScheduleEpic.js +2 -2
- package/lib/view/expenseAutomationView/epics/transactionCategorization/backgroundRefetchReviewTabEpic.js +2 -1
- package/lib/view/expenseAutomationView/helpers/newScheduleLocalDataHelper.js +1 -1
- package/lib/view/expenseAutomationView/helpers/reconciliationHelpers.js +2 -2
- package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +1 -1
- package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
- package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
- package/lib/view/invoicing/couponView/couponViewSelector.js +1 -1
- package/lib/view/invoicing/customerPaymentMethod/sendInvoicingPaymentLinkEpic.js +2 -2
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.d.ts +2 -2
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/fetchInvoicingCatalogItemDetailEpic.js +4 -1
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +4 -1
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.d.ts +1 -1
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.d.ts +3 -3
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +4 -4
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.d.ts +1 -1
- package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +4 -1
- package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingPaymentLinkEmailPreviewEpic.js +1 -1
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.d.ts +1 -1
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +1 -1
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionDetailPageEpic.js +8 -2
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/seedInvoicingSubscriptionFormDraftEpic.js +1 -1
- package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.d.ts +1 -1
- package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.js +2 -2
- package/lib/view/invoicing/invoiceList/invoiceListSelector.js +1 -1
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.d.ts +1 -1
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +4 -1
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewSelector.d.ts +1 -1
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +1 -1
- package/lib/view/opExByVendor/refreshOpExByVendorReportEpic.d.ts +1 -1
- package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +2 -2
- package/lib/view/reportUIOptions/reportUIOptionsReducer.d.ts +8 -8
- package/lib/view/reportsResync/reportsResyncReducer.d.ts +2 -2
- package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
- package/lib/view/tasksCard/fetchTasksCardEpic.d.ts +1 -1
- package/lib/view/tasksCard/tasksCardSelector.d.ts +2 -2
- package/lib/view/topEx/topExSelector.d.ts +2 -2
- package/package.json +1 -1
package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js
CHANGED
|
@@ -48,7 +48,10 @@ const invoicingDunningCaseDetailView = (0, toolkit_1.createSlice)({
|
|
|
48
48
|
},
|
|
49
49
|
prepare(payload) {
|
|
50
50
|
return {
|
|
51
|
-
payload: {
|
|
51
|
+
payload: {
|
|
52
|
+
cacheOverride: payload.cacheOverride ?? false,
|
|
53
|
+
id: payload.id,
|
|
54
|
+
},
|
|
52
55
|
};
|
|
53
56
|
},
|
|
54
57
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FetchStateAndError, ID } from '../../../commonStateTypes/common';
|
|
2
2
|
import { SelectorView } from '../../../commonStateTypes/viewAndReport/viewAndReport';
|
|
3
3
|
import { InvoicingDunningCase } from '../../../entity/invoicing/dunningCase/dunningCaseState';
|
|
4
|
-
import type { InvoicingFieldHelpByCode } from '../../../entity/invoicing/invoicingCommonPayload';
|
|
5
4
|
import { InvoicingInvoice } from '../../../entity/invoicing/invoice/invoiceState';
|
|
5
|
+
import type { InvoicingFieldHelpByCode } from '../../../entity/invoicing/invoicingCommonPayload';
|
|
6
6
|
import { RootState } from '../../../rootStateTypes';
|
|
7
7
|
import { InvoicingDunningEmailPreviewState } from './invoicingDunningCaseDetailViewState';
|
|
8
8
|
/**
|
package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getInvoicingSubscriptionListView = void 0;
|
|
4
4
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
5
|
-
const runningInvoicingActionId_1 = require("../runningInvoicingActionId");
|
|
6
5
|
const invoicingSubscriptionSelector_1 = require("../../../entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector");
|
|
7
6
|
const invoicingTabHelper_1 = require("../invoicingTabHelper");
|
|
7
|
+
const runningInvoicingActionId_1 = require("../runningInvoicingActionId");
|
|
8
8
|
const invoicingSubscriptionListViewState_1 = require("./invoicingSubscriptionListViewState");
|
|
9
9
|
/**
|
|
10
10
|
* Memoized so the denormalized `subscriptions` array (and the wrapping view
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
-
import { RootState } from '../../rootStateTypes';
|
|
3
2
|
import { ZeniAPIStatus } from '../../responsePayload';
|
|
3
|
+
import { RootState } from '../../rootStateTypes';
|
|
4
4
|
import { ZeniAPI } from '../../zeniAPI';
|
|
5
5
|
import { refreshOpExByVendorReport, refreshOpExByVendorReportFailure, refreshOpExByVendorReportSuccess } from './opExByVendorReducer';
|
|
6
6
|
export type ActionType = ReturnType<typeof refreshOpExByVendorReport> | ReturnType<typeof refreshOpExByVendorReportSuccess> | ReturnType<typeof refreshOpExByVendorReportFailure>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { RootState } from '../../rootStateTypes';
|
|
2
2
|
export declare const getReimbursementCardReport: (state: RootState) => {
|
|
3
|
-
reportId: "
|
|
3
|
+
reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "balance_sheet_by_classes" | "balance_sheet_by_projects" | "cash_flow" | "cash_flow_by_classes" | "cash_flow_by_projects" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "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" | "other_connection" | "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" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts";
|
|
4
4
|
reportTitle: string;
|
|
5
5
|
version: string | number | undefined;
|
|
6
6
|
fetchState: import("../..").FetchState;
|
|
7
7
|
reimbursementAmountByKey: Record<string, import("../..").Amount>;
|
|
8
8
|
error: import("../..").ZeniAPIStatus<Record<string, unknown>> | undefined;
|
|
9
9
|
transactionCount: number;
|
|
10
|
-
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 |
|
|
10
|
+
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
11
11
|
};
|
|
12
12
|
export type ReimbursementCardReport = ReturnType<typeof getReimbursementCardReport>;
|
|
@@ -4,31 +4,31 @@ import { ID } from '../../commonStateTypes/common';
|
|
|
4
4
|
import { TimeframeTick } from '../../commonStateTypes/timeframeTick';
|
|
5
5
|
import { ReportUIOptionsState } from './reportUIOptionsState';
|
|
6
6
|
export declare const initialState: ReportUIOptionsState;
|
|
7
|
-
export declare const updateReportUIOptionTimeframe: import("@reduxjs/toolkit").ActionCreatorWithPayload<"month" | "year" | "quarter", "report_ui_options/updateReportUIOptionTimeframe">, updateReportUIOptionThisPeriod: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 1 | 2 | 3 | 4 | 5 |
|
|
8
|
-
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 |
|
|
7
|
+
export declare const updateReportUIOptionTimeframe: import("@reduxjs/toolkit").ActionCreatorWithPayload<"month" | "year" | "quarter", "report_ui_options/updateReportUIOptionTimeframe">, updateReportUIOptionThisPeriod: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12, thisPeriod: TimeframeTick, maxNumOfPeriodsToSelect?: number | undefined], {
|
|
8
|
+
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
9
9
|
thisPeriod: TimeframeTick;
|
|
10
10
|
maxNumOfPeriodsToSelect: number | undefined;
|
|
11
11
|
}, "report_ui_options/updateReportUIOptionThisPeriod", never, never>, updateReportUIOptionCOABalancesRange: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[selectedCOABalancesRange: COABalancesRange, highlightedCOABalancesRange?: COABalancesRangeWithThisPeriod | undefined], {
|
|
12
12
|
selectedCOABalancesRange: COABalancesRange;
|
|
13
13
|
highlightedCOABalancesRange: COABalancesRangeWithThisPeriod | undefined;
|
|
14
|
-
}, "report_ui_options/updateReportUIOptionCOABalancesRange", never, never>, updateReportUIOptionIsCompareModeOn: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 1 | 2 | 3 | 4 | 5 |
|
|
15
|
-
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 |
|
|
14
|
+
}, "report_ui_options/updateReportUIOptionCOABalancesRange", never, never>, updateReportUIOptionIsCompareModeOn: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12, isCompareModeOn: boolean, maxNumOfPeriodsToHighlight: any, additionalBalances: COABalanceType[]], {
|
|
15
|
+
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
16
16
|
isCompareModeOn: boolean;
|
|
17
17
|
maxNumOfPeriodsToHighlight: any;
|
|
18
18
|
additionalBalances: COABalanceType[];
|
|
19
|
-
}, "report_ui_options/updateReportUIOptionIsCompareModeOn", never, never>, updateReportUIOptionCompareMode: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 1 | 2 | 3 | 4 | 5 |
|
|
20
|
-
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 |
|
|
19
|
+
}, "report_ui_options/updateReportUIOptionIsCompareModeOn", never, never>, updateReportUIOptionCompareMode: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12, compareMode: "compare_mode_percent" | "compare_mode_amount", maxNumOfPeriodsToHighlight: any, additionalBalances: COABalanceType[]], {
|
|
20
|
+
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
21
21
|
compareMode: "compare_mode_percent" | "compare_mode_amount";
|
|
22
22
|
maxNumOfPeriodsToHighlight: any;
|
|
23
23
|
additionalBalances: COABalanceType[];
|
|
24
24
|
}, "report_ui_options/updateReportUIOptionCompareMode", never, never>, updateReportUIOptionIsForecastVsActualOn: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "report_ui_options/updateReportUIOptionIsForecastVsActualOn">, updateReportUIOptionSelectedForecast: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[id: string, index: number], {
|
|
25
25
|
id: string;
|
|
26
26
|
index: number;
|
|
27
|
-
}, "report_ui_options/updateReportUIOptionSelectedForecast", never, never>, toggleReportUIOptionForecastMode: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 1 | 2 | 3 | 4 | 5 |
|
|
27
|
+
}, "report_ui_options/updateReportUIOptionSelectedForecast", never, never>, toggleReportUIOptionForecastMode: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[firstMonthOfFY: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12, isForecastModeOn: boolean, maxNumOfPeriodsToHighlightWithForecast?: any, selectedForecast?: {
|
|
28
28
|
id: ID;
|
|
29
29
|
index: number;
|
|
30
30
|
} | undefined], {
|
|
31
|
-
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 |
|
|
31
|
+
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
32
32
|
isForecastModeOn: boolean;
|
|
33
33
|
maxNumOfPeriodsToHighlightWithForecast: any;
|
|
34
34
|
selectedForecast: {
|
|
@@ -2,8 +2,8 @@ import { ReportID } from '../../commonStateTypes/viewAndReport/viewAndReport';
|
|
|
2
2
|
import { ZeniAPIStatus } from '../../responsePayload';
|
|
3
3
|
import { ReportsResyncState } from './reportsResyncState';
|
|
4
4
|
export declare const initialReportsResyncState: ReportsResyncState;
|
|
5
|
-
export declare const initiateReportsResync: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[reportIdToResync: "
|
|
6
|
-
reportIdToResync: "
|
|
5
|
+
export declare const initiateReportsResync: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[reportIdToResync: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "balance_sheet_by_classes" | "balance_sheet_by_projects" | "cash_flow" | "cash_flow_by_classes" | "cash_flow_by_projects" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "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" | "other_connection" | "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" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts"], {
|
|
6
|
+
reportIdToResync: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "balance_sheet_by_classes" | "balance_sheet_by_projects" | "cash_flow" | "cash_flow_by_classes" | "cash_flow_by_projects" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "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" | "other_connection" | "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" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts";
|
|
7
7
|
}, "initiateReportsResync/initiateReportsResync", never, never>, initiateReportsClassViewRefetching: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
8
8
|
reportIdToResync: ReportID;
|
|
9
9
|
}, "initiateReportsResync/initiateReportsClassViewRefetching">, initiateReportsProjectViewRefetching: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
@@ -7,7 +7,7 @@ export declare const getScheduleListKey: (selectedCategory: ID, selectedTimefram
|
|
|
7
7
|
export type ScheduleListKey = ReturnType<typeof getScheduleListKey>;
|
|
8
8
|
export declare const toScheduleSubTabType: (v: string) => "completed" | "new" | "ongoing" | "all";
|
|
9
9
|
export type ScheduleSubTabType = ReturnType<typeof toScheduleSubTabType>;
|
|
10
|
-
declare const toScheduleSortKeyType: (v: string) => "months" | "vendor" | "
|
|
10
|
+
declare const toScheduleSortKeyType: (v: string) => "months" | "vendor" | "status" | "class" | "createTime" | "amount" | "memo" | "user" | "balanceAsOfToday" | "transactionType" | "scheduleCategory" | "startMonth" | "transactionDate" | "accruedExpenseCategory" | "expenseCategory" | "accumulatedDepreciationCategory" | "endMonth" | "assetId";
|
|
11
11
|
export declare type ScheduleListSortKey = ReturnType<typeof toScheduleSortKeyType>;
|
|
12
12
|
export interface DownloadJEScheduleTabOptions {
|
|
13
13
|
categoryId: ID;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
-
import { RootState } from '../../rootStateTypes';
|
|
3
2
|
import { ZeniReportData } from '../../responsePayload';
|
|
3
|
+
import { RootState } from '../../rootStateTypes';
|
|
4
4
|
import { ZeniAPI } from '../../zeniAPI';
|
|
5
5
|
import { TasksCardPayload } from './tasksCardPayload';
|
|
6
6
|
import { fetchTasksCard, updateTasksCard, updateTasksCardFailure } from './tasksCardReducer';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RootState } from '../../rootStateTypes';
|
|
2
2
|
export declare const getTasksCardReport: (state: RootState) => {
|
|
3
|
-
reportId: "
|
|
3
|
+
reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "balance_sheet_by_classes" | "balance_sheet_by_projects" | "cash_flow" | "cash_flow_by_classes" | "cash_flow_by_projects" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "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" | "other_connection" | "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" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts";
|
|
4
4
|
reportTitle: string;
|
|
5
5
|
version: string | number | undefined;
|
|
6
6
|
status: import("../..").Status | undefined;
|
|
7
7
|
fetchState: import("../..").FetchState;
|
|
8
|
-
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 |
|
|
8
|
+
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
9
9
|
tasks: {
|
|
10
10
|
isUncategorizedExpenseAccountIdentified: boolean;
|
|
11
11
|
isUncategorizedExpensesTransactionsExist: boolean;
|
|
@@ -4,7 +4,7 @@ import { RootState } from '../../rootStateTypes';
|
|
|
4
4
|
import { TopExReport, TopExTimePeriodWithMetaData } from './topExSelectorTypes';
|
|
5
5
|
import { TopExState } from './topExState';
|
|
6
6
|
export declare const getTopExpenses: (accountState: AccountState, topExState: TopExState, numberOfExpenses?: number) => {
|
|
7
|
-
reportId: "
|
|
7
|
+
reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "balance_sheet_by_classes" | "balance_sheet_by_projects" | "cash_flow" | "cash_flow_by_classes" | "cash_flow_by_projects" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "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" | "other_connection" | "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" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts";
|
|
8
8
|
reportTitle: string;
|
|
9
9
|
version: string | number | undefined;
|
|
10
10
|
status: import("../..").Status | undefined;
|
|
@@ -30,7 +30,7 @@ export declare const getTopExpenses: (accountState: AccountState, topExState: To
|
|
|
30
30
|
};
|
|
31
31
|
allTimePeriods: TopExTimePeriodWithMetaData[];
|
|
32
32
|
dataAvailable: import("../..").TimeframeTick | undefined;
|
|
33
|
-
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 |
|
|
33
|
+
firstMonthOfFY: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
34
34
|
downloadState: import("../..").FetchState;
|
|
35
35
|
};
|
|
36
36
|
export declare const getTop6Expenses: (state: RootState) => TopExReport;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.2.32
|
|
3
|
+
"version": "5.2.32",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|