@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
|
@@ -3,8 +3,8 @@ export declare const getTasksCardReport: (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
|
firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
9
9
|
tasks: {
|
|
10
10
|
isUncategorizedExpenseAccountIdentified: boolean;
|
|
@@ -5,9 +5,9 @@ import { ZeniAPI } from '../../zeniAPI';
|
|
|
5
5
|
import { fetchTopEx, updateTopEx, updateTopExFailure } from './topExReducer';
|
|
6
6
|
export type ActionType = ReturnType<typeof fetchTopEx> | ReturnType<typeof updateTopEx> | ReturnType<typeof updateTopExFailure> | ReturnType<typeof updateAccounts>;
|
|
7
7
|
export declare const fetchTopExEpic: (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("./topExPayload").TopExPayload>;
|
|
13
13
|
type: "top_expenses/updateTopEx";
|
|
@@ -7,12 +7,12 @@ export declare const getTopExpenses: (accountState: AccountState, topExState: To
|
|
|
7
7
|
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";
|
|
8
8
|
reportTitle: string;
|
|
9
9
|
version: string | number | undefined;
|
|
10
|
-
status: import("
|
|
11
|
-
fetchState: import("
|
|
12
|
-
error: import("
|
|
10
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
11
|
+
fetchState: import("../../commonStateTypes/common").FetchState;
|
|
12
|
+
error: import("../../responsePayload").ZeniAPIStatus<Record<string, unknown>> | undefined;
|
|
13
13
|
topExTimePeriod: "last_month" | "last_3_months" | "last_6_months" | "last_12_months" | "last_year" | "this_week_to_date" | "last_week" | "this_month_to_date" | "this_year_to_date";
|
|
14
14
|
topExpenses: {
|
|
15
|
-
total: import("
|
|
15
|
+
total: import("../../commonStateTypes/amount").Amount | undefined;
|
|
16
16
|
startDate: import("dayjs").Dayjs | undefined;
|
|
17
17
|
endDate: import("dayjs").Dayjs | undefined;
|
|
18
18
|
timePeriod: "last_month" | "last_3_months" | "last_6_months" | "last_12_months" | "last_year" | "this_week_to_date" | "last_week" | "this_month_to_date" | "this_year_to_date";
|
|
@@ -25,13 +25,13 @@ export declare const getTopExpenses: (accountState: AccountState, topExState: To
|
|
|
25
25
|
accountSubType: string | undefined;
|
|
26
26
|
accountDescription: string;
|
|
27
27
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
28
|
-
balance: import("
|
|
28
|
+
balance: import("../../commonStateTypes/balance").Balance;
|
|
29
29
|
}[];
|
|
30
30
|
};
|
|
31
31
|
allTimePeriods: TopExTimePeriodWithMetaData[];
|
|
32
|
-
dataAvailable: import("
|
|
32
|
+
dataAvailable: import("../../commonStateTypes/timeframeTick").TimeframeTick | undefined;
|
|
33
33
|
firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
34
|
-
downloadState: import("
|
|
34
|
+
downloadState: import("../../commonStateTypes/common").FetchState;
|
|
35
35
|
};
|
|
36
36
|
export declare const getTop6Expenses: (state: RootState) => TopExReport;
|
|
37
37
|
export declare const getAllTopExpenses: (state: RootState) => TopExReport;
|
|
@@ -5,9 +5,9 @@ import { uploadMissingAttachmentSuccess } from '../transactionDetailReducer';
|
|
|
5
5
|
export type ActionType = ReturnType<typeof uploadMissingAttachmentSuccess> | ReturnType<typeof openSnackbar> | ReturnType<typeof updateTransaction>;
|
|
6
6
|
export declare const uploadMissingAttachmentSuccessEpic: (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 uploadMissingAttachmentSuccessEpic: (actions$: ActionsObser
|
|
|
17
17
|
type: "snackbar/openSnackbar";
|
|
18
18
|
} | import("@reduxjs/toolkit").PayloadAction<{
|
|
19
19
|
id: string;
|
|
20
|
-
payload: import("
|
|
20
|
+
payload: import("../../../entity/transaction/transactionState").SupportedTransactionPayload;
|
|
21
21
|
}, "transaction/updateTransaction", {
|
|
22
|
-
updateType: import("
|
|
22
|
+
updateType: import("../../../commonStateTypes/common").UpdateType;
|
|
23
23
|
}, never>>;
|
|
@@ -15,7 +15,7 @@ export declare const toLineEntity: (lineRecord: JournalEntryTransactionLine | Tr
|
|
|
15
15
|
qboId: string;
|
|
16
16
|
id: ID;
|
|
17
17
|
name: string;
|
|
18
|
-
logo?: import("
|
|
18
|
+
logo?: import("../../zeniUrl").ZeniUrl;
|
|
19
19
|
} | undefined;
|
|
20
20
|
export declare const getRecommendedCategoryClass: (isCategoryMiscategorized: boolean, isClassMiscategorized: boolean, recommendation?: RecommendationWithCOT[], account?: AccountBase, classObj?: ClassBase, uncategorizedIncomeExpense?: UncategorizedAccounts) => {
|
|
21
21
|
recommendedAccount: RecommendedAccountBase | undefined;
|
|
@@ -6,7 +6,7 @@ export interface UserRoleConfigView extends SelectorView {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const getUserRoleConfig: (userRoleConfigState: UserRoleConfigState) => {
|
|
8
8
|
companyTitles: 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: string;
|
|
12
12
|
};
|
|
@@ -6,9 +6,9 @@ import { approveOAuthConsent, approveOAuthConsentFailure, approveOAuthConsentSuc
|
|
|
6
6
|
export type ActionType = ReturnType<typeof approveOAuthConsent> | ReturnType<typeof approveOAuthConsentSuccess> | ReturnType<typeof approveOAuthConsentFailure> | ReturnType<typeof openSnackbar>;
|
|
7
7
|
export declare const approveOAuthConsentEpic: (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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.41-beta0ND",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|