@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
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CalculatedSection } from './selectorTypes';
|
|
2
|
-
export declare function pickAndMergeForecastCalculatedSection(sectionA: CalculatedSection, sectionF: CalculatedSection): import("
|
|
2
|
+
export declare function pickAndMergeForecastCalculatedSection(sectionA: CalculatedSection, sectionF: CalculatedSection): import("../coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
@@ -47,8 +47,8 @@ export declare function getAccount(accountState: AccountState, id: {
|
|
|
47
47
|
accountDescription: string;
|
|
48
48
|
last4Digits: string | undefined;
|
|
49
49
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
50
|
-
status: import("
|
|
51
|
-
balance: import("
|
|
50
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
51
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
52
52
|
statementCloseDay: import("./accountState").StatementCloseDay | undefined;
|
|
53
53
|
qboId: string | undefined;
|
|
54
54
|
coaId: string | undefined;
|
|
@@ -73,8 +73,8 @@ export declare function getAccountWithBalance(accountState: AccountState, id: {
|
|
|
73
73
|
accountDescription: string;
|
|
74
74
|
last4Digits: string | undefined;
|
|
75
75
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
76
|
-
status: import("
|
|
77
|
-
balance: import("
|
|
76
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
77
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
78
78
|
statementCloseDay: import("./accountState").StatementCloseDay | undefined;
|
|
79
79
|
qboId: string | undefined;
|
|
80
80
|
coaId: string | undefined;
|
|
@@ -117,8 +117,8 @@ export declare const getAccountsOrdered: (filter: COABalancesFilter, accountStat
|
|
|
117
117
|
accountDescription: string;
|
|
118
118
|
last4Digits: string | undefined;
|
|
119
119
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
120
|
-
status: import("
|
|
121
|
-
balance: import("
|
|
120
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
121
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
122
122
|
statementCloseDay: import("./accountState").StatementCloseDay | undefined;
|
|
123
123
|
qboId: string | undefined;
|
|
124
124
|
coaId: string | undefined;
|
|
@@ -5,22 +5,22 @@ export declare function pickAndMergeForecastAccounts(accountsA: AccountReport[],
|
|
|
5
5
|
export declare function pickAndMergeForecastNestedAccounts(nestedAccountsA: NestedAccountReport[], nestedAccountsF: NestedAccountReport[]): NestedAccountReport[];
|
|
6
6
|
export declare function cloneAndResetNestedAccount(accountReport: NestedAccountReport): NestedAccountReport;
|
|
7
7
|
export declare const cloneAccountsWithZeroBalance: (accounts: AccountReport[]) => {
|
|
8
|
-
filter: import("
|
|
9
|
-
balancesInTimeframe: import("
|
|
10
|
-
expensesInTimeframe: import("
|
|
11
|
-
incomeInTimeframe: import("
|
|
12
|
-
cogsInTimeframe: import("
|
|
13
|
-
cashPositionInTimeframe: import("
|
|
14
|
-
cashInInTimeframe: import("
|
|
15
|
-
cashOutInTimeframe: import("
|
|
16
|
-
otherIncomeInTimeframe: import("
|
|
17
|
-
otherExpensesInTimeframe: import("
|
|
18
|
-
equityInTimeframe: import("
|
|
19
|
-
assetsInTimeframe: import("
|
|
20
|
-
liabilitiesInTimeframe: import("
|
|
21
|
-
operatingActivitiesInTimeframe: import("
|
|
22
|
-
investingActivitiesInTimeframe: import("
|
|
23
|
-
financingActivitiesInTimeframe: import("
|
|
8
|
+
filter: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesFilter;
|
|
9
|
+
balancesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
10
|
+
expensesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
11
|
+
incomeInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
12
|
+
cogsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
13
|
+
cashPositionInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
14
|
+
cashInInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
15
|
+
cashOutInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
16
|
+
otherIncomeInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
17
|
+
otherExpensesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
18
|
+
equityInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
19
|
+
assetsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
20
|
+
liabilitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
21
|
+
operatingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
22
|
+
investingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
23
|
+
financingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
24
24
|
accountId: string;
|
|
25
25
|
accountName: string;
|
|
26
26
|
accountType: "cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets" | undefined;
|
|
@@ -28,8 +28,8 @@ export declare const cloneAccountsWithZeroBalance: (accounts: AccountReport[]) =
|
|
|
28
28
|
accountDescription: string;
|
|
29
29
|
last4Digits: string | undefined;
|
|
30
30
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
31
|
-
status: import("
|
|
32
|
-
balance: import("
|
|
31
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
32
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
33
33
|
statementCloseDay: import("./accountState").StatementCloseDay | undefined;
|
|
34
34
|
qboId: string | undefined;
|
|
35
35
|
coaId: string | undefined;
|
|
@@ -34,8 +34,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
34
34
|
accountDescription: string;
|
|
35
35
|
last4Digits: string | undefined;
|
|
36
36
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
37
|
-
status: import("
|
|
38
|
-
balance: import("
|
|
37
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
38
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
39
39
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
40
40
|
qboId: string | undefined;
|
|
41
41
|
coaId: string | undefined;
|
|
@@ -71,8 +71,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
71
71
|
accountDescription: string;
|
|
72
72
|
last4Digits: string | undefined;
|
|
73
73
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
74
|
-
status: import("
|
|
75
|
-
balance: import("
|
|
74
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
75
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
76
76
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
77
77
|
qboId: string | undefined;
|
|
78
78
|
coaId: string | undefined;
|
|
@@ -108,8 +108,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
108
108
|
accountDescription: string;
|
|
109
109
|
last4Digits: string | undefined;
|
|
110
110
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
111
|
-
status: import("
|
|
112
|
-
balance: import("
|
|
111
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
112
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
113
113
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
114
114
|
qboId: string | undefined;
|
|
115
115
|
coaId: string | undefined;
|
|
@@ -145,8 +145,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
145
145
|
accountDescription: string;
|
|
146
146
|
last4Digits: string | undefined;
|
|
147
147
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
148
|
-
status: import("
|
|
149
|
-
balance: import("
|
|
148
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
149
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
150
150
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
151
151
|
qboId: string | undefined;
|
|
152
152
|
coaId: string | undefined;
|
|
@@ -182,8 +182,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
182
182
|
accountDescription: string;
|
|
183
183
|
last4Digits: string | undefined;
|
|
184
184
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
185
|
-
status: import("
|
|
186
|
-
balance: import("
|
|
185
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
186
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
187
187
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
188
188
|
qboId: string | undefined;
|
|
189
189
|
coaId: string | undefined;
|
|
@@ -220,8 +220,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
220
220
|
accountDescription: string;
|
|
221
221
|
last4Digits: string | undefined;
|
|
222
222
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
223
|
-
status: import("
|
|
224
|
-
balance: import("
|
|
223
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
224
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
225
225
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
226
226
|
qboId: string | undefined;
|
|
227
227
|
coaId: string | undefined;
|
|
@@ -257,8 +257,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
257
257
|
accountDescription: string;
|
|
258
258
|
last4Digits: string | undefined;
|
|
259
259
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
260
|
-
status: import("
|
|
261
|
-
balance: import("
|
|
260
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
261
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
262
262
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
263
263
|
qboId: string | undefined;
|
|
264
264
|
coaId: string | undefined;
|
|
@@ -294,8 +294,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
294
294
|
accountDescription: string;
|
|
295
295
|
last4Digits: string | undefined;
|
|
296
296
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
297
|
-
status: import("
|
|
298
|
-
balance: import("
|
|
297
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
298
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
299
299
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
300
300
|
qboId: string | undefined;
|
|
301
301
|
coaId: string | undefined;
|
|
@@ -331,8 +331,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
331
331
|
accountDescription: string;
|
|
332
332
|
last4Digits: string | undefined;
|
|
333
333
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
334
|
-
status: import("
|
|
335
|
-
balance: import("
|
|
334
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
335
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
336
336
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
337
337
|
qboId: string | undefined;
|
|
338
338
|
coaId: string | undefined;
|
|
@@ -368,8 +368,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
368
368
|
accountDescription: string;
|
|
369
369
|
last4Digits: string | undefined;
|
|
370
370
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
371
|
-
status: import("
|
|
372
|
-
balance: import("
|
|
371
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
372
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
373
373
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
374
374
|
qboId: string | undefined;
|
|
375
375
|
coaId: string | undefined;
|
|
@@ -405,8 +405,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
405
405
|
accountDescription: string;
|
|
406
406
|
last4Digits: string | undefined;
|
|
407
407
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
408
|
-
status: import("
|
|
409
|
-
balance: import("
|
|
408
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
409
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
410
410
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
411
411
|
qboId: string | undefined;
|
|
412
412
|
coaId: string | undefined;
|
|
@@ -449,8 +449,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
449
449
|
accountDescription: string;
|
|
450
450
|
last4Digits: string | undefined;
|
|
451
451
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
452
|
-
status: import("
|
|
453
|
-
balance: import("
|
|
452
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
453
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
454
454
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
455
455
|
qboId: string | undefined;
|
|
456
456
|
coaId: string | undefined;
|
|
@@ -486,8 +486,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
486
486
|
accountDescription: string;
|
|
487
487
|
last4Digits: string | undefined;
|
|
488
488
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
489
|
-
status: import("
|
|
490
|
-
balance: import("
|
|
489
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
490
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
491
491
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
492
492
|
qboId: string | undefined;
|
|
493
493
|
coaId: string | undefined;
|
|
@@ -523,8 +523,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
523
523
|
accountDescription: string;
|
|
524
524
|
last4Digits: string | undefined;
|
|
525
525
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
526
|
-
status: import("
|
|
527
|
-
balance: import("
|
|
526
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
527
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
528
528
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
529
529
|
qboId: string | undefined;
|
|
530
530
|
coaId: string | undefined;
|
|
@@ -560,8 +560,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
560
560
|
accountDescription: string;
|
|
561
561
|
last4Digits: string | undefined;
|
|
562
562
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
563
|
-
status: import("
|
|
564
|
-
balance: import("
|
|
563
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
564
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
565
565
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
566
566
|
qboId: string | undefined;
|
|
567
567
|
coaId: string | undefined;
|
|
@@ -597,8 +597,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
597
597
|
accountDescription: string;
|
|
598
598
|
last4Digits: string | undefined;
|
|
599
599
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
600
|
-
status: import("
|
|
601
|
-
balance: import("
|
|
600
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
601
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
602
602
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
603
603
|
qboId: string | undefined;
|
|
604
604
|
coaId: string | undefined;
|
|
@@ -635,8 +635,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
635
635
|
accountDescription: string;
|
|
636
636
|
last4Digits: string | undefined;
|
|
637
637
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
638
|
-
status: import("
|
|
639
|
-
balance: import("
|
|
638
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
639
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
640
640
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
641
641
|
qboId: string | undefined;
|
|
642
642
|
coaId: string | undefined;
|
|
@@ -672,8 +672,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
672
672
|
accountDescription: string;
|
|
673
673
|
last4Digits: string | undefined;
|
|
674
674
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
675
|
-
status: import("
|
|
676
|
-
balance: import("
|
|
675
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
676
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
677
677
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
678
678
|
qboId: string | undefined;
|
|
679
679
|
coaId: string | undefined;
|
|
@@ -709,8 +709,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
709
709
|
accountDescription: string;
|
|
710
710
|
last4Digits: string | undefined;
|
|
711
711
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
712
|
-
status: import("
|
|
713
|
-
balance: import("
|
|
712
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
713
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
714
714
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
715
715
|
qboId: string | undefined;
|
|
716
716
|
coaId: string | undefined;
|
|
@@ -746,8 +746,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
746
746
|
accountDescription: string;
|
|
747
747
|
last4Digits: string | undefined;
|
|
748
748
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
749
|
-
status: import("
|
|
750
|
-
balance: import("
|
|
749
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
750
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
751
751
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
752
752
|
qboId: string | undefined;
|
|
753
753
|
coaId: string | undefined;
|
|
@@ -783,8 +783,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
783
783
|
accountDescription: string;
|
|
784
784
|
last4Digits: string | undefined;
|
|
785
785
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
786
|
-
status: import("
|
|
787
|
-
balance: import("
|
|
786
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
787
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
788
788
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
789
789
|
qboId: string | undefined;
|
|
790
790
|
coaId: string | undefined;
|
|
@@ -820,8 +820,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
820
820
|
accountDescription: string;
|
|
821
821
|
last4Digits: string | undefined;
|
|
822
822
|
logo: import("url-parse")<Record<string, string | undefined>> | import("url-parse")<string> | undefined;
|
|
823
|
-
status: import("
|
|
824
|
-
balance: import("
|
|
823
|
+
status: import("../../commonStateTypes/status").Status | undefined;
|
|
824
|
+
balance: import("../../commonStateTypes/balance").Balance | undefined;
|
|
825
825
|
statementCloseDay: import("../account/accountState").StatementCloseDay | undefined;
|
|
826
826
|
qboId: string | undefined;
|
|
827
827
|
coaId: string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const toSnackbarMessageSection: (v: string) => "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" | "
|
|
1
|
+
export declare const toSnackbarMessageSection: (v: string) => "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";
|
|
2
2
|
export type SnackbarMessageSections = ReturnType<typeof toSnackbarMessageSection>;
|
|
3
3
|
export declare const toSnackbarMessageSectionTexts: (v: string) => "notification" | "failed" | "success";
|
|
4
4
|
export type SnackbarMessageSectionTexts = ReturnType<typeof toSnackbarMessageSectionTexts>;
|
|
@@ -224,8 +224,8 @@ const ALL_SNACKBAR_MESSAGE_SECTIONS = [
|
|
|
224
224
|
'credit_agent_update_profile',
|
|
225
225
|
'credit_agent_save_macro',
|
|
226
226
|
'credit_agent_schedule_cron',
|
|
227
|
-
'create_sub_task',
|
|
228
227
|
'qbo_connection_already_linked',
|
|
228
|
+
'qbo_connection_failed',
|
|
229
229
|
];
|
|
230
230
|
const toSnackbarMessageSection = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_SNACKBAR_MESSAGE_SECTIONS);
|
|
231
231
|
exports.toSnackbarMessageSection = toSnackbarMessageSection;
|
|
@@ -27,12 +27,11 @@ export interface TaskPayload {
|
|
|
27
27
|
recurring_days_of_week?: string[] | null;
|
|
28
28
|
recurring_source_task_id?: string | null;
|
|
29
29
|
snoozed_until?: string | null;
|
|
30
|
-
subtasks?: string[] | null;
|
|
31
30
|
sync_token?: string | null;
|
|
32
31
|
task_group_ids?: string[] | null;
|
|
33
32
|
time_spent?: number;
|
|
34
33
|
}
|
|
35
|
-
export declare const mapTaskPayloadToTask: (payload: TaskPayload
|
|
34
|
+
export declare const mapTaskPayloadToTask: (payload: TaskPayload) => Task;
|
|
36
35
|
export interface TagIdWithNamePayload {
|
|
37
36
|
name: string;
|
|
38
37
|
tag_id: string;
|
|
@@ -5,7 +5,7 @@ const formatMinutesToFromHHMM_1 = require("../../commonStateTypes/fiscalYearHelp
|
|
|
5
5
|
const recurringViewHelper_1 = require("../../view/common/recurringViewHelper");
|
|
6
6
|
const zeniDayJS_1 = require("../../zeniDayJS");
|
|
7
7
|
const taskState_1 = require("./taskState");
|
|
8
|
-
const mapTaskPayloadToTask = (payload
|
|
8
|
+
const mapTaskPayloadToTask = (payload) => ({
|
|
9
9
|
id: payload.task_id,
|
|
10
10
|
assignees: payload.assignees,
|
|
11
11
|
createdBy: payload.created_by,
|
|
@@ -55,12 +55,5 @@ const mapTaskPayloadToTask = (payload, previousTask) => ({
|
|
|
55
55
|
? (0, formatMinutesToFromHHMM_1.convertMinutesToHHMM)(payload.time_spent)
|
|
56
56
|
: (0, formatMinutesToFromHHMM_1.convertMinutesToHHMM)(0),
|
|
57
57
|
groupAssignees: payload.group_assignees ?? [],
|
|
58
|
-
// `subtasks` may be absent on partial updates (e.g. pusher-driven task
|
|
59
|
-
// refreshes that don't include the children list). Falling back to `[]`
|
|
60
|
-
// there would clobber a parent's known children to empty — preserve the
|
|
61
|
-
// previously-known list instead. Explicit `[]` from the BE still wins.
|
|
62
|
-
subTasksIds: payload.subtasks !== undefined
|
|
63
|
-
? (payload.subtasks ?? [])
|
|
64
|
-
: (previousTask?.subTasksIds ?? []),
|
|
65
58
|
});
|
|
66
59
|
exports.mapTaskPayloadToTask = mapTaskPayloadToTask;
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import { ID } from '../../commonStateTypes/common';
|
|
2
1
|
import { TaskPayload } from './taskPayload';
|
|
3
2
|
import { TaskState } from './taskState';
|
|
4
3
|
export declare const initialState: TaskState;
|
|
5
|
-
export declare const updateTasks: import("@reduxjs/toolkit").ActionCreatorWithPayload<TaskPayload[], "task/updateTasks">, updateTask: import("@reduxjs/toolkit").ActionCreatorWithPayload<TaskPayload, "task/updateTask">, removeTask: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "task/removeTask">,
|
|
6
|
-
parentTaskId: ID;
|
|
7
|
-
subTaskId: ID;
|
|
8
|
-
}, "task/appendSubTaskId">, setSubTaskIds: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
9
|
-
parentTaskId: ID;
|
|
10
|
-
subTaskIds: ID[];
|
|
11
|
-
}, "task/setSubTaskIds">, clearAllTasks: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"task/clearAllTasks">;
|
|
4
|
+
export declare const updateTasks: import("@reduxjs/toolkit").ActionCreatorWithPayload<TaskPayload[], "task/updateTasks">, updateTask: import("@reduxjs/toolkit").ActionCreatorWithPayload<TaskPayload, "task/updateTask">, removeTask: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "task/removeTask">, clearAllTasks: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"task/clearAllTasks">;
|
|
12
5
|
declare const _default: import("redux").Reducer<TaskState>;
|
|
13
6
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.clearAllTasks = exports.
|
|
4
|
+
exports.clearAllTasks = exports.removeTask = exports.updateTask = exports.updateTasks = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
6
|
const taskPayload_1 = require("./taskPayload");
|
|
7
7
|
exports.initialState = {
|
|
@@ -13,46 +13,21 @@ const task = (0, toolkit_1.createSlice)({
|
|
|
13
13
|
reducers: {
|
|
14
14
|
updateTasks(draft, action) {
|
|
15
15
|
action.payload.forEach((taskPayload) => {
|
|
16
|
-
const
|
|
17
|
-
const latestTask = (0, taskPayload_1.mapTaskPayloadToTask)(taskPayload, previousTask);
|
|
16
|
+
const latestTask = (0, taskPayload_1.mapTaskPayloadToTask)(taskPayload);
|
|
18
17
|
draft.taskByID[latestTask.id] = latestTask;
|
|
19
18
|
});
|
|
20
19
|
},
|
|
21
20
|
updateTask(draft, action) {
|
|
22
|
-
const
|
|
23
|
-
const latestTask = (0, taskPayload_1.mapTaskPayloadToTask)(action.payload, previousTask);
|
|
21
|
+
const latestTask = (0, taskPayload_1.mapTaskPayloadToTask)(action.payload);
|
|
24
22
|
draft.taskByID[latestTask.id] = latestTask;
|
|
25
23
|
},
|
|
26
24
|
removeTask(draft, action) {
|
|
27
25
|
delete draft.taskByID[action.payload];
|
|
28
26
|
},
|
|
29
|
-
appendSubTaskId(draft, action) {
|
|
30
|
-
const parentTask = draft.taskByID[action.payload.parentTaskId];
|
|
31
|
-
if (parentTask != null) {
|
|
32
|
-
// Dedupe: createSubTaskEpic dispatches `updateTasks` before
|
|
33
|
-
// `appendSubTaskId`. If the create response includes the parent's
|
|
34
|
-
// `subtasks`, `updateTasks` has already mirrored the new child
|
|
35
|
-
// into `subTasksIds`, so a naive push here would double-add.
|
|
36
|
-
if (!parentTask.subTasksIds.includes(action.payload.subTaskId)) {
|
|
37
|
-
parentTask.subTasksIds.push(action.payload.subTaskId);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
// Replace a parent's children list outright. Used after a subtask
|
|
42
|
-
// fetch (`fetchSubTasksEpic`) where the response is the authoritative
|
|
43
|
-
// children set — the parent's entity record should track it directly
|
|
44
|
-
// so consumers reading from the entity store don't drift from
|
|
45
|
-
// the fetched bucket.
|
|
46
|
-
setSubTaskIds(draft, action) {
|
|
47
|
-
const parentTask = draft.taskByID[action.payload.parentTaskId];
|
|
48
|
-
if (parentTask != null) {
|
|
49
|
-
parentTask.subTasksIds = action.payload.subTaskIds;
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
27
|
clearAllTasks(draft) {
|
|
53
28
|
draft.taskByID = {};
|
|
54
29
|
},
|
|
55
30
|
},
|
|
56
31
|
});
|
|
57
|
-
_a = task.actions, exports.updateTasks = _a.updateTasks, exports.updateTask = _a.updateTask, exports.removeTask = _a.removeTask, exports.
|
|
32
|
+
_a = task.actions, exports.updateTasks = _a.updateTasks, exports.updateTask = _a.updateTask, exports.removeTask = _a.removeTask, exports.clearAllTasks = _a.clearAllTasks;
|
|
58
33
|
exports.default = task.reducer;
|
|
@@ -11,10 +11,9 @@ const responsePayload_1 = require("../../../responsePayload");
|
|
|
11
11
|
const companyReducer_1 = require("../../company/companyReducer");
|
|
12
12
|
const snackbarReducer_1 = require("../../snackbar/snackbarReducer");
|
|
13
13
|
const tenantReducer_1 = require("../tenantReducer");
|
|
14
|
-
// Backend returns 409
|
|
15
|
-
//
|
|
16
|
-
//
|
|
17
|
-
// the generic save-connection failure UI.
|
|
14
|
+
// Backend returns 409 when the QBO realm is already linked to another active
|
|
15
|
+
// tenant. That case gets specific rejection copy; every other connect failure
|
|
16
|
+
// falls back to the generic connect-failure snackbar.
|
|
18
17
|
const QBO_REALM_ALREADY_LINKED_STATUS = 409;
|
|
19
18
|
const saveExternalConnectionEpic = (actions$, _, zeniAPI) => actions$.pipe((0, operators_1.filter)(tenantReducer_1.saveExternalConnection.match), (0, operators_1.switchMap)((action) => zeniAPI
|
|
20
19
|
.putAndGetJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/connections/${action.payload.connectionMeta.connection_id}`, {
|
|
@@ -43,13 +42,17 @@ const saveExternalConnectionEpic = (actions$, _, zeniAPI) => actions$.pipe((0, o
|
|
|
43
42
|
}
|
|
44
43
|
else {
|
|
45
44
|
actions.push((0, tenantReducer_1.saveExternalConnectionFailure)(action.payload.tenantId, response.status));
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
actions.push((0, snackbarReducer_1.openSnackbar)(response.status?.code === QBO_REALM_ALREADY_LINKED_STATUS
|
|
46
|
+
? {
|
|
48
47
|
messageSection: 'qbo_connection_already_linked',
|
|
49
48
|
messageText: 'failed',
|
|
50
49
|
type: 'error',
|
|
50
|
+
}
|
|
51
|
+
: {
|
|
52
|
+
messageSection: 'qbo_connection_failed',
|
|
53
|
+
messageText: 'failed',
|
|
54
|
+
type: 'error',
|
|
51
55
|
}));
|
|
52
|
-
}
|
|
53
56
|
if (action.payload.companyId != null &&
|
|
54
57
|
action.payload.userId != null) {
|
|
55
58
|
actions.push((0, companyReducer_1.updateQBOConnectionStatusForCompany)({
|
|
@@ -65,6 +68,11 @@ const saveExternalConnectionEpic = (actions$, _, zeniAPI) => actions$.pipe((0, o
|
|
|
65
68
|
const actions = [];
|
|
66
69
|
actions.push((0, tenantReducer_1.saveExternalConnectionFailure)(action.payload.tenantId, (0, responsePayload_1.createZeniAPIStatus)('Unexpected error', 'Save Connection REST API call errored out' +
|
|
67
70
|
JSON.stringify(error))));
|
|
71
|
+
actions.push((0, snackbarReducer_1.openSnackbar)({
|
|
72
|
+
messageSection: 'qbo_connection_failed',
|
|
73
|
+
messageText: 'failed',
|
|
74
|
+
type: 'error',
|
|
75
|
+
}));
|
|
68
76
|
if (action.payload.companyId != null &&
|
|
69
77
|
action.payload.userId != null) {
|
|
70
78
|
actions.push((0, companyReducer_1.updateQBOConnectionStatusForCompany)({
|
|
@@ -5,9 +5,9 @@ import { pushToastNotification } from '../toastNotificationReducer';
|
|
|
5
5
|
export type ActionType = ReturnType<typeof pushToastNotification> | ReturnType<typeof openSnackbar>;
|
|
6
6
|
export declare const pushToastNotificationEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => import("rxjs").Observable<{
|
|
7
7
|
payload: {
|
|
8
|
-
messageSection: import("
|
|
9
|
-
messageText: import("
|
|
10
|
-
type: import("
|
|
8
|
+
messageSection: import("../../snackbar/snackbarTypes").SnackbarMessageSections;
|
|
9
|
+
messageText: import("../../snackbar/snackbarTypes").SnackbarMessageSectionTexts;
|
|
10
|
+
type: import("../../snackbar/snackbarTypes").SnackbarMessageType;
|
|
11
11
|
showStatusIcon?: boolean;
|
|
12
12
|
variables?: {
|
|
13
13
|
variableName: string;
|