@zeniai/client-epic-state 5.1.40-betaDI2 → 5.1.41-beta0ND
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/selectorTypes/pickAndMergeForecastCalculatedSection.d.ts +1 -1
- package/lib/entity/account/accountSelector.d.ts +6 -6
- package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +18 -18
- package/lib/entity/accountGroup/accountGroupSelector.d.ts +44 -44
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +1 -1
- package/lib/entity/task/taskPayload.d.ts +1 -2
- package/lib/entity/task/taskPayload.js +1 -8
- package/lib/entity/task/taskReducer.d.ts +1 -8
- package/lib/entity/task/taskReducer.js +4 -29
- package/lib/entity/task/taskState.d.ts +0 -1
- package/lib/entity/tenant/epic/saveExternalConnectionEpic.js +15 -7
- package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +3 -3
- package/lib/epic.d.ts +3 -5
- package/lib/epic.js +3 -5
- package/lib/esm/entity/snackbar/snackbarTypes.js +1 -1
- package/lib/esm/entity/task/taskPayload.js +1 -8
- package/lib/esm/entity/task/taskReducer.js +3 -28
- package/lib/esm/entity/tenant/epic/saveExternalConnectionEpic.js +15 -7
- package/lib/esm/epic.js +3 -5
- package/lib/esm/view/companyTaskManagerView/epics/fetchCompanyTaskManagerViewEpic.js +0 -3
- package/lib/esm/view/companyTaskManagerView/epics/fetchTaskManagerMetricsEpic.js +1 -7
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +3 -2
- package/lib/esm/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +0 -1
- package/lib/esm/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +9 -70
- package/lib/esm/view/taskManager/taskDetailView/taskDetailReducer.js +2 -56
- package/lib/esm/view/taskManager/taskDetailView/taskDetailSelector.js +9 -32
- package/lib/esm/view/taskManager/taskListView/epics/fetchTaskListEpic.js +1 -3
- package/lib/esm/view/taskManager/taskListView/taskList.js +0 -1
- package/lib/esm/view/taskManager/taskListView/taskListReducer.js +12 -240
- package/lib/esm/view/taskManager/taskListView/taskListSelector.js +0 -1
- package/lib/view/addressView/epic/fetchAddressEpic.d.ts +1 -1
- package/lib/view/addressView/epic/updateAddressEpic.d.ts +1 -1
- package/lib/view/aiAccountantView/epics/cancelAiAccountantOnboardingEpic.d.ts +3 -3
- package/lib/view/aiAccountantView/epics/fetchAiAccountantCustomersEpic.d.ts +2 -2
- package/lib/view/aiAccountantView/epics/fetchAiAccountantJobsEpic.d.ts +3 -3
- package/lib/view/aiAccountantView/epics/triggerAiAccountantJobEpic.d.ts +3 -3
- package/lib/view/aiCfoView/epics/deleteChatSessionEpic.d.ts +5 -5
- package/lib/view/auditReportView/auditReportViewSelector.d.ts +1 -1
- package/lib/view/billPayCard/billPayCardSelector.d.ts +3 -3
- package/lib/view/cardBalance/cardBalanceEpic.d.ts +2 -2
- package/lib/view/cardBalance/cardBalanceSelector.d.ts +8 -8
- package/lib/view/cardBalance/statementCloseDayEpic.d.ts +3 -3
- package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.d.ts +4 -4
- package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.d.ts +4 -4
- package/lib/view/cardPayment/epic/createCardSetupIntentEpic.d.ts +5 -5
- package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.d.ts +5 -5
- package/lib/view/cashBalance/cashBalanceEpic.d.ts +2 -2
- package/lib/view/cashBalance/cashBalanceSelector.d.ts +8 -8
- package/lib/view/cashInCashOut/cashInCashOutEpic.d.ts +5 -5
- package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +5 -5
- package/lib/view/cashPosition/cashPositionEpic.d.ts +3 -3
- package/lib/view/cashPosition/cashPositionSelector.d.ts +5 -5
- package/lib/view/companyConfigView/companyConfigSelector.d.ts +2 -2
- package/lib/view/companyTaskManagerView/epics/fetchCompanyTaskManagerViewEpic.js +0 -3
- package/lib/view/companyTaskManagerView/epics/fetchTaskManagerMetricsEpic.js +1 -7
- package/lib/view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.d.ts +1 -1
- package/lib/view/companyView/types/cockpitTypes.d.ts +0 -3
- package/lib/view/createTransferEntry/createTransferEntrySelector.d.ts +1 -1
- package/lib/view/creditAgentView/epics/saveCreditAgentMacroEpic.d.ts +3 -3
- package/lib/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.d.ts +3 -3
- package/lib/view/creditAgentView/epics/updateCardProfileEpic.d.ts +3 -3
- package/lib/view/expenseAutomationView/epics/accountRecon/reparseStatementEpic.d.ts +4 -4
- package/lib/view/expenseAutomationView/epics/accountRecon/updateStatementInfoEpic.d.ts +3 -3
- package/lib/view/expenseAutomationView/epics/accountRecon/uploadAccountStatementEpic.d.ts +1 -1
- package/lib/view/expenseAutomationView/epics/missingReceipts/bulkUploadReceiptsEpic.d.ts +1 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +3 -2
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
- package/lib/view/forecastList/forecastListSelector.d.ts +4 -4
- package/lib/view/insightsCard/insightsCardEpic.d.ts +1 -1
- package/lib/view/people/changeZeniPersonRolesEpic.d.ts +5 -5
- package/lib/view/people/deletePersonEpic.d.ts +4 -4
- package/lib/view/people/fetchPeopleEpic.d.ts +2 -2
- package/lib/view/people/invitePeopleEpic.d.ts +7 -7
- package/lib/view/people/inviteZeniPeopleEpic.d.ts +7 -7
- package/lib/view/people/resendInviteEpic.d.ts +3 -3
- package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +3 -3
- package/lib/view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic.d.ts +11 -11
- package/lib/view/reportUIOptions/updateReportUIOptionCompareModeEpic.d.ts +8 -8
- package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.d.ts +8 -8
- package/lib/view/settingsView/epic/fetchBankAccountsListEpic.d.ts +3 -3
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +3 -3
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewSelector.d.ts +2 -2
- package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKybDocumentEpic.d.ts +4 -4
- package/lib/view/spendManagement/helpers.d.ts +1 -1
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.d.ts +3 -3
- package/lib/view/tagView/epics/createTagEpic.d.ts +3 -3
- package/lib/view/tagView/epics/deleteTagEpic.d.ts +7 -7
- package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +0 -1
- package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.d.ts +2 -2
- package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +8 -69
- package/lib/view/taskManager/taskDetailView/taskDetail.d.ts +0 -15
- package/lib/view/taskManager/taskDetailView/taskDetailReducer.d.ts +2 -14
- package/lib/view/taskManager/taskDetailView/taskDetailReducer.js +3 -57
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.d.ts +1 -2
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +7 -30
- package/lib/view/taskManager/taskListView/epics/fetchTaskListEpic.js +1 -3
- package/lib/view/taskManager/taskListView/taskList.d.ts +1 -1
- package/lib/view/taskManager/taskListView/taskList.js +0 -1
- package/lib/view/taskManager/taskListView/taskListPayload.d.ts +0 -4
- package/lib/view/taskManager/taskListView/taskListReducer.d.ts +2 -6
- package/lib/view/taskManager/taskListView/taskListReducer.js +13 -241
- package/lib/view/taskManager/taskListView/taskListSelector.js +0 -1
- package/lib/view/tasksCard/tasksCardSelector.d.ts +2 -2
- package/lib/view/topEx/topExEpic.d.ts +2 -2
- package/lib/view/topEx/topExSelector.d.ts +7 -7
- package/lib/view/transactionDetail/epics/uploadMissingAttachmentSuccessEpic.d.ts +5 -5
- package/lib/view/transactionDetail/transactionDetailLocalDataHelper.d.ts +1 -1
- package/lib/view/userRoleConfigView/userRoleConfigSelector.d.ts +2 -2
- package/lib/view/zeniOAuthView/epics/approveOAuthConsentEpic.d.ts +3 -3
- package/package.json +1 -1
- package/lib/esm/index.js +0 -711
- package/lib/esm/view/taskManager/taskDetailView/epics/createSubTaskEpic.js +0 -96
- package/lib/esm/view/taskManager/taskDetailView/epics/fetchSubTasksEpic.js +0 -53
- package/lib/index.d.ts +0 -995
- package/lib/index.js +0 -2611
- package/lib/view/taskManager/taskDetailView/epics/createSubTaskEpic.d.ts +0 -9
- package/lib/view/taskManager/taskDetailView/epics/createSubTaskEpic.js +0 -100
- package/lib/view/taskManager/taskDetailView/epics/fetchSubTasksEpic.d.ts +0 -8
- package/lib/view/taskManager/taskDetailView/epics/fetchSubTasksEpic.js +0 -57
|
@@ -7,9 +7,9 @@ import { fetchPaymentSources, updatePaymentSources } from '../cardPaymentViewRed
|
|
|
7
7
|
export type ActionType = ReturnType<typeof fetchPaymentSources> | ReturnType<typeof openSnackbar> | ReturnType<typeof updateSubscriptionPaymentAccounts> | ReturnType<typeof updatePaymentSources>;
|
|
8
8
|
export declare const fetchPaymentSourcesEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
9
9
|
payload: {
|
|
10
|
-
messageSection: import("
|
|
11
|
-
messageText: import("
|
|
12
|
-
type: import("
|
|
10
|
+
messageSection: import("../../../entity/snackbar/snackbarTypes").SnackbarMessageSections;
|
|
11
|
+
messageText: import("../../../entity/snackbar/snackbarTypes").SnackbarMessageSectionTexts;
|
|
12
|
+
type: import("../../../entity/snackbar/snackbarTypes").SnackbarMessageType;
|
|
13
13
|
showStatusIcon?: boolean;
|
|
14
14
|
variables?: {
|
|
15
15
|
variableName: string;
|
|
@@ -18,13 +18,13 @@ export declare const fetchPaymentSourcesEpic: (actions$: ActionsObservable<Actio
|
|
|
18
18
|
};
|
|
19
19
|
type: "snackbar/openSnackbar";
|
|
20
20
|
} | import("@reduxjs/toolkit").PayloadAction<import("../../../entity/cardPayment/cardPaymentPayload").CardPaymentPayload[], "cardPayment/updateCardPayments", {
|
|
21
|
-
updateType: import("
|
|
21
|
+
updateType: import("../../../commonStateTypes/common").UpdateType;
|
|
22
22
|
}, never> | {
|
|
23
23
|
payload: import("../../../entity/subscriptionPaymentAccount/subscriptionPaymentAccountPayload").SubscriptionPaymentAccountPayload[];
|
|
24
24
|
type: "subscriptionPaymentAccount/updateSubscriptionPaymentAccounts";
|
|
25
25
|
} | {
|
|
26
26
|
payload: {
|
|
27
|
-
fetchState: import("
|
|
27
|
+
fetchState: import("../../../commonStateTypes/common").FetchState;
|
|
28
28
|
error?: import("../../../responsePayload").ZeniAPIStatus;
|
|
29
29
|
response?: import("../cardPaymentViewPayload").AddCardPaymentSourceResponse;
|
|
30
30
|
};
|
|
@@ -5,9 +5,9 @@ import { ZeniAPI } from '../../zeniAPI';
|
|
|
5
5
|
import { fetchCashBalance, updateCashBalance, updateCashBalanceFailure } from './cashBalanceReducer';
|
|
6
6
|
export type ActionType = ReturnType<typeof fetchCashBalance> | ReturnType<typeof updateCashBalance> | ReturnType<typeof updateCashBalanceFailure> | ReturnType<typeof updateAccounts>;
|
|
7
7
|
export declare const fetchCashBalanceEpic: (actions$: ActionsObservable<ActionType>, _: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<import("@reduxjs/toolkit").PayloadAction<import("../../entity/account/accountPayload").AccountPayload[], "account/updateAccounts", {
|
|
8
|
-
reportId: import("
|
|
8
|
+
reportId: import("../../commonStateTypes/viewAndReport/viewAndReport").ReportIDPlusForecastID;
|
|
9
9
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
10
|
-
updateType: import("
|
|
10
|
+
updateType: import("../../commonStateTypes/common").UpdateType;
|
|
11
11
|
}, never> | {
|
|
12
12
|
payload: import("../../responsePayload").ZeniReportData<import("./cashBalancePayload").CashBalancePayload>;
|
|
13
13
|
type: "cashBalance/updateCashBalance";
|
|
@@ -3,8 +3,8 @@ export declare const getCashBalance: (state: RootState) => {
|
|
|
3
3
|
reportId: "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" | "profit_and_loss_by_projects" | "balance_sheet" | "cash_flow" | "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
|
-
status: import("
|
|
7
|
-
fetchState: import("
|
|
6
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
7
|
+
fetchState: import("../../commonStateTypes/common").FetchState;
|
|
8
8
|
accountsInOrder: {
|
|
9
9
|
accountId: string;
|
|
10
10
|
accountName: string;
|
|
@@ -13,9 +13,9 @@ export declare const getCashBalance: (state: RootState) => {
|
|
|
13
13
|
accountDescription: string;
|
|
14
14
|
last4Digits: string | undefined;
|
|
15
15
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
16
|
-
status: import("
|
|
17
|
-
balance: import("
|
|
18
|
-
statementCloseDay: import("
|
|
16
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
17
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
18
|
+
statementCloseDay: import("../../entity/account/accountState").StatementCloseDay | undefined;
|
|
19
19
|
qboId: string | undefined;
|
|
20
20
|
coaId: string | undefined;
|
|
21
21
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
@@ -25,9 +25,9 @@ export declare const getCashBalance: (state: RootState) => {
|
|
|
25
25
|
isBillEditableCoaAccountType: boolean;
|
|
26
26
|
isDeleted: boolean;
|
|
27
27
|
}[];
|
|
28
|
-
balance: import("
|
|
28
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
29
29
|
firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
30
|
-
dataAvailable: import("
|
|
31
|
-
error: import("
|
|
30
|
+
dataAvailable: import("../../commonStateTypes/timeframeTick").TimeframeTick | undefined;
|
|
31
|
+
error: import("../../responsePayload").ZeniAPIStatus<Record<string, unknown>> | undefined;
|
|
32
32
|
};
|
|
33
33
|
export type CashBalanceReport = ReturnType<typeof getCashBalance>;
|
|
@@ -6,9 +6,9 @@ import { ZeniAPI } from '../../zeniAPI';
|
|
|
6
6
|
import { fetchCashInCashOut, updateCashInCashOut, updateCashInCashOutFailure } from './cashInCashOutReducer';
|
|
7
7
|
export type ActionType = ReturnType<typeof fetchCashInCashOut> | ReturnType<typeof updateCashInCashOut> | ReturnType<typeof updateCashInCashOutFailure> | ReturnType<typeof updateAccounts> | ReturnType<typeof updateAccountGroups>;
|
|
8
8
|
export declare const fetchCashInCashOutEpic: (actions$: ActionsObservable<ActionType>, state: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<import("@reduxjs/toolkit").PayloadAction<import("../../entity/account/accountPayload").AccountPayload[], "account/updateAccounts", {
|
|
9
|
-
reportId: import("
|
|
9
|
+
reportId: import("../../commonStateTypes/viewAndReport/viewAndReport").ReportIDPlusForecastID;
|
|
10
10
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
11
|
-
updateType: import("
|
|
11
|
+
updateType: import("../../commonStateTypes/common").UpdateType;
|
|
12
12
|
}, never> | {
|
|
13
13
|
payload: import("../../responsePayload").ZeniReportData<import("./cashInCashOutPayload").CashInCashOutPayload>;
|
|
14
14
|
type: "cashInCashOut/updateCashInCashOut";
|
|
@@ -16,11 +16,11 @@ export declare const fetchCashInCashOutEpic: (actions$: ActionsObservable<Action
|
|
|
16
16
|
payload: import("../../responsePayload").ZeniAPIStatus<Record<string, unknown>>;
|
|
17
17
|
type: "cashInCashOut/updateCashInCashOutFailure";
|
|
18
18
|
} | import("@reduxjs/toolkit").PayloadAction<import("../../entity/accountGroup/accountGroupPayload").AccountGroupPayload[], "accountGroup/updateAccountGroups", {
|
|
19
|
-
reportId: import("
|
|
20
|
-
updateType: import("
|
|
19
|
+
reportId: import("../../commonStateTypes/viewAndReport/viewAndReport").ReportIDPlusForecastID;
|
|
20
|
+
updateType: import("../../commonStateTypes/common").UpdateType;
|
|
21
21
|
}, never> | {
|
|
22
22
|
payload: {
|
|
23
|
-
thisPeriod: import("
|
|
23
|
+
thisPeriod: import("../../commonStateTypes/timeframeTick").TimeframeTick | undefined;
|
|
24
24
|
};
|
|
25
25
|
type: "cashInCashOut/updateCashInCashOutThisPeriod";
|
|
26
26
|
}>;
|
|
@@ -18,11 +18,11 @@ export declare const getCashInCashOut: (accountState: AccountState, accountGroup
|
|
|
18
18
|
reportId: "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" | "profit_and_loss_by_projects" | "balance_sheet" | "cash_flow" | "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";
|
|
19
19
|
reportTitle: string;
|
|
20
20
|
version: string | number | undefined;
|
|
21
|
-
status: import("
|
|
22
|
-
fetchState: import("
|
|
23
|
-
error: import("
|
|
24
|
-
insights: import("
|
|
25
|
-
downloadState: import("
|
|
21
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
22
|
+
fetchState: import("../../commonStateTypes/common").FetchState;
|
|
23
|
+
error: import("../../responsePayload").ZeniAPIStatus<Record<string, unknown>> | undefined;
|
|
24
|
+
insights: import("../../entity/insights/insightSummary").InsightSummary[];
|
|
25
|
+
downloadState: import("../../commonStateTypes/common").FetchState;
|
|
26
26
|
};
|
|
27
27
|
export declare const getCashInCashOutUIState: (state: RootState) => CashInCashOutUIStateSelectorView;
|
|
28
28
|
export declare const getCashInCashOutForSelectedRange: (state: RootState) => CashInCashOutReport;
|
|
@@ -5,9 +5,9 @@ import { ZeniAPI } from '../../zeniAPI';
|
|
|
5
5
|
import { fetchCashPosition, updateCashPosition, updateCashPositionFailure } from './cashPositionReducer';
|
|
6
6
|
export type ActionType = ReturnType<typeof fetchCashPosition> | ReturnType<typeof updateCashPosition> | ReturnType<typeof updateCashPositionFailure> | ReturnType<typeof updateAccounts>;
|
|
7
7
|
export declare const fetchCashPositionEpic: (actions$: ActionsObservable<ActionType>, state: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<import("@reduxjs/toolkit").PayloadAction<import("../../entity/account/accountPayload").AccountPayload[], "account/updateAccounts", {
|
|
8
|
-
reportId: import("
|
|
8
|
+
reportId: import("../../commonStateTypes/viewAndReport/viewAndReport").ReportIDPlusForecastID;
|
|
9
9
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
10
|
-
updateType: import("
|
|
10
|
+
updateType: import("../../commonStateTypes/common").UpdateType;
|
|
11
11
|
}, never> | {
|
|
12
12
|
payload: import("../../responsePayload").ZeniReportData<import("./cashPositionPayload").CashPositionPayload>;
|
|
13
13
|
type: "cashPosition/updateCashPosition";
|
|
@@ -16,7 +16,7 @@ export declare const fetchCashPositionEpic: (actions$: ActionsObservable<ActionT
|
|
|
16
16
|
type: "cashPosition/updateCashPositionFailure";
|
|
17
17
|
} | {
|
|
18
18
|
payload: {
|
|
19
|
-
thisPeriod: import("
|
|
19
|
+
thisPeriod: import("../../commonStateTypes/timeframeTick").TimeframeTick | undefined;
|
|
20
20
|
};
|
|
21
21
|
type: "cashPosition/updateCashPositionThisPeriod";
|
|
22
22
|
}>;
|
|
@@ -15,11 +15,11 @@ export declare const getCashPosition: (accountState: AccountState, cashPositionS
|
|
|
15
15
|
reportId: "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" | "profit_and_loss_by_projects" | "balance_sheet" | "cash_flow" | "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";
|
|
16
16
|
reportTitle: string;
|
|
17
17
|
version: string | number | undefined;
|
|
18
|
-
status: import("
|
|
19
|
-
fetchState: import("
|
|
20
|
-
error: import("
|
|
21
|
-
insights: import("
|
|
22
|
-
downloadState: import("
|
|
18
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
19
|
+
fetchState: import("../../commonStateTypes/common").FetchState;
|
|
20
|
+
error: import("../../responsePayload").ZeniAPIStatus<Record<string, unknown>> | undefined;
|
|
21
|
+
insights: import("../../entity/insights/insightSummary").InsightSummary[];
|
|
22
|
+
downloadState: import("../../commonStateTypes/common").FetchState;
|
|
23
23
|
};
|
|
24
24
|
export declare const getCashPositionUIState: (state: RootState) => CashPositionUIStateSelectorView;
|
|
25
25
|
export declare const getCashPositionForSelectedRange: (state: RootState) => CashPositionReport;
|
|
@@ -6,7 +6,7 @@ export interface VendorTypeListSelectorView extends SelectorView {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const getCompanyConfig: (companyConfigState: CompanyConfigState) => {
|
|
8
8
|
companyIndustries: AllowedValueWithCode[];
|
|
9
|
-
fetchState: import("
|
|
10
|
-
error: import("
|
|
9
|
+
fetchState: import("../../commonStateTypes/common").FetchState;
|
|
10
|
+
error: import("../../responsePayload").ZeniAPIStatus<Record<string, unknown>> | undefined;
|
|
11
11
|
version: number;
|
|
12
12
|
};
|
|
@@ -21,9 +21,6 @@ const fetchCompanyTaskManagerViewEpic = (actions$, _state$, zeniAPI) => actions$
|
|
|
21
21
|
...(filters?.categories != null && filters.categories.length > 0
|
|
22
22
|
? { filter_by: toFilterByPayload(filters) }
|
|
23
23
|
: {}),
|
|
24
|
-
task_group_scopes: filters?.taskGroupScopes != null && filters.taskGroupScopes.length > 0
|
|
25
|
-
? filters.taskGroupScopes
|
|
26
|
-
: ['internal'],
|
|
27
24
|
};
|
|
28
25
|
return zeniAPI
|
|
29
26
|
.getJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/cockpit-panels/tasks-es?query=${encodeURIComponent(JSON.stringify(queryValue))}`)
|
|
@@ -6,13 +6,7 @@ const operators_1 = require("rxjs/operators");
|
|
|
6
6
|
const responsePayload_1 = require("../../../responsePayload");
|
|
7
7
|
const companyTaskManagerViewReducer_1 = require("../companyTaskManagerViewReducer");
|
|
8
8
|
const fetchTaskManagerMetricsEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(companyTaskManagerViewReducer_1.fetchTaskManagerMetrics.match), (0, operators_1.switchMap)(() => {
|
|
9
|
-
|
|
10
|
-
// pending count. The dashboard counts every task (subtasks included);
|
|
11
|
-
// cockpit's default of include_subtasks=false otherwise undercounts.
|
|
12
|
-
const query = JSON.stringify({
|
|
13
|
-
is_filter_by_logged_in_user: true,
|
|
14
|
-
include_subtasks: true,
|
|
15
|
-
});
|
|
9
|
+
const query = JSON.stringify({ is_filter_by_logged_in_user: true });
|
|
16
10
|
return zeniAPI
|
|
17
11
|
.getJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/cockpit-panels/tasks-es-metrics?query=${encodeURIComponent(query)}`)
|
|
18
12
|
.pipe((0, operators_1.mergeMap)((response) => {
|
|
@@ -12,7 +12,7 @@ export declare const saveCompanyPassportDetailsEpic: (actions$: ActionsObservabl
|
|
|
12
12
|
} | {
|
|
13
13
|
payload: {
|
|
14
14
|
companyId: string;
|
|
15
|
-
companyDetails: import("
|
|
15
|
+
companyDetails: import("../../types/companyPassport/companyDetailsLocalData").CompanyDetailsLocalData;
|
|
16
16
|
};
|
|
17
17
|
type: "companyView/companyPassportUpdateCompanyDetails";
|
|
18
18
|
} | {
|
|
@@ -25,12 +25,9 @@ export interface CockpitFilterCategory {
|
|
|
25
25
|
valuesCombinationOperator: 'ANY' | 'ALL';
|
|
26
26
|
field?: AiAccountantFilterCategoryField | ManagementViewFilterCategoryField | SubscriptionViewFilterCategoryField | PortfolioViewFilterCategoryField | HealthMonitorViewFilterCategoryField | TaskManagerViewFilterCategoryField;
|
|
27
27
|
}
|
|
28
|
-
/** Scope filter for cockpit Bird's-Eye View task lists. */
|
|
29
|
-
export type TaskGroupScope = 'internal' | 'external';
|
|
30
28
|
export interface CockpitFilters {
|
|
31
29
|
categories?: CockpitFilterCategory[];
|
|
32
30
|
categoryCombinationOperator?: 'AND' | 'OR';
|
|
33
|
-
taskGroupScopes?: TaskGroupScope[];
|
|
34
31
|
}
|
|
35
32
|
export declare const MANAGEMENT_STATUS_CODES: string[];
|
|
36
33
|
export declare const toManagementStatusCodeType: (v: string) => string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccountBase } from '../../entity/account/accountState';
|
|
2
2
|
import { RootState } from '../../reducer';
|
|
3
3
|
import { TransferEntryRouteReplacement } from './createTransferEntryState';
|
|
4
|
-
export declare function getCreateTransferEntryStatus(state: RootState): import("
|
|
4
|
+
export declare function getCreateTransferEntryStatus(state: RootState): import("../../commonStateTypes/common").FetchState;
|
|
5
5
|
export declare function getLastTransferEntryReplacement(state: RootState): TransferEntryRouteReplacement | undefined;
|
|
6
6
|
/**
|
|
7
7
|
* Shared resolver for the credit/debit dropdowns in the transfer drawer.
|
|
@@ -7,9 +7,9 @@ import { saveCreditAgentMacro, saveCreditAgentMacroFailure, saveCreditAgentMacro
|
|
|
7
7
|
export type ActionType = ReturnType<typeof saveCreditAgentMacro> | ReturnType<typeof saveCreditAgentMacroSuccess> | ReturnType<typeof saveCreditAgentMacroFailure> | ReturnType<typeof updateCreditAgentMacro> | ReturnType<typeof openSnackbar>;
|
|
8
8
|
export declare const saveCreditAgentMacroEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
9
9
|
payload: {
|
|
10
|
-
messageSection: import("
|
|
11
|
-
messageText: import("
|
|
12
|
-
type: import("
|
|
10
|
+
messageSection: import("../../../entity/snackbar/snackbarTypes").SnackbarMessageSections;
|
|
11
|
+
messageText: import("../../../entity/snackbar/snackbarTypes").SnackbarMessageSectionTexts;
|
|
12
|
+
type: import("../../../entity/snackbar/snackbarTypes").SnackbarMessageType;
|
|
13
13
|
showStatusIcon?: boolean;
|
|
14
14
|
variables?: {
|
|
15
15
|
variableName: string;
|
|
@@ -6,9 +6,9 @@ import { scheduleTenantCreditScoreCron, scheduleTenantCreditScoreCronFailure, sc
|
|
|
6
6
|
export type ActionType = ReturnType<typeof scheduleTenantCreditScoreCron> | ReturnType<typeof scheduleTenantCreditScoreCronSuccess> | ReturnType<typeof scheduleTenantCreditScoreCronFailure> | ReturnType<typeof openSnackbar>;
|
|
7
7
|
export declare const scheduleTenantCreditScoreCronEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
8
8
|
payload: {
|
|
9
|
-
messageSection: import("
|
|
10
|
-
messageText: import("
|
|
11
|
-
type: import("
|
|
9
|
+
messageSection: import("../../../entity/snackbar/snackbarTypes").SnackbarMessageSections;
|
|
10
|
+
messageText: import("../../../entity/snackbar/snackbarTypes").SnackbarMessageSectionTexts;
|
|
11
|
+
type: import("../../../entity/snackbar/snackbarTypes").SnackbarMessageType;
|
|
12
12
|
showStatusIcon?: boolean;
|
|
13
13
|
variables?: {
|
|
14
14
|
variableName: string;
|
|
@@ -7,9 +7,9 @@ import { updateCardProfile, updateCardProfileFailure, updateCardProfileSuccess }
|
|
|
7
7
|
export type ActionType = ReturnType<typeof updateCardProfile> | ReturnType<typeof updateCardProfileSuccess> | ReturnType<typeof updateCardProfileFailure> | ReturnType<typeof updateCreditAgentRow> | ReturnType<typeof openSnackbar>;
|
|
8
8
|
export declare const updateCardProfileEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
9
9
|
payload: {
|
|
10
|
-
messageSection: import("
|
|
11
|
-
messageText: import("
|
|
12
|
-
type: import("
|
|
10
|
+
messageSection: import("../../../entity/snackbar/snackbarTypes").SnackbarMessageSections;
|
|
11
|
+
messageText: import("../../../entity/snackbar/snackbarTypes").SnackbarMessageSectionTexts;
|
|
12
|
+
type: import("../../../entity/snackbar/snackbarTypes").SnackbarMessageType;
|
|
13
13
|
showStatusIcon?: boolean;
|
|
14
14
|
variables?: {
|
|
15
15
|
variableName: string;
|
|
@@ -6,15 +6,15 @@ import { reparseStatement, reparseStatementFailure, reparseStatementSuccess } fr
|
|
|
6
6
|
export type ActionType = ReturnType<typeof reparseStatement> | ReturnType<typeof reparseStatementSuccess> | ReturnType<typeof reparseStatementFailure> | ReturnType<typeof updateAccountReconReparseStatement>;
|
|
7
7
|
export declare const reparseStatementEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
8
8
|
payload: {
|
|
9
|
-
accountId: import("
|
|
10
|
-
selectedPeriod: import("
|
|
9
|
+
accountId: import("../../../../commonStateTypes/common").ID;
|
|
10
|
+
selectedPeriod: import("../../../../commonStateTypes/timePeriod").MonthYearPeriod;
|
|
11
11
|
};
|
|
12
12
|
type: "expenseAutomationReconciliationView/reparseStatementSuccess";
|
|
13
13
|
} | {
|
|
14
14
|
payload: {
|
|
15
|
-
accountId: import("
|
|
15
|
+
accountId: import("../../../../commonStateTypes/common").ID;
|
|
16
16
|
error: import("../../../../responsePayload").ZeniAPIStatus;
|
|
17
|
-
selectedPeriod: import("
|
|
17
|
+
selectedPeriod: import("../../../../commonStateTypes/timePeriod").MonthYearPeriod;
|
|
18
18
|
};
|
|
19
19
|
type: "expenseAutomationReconciliationView/reparseStatementFailure";
|
|
20
20
|
} | {
|
|
@@ -5,20 +5,20 @@ import { submitStatementUpdate, submitStatementUpdateFailure, submitStatementUpd
|
|
|
5
5
|
export type ActionType = ReturnType<typeof submitStatementUpdate> | ReturnType<typeof submitStatementUpdateSuccess> | ReturnType<typeof submitStatementUpdateFailure> | ReturnType<typeof updateParsedStatementData>;
|
|
6
6
|
export declare const updateStatementInfoEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
7
7
|
payload: {
|
|
8
|
-
accountId: import("
|
|
8
|
+
accountId: import("../../../../commonStateTypes/common").ID;
|
|
9
9
|
parsedStatementData: import("../../types/reconciliationViewState").ParsedStatementData;
|
|
10
10
|
selectedPeriod: import("../../../../commonStateTypes/timePeriod").MonthYearPeriod;
|
|
11
11
|
};
|
|
12
12
|
type: "expenseAutomationReconciliationView/updateParsedStatementData";
|
|
13
13
|
} | {
|
|
14
14
|
payload: {
|
|
15
|
-
accountId: import("
|
|
15
|
+
accountId: import("../../../../commonStateTypes/common").ID;
|
|
16
16
|
selectedPeriod: import("../../../../commonStateTypes/timePeriod").MonthYearPeriod;
|
|
17
17
|
};
|
|
18
18
|
type: "expenseAutomationReconciliationView/submitStatementUpdateSuccess";
|
|
19
19
|
} | {
|
|
20
20
|
payload: {
|
|
21
|
-
accountId: import("
|
|
21
|
+
accountId: import("../../../../commonStateTypes/common").ID;
|
|
22
22
|
error: import("../../../../responsePayload").ZeniAPIStatus;
|
|
23
23
|
selectedPeriod: import("../../../../commonStateTypes/timePeriod").MonthYearPeriod;
|
|
24
24
|
dateConflict?: import("../../types/reconciliationViewState").StatementDateConflict | null;
|
|
@@ -7,7 +7,7 @@ import { uploadAccountStatement, uploadAccountStatementSuccess } from '../../red
|
|
|
7
7
|
export type ActionType = ReturnType<typeof uploadAccountStatement> | ReturnType<typeof updateAccountReconUploadStatement> | ReturnType<typeof uploadAccountStatementSuccess> | ReturnType<typeof updateFiles>;
|
|
8
8
|
export declare const uploadAccountStatementEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<ActionType | {
|
|
9
9
|
payload: {
|
|
10
|
-
accountId: import("
|
|
10
|
+
accountId: import("../../../../commonStateTypes/common").ID;
|
|
11
11
|
error: import("../../../../responsePayload").ZeniAPIStatus;
|
|
12
12
|
selectedPeriod: import("../../../../commonStateTypes/timePeriod").MonthYearPeriod;
|
|
13
13
|
};
|
|
@@ -4,7 +4,7 @@ import { bulkUploadReceipts, bulkUploadReceiptsFailure, bulkUploadReceiptsSucces
|
|
|
4
4
|
export type ActionType = ReturnType<typeof bulkUploadReceipts> | ReturnType<typeof bulkUploadReceiptsSuccess> | ReturnType<typeof bulkUploadReceiptsFailure>;
|
|
5
5
|
export declare const bulkUploadReceiptsEpic: (actions$: ActionsObservable<ActionType>, _state$: unknown, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
6
6
|
payload: {
|
|
7
|
-
batchId: import("
|
|
7
|
+
batchId: import("../../../../commonStateTypes/common").ID;
|
|
8
8
|
};
|
|
9
9
|
type: "expenseAutomationMissingReceiptsView/bulkUploadReceiptsSuccess";
|
|
10
10
|
} | {
|
|
@@ -15,7 +15,7 @@ const fetchTransactionCategorizationViewEpic = (actions$, state$) => actions$.pi
|
|
|
15
15
|
const { selectedTab, cacheOverride, keepExistingListItems, pageToken, period, refreshViewInBackground, searchString, resetListItems, isUncategorizedExpenseCategoryEnabled, } = action.payload;
|
|
16
16
|
const updateActions = [];
|
|
17
17
|
const { expenseAutomationTransactionsViewState } = state$.value;
|
|
18
|
-
const { fetchState, transactionIdsBySelectedPeriod } = expenseAutomationTransactionsViewState.transactionCategorizationView[selectedTab];
|
|
18
|
+
const { fetchState, transactionIdsBySelectedPeriod, uiState } = expenseAutomationTransactionsViewState.transactionCategorizationView[selectedTab];
|
|
19
19
|
const monthYearPeriod = {
|
|
20
20
|
month: period.start.month,
|
|
21
21
|
year: period.start.year,
|
|
@@ -46,7 +46,8 @@ const fetchTransactionCategorizationViewEpic = (actions$, state$) => actions$.pi
|
|
|
46
46
|
if (searchString === '' ||
|
|
47
47
|
cacheOverride === true ||
|
|
48
48
|
fetchState === 'Not-Started' ||
|
|
49
|
-
transactionIds.length === 0
|
|
49
|
+
transactionIds.length === 0 ||
|
|
50
|
+
uiState.searchString !== '') {
|
|
50
51
|
updateActions.push((0, transactionsViewReducer_1.fetchTransactionCategorization)(selectedTab, period, cacheOverride, keepExistingListItems, searchString, pageToken, refreshViewInBackground, resetListItems, isUncategorizedExpenseCategoryEnabled));
|
|
51
52
|
}
|
|
52
53
|
// On the initial load of a tab (searchString undefined = non-search fetch),
|
package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare const getLineItemsByTransactionsIdsFromResponse: (transactions: S
|
|
|
39
39
|
export declare const getLineItemsByTransactionIdsFromLocalData: (transactionLocalData: TransactionReviewLocalDataSelectorView[], selectedTab: TransactionsTab) => Record<ID, string[]>;
|
|
40
40
|
export declare const mergeTabSpecificLineItems: (currentTabSpecificLineItems: TabSpecificLineItems, selectedTab: TransactionsTab, newLineItems: TabSpecificLineItems) => TabSpecificLineItems;
|
|
41
41
|
export declare const getSnackbarMessageForTransactionReview: (updatedCount: number, failedCount: number, categorizedCount: number) => {
|
|
42
|
-
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "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_approval_reorder" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "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_approval_reorder" | "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" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "bill_pay_marked_as_paid" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "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" | "save_vendor_marked_as_local_contractor" | "charge_card_setup" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "card_policy_created" | "card_policy_updated" | "card_policy_deleted" | "charge_card_update_limit" | "charge_cards_update_limit" | "close_charge_card" | "lock_charge_card" | "lock_charge_card_card_user" | "lock_charge_cards" | "unlock_charge_card" | "unlock_charge_card_card_user" | "unlock_charge_cards" | "close_charge_cards" | "revoke_invite_charge_cards" | "charge_card_express_interest" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "snooze_task" | "unsnooze_task" | "create_tag" | "delete_tag" | "update_charge_card" | "update_charge_card_name" | "update_charge_card_name_card_user" | "issue_charge_card" | "issue_charge_cards" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipt_match" | "receipts_upload" | "receipts_bulk_match" | "billing_address_view" | "express_pay_submit" | "exclude_transaction" | "reconcile" | "save_reconcile_for_later" | "recon_transaction_categorize" | "recon_transaction_match" | "update_debit_card_pin_attempt" | "set_debit_card_pin" | "ai_cfo_create_session_and_submit" | "ai_cfo_chat_session_deleted" | "charge_card_auto_pay_enable" | "charge_card_auto_pay_disable" | "treasury_setup" | "treasury_accept_term" | "treasury_transfer_money" | "treasury_transfer_money_failed" | "auto_transfer_rule_create" | "auto_transfer_rule_update" | "auto_transfer_rule_delete" | "auto_transfer_rule_pause" | "auto_transfer_rule_resume" | "treasury_update_portfolio_allocation" | "send_email_magic_link_to_user" | "complete_profile_done" | "create_transfer_entry" | "reports_resync" | "invalid_phone_number" | "transactions_categorized_updated_failed" | "transaction_categorized_updated_failed" | "transactionsCategorized_transactionsUpdated" | "transactionsCategorized_transactionUpdated" | "transactionCategorized_transactionsUpdated" | "transactionCategorized_transactionUpdated" | "transactionsCategorized_transactionsFailed" | "transactionsCategorized_transactionFailed" | "transactionCategorized_transactionsFailed" | "transactionCategorized_transactionFailed" | "transactionsUpdated_transactionsFailed" | "transactionsUpdated_transactionFailed" | "transactionUpdated_transactionsFailed" | "transactionUpdated_transactionFailed" | "transactionsCategorized_transactionsUpdated_transactionsFailed" | "transactionsCategorized_transactionsUpdated_transactionFailed" | "transactionsCategorized_transactionUpdated_transactionsFailed" | "transactionCategorized_transactionsUpdated_transactionsFailed" | "transactionsCategorized_transactionUpdated_transactionFailed" | "transactionCategorized_transactionsUpdated_transactionFailed" | "transactionCategorized_transactionUpdated_transactionsFailed" | "transactionCategorized_transactionUpdated_transactionFailed" | "accounting_classes_enabled_update" | "capitalization_threshold_update" | "account_excluded_from_reconciliation" | "account_included_in_reconciliation" | "statement_parsing_in_progress" | "statement_parsing_complete" | "ai_accountant_trigger_job" | "oauth_consent_approve" | "oauth_consent_invalid_request" | "credit_agent_update_profile" | "credit_agent_save_macro" | "credit_agent_schedule_cron" | "
|
|
42
|
+
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "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_approval_reorder" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "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_approval_reorder" | "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" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "bill_pay_marked_as_paid" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "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" | "save_vendor_marked_as_local_contractor" | "charge_card_setup" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "card_policy_created" | "card_policy_updated" | "card_policy_deleted" | "charge_card_update_limit" | "charge_cards_update_limit" | "close_charge_card" | "lock_charge_card" | "lock_charge_card_card_user" | "lock_charge_cards" | "unlock_charge_card" | "unlock_charge_card_card_user" | "unlock_charge_cards" | "close_charge_cards" | "revoke_invite_charge_cards" | "charge_card_express_interest" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "snooze_task" | "unsnooze_task" | "create_tag" | "delete_tag" | "update_charge_card" | "update_charge_card_name" | "update_charge_card_name_card_user" | "issue_charge_card" | "issue_charge_cards" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipt_match" | "receipts_upload" | "receipts_bulk_match" | "billing_address_view" | "express_pay_submit" | "exclude_transaction" | "reconcile" | "save_reconcile_for_later" | "recon_transaction_categorize" | "recon_transaction_match" | "update_debit_card_pin_attempt" | "set_debit_card_pin" | "ai_cfo_create_session_and_submit" | "ai_cfo_chat_session_deleted" | "charge_card_auto_pay_enable" | "charge_card_auto_pay_disable" | "treasury_setup" | "treasury_accept_term" | "treasury_transfer_money" | "treasury_transfer_money_failed" | "auto_transfer_rule_create" | "auto_transfer_rule_update" | "auto_transfer_rule_delete" | "auto_transfer_rule_pause" | "auto_transfer_rule_resume" | "treasury_update_portfolio_allocation" | "send_email_magic_link_to_user" | "complete_profile_done" | "create_transfer_entry" | "reports_resync" | "invalid_phone_number" | "transactions_categorized_updated_failed" | "transaction_categorized_updated_failed" | "transactionsCategorized_transactionsUpdated" | "transactionsCategorized_transactionUpdated" | "transactionCategorized_transactionsUpdated" | "transactionCategorized_transactionUpdated" | "transactionsCategorized_transactionsFailed" | "transactionsCategorized_transactionFailed" | "transactionCategorized_transactionsFailed" | "transactionCategorized_transactionFailed" | "transactionsUpdated_transactionsFailed" | "transactionsUpdated_transactionFailed" | "transactionUpdated_transactionsFailed" | "transactionUpdated_transactionFailed" | "transactionsCategorized_transactionsUpdated_transactionsFailed" | "transactionsCategorized_transactionsUpdated_transactionFailed" | "transactionsCategorized_transactionUpdated_transactionsFailed" | "transactionCategorized_transactionsUpdated_transactionsFailed" | "transactionsCategorized_transactionUpdated_transactionFailed" | "transactionCategorized_transactionsUpdated_transactionFailed" | "transactionCategorized_transactionUpdated_transactionsFailed" | "transactionCategorized_transactionUpdated_transactionFailed" | "accounting_classes_enabled_update" | "capitalization_threshold_update" | "account_excluded_from_reconciliation" | "account_included_in_reconciliation" | "statement_parsing_in_progress" | "statement_parsing_complete" | "ai_accountant_trigger_job" | "oauth_consent_approve" | "oauth_consent_invalid_request" | "credit_agent_update_profile" | "credit_agent_save_macro" | "credit_agent_schedule_cron" | "qbo_connection_already_linked" | "qbo_connection_failed";
|
|
43
43
|
messageText: "notification" | "failed" | "success";
|
|
44
44
|
type: "error" | "success" | "info";
|
|
45
45
|
variables: {
|
|
@@ -7,13 +7,13 @@ export interface ForecastListSelectorView extends SelectorView {
|
|
|
7
7
|
}
|
|
8
8
|
export declare const getForecastList: (forecastState: ForecastState, forecastListState: ForecastListState) => {
|
|
9
9
|
forecasts: Forecast[];
|
|
10
|
-
fetchState: import("
|
|
11
|
-
error: import("
|
|
10
|
+
fetchState: import("../../commonStateTypes/common").FetchState;
|
|
11
|
+
error: import("../../responsePayload").ZeniAPIStatus<Record<string, unknown>> | undefined;
|
|
12
12
|
version: number;
|
|
13
13
|
};
|
|
14
14
|
export declare const getValidForecastList: (forecastState: ForecastState, forecastListState: ForecastListState, dataAvailable: DataAvailable | undefined) => {
|
|
15
15
|
forecasts: Forecast[];
|
|
16
|
-
fetchState: import("
|
|
17
|
-
error: import("
|
|
16
|
+
fetchState: import("../../commonStateTypes/common").FetchState;
|
|
17
|
+
error: import("../../responsePayload").ZeniAPIStatus<Record<string, unknown>> | undefined;
|
|
18
18
|
version: number;
|
|
19
19
|
};
|
|
@@ -5,7 +5,7 @@ import { ZeniAPI } from '../../zeniAPI';
|
|
|
5
5
|
import { clearInsightsCard, fetchInsightsCard, updateInsightsCard, updateInsightsCardFailure } from './insightsCardReducer';
|
|
6
6
|
export type ActionType = ReturnType<typeof fetchInsightsCard> | ReturnType<typeof updateInsightsCard> | ReturnType<typeof updateInsightsCardFailure> | ReturnType<typeof clearInsightsCard> | ReturnType<typeof updateInsights>;
|
|
7
7
|
export declare const fetchInsightsCardEpic: (actions$: ActionsObservable<ActionType>, _: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<import("@reduxjs/toolkit").PayloadAction<import("../../entity/insights/insightPayload").InsightPayload[], "insights/updateInsights", {
|
|
8
|
-
updateType: import("
|
|
8
|
+
updateType: import("../../commonStateTypes/common").UpdateType;
|
|
9
9
|
}, never> | {
|
|
10
10
|
payload: import("../../responsePayload").ZeniAPIResponse<import("./insightsCardPayload").InsightsCardPayload, Record<string, unknown>>;
|
|
11
11
|
type: "insightsCard/updateInsightsCard";
|
|
@@ -5,9 +5,9 @@ import { ZeniAPI } from '../../zeniAPI';
|
|
|
5
5
|
import { ChangeZeniPersonRolesActionType as ActionType } from './helpers/updateManagersListOnRoleChange';
|
|
6
6
|
export declare const changeZeniPersonRolesEpic: (actions$: ActionsObservable<ActionType>, state: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
7
7
|
payload: {
|
|
8
|
-
messageSection: import("
|
|
9
|
-
messageText: import("
|
|
10
|
-
type: import("
|
|
8
|
+
messageSection: import("../../entity/snackbar/snackbarTypes").SnackbarMessageSections;
|
|
9
|
+
messageText: import("../../entity/snackbar/snackbarTypes").SnackbarMessageSectionTexts;
|
|
10
|
+
type: import("../../entity/snackbar/snackbarTypes").SnackbarMessageType;
|
|
11
11
|
showStatusIcon?: boolean;
|
|
12
12
|
variables?: {
|
|
13
13
|
variableName: string;
|
|
@@ -25,13 +25,13 @@ export declare const changeZeniPersonRolesEpic: (actions$: ActionsObservable<Act
|
|
|
25
25
|
type: "people/changeZeniPersonRoles";
|
|
26
26
|
} | {
|
|
27
27
|
payload: {
|
|
28
|
-
id: import("
|
|
28
|
+
id: import("../../commonStateTypes/common").ID;
|
|
29
29
|
userType: import("../userListView/userListViewState").UserListType;
|
|
30
30
|
};
|
|
31
31
|
type: "userListView/addUserId";
|
|
32
32
|
} | {
|
|
33
33
|
payload: {
|
|
34
|
-
id: import("
|
|
34
|
+
id: import("../../commonStateTypes/common").ID;
|
|
35
35
|
userType: import("../userListView/userListViewState").UserListType;
|
|
36
36
|
};
|
|
37
37
|
type: "userListView/removeUserId";
|
|
@@ -9,9 +9,9 @@ import { deletePerson, deletePersonFailure, deletePersonSuccess } from './people
|
|
|
9
9
|
export type ActionType = ReturnType<typeof deletePerson> | ReturnType<typeof removeUser> | ReturnType<typeof removeUserRole> | ReturnType<typeof removeUserId> | ReturnType<typeof deletePersonSuccess> | ReturnType<typeof openSnackbar> | ReturnType<typeof deletePersonFailure>;
|
|
10
10
|
export declare const deletePersonEpic: (actions$: ActionsObservable<ActionType>, _: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
11
11
|
payload: {
|
|
12
|
-
messageSection: import("
|
|
13
|
-
messageText: import("
|
|
14
|
-
type: import("
|
|
12
|
+
messageSection: import("../../entity/snackbar/snackbarTypes").SnackbarMessageSections;
|
|
13
|
+
messageText: import("../../entity/snackbar/snackbarTypes").SnackbarMessageSectionTexts;
|
|
14
|
+
type: import("../../entity/snackbar/snackbarTypes").SnackbarMessageType;
|
|
15
15
|
showStatusIcon?: boolean;
|
|
16
16
|
variables?: {
|
|
17
17
|
variableName: string;
|
|
@@ -21,7 +21,7 @@ export declare const deletePersonEpic: (actions$: ActionsObservable<ActionType>,
|
|
|
21
21
|
type: "snackbar/openSnackbar";
|
|
22
22
|
} | {
|
|
23
23
|
payload: {
|
|
24
|
-
id: import("
|
|
24
|
+
id: import("../../commonStateTypes/common").ID;
|
|
25
25
|
userType: import("../userListView/userListViewState").UserListType;
|
|
26
26
|
};
|
|
27
27
|
type: "userListView/removeUserId";
|
|
@@ -7,8 +7,8 @@ import { fetchPeople, updatePeopleFailure, updatePersonUserIds } from './peopleR
|
|
|
7
7
|
export type ActionType = ReturnType<typeof fetchPeople> | ReturnType<typeof updateUserRoles> | ReturnType<typeof updateAllUsers> | ReturnType<typeof updatePersonUserIds> | ReturnType<typeof updatePeopleFailure>;
|
|
8
8
|
export declare const fetchPeopleEpic: (actions$: ActionsObservable<ActionType>, state: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
9
9
|
payload: {
|
|
10
|
-
users: import("
|
|
11
|
-
updateType?: import("
|
|
10
|
+
users: import("../../entity/user/userPayload").UserPayload[];
|
|
11
|
+
updateType?: import("../../commonStateTypes/common").UpdateType;
|
|
12
12
|
};
|
|
13
13
|
type: "user/updateAllUsers";
|
|
14
14
|
} | {
|
|
@@ -5,9 +5,9 @@ import { ZeniAPI } from '../../zeniAPI';
|
|
|
5
5
|
import { InvitePeopleActionType as ActionType } from './helpers/updateManagersListOnRoleChange';
|
|
6
6
|
export declare const invitePeopleEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
7
7
|
payload: {
|
|
8
|
-
messageSection: import("
|
|
9
|
-
messageText: import("
|
|
10
|
-
type: import("
|
|
8
|
+
messageSection: import("../../entity/snackbar/snackbarTypes").SnackbarMessageSections;
|
|
9
|
+
messageText: import("../../entity/snackbar/snackbarTypes").SnackbarMessageSectionTexts;
|
|
10
|
+
type: import("../../entity/snackbar/snackbarTypes").SnackbarMessageType;
|
|
11
11
|
showStatusIcon?: boolean;
|
|
12
12
|
variables?: {
|
|
13
13
|
variableName: string;
|
|
@@ -17,8 +17,8 @@ export declare const invitePeopleEpic: (actions$: ActionsObservable<ActionType>,
|
|
|
17
17
|
type: "snackbar/openSnackbar";
|
|
18
18
|
} | {
|
|
19
19
|
payload: {
|
|
20
|
-
users: import("
|
|
21
|
-
updateType?: import("
|
|
20
|
+
users: import("../../entity/user/userPayload").UserPayload[];
|
|
21
|
+
updateType?: import("../../commonStateTypes/common").UpdateType;
|
|
22
22
|
};
|
|
23
23
|
type: "user/updateAllUsers";
|
|
24
24
|
} | {
|
|
@@ -26,13 +26,13 @@ export declare const invitePeopleEpic: (actions$: ActionsObservable<ActionType>,
|
|
|
26
26
|
type: "userRole/updateUserRoles";
|
|
27
27
|
} | {
|
|
28
28
|
payload: {
|
|
29
|
-
id: import("
|
|
29
|
+
id: import("../../commonStateTypes/common").ID;
|
|
30
30
|
userType: import("../userListView/userListViewState").UserListType;
|
|
31
31
|
};
|
|
32
32
|
type: "userListView/addUserId";
|
|
33
33
|
} | {
|
|
34
34
|
payload: {
|
|
35
|
-
id: import("
|
|
35
|
+
id: import("../../commonStateTypes/common").ID;
|
|
36
36
|
userType: import("../userListView/userListViewState").UserListType;
|
|
37
37
|
};
|
|
38
38
|
type: "userListView/removeUserId";
|