@zeniai/client-epic-state 5.1.40 → 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 -0
- package/lib/entity/tenant/epic/saveExternalConnectionEpic.js +15 -7
- package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +3 -3
- package/lib/esm/entity/snackbar/snackbarTypes.js +1 -0
- package/lib/esm/entity/tenant/epic/saveExternalConnectionEpic.js +15 -7
- 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/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.d.ts +1 -1
- 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/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/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/index.d.ts +0 -995
- package/lib/index.js +0 -2608
|
@@ -7,9 +7,9 @@ import { deleteChatSession, deleteChatSessionFailure, deleteChatSessionSuccess }
|
|
|
7
7
|
export type ActionType = ReturnType<typeof deleteChatSession> | ReturnType<typeof clearSession> | ReturnType<typeof deleteChatSessionSuccess> | ReturnType<typeof deleteChatSessionFailure> | ReturnType<typeof openSnackbar>;
|
|
8
8
|
export declare const deleteChatSessionEpic: (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;
|
|
@@ -22,12 +22,12 @@ export declare const deleteChatSessionEpic: (actions$: ActionsObservable<ActionT
|
|
|
22
22
|
type: "aiCfo/clearSession";
|
|
23
23
|
} | {
|
|
24
24
|
payload: {
|
|
25
|
-
chatSessionId: import("
|
|
25
|
+
chatSessionId: import("../../../commonStateTypes/common").ID;
|
|
26
26
|
};
|
|
27
27
|
type: "aiCfoView/deleteChatSessionSuccess";
|
|
28
28
|
} | {
|
|
29
29
|
payload: {
|
|
30
|
-
chatSessionId: import("
|
|
30
|
+
chatSessionId: import("../../../commonStateTypes/common").ID;
|
|
31
31
|
error: import("../../../responsePayload").ZeniAPIStatus;
|
|
32
32
|
};
|
|
33
33
|
type: "aiCfoView/deleteChatSessionFailure";
|
|
@@ -18,7 +18,7 @@ export interface AuditReportGroupViewSelectorView {
|
|
|
18
18
|
export declare const getAuditRuleGroupViewSelectorView: (state: RootState) => {
|
|
19
19
|
auditRuleGroups: AuditRuleGroup[];
|
|
20
20
|
fetchState: import("../../commonStateTypes/common").FetchState;
|
|
21
|
-
error: import("
|
|
21
|
+
error: import("../../responsePayload").ZeniAPIStatus<Record<string, unknown>> | undefined;
|
|
22
22
|
};
|
|
23
23
|
export declare const getAuditReportGroupViewSelectorView: (companyId: ID, state: RootState, loggedInUser?: LoggedInUser) => {
|
|
24
24
|
auditReportGroups: AuditReportGroupSelectorView[];
|
|
@@ -3,9 +3,9 @@ export declare const getBillPayCardReport: (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
|
-
fetchState: import("
|
|
7
|
-
billPayAmountByKey: Record<string, import("
|
|
8
|
-
error: import("
|
|
6
|
+
fetchState: import("../../commonStateTypes/common").FetchState;
|
|
7
|
+
billPayAmountByKey: Record<string, import("../../commonStateTypes/amount").Amount>;
|
|
8
|
+
error: import("../../responsePayload").ZeniAPIStatus<Record<string, unknown>> | undefined;
|
|
9
9
|
transactionCount: number;
|
|
10
10
|
firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
11
11
|
};
|
|
@@ -5,9 +5,9 @@ import { ZeniAPI } from '../../zeniAPI';
|
|
|
5
5
|
import { fetchCardBalance, updateCardBalance, updateCardBalanceFailure } from './cardBalanceReducer';
|
|
6
6
|
export type ActionType = ReturnType<typeof fetchCardBalance> | ReturnType<typeof updateCardBalance> | ReturnType<typeof updateCardBalanceFailure> | ReturnType<typeof updateAccounts>;
|
|
7
7
|
export declare const fetchCardBalanceEpic: (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("./cardBalancePayload").CardBalancePayload>;
|
|
13
13
|
type: "cardBalance/updateCardBalance";
|
|
@@ -3,8 +3,8 @@ export declare const getCardBalance: (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 getCardBalance: (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 getCardBalance: (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 CardBalanceReport = ReturnType<typeof getCardBalance>;
|
|
@@ -8,9 +8,9 @@ export declare const statementCloseDayEpic: (actions$: ActionsObservable<ActionT
|
|
|
8
8
|
type: "cardBalance/updateStatementCloseDayFailure";
|
|
9
9
|
} | {
|
|
10
10
|
payload: {
|
|
11
|
-
accountId: import("
|
|
12
|
-
reportId: import("
|
|
13
|
-
statementCloseDay: import("
|
|
11
|
+
accountId: import("../../commonStateTypes/common").ID;
|
|
12
|
+
reportId: import("../../commonStateTypes/viewAndReport/viewAndReport").ReportIDPlusForecastID;
|
|
13
|
+
statementCloseDay: import("../../entity/account/accountState").StatementCloseDay;
|
|
14
14
|
};
|
|
15
15
|
type: "account/updateAccountStatementCloseDay";
|
|
16
16
|
}>;
|
|
@@ -6,9 +6,9 @@ import { addCardPaymentSource, fetchPaymentSources, updateAddCardPaymentSourceSt
|
|
|
6
6
|
export type ActionType = ReturnType<typeof addCardPaymentSource> | ReturnType<typeof openSnackbar> | ReturnType<typeof updateAddCardPaymentSourceStatus> | ReturnType<typeof fetchPaymentSources>;
|
|
7
7
|
export declare const addCardPaymentSourceEpic: (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;
|
|
@@ -18,7 +18,7 @@ export declare const addCardPaymentSourceEpic: (actions$: ActionsObservable<Acti
|
|
|
18
18
|
type: "snackbar/openSnackbar";
|
|
19
19
|
} | {
|
|
20
20
|
payload: {
|
|
21
|
-
fetchState: import("
|
|
21
|
+
fetchState: import("../../../commonStateTypes/common").FetchState;
|
|
22
22
|
error?: import("../../../responsePayload").ZeniAPIStatus;
|
|
23
23
|
paymentSources?: import("../cardPaymentViewPayload").PaymentSourcesPayload;
|
|
24
24
|
};
|
|
@@ -5,9 +5,9 @@ import { SetupIntentData } from '../cardPaymentViewState';
|
|
|
5
5
|
export type ActionType = ReturnType<typeof confirmCardSetupIntent> | ReturnType<typeof openSnackbar> | ReturnType<typeof updateConfirmCardSetupIntentStatus>;
|
|
6
6
|
export declare const confirmCardSetupIntentEpic: (actions$: ActionsObservable<ActionType>) => 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,7 +17,7 @@ export declare const confirmCardSetupIntentEpic: (actions$: ActionsObservable<Ac
|
|
|
17
17
|
type: "snackbar/openSnackbar";
|
|
18
18
|
} | {
|
|
19
19
|
payload: {
|
|
20
|
-
fetchState: import("
|
|
20
|
+
fetchState: import("../../../commonStateTypes/common").FetchState;
|
|
21
21
|
error?: import("@stripe/stripe-js").StripeError;
|
|
22
22
|
setupIntentData?: SetupIntentData;
|
|
23
23
|
};
|
|
@@ -7,9 +7,9 @@ import { createCardSetupIntent, updateCardSetupIntentStatus } from '../cardPayme
|
|
|
7
7
|
export type ActionType = ReturnType<typeof createCardSetupIntent> | ReturnType<typeof updateCardSetupIntentStatus> | ReturnType<typeof openSnackbar> | ReturnType<typeof updateCardPayments>;
|
|
8
8
|
export declare const createCardSetupIntentEpic: (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;
|
|
@@ -19,8 +19,8 @@ export declare const createCardSetupIntentEpic: (actions$: ActionsObservable<Act
|
|
|
19
19
|
type: "snackbar/openSnackbar";
|
|
20
20
|
} | {
|
|
21
21
|
payload: {
|
|
22
|
-
fetchState: import("
|
|
23
|
-
clientSecret?: import("
|
|
22
|
+
fetchState: import("../../../commonStateTypes/common").FetchState;
|
|
23
|
+
clientSecret?: import("../../../commonStateTypes/common").ID;
|
|
24
24
|
error?: import("../../../responsePayload").ZeniAPIStatus;
|
|
25
25
|
};
|
|
26
26
|
type: "cardPaymentView/updateCardSetupIntentStatus";
|
|
@@ -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
|
};
|
|
@@ -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
|
} | {
|
|
@@ -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
|
} | {
|
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" | "qbo_connection_already_linked";
|
|
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
|
};
|