@zeniai/client-epic-state 4.11.46 → 4.11.48
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/entity/chargeCardTransaction/chargeCardTransaction.d.ts +1 -1
- package/lib/entity/company/companyPayload.d.ts +0 -12
- package/lib/entity/company/companyPayload.js +0 -21
- package/lib/entity/company/companyReducer.d.ts +0 -7
- package/lib/entity/company/companyReducer.js +2 -22
- package/lib/entity/company/companyStateTypes.d.ts +0 -12
- package/lib/entity/depositAccountTransaction/depositAccountTransaction.d.ts +1 -1
- package/lib/entity/paymentAccount/paymentAccountPayload.d.ts +0 -2
- package/lib/entity/paymentAccount/paymentAccountPayload.js +0 -2
- package/lib/entity/paymentAccount/paymentAccountState.d.ts +0 -2
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
- package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.d.ts +1 -1
- package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.d.ts +1 -1
- package/lib/view/cardPayment/epic/createCardSetupIntentEpic.d.ts +1 -1
- package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.d.ts +1 -1
- package/lib/view/companyView/types/cockpitTypes.d.ts +2 -2
- package/lib/view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic.js +0 -2
- package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
- package/lib/view/people/deletePersonEpic.d.ts +1 -1
- package/lib/view/people/invitePeopleEpic.d.ts +1 -1
- package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
- package/lib/view/people/resendInviteEpic.d.ts +1 -1
- package/lib/view/referralView/referralState.d.ts +1 -1
- package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
- package/lib/view/settingsView/settingsViewHelpers.js +12 -6
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +3 -2
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewSelector.js +1 -1
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.d.ts +1 -4
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.js +4 -16
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +3 -2
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.js +1 -1
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.d.ts +1 -4
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.js +4 -16
- package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +0 -4
- package/lib/view/spendManagement/commonSetup/setupViewSelector.js +32 -42
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/getPaymentAccountsEpic.js +2 -1
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updateMappedCashAccountEpic.js +5 -4
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountEpic.js +2 -1
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountStatusEpic.js +2 -1
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePrimaryFundingAccountEpic.js +12 -34
- package/lib/view/spendManagement/plaidAccount/epic/plaidConnection/establishPlaidConnectionEpic.d.ts +1 -2
- package/lib/view/spendManagement/plaidAccount/epic/plaidConnection/establishPlaidConnectionEpic.js +16 -52
- package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.d.ts +29 -22
- package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +78 -49
- package/lib/view/spendManagement/plaidAccount/plaidAccountViewState.d.ts +8 -2
- package/lib/view/spendManagement/plaidAccount/plaidAccountViewState.js +3 -5
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/fetchRemiSetupViewEpic.js +19 -6
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.js +2 -2
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.d.ts +1 -4
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.js +9 -20
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector.js +1 -1
- package/lib/view/tagView/epics/createTagEpic.d.ts +6 -6
- package/lib/view/tagView/epics/deleteTagEpic.d.ts +6 -6
- package/package.json +1 -1
|
@@ -32,5 +32,5 @@ export interface ChargeCardTransactionState {
|
|
|
32
32
|
export declare const toCardTransactionTypeCode: (v: string) => "purchase";
|
|
33
33
|
export declare const toCardTransactionTypeCodeStrict: (v?: string | undefined) => "purchase" | undefined;
|
|
34
34
|
export declare type ChargeCardTransactionTypeCode = ReturnType<typeof toCardTransactionTypeCode>;
|
|
35
|
-
export declare const toCardTransactionStatusCode: (v: string) => "canceled" | "paid" | "
|
|
35
|
+
export declare const toCardTransactionStatusCode: (v: string) => "canceled" | "paid" | "authorized" | "declined";
|
|
36
36
|
export declare type ChargeCardTransactionStatusCode = ReturnType<typeof toCardTransactionStatusCode>;
|
|
@@ -100,10 +100,6 @@ export interface CompanyBillPayInfoDataPayload {
|
|
|
100
100
|
name: string | null;
|
|
101
101
|
};
|
|
102
102
|
schedule_pay_now_cutoff_time_by_payment_method: BillPayNowCutOffByMethodPayload;
|
|
103
|
-
primary_funding_account: {
|
|
104
|
-
account_id: string | null;
|
|
105
|
-
account_type: string | null;
|
|
106
|
-
};
|
|
107
103
|
}
|
|
108
104
|
export interface UserReimbursementInfoDataPayload {
|
|
109
105
|
reimbursement_tos_acceptance_user_agent: string | null;
|
|
@@ -126,10 +122,6 @@ export interface CompanyZeniAccountInfoDataPayload {
|
|
|
126
122
|
deposit_accounts_tos_acceptance_ip: string | null;
|
|
127
123
|
is_deposit_accounts_enabled: boolean;
|
|
128
124
|
deposit_accounts_tos_acceptance_user_id: string | null;
|
|
129
|
-
primary_funding_account: {
|
|
130
|
-
account_id: string | null;
|
|
131
|
-
account_type: string | null;
|
|
132
|
-
};
|
|
133
125
|
}
|
|
134
126
|
export interface CompanyChargeCardInfoDataPayload {
|
|
135
127
|
charge_cards_tos_acceptance_time: string | null;
|
|
@@ -138,10 +130,6 @@ export interface CompanyChargeCardInfoDataPayload {
|
|
|
138
130
|
charge_cards_tos_acceptance_ip: string | null;
|
|
139
131
|
is_charge_cards_tos_accepted: boolean;
|
|
140
132
|
is_charge_cards_enabled: boolean;
|
|
141
|
-
primary_funding_account: {
|
|
142
|
-
account_id: string | null;
|
|
143
|
-
account_type: string | null;
|
|
144
|
-
};
|
|
145
133
|
}
|
|
146
134
|
export interface CompanyBillPayInfoPayload {
|
|
147
135
|
bill_pay_info: CompanyBillPayInfoDataPayload;
|
|
@@ -148,13 +148,6 @@ const toCompanyBillPayInfo = (payload) => {
|
|
|
148
148
|
billPaymentAccountSetupStatus: (0, exports.toAllowedValueWithCode)(payload.bill_payment_account_setup_status),
|
|
149
149
|
billPaymentMethodType: (0, exports.toAllowedValueWithCode)(payload.bill_payment_method_type),
|
|
150
150
|
payNowCutOffTimeByMethod: (0, exports.toPayNowCutOffByMethod)(payload.schedule_pay_now_cutoff_time_by_payment_method),
|
|
151
|
-
primaryFundingAccount: payload.primary_funding_account.account_id != null &&
|
|
152
|
-
payload.primary_funding_account.account_type != null
|
|
153
|
-
? {
|
|
154
|
-
accountId: payload.primary_funding_account.account_id,
|
|
155
|
-
accountType: (0, billPayConfigPayload_1.getAccountTypeSubConfigCodeKey)((0, billPayConfigState_1.toAccType)(payload.primary_funding_account.account_type)),
|
|
156
|
-
}
|
|
157
|
-
: undefined,
|
|
158
151
|
});
|
|
159
152
|
};
|
|
160
153
|
exports.toCompanyBillPayInfo = toCompanyBillPayInfo;
|
|
@@ -190,13 +183,6 @@ const toCompanyZeniAccountInfo = (payload) => {
|
|
|
190
183
|
zeniAccountTOSAcceptanceIp: (_c = payload === null || payload === void 0 ? void 0 : payload.deposit_accounts_tos_acceptance_ip) !== null && _c !== void 0 ? _c : undefined,
|
|
191
184
|
isZeniAccountTOSAccepted: (_d = payload === null || payload === void 0 ? void 0 : payload.is_deposit_accounts_tos_accepted) !== null && _d !== void 0 ? _d : false,
|
|
192
185
|
isZeniAccountEnabled: (_e = payload === null || payload === void 0 ? void 0 : payload.is_deposit_accounts_enabled) !== null && _e !== void 0 ? _e : false,
|
|
193
|
-
primaryFundingAccount: payload.primary_funding_account.account_id != null &&
|
|
194
|
-
payload.primary_funding_account.account_type != null
|
|
195
|
-
? {
|
|
196
|
-
accountId: payload.primary_funding_account.account_id,
|
|
197
|
-
accountType: (0, billPayConfigPayload_1.getAccountTypeSubConfigCodeKey)((0, billPayConfigState_1.toAccType)(payload.primary_funding_account.account_type)),
|
|
198
|
-
}
|
|
199
|
-
: undefined,
|
|
200
186
|
});
|
|
201
187
|
};
|
|
202
188
|
exports.toCompanyZeniAccountInfo = toCompanyZeniAccountInfo;
|
|
@@ -211,13 +197,6 @@ const toCompanyChargeCardInfo = (payload) => {
|
|
|
211
197
|
chargeCardTOSAcceptanceIp: (_c = payload.charge_cards_tos_acceptance_ip) !== null && _c !== void 0 ? _c : undefined,
|
|
212
198
|
isChargeCardTOSAccepted: (_d = payload.is_charge_cards_tos_accepted) !== null && _d !== void 0 ? _d : false,
|
|
213
199
|
isChargeCardEnabled: (_e = payload.is_charge_cards_enabled) !== null && _e !== void 0 ? _e : false,
|
|
214
|
-
primaryFundingAccount: payload.primary_funding_account.account_id != null &&
|
|
215
|
-
payload.primary_funding_account.account_type != null
|
|
216
|
-
? {
|
|
217
|
-
accountId: payload.primary_funding_account.account_id,
|
|
218
|
-
accountType: (0, billPayConfigPayload_1.getAccountTypeSubConfigCodeKey)((0, billPayConfigState_1.toAccType)(payload.primary_funding_account.account_type)),
|
|
219
|
-
}
|
|
220
|
-
: undefined,
|
|
221
200
|
});
|
|
222
201
|
};
|
|
223
202
|
exports.toCompanyChargeCardInfo = toCompanyChargeCardInfo;
|
|
@@ -2,8 +2,6 @@ import { ID } from '../../commonStateTypes/common';
|
|
|
2
2
|
import { CompanyPayload, CompanySchemaPayload, OnboardingInfoPayload } from './companyPayload';
|
|
3
3
|
import { CompanyState } from './companyState';
|
|
4
4
|
import { OnboardingInviteStatusPayload } from '../../view/onboardingView/cockpitView/onboardingCockpitViewPayload';
|
|
5
|
-
import { SpendManagementEntityType } from '../..';
|
|
6
|
-
import { AccountTypeSubConfigCodeKeyType } from '../../view/spendManagement/billPay/billPayConfig/billPayConfigState';
|
|
7
5
|
export declare const initialState: CompanyState;
|
|
8
6
|
export declare const updateCompanies: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
9
7
|
payload: CompanyPayload[];
|
|
@@ -34,11 +32,6 @@ export declare const updateCompanies: import("@reduxjs/toolkit").ActionCreatorWi
|
|
|
34
32
|
}, string>, updateOnboardingInfoOnRetryBankAccountConnectionSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
35
33
|
companyId: ID;
|
|
36
34
|
onboardingInfo?: OnboardingInfoPayload | undefined;
|
|
37
|
-
}, string>, updateCompanyPrimaryAccount: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
38
|
-
companyId: ID;
|
|
39
|
-
primaryFundingAccountId: ID;
|
|
40
|
-
accountType: AccountTypeSubConfigCodeKeyType;
|
|
41
|
-
productType: SpendManagementEntityType;
|
|
42
35
|
}, string>;
|
|
43
36
|
declare const _default: import("@reduxjs/toolkit").Reducer<CompanyState, import("@reduxjs/toolkit").AnyAction>;
|
|
44
37
|
export default _default;
|
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
var _a;
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
7
|
+
exports.updateOnboardingInfoOnRetryBankAccountConnectionSuccess = exports.updateQBOConnectionStatusForCompany = exports.toggleCompanyMonthEndReportDraftFlag = exports.removeOnboardingCompletedCompany = exports.removeOnboardingCompany = exports.updateOnboardingCompletedCompanies = exports.updateOnboardingCompanies = exports.clearAllCompanies = exports.removeCompany = exports.updateCompanyMonthEndReportSentDate = exports.updateCompanies = exports.initialState = void 0;
|
|
8
8
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
9
|
const isEqual_1 = __importDefault(require("lodash/isEqual"));
|
|
10
10
|
const isEmpty_1 = __importDefault(require("lodash/isEmpty"));
|
|
@@ -160,26 +160,6 @@ const company = (0, toolkit_1.createSlice)({
|
|
|
160
160
|
const { companyId, onboardingInfo } = action.payload;
|
|
161
161
|
draft.onboardingCompaniesById[companyId].companyOnboardingInfo.onboardingInfo = (0, companyPayload_1.toOnboardingInfo)(onboardingInfo);
|
|
162
162
|
},
|
|
163
|
-
updateCompanyPrimaryAccount(draft, action) {
|
|
164
|
-
const { companyId, primaryFundingAccountId, accountType, productType } = action.payload;
|
|
165
|
-
const companyProductInfo = (() => {
|
|
166
|
-
switch (productType) {
|
|
167
|
-
case 'bill_pay':
|
|
168
|
-
return 'companyBillPayInfo';
|
|
169
|
-
case 'reimbursement':
|
|
170
|
-
return 'companyReimbursementInfo';
|
|
171
|
-
case 'charge_cards':
|
|
172
|
-
return 'companyChargeCardInfo';
|
|
173
|
-
default:
|
|
174
|
-
return 'companyZeniAccountInfo';
|
|
175
|
-
}
|
|
176
|
-
})();
|
|
177
|
-
draft.companiesById[companyId][companyProductInfo].primaryFundingAccount =
|
|
178
|
-
{
|
|
179
|
-
accountId: primaryFundingAccountId,
|
|
180
|
-
accountType: accountType,
|
|
181
|
-
};
|
|
182
|
-
},
|
|
183
163
|
clearAllCompanies: {
|
|
184
164
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
185
165
|
prepare(keepCompanyState) {
|
|
@@ -193,5 +173,5 @@ const company = (0, toolkit_1.createSlice)({
|
|
|
193
173
|
},
|
|
194
174
|
},
|
|
195
175
|
});
|
|
196
|
-
_a = company.actions, exports.updateCompanies = _a.updateCompanies, exports.updateCompanyMonthEndReportSentDate = _a.updateCompanyMonthEndReportSentDate, exports.removeCompany = _a.removeCompany, exports.clearAllCompanies = _a.clearAllCompanies, exports.updateOnboardingCompanies = _a.updateOnboardingCompanies, exports.updateOnboardingCompletedCompanies = _a.updateOnboardingCompletedCompanies, exports.removeOnboardingCompany = _a.removeOnboardingCompany, exports.removeOnboardingCompletedCompany = _a.removeOnboardingCompletedCompany, exports.toggleCompanyMonthEndReportDraftFlag = _a.toggleCompanyMonthEndReportDraftFlag, exports.updateQBOConnectionStatusForCompany = _a.updateQBOConnectionStatusForCompany, exports.updateOnboardingInfoOnRetryBankAccountConnectionSuccess = _a.updateOnboardingInfoOnRetryBankAccountConnectionSuccess
|
|
176
|
+
_a = company.actions, exports.updateCompanies = _a.updateCompanies, exports.updateCompanyMonthEndReportSentDate = _a.updateCompanyMonthEndReportSentDate, exports.removeCompany = _a.removeCompany, exports.clearAllCompanies = _a.clearAllCompanies, exports.updateOnboardingCompanies = _a.updateOnboardingCompanies, exports.updateOnboardingCompletedCompanies = _a.updateOnboardingCompletedCompanies, exports.removeOnboardingCompany = _a.removeOnboardingCompany, exports.removeOnboardingCompletedCompany = _a.removeOnboardingCompletedCompany, exports.toggleCompanyMonthEndReportDraftFlag = _a.toggleCompanyMonthEndReportDraftFlag, exports.updateQBOConnectionStatusForCompany = _a.updateQBOConnectionStatusForCompany, exports.updateOnboardingInfoOnRetryBankAccountConnectionSuccess = _a.updateOnboardingInfoOnRetryBankAccountConnectionSuccess;
|
|
197
177
|
exports.default = company.reducer;
|
|
@@ -169,10 +169,6 @@ export interface CompanyBillPayInfo {
|
|
|
169
169
|
billPaymentAccountSetupStatus?: AllowedValueWithCode;
|
|
170
170
|
billPaymentMethodType?: AllowedValueWithCode;
|
|
171
171
|
payNowCutOffTimeByMethod: BillPayNowCutOffByMethod;
|
|
172
|
-
primaryFundingAccount?: {
|
|
173
|
-
accountId: ID;
|
|
174
|
-
accountType: AccountTypeSubConfigCodeKeyType;
|
|
175
|
-
};
|
|
176
172
|
}
|
|
177
173
|
export interface UserReimbursementInfo {
|
|
178
174
|
isReimbursementTOSAccepted: boolean;
|
|
@@ -197,10 +193,6 @@ export interface UserZeniAccountInfo {
|
|
|
197
193
|
export interface CompanyZeniAccountInfo extends UserZeniAccountInfo {
|
|
198
194
|
isZeniAccountEnabled: boolean;
|
|
199
195
|
zeniAccountTOSAcceptanceUserid?: ID;
|
|
200
|
-
primaryFundingAccount?: {
|
|
201
|
-
accountId: ID;
|
|
202
|
-
accountType: AccountTypeSubConfigCodeKeyType;
|
|
203
|
-
};
|
|
204
196
|
}
|
|
205
197
|
export interface UserChargeCardInfo {
|
|
206
198
|
isChargeCardTOSAccepted: boolean;
|
|
@@ -211,10 +203,6 @@ export interface UserChargeCardInfo {
|
|
|
211
203
|
export interface CompanyChargeCardInfo extends UserChargeCardInfo {
|
|
212
204
|
isChargeCardEnabled: boolean;
|
|
213
205
|
chargeCardTOSAcceptanceUserid?: ID;
|
|
214
|
-
primaryFundingAccount?: {
|
|
215
|
-
accountId: ID;
|
|
216
|
-
accountType: AccountTypeSubConfigCodeKeyType;
|
|
217
|
-
};
|
|
218
206
|
}
|
|
219
207
|
export interface CompanyFeaturesActivationInfo {
|
|
220
208
|
isBillPayFeatureEnabled: boolean;
|
|
@@ -25,7 +25,7 @@ export interface DepositTransactionStatus {
|
|
|
25
25
|
export interface DepositAccountTransactionState {
|
|
26
26
|
byTransactionId: Record<ID, DepositAccountTransaction>;
|
|
27
27
|
}
|
|
28
|
-
export declare const toDepositAccountTransactionType: (v: string) => "wire" | "
|
|
28
|
+
export declare const toDepositAccountTransactionType: (v: string) => "wire" | "originated_ach" | "ach_originating" | "received_ach" | "returned_ach" | "dishonored_ach" | "book" | "purchase" | "atm" | "fee" | "reversal" | "card_transaction" | "batch_release" | "dispute" | "adjustment" | "interest" | "check_deposit" | "returned_check_deposit" | "payment_canceled";
|
|
29
29
|
export declare type DepositAccountTransactionType = ReturnType<typeof toDepositAccountTransactionType>;
|
|
30
30
|
export declare const DEPOSIT_TRANSACTION_STATUS_CODE: readonly ["pending", "pending_review", "rejected", "clearing", "failed", "sent", "canceled", "returned"];
|
|
31
31
|
export declare const toDepositTransactionStatusCode: (v: string) => "failed" | "canceled" | "pending" | "rejected" | "returned" | "pending_review" | "clearing" | "sent" | undefined;
|
|
@@ -44,8 +44,6 @@ export interface PaymentAccountPayload {
|
|
|
44
44
|
is_primary_for_onboarding: boolean | null;
|
|
45
45
|
is_primary_for_bill_pay: boolean;
|
|
46
46
|
is_primary_for_reimbursements: boolean;
|
|
47
|
-
is_primary_for_charge_cards: boolean;
|
|
48
|
-
is_primary_for_deposit_accounts: boolean;
|
|
49
47
|
update_time: string;
|
|
50
48
|
create_time: string;
|
|
51
49
|
}
|
|
@@ -23,8 +23,6 @@ const toPaymentAccount = (payload) => {
|
|
|
23
23
|
isPrimaryForOnboarding: Boolean(payload.is_primary_for_onboarding),
|
|
24
24
|
isPrimaryForBillPay: payload.is_primary_for_bill_pay,
|
|
25
25
|
isPrimaryForReimbursement: payload.is_primary_for_reimbursements,
|
|
26
|
-
isPrimaryForChargeCards: payload.is_primary_for_charge_cards,
|
|
27
|
-
isPrimaryForDepositAccounts: payload.is_primary_for_deposit_accounts,
|
|
28
26
|
balances: payload.balances != null
|
|
29
27
|
? {
|
|
30
28
|
available: payload.balances.available != null
|
|
@@ -31,8 +31,6 @@ export interface PaymentAccount {
|
|
|
31
31
|
isPrimaryForOnboarding: boolean;
|
|
32
32
|
isPrimaryForBillPay: boolean;
|
|
33
33
|
isPrimaryForReimbursement: boolean;
|
|
34
|
-
isPrimaryForChargeCards: boolean;
|
|
35
|
-
isPrimaryForDepositAccounts: boolean;
|
|
36
34
|
zeniAccountId: ID;
|
|
37
35
|
bankAccountId?: ID;
|
|
38
36
|
updateTime: ZeniDate;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const toSnackbarMessageSection: (v: string) => "
|
|
1
|
+
export declare const toSnackbarMessageSection: (v: string) => "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "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_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "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_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" | "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" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "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";
|
|
2
2
|
export declare type SnackbarMessageSections = ReturnType<typeof toSnackbarMessageSection>;
|
|
3
3
|
export declare const toSnackbarMessageSectionTexts: (v: string) => "failed" | "success" | "notification";
|
|
4
4
|
export declare type SnackbarMessageSectionTexts = ReturnType<typeof toSnackbarMessageSectionTexts>;
|
|
@@ -5,7 +5,7 @@ import { openSnackbar } from '../../../entity/snackbar/snackbarReducer';
|
|
|
5
5
|
export declare 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: "
|
|
8
|
+
messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "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_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "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_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" | "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" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "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";
|
|
9
9
|
messageText: "failed" | "success" | "notification";
|
|
10
10
|
type: import("../../..").SnackbarMessageType;
|
|
11
11
|
showStatusIcon?: boolean | undefined;
|
|
@@ -9,7 +9,7 @@ export declare const addCardPaymentSourceEpic: (actions$: ActionsObservable<Acti
|
|
|
9
9
|
type: string;
|
|
10
10
|
} | {
|
|
11
11
|
payload: {
|
|
12
|
-
messageSection: "
|
|
12
|
+
messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "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_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "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_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" | "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" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "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";
|
|
13
13
|
messageText: "failed" | "success" | "notification";
|
|
14
14
|
type: import("../../..").SnackbarMessageType;
|
|
15
15
|
showStatusIcon?: boolean | undefined;
|
|
@@ -5,7 +5,7 @@ import { SetupIntentData } from '../cardPaymentViewState';
|
|
|
5
5
|
export declare 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: "
|
|
8
|
+
messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "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_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "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_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" | "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" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "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";
|
|
9
9
|
messageText: "failed" | "success" | "notification";
|
|
10
10
|
type: import("../../..").SnackbarMessageType;
|
|
11
11
|
showStatusIcon?: boolean | undefined;
|
|
@@ -7,7 +7,7 @@ import { openSnackbar } from '../../../entity/snackbar/snackbarReducer';
|
|
|
7
7
|
export declare 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: "
|
|
10
|
+
messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "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_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "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_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" | "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" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "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";
|
|
11
11
|
messageText: "failed" | "success" | "notification";
|
|
12
12
|
type: import("../../..").SnackbarMessageType;
|
|
13
13
|
showStatusIcon?: boolean | undefined;
|
|
@@ -6,7 +6,7 @@ import { openSnackbar } from '../../../entity/snackbar/snackbarReducer';
|
|
|
6
6
|
export declare type ActionType = ReturnType<typeof fetchPaymentSources> | ReturnType<typeof openSnackbar> | ReturnType<typeof updatePaymentSources>;
|
|
7
7
|
export declare const fetchPaymentSourcesEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
8
8
|
payload: {
|
|
9
|
-
messageSection: "
|
|
9
|
+
messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "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_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "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_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" | "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" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "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";
|
|
10
10
|
messageText: "failed" | "success" | "notification";
|
|
11
11
|
type: import("../../..").SnackbarMessageType;
|
|
12
12
|
showStatusIcon?: boolean | undefined;
|
|
@@ -10,7 +10,7 @@ export declare const ALL_HEALTH_SORT_KEYS: readonly ["companyName", "issues", "p
|
|
|
10
10
|
export declare const ALL_TASK_MANAGER_SORT_KEYS: readonly ["name", "taskName", "status", "priority", "dueDate", "assignee", "tags", "createdBy"];
|
|
11
11
|
export declare const toPortfolioSortKeyType: (v: string) => "expenses" | "runway" | "cashBalance" | "netIncome" | "companyName" | "revenues";
|
|
12
12
|
export declare const toManagementSortKeyType: (v: string) => "status" | "group" | "bookCloseDate" | "controller" | "preparer" | "reviewer" | "companyName" | "monthlyRecurringRevenue" | "annualRecurringRevenue" | "taxStatus" | "plans" | "notes" | "task" | "customerSuccessManager" | "apAnalyst" | "reportSent" | "taxLead" | "satisfaction";
|
|
13
|
-
export declare const toOnboardingSortKeyType: (v: string) => "companyName" | "
|
|
13
|
+
export declare const toOnboardingSortKeyType: (v: string) => "companyName" | "identityVerified" | "businessVerified" | "bankAccountLinked" | "qboLinked" | "groupCreated" | "customerCreated" | "notes" | "enroller" | "invite";
|
|
14
14
|
export declare const toHealthSortKeyType: (v: string) => "runway" | "controller" | "companyName" | "customerSuccessManager" | "netPromoterScore" | "customerSatisfactionScore" | "lastReportSent" | "issues" | "productVerticals" | "churnProbability" | "subscriptionDate" | "renewalDate";
|
|
15
15
|
export declare const toTaskManagerSortKeyType: (v: string) => "priority" | "name" | "status" | "dueDate" | "taskName" | "assignee" | "tags" | "createdBy";
|
|
16
16
|
export declare type PortfolioViewSortKey = ReturnType<typeof toPortfolioSortKeyType>;
|
|
@@ -48,5 +48,5 @@ export interface DownloadCockpitTabOptions {
|
|
|
48
48
|
filterByTabs: Record<CockpitDownloadTabsID, FilterCombinationsByTabs>;
|
|
49
49
|
}
|
|
50
50
|
export declare const ALL_ONBOARDING_STEP_KEYS: readonly ["bankAccountLinked", "qboLinked", "identityVerified", "businessVerified"];
|
|
51
|
-
export declare const toOnboardingStepKeyType: (v: string) => "
|
|
51
|
+
export declare const toOnboardingStepKeyType: (v: string) => "identityVerified" | "businessVerified" | "bankAccountLinked" | "qboLinked";
|
|
52
52
|
export declare type CategoryValueForCompanyType = string | string[] | ZeniDate | undefined;
|
|
@@ -17,8 +17,6 @@ const establishOnboardingPlaidConnectionEpic = (actions$, _state, zeniAPI) => ac
|
|
|
17
17
|
requestPayload['is_primary_for_onboarding'] = true;
|
|
18
18
|
requestPayload['is_primary_for_bill_pay'] = true;
|
|
19
19
|
requestPayload['is_primary_for_reimbursements'] = true;
|
|
20
|
-
requestPayload['is_primary_for_charge_cards'] = true;
|
|
21
|
-
requestPayload['is_primary_for_deposit_accounts'] = true;
|
|
22
20
|
}
|
|
23
21
|
return zeniAPI
|
|
24
22
|
.postAndGetJSON(`${zeniAPI.apiEndPoints.payMicroServiceBaseUrl}/1.0/plaid/public-token`, requestPayload)
|
|
@@ -26,7 +26,7 @@ export declare const changeZeniPersonRolesEpic: (actions$: ActionsObservable<Act
|
|
|
26
26
|
type: string;
|
|
27
27
|
} | {
|
|
28
28
|
payload: {
|
|
29
|
-
messageSection: "
|
|
29
|
+
messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "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_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "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_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" | "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" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "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";
|
|
30
30
|
messageText: "failed" | "success" | "notification";
|
|
31
31
|
type: import("../..").SnackbarMessageType;
|
|
32
32
|
showStatusIcon?: boolean | undefined;
|
|
@@ -18,7 +18,7 @@ export declare const deletePersonEpic: (actions$: ActionsObservable<ActionType>,
|
|
|
18
18
|
type: string;
|
|
19
19
|
} | {
|
|
20
20
|
payload: {
|
|
21
|
-
messageSection: "
|
|
21
|
+
messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "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_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "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_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" | "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" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "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";
|
|
22
22
|
messageText: "failed" | "success" | "notification";
|
|
23
23
|
type: import("../..").SnackbarMessageType;
|
|
24
24
|
showStatusIcon?: boolean | undefined;
|
|
@@ -35,7 +35,7 @@ export declare const invitePeopleEpic: (actions$: ActionsObservable<ActionType>,
|
|
|
35
35
|
type: string;
|
|
36
36
|
} | {
|
|
37
37
|
payload: {
|
|
38
|
-
messageSection: "
|
|
38
|
+
messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "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_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "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_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" | "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" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "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";
|
|
39
39
|
messageText: "failed" | "success" | "notification";
|
|
40
40
|
type: import("../..").SnackbarMessageType;
|
|
41
41
|
showStatusIcon?: boolean | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const inviteZeniPeopleEpic: (actions$: ActionsObservable<ActionTy
|
|
|
32
32
|
type: string;
|
|
33
33
|
} | {
|
|
34
34
|
payload: {
|
|
35
|
-
messageSection: "
|
|
35
|
+
messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "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_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "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_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" | "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" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "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";
|
|
36
36
|
messageText: "failed" | "success" | "notification";
|
|
37
37
|
type: import("../..").SnackbarMessageType;
|
|
38
38
|
showStatusIcon?: boolean | undefined;
|
|
@@ -13,7 +13,7 @@ export declare const resendInviteEpic: (actions$: ActionsObservable<ActionType>,
|
|
|
13
13
|
type: string;
|
|
14
14
|
} | {
|
|
15
15
|
payload: {
|
|
16
|
-
messageSection: "
|
|
16
|
+
messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "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_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "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_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" | "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" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "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";
|
|
17
17
|
messageText: "failed" | "success" | "notification";
|
|
18
18
|
type: import("../..").SnackbarMessageType;
|
|
19
19
|
showStatusIcon?: boolean | undefined;
|