@zeniai/client-epic-state 4.14.14 → 4.14.16
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/reimbursementTypeCode.d.ts +2 -0
- package/lib/commonStateTypes/reimbursementTypeCode.js +5 -0
- package/lib/entity/billPay/billTransaction/billTransactionPayload.d.ts +1 -0
- package/lib/entity/billPay/billTransaction/billTransactionPayload.js +3 -0
- package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +6 -3
- package/lib/entity/billPay/billTransaction/billTransactionState.js +18 -1
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +4 -0
- package/lib/entity/tenant/epic/signInUserEpic.d.ts +1 -0
- package/lib/entity/tenant/epic/signInUserEpic.js +15 -9
- package/lib/entity/tenant/tenantReducer.d.ts +5 -2
- package/lib/entity/tenant/tenantReducer.js +5 -4
- package/lib/entity/tenant/tenantState.d.ts +2 -0
- package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
- package/lib/index.d.ts +14 -13
- package/lib/index.js +26 -15
- package/lib/view/bankAccountView/bankAccountViewReducer.d.ts +2 -2
- package/lib/view/billPayCard/fetchBillPayCardEpic.js +1 -0
- 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/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +7 -4
- package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +2 -1
- package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.d.ts +2 -2
- package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.js +2 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +1 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +1 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/initializeTransactionCategorizationLocalDataEpic.js +3 -3
- package/lib/view/expenseAutomationView/epics/transactionCategorization/markTransactionAsNotMiscatgorizedEpic.js +76 -27
- package/lib/view/expenseAutomationView/epics/transactionCategorization/saveTransactionCategorizationEpic.js +1 -2
- package/lib/view/expenseAutomationView/epics/transactionCategorization/updateTransactionCategorizationEpic.js +3 -2
- package/lib/view/expenseAutomationView/expenseAutomationViewReducer.d.ts +1 -3
- package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +2 -12
- package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +13 -12
- package/lib/view/expenseAutomationView/expenseAutomationViewState.d.ts +0 -2
- package/lib/view/expenseAutomationView/helpers/helpers.d.ts +3 -0
- package/lib/view/expenseAutomationView/helpers/helpers.js +4 -1
- package/lib/view/expenseAutomationView/payload/transactionCategorizationPayload.d.ts +1 -2
- package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +12 -10
- package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +6 -2
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.d.ts +5 -3
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +102 -65
- package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.d.ts +1 -2
- package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +20 -11
- package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +4 -1
- 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/recommendation/fetchEntityRecommendationsByTransactionIdEpic.js +1 -1
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.d.ts +9 -2
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +35 -8
- package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billList/billListSelector.d.ts +3 -2
- package/lib/view/spendManagement/billPay/billList/billListSelector.js +55 -18
- package/lib/view/spendManagement/billPay/billList/billListState.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billList/billListState.js +1 -0
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.d.ts +7 -2
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.js +18 -6
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +6 -0
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +9 -4
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.js +18 -4
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.d.ts +2 -1
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +2 -0
- package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.d.ts +8 -4
- package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.js +26 -5
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +4 -2
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +36 -3
- package/lib/view/spendManagement/billPay/editBillView/editBillViewState.d.ts +6 -1
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js +6 -7
- package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.js +16 -5
- package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +27 -13
- package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +7 -3
- package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +48 -28
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.d.ts +2 -2
- package/lib/view/spendManagement/helpers.d.ts +2 -0
- package/lib/view/spendManagement/helpers.js +9 -1
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.d.ts +6 -1
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js +12 -2
- package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
- package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
- package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.d.ts +1 -1
- package/package.json +1 -1
|
@@ -75,6 +75,9 @@ const toBillPayInfo = (payload) => {
|
|
|
75
75
|
refundInitiationTime: payload.refund_initiation_time != null
|
|
76
76
|
? (0, zeniDayJS_1.date)(payload.refund_initiation_time)
|
|
77
77
|
: undefined,
|
|
78
|
+
outsideZeniTransactionPaymentMode: payload.outside_zeni_transaction_payment_mode != null
|
|
79
|
+
? (0, billTransactionState_1.toOutsideZeniPaymentModeType)(payload.outside_zeni_transaction_payment_mode)
|
|
80
|
+
: undefined,
|
|
78
81
|
});
|
|
79
82
|
};
|
|
80
83
|
const toBillStage = (payload) => {
|
|
@@ -50,6 +50,7 @@ export interface BillPayInfo {
|
|
|
50
50
|
isRefundInitiated?: boolean;
|
|
51
51
|
refundCompletionTime?: ZeniDate;
|
|
52
52
|
refundInitiationTime?: ZeniDate;
|
|
53
|
+
outsideZeniTransactionPaymentMode?: OutsideZeniPaymentModeType;
|
|
53
54
|
}
|
|
54
55
|
export declare const toInternationalTransferFeeBearerPaymentMethod: (v: string) => "swift_our" | "swift_sha";
|
|
55
56
|
export declare type InternationalTransferFeeBearerPaymentMethod = ReturnType<typeof toInternationalTransferFeeBearerPaymentMethod>;
|
|
@@ -109,7 +110,7 @@ export interface BulkProcessingDetail {
|
|
|
109
110
|
}
|
|
110
111
|
declare const toBillStageCodeType: (v: string) => "paid" | "pending_approval" | "scheduled" | "draft";
|
|
111
112
|
export declare type BillStageCodeType = ReturnType<typeof toBillStageCodeType>;
|
|
112
|
-
declare const toBillPaymentStatusCodeType: (v: string) => "failed" | "paid" | "returned" | "processing" | "posted" | "cancelled" | "pending_vendor_action";
|
|
113
|
+
declare const toBillPaymentStatusCodeType: (v: string) => "failed" | "paid" | "returned" | "processing" | "posted" | "cancelled" | "pending_vendor_action" | "awaiting_to_be_marked_as_paid" | "mark_as_paid";
|
|
113
114
|
export declare type BillPaymentStatusCodeType = ReturnType<typeof toBillPaymentStatusCodeType>;
|
|
114
115
|
declare const toBillPaymentRefundStatusCodeType: (v: string) => "failed" | "completed" | "returned" | "processing" | "cancelled";
|
|
115
116
|
export declare type BillPaymentRefundStatusCodeType = ReturnType<typeof toBillPaymentRefundStatusCodeType>;
|
|
@@ -117,9 +118,9 @@ declare const toBillStatusCodeType: (v: string) => "rejected" | "approved" | "pe
|
|
|
117
118
|
export declare type BillStatusCodeType = ReturnType<typeof toBillStatusCodeType>;
|
|
118
119
|
declare const toBillStatusSummaryCodeType: (v: string) => "rejected" | "approval_in_progress";
|
|
119
120
|
export declare type BillStatusSummaryCodeType = ReturnType<typeof toBillStatusSummaryCodeType>;
|
|
120
|
-
declare const toBillPaymentStatusSummaryCodeType: (v: string) => "pending_vendor_action" | "preparing_for_payment" | "issue_with_bill_payment" | "error_processing" | "paid_via_ach" | "bill_cancelled";
|
|
121
|
+
declare const toBillPaymentStatusSummaryCodeType: (v: string) => "pending_vendor_action" | "awaiting_to_be_marked_as_paid" | "mark_as_paid" | "preparing_for_payment" | "issue_with_bill_payment" | "error_processing" | "paid_via_ach" | "bill_cancelled";
|
|
121
122
|
export declare type BillPaymentStatusSummaryCodeType = ReturnType<typeof toBillPaymentStatusSummaryCodeType>;
|
|
122
|
-
declare const toBillPaymentStatusDescriptionCodeType: (v: string) => "pending_vendor_action" | "preparing_for_payment" | "error_processing" | "bill_cancelled" | "preparing_for_payment_without_expected_deposit_date" | "destination_bank_account_closed" | "destination_bank_declined_payment" | "invalid_bank_account" | "funds_arrived";
|
|
123
|
+
declare const toBillPaymentStatusDescriptionCodeType: (v: string) => "pending_vendor_action" | "awaiting_to_be_marked_as_paid" | "mark_as_paid" | "preparing_for_payment" | "error_processing" | "bill_cancelled" | "preparing_for_payment_without_expected_deposit_date" | "destination_bank_account_closed" | "destination_bank_declined_payment" | "invalid_bank_account" | "funds_arrived";
|
|
123
124
|
export declare type BillPaymentStatusDescriptionCodeType = ReturnType<typeof toBillPaymentStatusDescriptionCodeType>;
|
|
124
125
|
export declare const toBillAccountType: (v: string) => "deposit_account" | "payment_account" | "bank_account" | "payment_instrument";
|
|
125
126
|
declare type BillAccountType = ReturnType<typeof toBillAccountType>;
|
|
@@ -129,4 +130,6 @@ export declare const toDeletionSourceType: (v: string) => "zeni_dashboard" | "qb
|
|
|
129
130
|
export declare type DeletionSourceType = ReturnType<typeof toDeletionSourceType>;
|
|
130
131
|
export declare const toBulkProcessingStateType: (v: string) => "error" | "processing" | "processing_queued" | "processed";
|
|
131
132
|
export declare type BulkProcessingStateType = ReturnType<typeof toBulkProcessingStateType>;
|
|
133
|
+
export declare const toOutsideZeniPaymentModeType: (v: string) => "other" | "cash" | "check" | "ach" | "ach_same_day" | "us_domestic_wire" | "international_wire";
|
|
134
|
+
export declare type OutsideZeniPaymentModeType = ReturnType<typeof toOutsideZeniPaymentModeType>;
|
|
132
135
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toBulkProcessingStateType = exports.toDeletionSourceType = exports.toBillAccountHolderType = exports.toBillAccountType = exports.toInternationalTransferFeeBearerPaymentMethod = void 0;
|
|
3
|
+
exports.toOutsideZeniPaymentModeType = exports.toBulkProcessingStateType = exports.toDeletionSourceType = exports.toBillAccountHolderType = exports.toBillAccountType = exports.toInternationalTransferFeeBearerPaymentMethod = void 0;
|
|
4
4
|
const stringToUnion_1 = require("../../../commonStateTypes/stringToUnion");
|
|
5
5
|
const ALL_INTERNATIONAL_TRANSFER_FEE_BEARER_PAYMENT_METHOD = [
|
|
6
6
|
'swift_our',
|
|
@@ -23,6 +23,8 @@ const BILL_PAYMENT_STATUS_CODE = [
|
|
|
23
23
|
'posted',
|
|
24
24
|
'cancelled',
|
|
25
25
|
'pending_vendor_action',
|
|
26
|
+
'awaiting_to_be_marked_as_paid',
|
|
27
|
+
'mark_as_paid',
|
|
26
28
|
];
|
|
27
29
|
const toBillPaymentStatusCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, BILL_PAYMENT_STATUS_CODE);
|
|
28
30
|
const BILL_PAYMENT_REFUND_STATUS_CODE = [
|
|
@@ -49,6 +51,8 @@ const BILL_PAYMENT_STATUS_SUMMARY_CODE = [
|
|
|
49
51
|
'paid_via_ach',
|
|
50
52
|
'bill_cancelled',
|
|
51
53
|
'pending_vendor_action',
|
|
54
|
+
'awaiting_to_be_marked_as_paid',
|
|
55
|
+
'mark_as_paid',
|
|
52
56
|
];
|
|
53
57
|
const toBillPaymentStatusSummaryCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, BILL_PAYMENT_STATUS_SUMMARY_CODE);
|
|
54
58
|
const BILL_PAYMENT_STATUS_DESCRIPTION_CODE = [
|
|
@@ -61,6 +65,8 @@ const BILL_PAYMENT_STATUS_DESCRIPTION_CODE = [
|
|
|
61
65
|
'funds_arrived',
|
|
62
66
|
'bill_cancelled',
|
|
63
67
|
'pending_vendor_action',
|
|
68
|
+
'awaiting_to_be_marked_as_paid',
|
|
69
|
+
'mark_as_paid',
|
|
64
70
|
];
|
|
65
71
|
const toBillPaymentStatusDescriptionCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, BILL_PAYMENT_STATUS_DESCRIPTION_CODE);
|
|
66
72
|
const BILL_ACCOUNT_CODE = [
|
|
@@ -85,3 +91,14 @@ const BILL_PROCESSING_STATE = [
|
|
|
85
91
|
];
|
|
86
92
|
const toBulkProcessingStateType = (v) => (0, stringToUnion_1.stringToUnion)(v, BILL_PROCESSING_STATE);
|
|
87
93
|
exports.toBulkProcessingStateType = toBulkProcessingStateType;
|
|
94
|
+
const OUTSIDE_ZENI_PAYMENT_MODE = [
|
|
95
|
+
'ach',
|
|
96
|
+
'ach_same_day',
|
|
97
|
+
'us_domestic_wire',
|
|
98
|
+
'international_wire',
|
|
99
|
+
'cash',
|
|
100
|
+
'check',
|
|
101
|
+
'other',
|
|
102
|
+
];
|
|
103
|
+
const toOutsideZeniPaymentModeType = (v) => (0, stringToUnion_1.stringToUnion)(v, OUTSIDE_ZENI_PAYMENT_MODE);
|
|
104
|
+
exports.toOutsideZeniPaymentModeType = toOutsideZeniPaymentModeType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const toSnackbarMessageSection: (v: string) => "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "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_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" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "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" | "bill_pay_refund" | "bill_pay_retry" | "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_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "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" | "transactions_reviewed" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipts_upload";
|
|
1
|
+
export declare const toSnackbarMessageSection: (v: string) => "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "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_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" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "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" | "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_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "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" | "transactions_reviewed" | "transaction_reviewed" | "transaction_reviewed_failed" | "transactions_reviewed_failed" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipts_upload";
|
|
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>;
|
|
@@ -61,6 +61,7 @@ const ALL_SNACKBAR_MESSAGE_SECTIONS = [
|
|
|
61
61
|
'bill_pay_bulk_processed',
|
|
62
62
|
'bill_pay_refund',
|
|
63
63
|
'bill_pay_retry',
|
|
64
|
+
'bill_pay_marked_as_paid',
|
|
64
65
|
'zeni_account_accept_term',
|
|
65
66
|
'update_vendor',
|
|
66
67
|
'data_refresh_update',
|
|
@@ -135,6 +136,9 @@ const ALL_SNACKBAR_MESSAGE_SECTIONS = [
|
|
|
135
136
|
'primary_funding_account_updated',
|
|
136
137
|
'task_time_spent_validation',
|
|
137
138
|
'transactions_reviewed',
|
|
139
|
+
'transaction_reviewed',
|
|
140
|
+
'transaction_reviewed_failed',
|
|
141
|
+
'transactions_reviewed_failed',
|
|
138
142
|
'missing_receipts_attachment',
|
|
139
143
|
'flux_analysis_unreviewed',
|
|
140
144
|
'flux_analysis_reviewed',
|
|
@@ -16,6 +16,7 @@ export declare const doSignInEpic: (actions$: ActionsObservable<ActionType>, _:
|
|
|
16
16
|
payload: {
|
|
17
17
|
userPayload: import("../tenantPayload").LoggedInUserPayload;
|
|
18
18
|
zeniSessionId: string;
|
|
19
|
+
authProvider: import("../tenantReducer").AuthProvider;
|
|
19
20
|
};
|
|
20
21
|
type: string;
|
|
21
22
|
}>;
|
|
@@ -9,22 +9,28 @@ const operators_1 = require("rxjs/operators");
|
|
|
9
9
|
const trimEnd_1 = __importDefault(require("lodash/trimEnd"));
|
|
10
10
|
const tenantReducer_1 = require("../tenantReducer");
|
|
11
11
|
const responsePayload_1 = require("../../../responsePayload");
|
|
12
|
-
const toRequestPayload = (inputParam) =>
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
const toRequestPayload = (inputParam) => {
|
|
13
|
+
var _a;
|
|
14
|
+
return ({
|
|
15
|
+
application_type: inputParam.appType,
|
|
16
|
+
code: inputParam.authCode,
|
|
17
|
+
oauth_provider: inputParam.oauthProvider,
|
|
18
|
+
redirect_uri: (0, trimEnd_1.default)(inputParam.redirectUri.href, '/'),
|
|
19
|
+
source_uri: (_a = inputParam.sourceUri.href) !== null && _a !== void 0 ? _a : '',
|
|
20
|
+
});
|
|
21
|
+
};
|
|
18
22
|
const doSignInEpic = (actions$, _, zeniAPI) => actions$.pipe((0, operators_1.filter)(tenantReducer_1.doSignIn.match), (0, operators_1.switchMap)((action) => zeniAPI
|
|
19
|
-
.postJSON(`${zeniAPI.apiEndPoints.authMicroServiceBaseUrl}/1.0/signin`, toRequestPayload(action.payload), {
|
|
23
|
+
.postJSON(`${zeniAPI.apiEndPoints.authMicroServiceBaseUrl}/1.0/signin`, toRequestPayload(action.payload), {
|
|
24
|
+
'X-Requested-With': 'XMLHttpRequest',
|
|
25
|
+
})
|
|
20
26
|
.pipe((0, operators_1.concatMap)((response) => {
|
|
21
27
|
return (0, rxjs_1.from)(response.json()).pipe((0, operators_1.mergeMap)((responseJson) => {
|
|
22
28
|
var _a;
|
|
23
29
|
const signInResponse = responseJson;
|
|
24
30
|
if (response.ok && (0, responsePayload_1.isSuccessResponse)(signInResponse)) {
|
|
25
31
|
return (0, rxjs_1.of)((0, tenantReducer_1.updateLoggedInUser)(signInResponse.data.user, // eslint-disable-line @typescript-eslint/no-non-null-assertion
|
|
26
|
-
response.headers.get('zeni-session-id') // eslint-disable-line @typescript-eslint/no-non-null-assertion
|
|
27
|
-
), (0, tenantReducer_1.fetchAllTenants)(signInResponse.data.user.user_id, // eslint-disable-line @typescript-eslint/no-non-null-assertion
|
|
32
|
+
response.headers.get('zeni-session-id'), // eslint-disable-line @typescript-eslint/no-non-null-assertion,
|
|
33
|
+
action.payload.oauthProvider), (0, tenantReducer_1.fetchAllTenants)(signInResponse.data.user.user_id, // eslint-disable-line @typescript-eslint/no-non-null-assertion
|
|
28
34
|
(_a = response.headers.get('zeni-session-id')) !== null && _a !== void 0 ? _a : undefined));
|
|
29
35
|
}
|
|
30
36
|
else {
|
|
@@ -6,11 +6,13 @@ import { ZeniAPIStatus } from '../../responsePayload';
|
|
|
6
6
|
import ZeniUrl from '../../zeniUrl';
|
|
7
7
|
import { UserRolePayload } from '../userRole/userRolePayload';
|
|
8
8
|
import { SubscriptionSummaryPayload } from '../subscription/subscriptionSummary/subscriptionSummaryPayload';
|
|
9
|
+
export declare type AuthProvider = "google" | "microsoft";
|
|
9
10
|
export interface DoSignInPayload {
|
|
10
11
|
authCode: string;
|
|
11
|
-
oauthProvider:
|
|
12
|
+
oauthProvider: AuthProvider;
|
|
12
13
|
appType: 'web' | 'mobile';
|
|
13
14
|
redirectUri: ZeniUrl;
|
|
15
|
+
sourceUri: ZeniUrl;
|
|
14
16
|
}
|
|
15
17
|
export declare const initialState: TenantState;
|
|
16
18
|
export declare const updateTenants: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[tenants: TenantPayload[], userTenantPayload?: TenantUserPayload | undefined, tenantUpdated?: any], {
|
|
@@ -33,9 +35,10 @@ export declare const updateTenants: import("@reduxjs/toolkit").ActionCreatorWith
|
|
|
33
35
|
}, string, never, never>, updateExcludedResourcesFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[tenantId: string, status: ZeniAPIStatus<Record<string, unknown>>], {
|
|
34
36
|
tenantId: string;
|
|
35
37
|
status: ZeniAPIStatus<Record<string, unknown>>;
|
|
36
|
-
}, string, never, never>, doSignIn: import("@reduxjs/toolkit").ActionCreatorWithPayload<DoSignInPayload, string>, updateSignInState: import("@reduxjs/toolkit").ActionCreatorWithPayload<FetchState, string>, doSignOut: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, signOutSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, updateLoggedInUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[userPayload: LoggedInUserPayload, zeniSessionId: string], {
|
|
38
|
+
}, string, never, never>, doSignIn: import("@reduxjs/toolkit").ActionCreatorWithPayload<DoSignInPayload, string>, updateSignInState: import("@reduxjs/toolkit").ActionCreatorWithPayload<FetchState, string>, doSignOut: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, signOutSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, updateLoggedInUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[userPayload: LoggedInUserPayload, zeniSessionId: string, authProvider: AuthProvider], {
|
|
37
39
|
userPayload: LoggedInUserPayload;
|
|
38
40
|
zeniSessionId: string;
|
|
41
|
+
authProvider: AuthProvider;
|
|
39
42
|
}, string, never, never>, fetchExternalConnections: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[userId: string, tenantId: string], {
|
|
40
43
|
userId: string;
|
|
41
44
|
tenantId: string;
|
|
@@ -178,14 +178,14 @@ const tenant = (0, toolkit_1.createSlice)({
|
|
|
178
178
|
draft.signInState = action.payload;
|
|
179
179
|
},
|
|
180
180
|
updateLoggedInUser: {
|
|
181
|
-
prepare(userPayload, zeniSessionId) {
|
|
182
|
-
return { payload: { userPayload, zeniSessionId } };
|
|
181
|
+
prepare(userPayload, zeniSessionId, authProvider) {
|
|
182
|
+
return { payload: { userPayload, zeniSessionId, authProvider } };
|
|
183
183
|
},
|
|
184
184
|
reducer(draft, action) {
|
|
185
185
|
var _a;
|
|
186
186
|
draft.fetchState = 'In-Progress'; // Why in progress ? Sign in is complete only after tenants are retrieved successfully.
|
|
187
187
|
draft.error = undefined;
|
|
188
|
-
const user = mapLoggedInUserPayloadToLoggedInUser(action.payload.userPayload, action.payload.zeniSessionId);
|
|
188
|
+
const user = mapLoggedInUserPayloadToLoggedInUser(action.payload.userPayload, action.payload.zeniSessionId, action.payload.authProvider);
|
|
189
189
|
draft.loggedInUser = (0, assignWith_1.default)((_a = draft.loggedInUser) !== null && _a !== void 0 ? _a : {}, user, (objValue, srcValue) => srcValue !== null && srcValue !== void 0 ? srcValue : objValue);
|
|
190
190
|
},
|
|
191
191
|
},
|
|
@@ -418,7 +418,7 @@ function mapTenantPayloadToUser(payload) {
|
|
|
418
418
|
};
|
|
419
419
|
return user;
|
|
420
420
|
}
|
|
421
|
-
function mapLoggedInUserPayloadToLoggedInUser(payload, zeniSessionId) {
|
|
421
|
+
function mapLoggedInUserPayloadToLoggedInUser(payload, zeniSessionId, authProvider) {
|
|
422
422
|
var _a, _b;
|
|
423
423
|
return {
|
|
424
424
|
userId: payload.user_id,
|
|
@@ -426,6 +426,7 @@ function mapLoggedInUserPayloadToLoggedInUser(payload, zeniSessionId) {
|
|
|
426
426
|
firstName: (_a = payload.first_name) === null || _a === void 0 ? void 0 : _a.trim(),
|
|
427
427
|
lastName: (_b = payload.last_name) === null || _b === void 0 ? void 0 : _b.trim(),
|
|
428
428
|
photo: (0, urlPayload_1.toURL)(payload.photo),
|
|
429
|
+
authProvider: authProvider,
|
|
429
430
|
};
|
|
430
431
|
}
|
|
431
432
|
const toRoleResource = (payload) => ({
|
|
@@ -8,6 +8,7 @@ import { UserReimbursementInfo } from '../company/companyStateTypes';
|
|
|
8
8
|
import { SubscriptionSummary } from '../subscription/subscriptionSummary/subscriptionSummaryState';
|
|
9
9
|
import { InvitationStatus } from '../userRole/userRoleState';
|
|
10
10
|
import { UserRoleType } from '../userRole/userRoleType';
|
|
11
|
+
import { AuthProvider } from './tenantReducer';
|
|
11
12
|
export interface TenantExternalConnections {
|
|
12
13
|
fetchState: FetchState;
|
|
13
14
|
accounting: Connection[];
|
|
@@ -82,6 +83,7 @@ export interface LoggedInUser {
|
|
|
82
83
|
firstName?: string;
|
|
83
84
|
lastName?: string;
|
|
84
85
|
photo?: ZeniUrl;
|
|
86
|
+
authProvider?: AuthProvider;
|
|
85
87
|
}
|
|
86
88
|
export interface RoleResource {
|
|
87
89
|
roleResourceId: ID;
|
|
@@ -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: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "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_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" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "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" | "bill_pay_refund" | "bill_pay_retry" | "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_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "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" | "transactions_reviewed" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipts_upload";
|
|
8
|
+
messageSection: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "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_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" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "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" | "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_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "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" | "transactions_reviewed" | "transaction_reviewed" | "transaction_reviewed_failed" | "transactions_reviewed_failed" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipts_upload";
|
|
9
9
|
messageText: "failed" | "success" | "notification";
|
|
10
10
|
type: import("../../..").SnackbarMessageType;
|
|
11
11
|
showStatusIcon?: boolean | undefined;
|
package/lib/index.d.ts
CHANGED
|
@@ -59,14 +59,14 @@ export { BalancesTimeseries, TrendTimeseries, BalanceKind };
|
|
|
59
59
|
import { ExpenseAutomationFluxAnalysisViewSelector } from './view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes';
|
|
60
60
|
import { MissingReceiptsViewState as ExpenseAutomationMissingReceiptsViewState, MissingReceiptsViewUIState as ExpenseAutomationMissingReceiptsViewUIState } from './view/expenseAutomationView/types/missingReceiptsViewState';
|
|
61
61
|
import { ExpenseAutomationMissingReceiptsViewSelector } from './view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes';
|
|
62
|
-
import { fetchAllExpenseAutomationTabs, refreshExpenseAutomationCurrentTab,
|
|
62
|
+
import { fetchAllExpenseAutomationTabs, refreshExpenseAutomationCurrentTab, updateCurrentSelectedView, updateCurrentSelectedPeriod } from './view/expenseAutomationView/expenseAutomationViewReducer';
|
|
63
63
|
import { fetchMissingReceipts as fetchExpenseAutomationMissingReceipts, uploadMissingReceiptSuccess as uploadExpenseAutomationMissingReceiptSuccess, updateMissingReceiptUploadState as updateExpenseAutomationMissingReceiptUploadState, updateMissingReceiptsUIState as updateExpenseAutomationMissingReceiptsUIState, markMissingReceiptAsDone as markExpenseAutomationMissingReceiptAsDone } from './view/expenseAutomationView/reducers/missingReceiptsViewReducer';
|
|
64
64
|
import { MissingReceiptsSortKey as ExpenseAutomationMissingReceiptsSortKey, toMissingReceiptsSortKey as toExpenseAutomationMissingReceiptsSortKey } from './view/expenseAutomationView/types/missingReceiptsViewState';
|
|
65
65
|
import { ExpenseAutomationViewSelector, ExpenseAutomationStepDetails } from './view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes';
|
|
66
66
|
import { getExpenseAutomationView } from './view/expenseAutomationView/expenseAutomationViewSelector';
|
|
67
67
|
import { TransactionsTab as ExpenseAutomationTransactionsTab, toTransactionsTabKey as toExpenseAutomationTransactionsTabKey } from './view/expenseAutomationView/types/transactionsViewState';
|
|
68
68
|
import { TransactionsSortKey, toTransactionsSortKey, TransactionsTab, TransactionCategorizationLineItemData, TransactionReviewLocalData, SupportedTransactionCategorization, TransactionsViewState as ExpenseAutomationTransactionsViewState, TransactionsViewUIState as ExpenseAutomationTransactionsViewUIState } from './view/expenseAutomationView/types/transactionsViewState';
|
|
69
|
-
import { fetchTransactionCategorization, fetchTransactionCategorizationView, updateTransactionCategorizationUIState, updateSelectedCheckboxTransactionIds, setEntityRecommendationForLineIdsForCategorization, initializeTransactionCategorizationViewLocalData, setAllItemsToCategoryClassInLocalDataForCategorization, saveTransactionCategorizationLocalData, fetchTransactionCategorizationFailure, saveTransactionCategorization, updateTransactionCategorization, updateTransactionCategorizationSaveStatus, markTransactionAsNotMiscategorized, updateStatusForTransactionNotMiscategorizedUpdate, updateSelectedVendorForTransaction, clearExpenseAutomationTransactionsView } from './view/expenseAutomationView/reducers/transactionsViewReducer';
|
|
69
|
+
import { fetchTransactionCategorization, fetchTransactionCategorizationView, updateTransactionCategorizationUIState, updateSelectedCheckboxTransactionIds, setEntityRecommendationForLineIdsForCategorization, initializeTransactionCategorizationViewLocalData, setAllItemsToCategoryClassInLocalDataForCategorization, saveTransactionCategorizationLocalData, fetchTransactionCategorizationFailure, saveTransactionCategorization, updateTransactionCategorization, updateTransactionCategorizationSaveStatus, markTransactionAsNotMiscategorized, updateStatusForTransactionNotMiscategorizedUpdate, updateSelectedVendorForTransaction, clearExpenseAutomationTransactionsView, updateCurrentSelectedTransactionCategorizationTab } from './view/expenseAutomationView/reducers/transactionsViewReducer';
|
|
70
70
|
import { ExpenseAutomationTransactionViewSelector, TransactionReviewLocalDataSelectorView } from './view/expenseAutomationView/selectorTypes/transactionsViewSelectorTypes';
|
|
71
71
|
import { getExpenseAutomationTransactionView } from './view/expenseAutomationView/selectors/transactionCategorizationSelector';
|
|
72
72
|
import { EXPENSE_QBOID, INCOME_QBOID, MAX_SELECTION_LIMIT, checkIfAllLineItemsAreCategoryClassFilled } from './view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper';
|
|
@@ -414,7 +414,7 @@ import { updateW9FormUploadFile, updateW9FormUploadFetchState, vendorFiling1099U
|
|
|
414
414
|
import { getVendorUploadDetailsByVendorId, VendorFiling1099UploadDetailsSelectorView } from './view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSelector';
|
|
415
415
|
import { VendorFiling1099UploadDetailsState, VendorsFiling1099UploadDetailsLocalData } from './view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsState';
|
|
416
416
|
export { W9FormProcessingPayload, W9Form, updateW9FormUploadFetchState, updateW9FormUploadFile, getVendorUploadDetailsByVendorId, VendorFiling1099UploadDetailsSelectorView, VendorFiling1099UploadDetailsState, vendorFiling1099UploadDetailsSave, vendorFiling1099UploadDetailsResetFormStatus, vendorFiling1099UploadDetailsResetLocalData, initializeVendorFiling1099UploadDetailsLocalState, updateVendor1099DetailsLocalData, updateW9FormOCRDataToLocalData, VendorsFiling1099UploadDetailsLocalData, };
|
|
417
|
-
import { BillTransaction, BillPayInfo, BillStage, BillStageCodeType, BillPaymentStatus, BillPaymentStatusCodeType, BillPaymentRefundStatus, BillPaymentRefundStatusCodeType, BillStatus, InternationalTransferFeeBearerPaymentMethod, BillStatusCodeType, DeletionSourceType } from './entity/billPay/billTransaction/billTransactionState';
|
|
417
|
+
import { BillTransaction, BillPayInfo, BillStage, BillStageCodeType, BillPaymentStatus, BillPaymentStatusCodeType, BillPaymentRefundStatus, BillPaymentRefundStatusCodeType, BillStatus, InternationalTransferFeeBearerPaymentMethod, BillStatusCodeType, DeletionSourceType, toOutsideZeniPaymentModeType } from './entity/billPay/billTransaction/billTransactionState';
|
|
418
418
|
import { BillsSubTabType, BillTab, SaveBillStageCode, BillListUIState, BillPayViewSortKey, BillPayFilters, BillPayFilterCategory, BillListViewFilterCategoryField, BILL_PAY_FILTER_CATEGORIES, BillBulkSelectExceptionInfoType } from './view/spendManagement/billPay/billList/billListState';
|
|
419
419
|
import { fetchBillList, fetchBillListPerTab, updateTab, updateSubTab, updateSelectedBillId, updateBillDetailSaveBillCode, updateBillListUIState, updateSearchResult as updateBillListSearchResult, updateFilterResult as updateBillListFilterResult, updateBillListDownloadUIState } from './view/spendManagement/billPay/billList/billListReducer';
|
|
420
420
|
import { updateBillsBulkActionList, removeBillFromBulkActionList, clearAllBillsFromBulkActionList, reviewDraftBillsBulkAction, approveOrRejectBillsBulkAction, cancelOrDeleteBillsBulkAction, submitDraftBillsBulkAction, autoReviewPendingApprovalBills, incrementBulkActionProcessedCount, clearBillPayBulkActionView } from './view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer';
|
|
@@ -422,15 +422,15 @@ import { getBillsBulkReviewView, BillsBulkReviewView, getBillsBulkOperationProgr
|
|
|
422
422
|
import { BulkOperationProgress } from './view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState';
|
|
423
423
|
import { getBillList, BillListReport, BillTransactionView } from './view/spendManagement/billPay/billList/billListSelector';
|
|
424
424
|
import { BillListDownloadReport, getBillDownloadList } from './view/spendManagement/billPay/billList/billListDownloadSelector';
|
|
425
|
-
import { BillDetailViewSelector, getBillDetailView, BillActivity, ActorActivityWithUser, StepWithStatus, checkApproveRejectBtnShow as checkApproveRejectBtnShowForBill } from './view/spendManagement/billPay/billDetailView/billDetailViewSelector';
|
|
425
|
+
import { BillDetailViewSelector, getBillDetailView, BillActivity, ActorActivityWithUser, StepWithStatus, checkApproveRejectBtnShow as checkApproveRejectBtnShowForBill, checkShowMarkAsPaidButton } from './view/spendManagement/billPay/billDetailView/billDetailViewSelector';
|
|
426
426
|
import { BillApprovalType, BillDetailView, getBillTransactionDetailKey } from './view/spendManagement/billPay/billDetailView/billDetailViewState';
|
|
427
427
|
import { approveOrRejectBill, fetchBillDetail, deleteBill, cancelAndDeleteBill, updateApprovalStatusOnSuccess, retryOrRefundBill } from './view/spendManagement/billPay/billDetailView/billDetailViewReducer';
|
|
428
|
-
export { BillTransaction, BillPayInfo, BillStage, BillStageCodeType, BillTransactionView, InternationalTransferFeeBearerPaymentMethod, DeletionSourceType, BillBulkSelectExceptionInfoType, };
|
|
428
|
+
export { BillTransaction, BillPayInfo, BillStage, BillStageCodeType, BillTransactionView, InternationalTransferFeeBearerPaymentMethod, DeletionSourceType, BillBulkSelectExceptionInfoType, toOutsideZeniPaymentModeType, checkShowMarkAsPaidButton, };
|
|
429
429
|
import { fetchDuplicateBill, clearBillPayReview } from './view/spendManagement/billPay/billPayReview/billPayReviewReducer';
|
|
430
430
|
import { getReviewPageBillDetail, BillPayReviewSelectorView, DuplicateBillsSelectorView } from './view/spendManagement/billPay/billPayReview/billPayReviewSelector';
|
|
431
|
-
import { fetchEditBillDetailPage, saveBillUpdatesToLocalStore, discardBillUpdatesInLocalStore, saveBillDetail, fetchVendorByNameAndParseInvoice, fetchBillAndInitializeLocalStore, updateShowAutofill, updateBillUploadFetchState, updateVendorContact, convertAmountToHomeCurrency, fetchVendorAndUpdateBillLocalData, markBillForRetry } from './view/spendManagement/billPay/editBillView/editBillViewReducer';
|
|
432
|
-
import { EditBillDetail, EditBillDetailViewState, WhatForSection, PaymentDetailsSection, BillDetailLocalData, RecurringBillInstance, RecurringBillConfigLocalData, EditRecurringBillType } from './view/spendManagement/billPay/editBillView/editBillViewState';
|
|
433
|
-
import { EditBillDetailSelectorView, LineItemRecommendationsLocalData, getEditBillDetail, PaymentDetailsSectionView, EditBillInitialDetails, PaymentToOption, toPaymentToOption } from './view/spendManagement/billPay/editBillView/editBillViewSelector';
|
|
431
|
+
import { fetchEditBillDetailPage, saveBillUpdatesToLocalStore, discardBillUpdatesInLocalStore, saveBillDetail, fetchVendorByNameAndParseInvoice, fetchBillAndInitializeLocalStore, updateShowAutofill, updateBillUploadFetchState, updateVendorContact, convertAmountToHomeCurrency, fetchVendorAndUpdateBillLocalData, markBillForRetry, updateOutsideZeniPaymentLocalData, discardOutsideZeniPaymentLocalData } from './view/spendManagement/billPay/editBillView/editBillViewReducer';
|
|
432
|
+
import { EditBillDetail, EditBillDetailViewState, WhatForSection, PaymentDetailsSection, BillDetailLocalData, RecurringBillInstance, RecurringBillConfigLocalData, EditRecurringBillType, OutsideZeniPaymentLocalData } from './view/spendManagement/billPay/editBillView/editBillViewState';
|
|
433
|
+
import { EditBillDetailSelectorView, LineItemRecommendationsLocalData, getEditBillDetail, PaymentDetailsSectionView, EditBillInitialDetails, PaymentToOption, toPaymentToOption, checkIfCreatorIsApprover } from './view/spendManagement/billPay/editBillView/editBillViewSelector';
|
|
434
434
|
import { ClassListSelectorView, getClassList } from './view/classList/classListSelector';
|
|
435
435
|
import { Reimbursement, MilageReimbursementLine, OutofPocketReimbursementLine, ReimbursementLine, ReimbursementTypeCode } from './entity/reimbursement/reimbursementState';
|
|
436
436
|
import { RemiTabType, RemiSubTabType, toRemiSubTabType, toRemiSubTabTypeStrict, toRemiTabType, toRemiTabTypeStrict, ReimbursementViewSortKey, RemiListUIState, ReimbursementFilters, ReimbursementFilterCategory, RemiListViewFilterCategoryField, REIMBURSEMENT_FILTER_CATEGORIES, REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED, RemiBulkSelectExceptionInfoType } from './view/spendManagement/reimbursement/remiListView/remiListState';
|
|
@@ -439,7 +439,8 @@ import { RemiListDownloadReport, getRemiDownloadList } from './view/spendManagem
|
|
|
439
439
|
import { fetchRemiList, fetchRemiListPerTab, updateTab as updateRemiListTab, updateSubTab as updateRemiListSubTab, updateRemiDetailSaveRemiCode, updateRemiListUIState, updateSearchResult as updateRemiListSearchResult, updateFilterResult as updateRemiListFilterResult, updateRemiListDownloadUIState } from './view/spendManagement/reimbursement/remiListView/remiListReducer';
|
|
440
440
|
import { updateRemisBulkActionList, removeRemiFromBulkActionList, clearAllRemisFromBulkActionList, reviewDraftRemisBulkAction, approveOrRejectRemisBulkAction, cancelOrDeleteRemisBulkAction, submitDraftRemisBulkAction, autoReviewPendingApprovalRemis, clearRemiBulkActionView, incrementRemiBulkActionProcessedCount } from './view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer';
|
|
441
441
|
import { getRemisBulkReviewView, RemisBulkReviewView, getRemisBulkOperationProgress } from './view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewSelector';
|
|
442
|
-
|
|
442
|
+
import { toReimbursementTypeCode } from './commonStateTypes/reimbursementTypeCode';
|
|
443
|
+
export { MilageReimbursementLine, OutofPocketReimbursementLine, ReimbursementLine, ReimbursementTypeCode, Reimbursement, RemiTabType, toRemiSubTabType, toRemiSubTabTypeStrict, toRemiTabType, toRemiTabTypeStrict, toReimbursementTypeCode, RemiSubTabType, ReimbursementViewSortKey, RemiListUIState, RemiListReport, RemiListDownloadReport, ReimbursementView, ReimbursementFilters, ReimbursementFilterCategory, RemiListViewFilterCategoryField, getRemiList, getRemiDownloadList, fetchRemiList, fetchRemiListPerTab, updateRemiListTab, updateRemiListSubTab, updateRemiDetailSaveRemiCode, updateRemiListUIState, updateRemiListSearchResult, updateBillListFilterResult, updateRemiListFilterResult, REIMBURSEMENT_FILTER_CATEGORIES, REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED, updateRemiListDownloadUIState, updateBillListDownloadUIState, updateBillsBulkActionList, removeBillFromBulkActionList, clearAllBillsFromBulkActionList, getBillsBulkReviewView, BillsBulkReviewView, reviewDraftBillsBulkAction, approveOrRejectBillsBulkAction, cancelOrDeleteBillsBulkAction, submitDraftBillsBulkAction, autoReviewPendingApprovalBills, incrementBulkActionProcessedCount, getBillsBulkOperationProgress, BulkOperationProgress, clearBillPayBulkActionView, isBillConditionallyValid, getRemisBulkReviewView, RemisBulkReviewView, getRemisBulkOperationProgress, updateRemisBulkActionList, removeRemiFromBulkActionList, clearAllRemisFromBulkActionList, reviewDraftRemisBulkAction, approveOrRejectRemisBulkAction, cancelOrDeleteRemisBulkAction, submitDraftRemisBulkAction, autoReviewPendingApprovalRemis, clearRemiBulkActionView, incrementRemiBulkActionProcessedCount, RemiBulkSelectExceptionInfoType, OutsideZeniPaymentLocalData, updateOutsideZeniPaymentLocalData, discardOutsideZeniPaymentLocalData, checkIfCreatorIsApprover, };
|
|
443
444
|
export { AccountListSelectorView, ClassListSelectorView, getClassList };
|
|
444
445
|
export { BillTab, BillsSubTabType, SaveBillStageCode, BillPayReviewSelectorView, DuplicateBillsSelectorView, EditBillDetailSelectorView, LineItemRecommendationsLocalData, EditBillInitialDetails, BillableStatus, PaymentDetailsSection, BillListReport, BillListDownloadReport, WhatForSection, fetchBillList, fetchBillListPerTab, updateTab, updateSubTab, updateSelectedBillId, updateBillDetailSaveBillCode, fetchVendorByNameAndParseInvoice, saveBillUpdatesToLocalStore, discardBillUpdatesInLocalStore, saveBillDetail, approveOrRejectBill, updateApprovalStatusOnSuccess, deleteBill, cancelAndDeleteBill, retryOrRefundBill, getBillList, getBillDownloadList, BillDetailViewSelector, ActorActivityWithUser, BillActivity, StepWithStatus, getBillDetailView, checkApproveRejectBtnShowForBill, BillDetailView, getBillTransactionDetailKey, fetchBillDetail, fetchEditBillDetailPage, fetchAndUpdateVendorRecommendations, fetchDuplicateBill, clearBillPayReview, EditBillDetail, EditBillDetailViewState, getEditBillDetail, getReviewPageBillDetail, BillDetailLocalData, PaymentDetailsSectionView, fetchBillAndInitializeLocalStore, updateShowAutofill, saveVendorSuccessOrFailure, PreviousBillsSelectorView, BillPaymentStatus, BillPaymentStatusCodeType, BillPaymentRefundStatus, BillPaymentRefundStatusCodeType, BillStatus, BillStatusCodeType, BillApprovalType, updateBillListUIState, BillListUIState, BillPayViewSortKey, BillPayFilters, BillPayFilterCategory, BillListViewFilterCategoryField, BILL_PAY_FILTER_CATEGORIES, updateVendorDetailLocalData, resetVendorDetailLocalData, updateContactsInVendorDetailLocalData, updateVendorTabDetailUIState, updateContactsInVendorTabDetailLocalData, updateBillUploadFetchState, updateBillListSearchResult, fetchUserDetails, verifyUser, updateVendorContact, PaymentToOption, toPaymentToOption, convertAmountToHomeCurrency, RecurringBillInstance, RecurringBillConfigLocalData, EditRecurringBillType, fetchVendorAndUpdateBillLocalData, markBillForRetry, };
|
|
445
446
|
import { SpendManagementFiltersType, SpendManagementFilterEntityType, FilterCategoryType, BillPayFilterCategoryDropdownOption, ReimbursementFilterCategoryDropdownOption, TaskFilterCategoryDropdownOption, SpendManagementFilterCategoryDropdownOption, MatchingOperatorDropdownOption, CategoryCombinationOperator, hideCreatedByFilter } from './view/spendManagement/spendManagementFilterHelpers';
|
|
@@ -505,10 +506,10 @@ import { EditRemiDetailSelectorView, ReimbursementLineWithAttachment, Segregated
|
|
|
505
506
|
export { EditRemiDetailSelectorView, ReimbursementLineWithAttachment, SegregatedReimbursementLineWithAttachment, getEditRemiDetail, ReimbursementLineWithAttachmentAndRecommendation, };
|
|
506
507
|
import { RemiDetailLocalData, AutoFields, OutofPocketReimbursementLineWithRecommendation, SegregatedReimbursementLineWithRecommendation, SegregatedReimbursementLine, MilageLine, OutofPocketLine } from './view/spendManagement/reimbursement/editRemiView/editRemiViewState';
|
|
507
508
|
import { Merchant } from './entity/merchant/merchant';
|
|
508
|
-
import { fetchEditRemiDetailPage, fetchRecommendationsAndUpdateMerchantRecommendations, fetchRemiAndInitializeLocalStore, initializeRemiToLocalStore, saveRemiUpdatesToLocalStore, fetchCurrencyConversionValue, discardRemiUpdatesInLocalStore, removeFileFromRemiUpdatesInLocalStore, saveRemiDetail, saveRemiSuccessOrFailure, parseReceiptsToRemi, clearEditRemiViewDetail, updateAddRemiAutoFields, clearAddRemiAutoFields, updateUploadFetchState, updateTentativeMerchantNames, clearTentativeMerchantName, updateHomeCurrencyConversion } from './view/spendManagement/reimbursement/editRemiView/editRemiViewReducer';
|
|
509
|
+
import { fetchEditRemiDetailPage, fetchRecommendationsAndUpdateMerchantRecommendations, fetchRemiAndInitializeLocalStore, initializeRemiToLocalStore, saveRemiUpdatesToLocalStore, fetchCurrencyConversionValue, discardRemiUpdatesInLocalStore, removeFileFromRemiUpdatesInLocalStore, saveRemiDetail, saveRemiSuccessOrFailure, parseReceiptsToRemi, clearEditRemiViewDetail, updateAddRemiAutoFields, clearAddRemiAutoFields, updateUploadFetchState, updateTentativeMerchantNames, clearTentativeMerchantName, updateReimbursementType, updateHomeCurrencyConversion } from './view/spendManagement/reimbursement/editRemiView/editRemiViewReducer';
|
|
509
510
|
export { RemiDetailLocalData, AutoFields, OutofPocketReimbursementLineWithRecommendation, SegregatedReimbursementLineWithRecommendation, SegregatedReimbursementLine, MilageLine, OutofPocketLine, };
|
|
510
511
|
export { Merchant };
|
|
511
|
-
export { fetchEditRemiDetailPage, fetchRecommendationsAndUpdateMerchantRecommendations, fetchRemiAndInitializeLocalStore, initializeRemiToLocalStore, saveRemiUpdatesToLocalStore, fetchCurrencyConversionValue, discardRemiUpdatesInLocalStore, removeFileFromRemiUpdatesInLocalStore, saveRemiDetail, saveRemiSuccessOrFailure, parseReceiptsToRemi, clearEditRemiViewDetail, updateAddRemiAutoFields, updateUploadFetchState, updateTentativeMerchantNames, clearTentativeMerchantName, updateHomeCurrencyConversion, clearAddRemiAutoFields, };
|
|
512
|
+
export { fetchEditRemiDetailPage, fetchRecommendationsAndUpdateMerchantRecommendations, fetchRemiAndInitializeLocalStore, initializeRemiToLocalStore, saveRemiUpdatesToLocalStore, fetchCurrencyConversionValue, discardRemiUpdatesInLocalStore, removeFileFromRemiUpdatesInLocalStore, saveRemiDetail, saveRemiSuccessOrFailure, parseReceiptsToRemi, clearEditRemiViewDetail, updateAddRemiAutoFields, updateUploadFetchState, updateTentativeMerchantNames, clearTentativeMerchantName, updateReimbursementType, updateHomeCurrencyConversion, clearAddRemiAutoFields, };
|
|
512
513
|
import { CustomerRatingCodeType, TeamRatingCodeType } from './entity/customerSatisfaction/customerSatisfactionState';
|
|
513
514
|
import { CustomerSatisfactionInfo } from './entity/customerSatisfaction/customerSatisfactionSelectorReducerTypes';
|
|
514
515
|
import { clearOnboardingCustomerViewUpdateData, fetchCompanyOnboardingView, getOnboardingEmailGroup, initializeOnboardingCustomerViewUpdateData, saveOnboardingCustomerViewUpdateData, saveOnboardingCustomerViewUpdates, saveOnboardingCustomerNotes, saveOnboardingCustomerCompletedStatus, updateOnboardingCustomerListUIState, updateStatusAfterOnboardingCompleted, updateCustomerCreationStatus, fetchOnboardingCompletedCompanies, saveOnboardingCustomerDataInLocalStore, updateOnboardingCustomerDataInLocalStore, resetNewOnboardedCustomerId, sendOnboardingCustomerViewInvite, retryBankAccountConnectionForOnboarding } from './view/onboardingView/cockpitView/onboardingCockpitViewReducer';
|
|
@@ -539,8 +540,8 @@ import { SnackbarMessageSections, SnackbarMessageSectionTexts, SnackbarMessageTy
|
|
|
539
540
|
import { SnackbarMessageConfig } from './entity/snackbar/snackbarState';
|
|
540
541
|
import { getSnackbar } from './entity/snackbar/snackbarSelector';
|
|
541
542
|
export { openSnackbar, closeSnackbar, getSnackbar, SnackbarMessageType, SnackbarMessageSections, SnackbarMessageSectionTexts, SnackbarMessageConfig, };
|
|
542
|
-
import { getSpendManagementEffectiveListPeriod, getSelectedCompanyOfficer, showBillPayPromoPage, showReimbursementPromoPage, getActualPaymentDate, isVerifiedStatusCode, isBulkProcessing, getBillListUniqueType, getRemiListUniqueType, BulkOperationFinishedType, getBulkOperationSuffix, BulkOperationType, ZeniAccountsPromoConfig, toAccountsPromoConfig } from './view/spendManagement/helpers';
|
|
543
|
-
export { getSpendManagementEffectiveListPeriod, getSelectedCompanyOfficer, showBillPayPromoPage, showReimbursementPromoPage, getActualPaymentDate, isVerifiedStatusCode, isBulkProcessing, getBillListUniqueType, getRemiListUniqueType, BulkOperationType, BulkOperationFinishedType, getBulkOperationSuffix, ZeniAccountsPromoConfig, toAccountsPromoConfig, };
|
|
543
|
+
import { getSpendManagementEffectiveListPeriod, getSelectedCompanyOfficer, showBillPayPromoPage, showReimbursementPromoPage, getActualPaymentDate, isVerifiedStatusCode, isBulkProcessing, getBillListUniqueType, getRemiListUniqueType, BulkOperationFinishedType, getBulkOperationSuffix, BulkOperationType, ZeniAccountsPromoConfig, toAccountsPromoConfig, isPaymentMethodOutsideZeni, isAwaitingMarkAsPaid } from './view/spendManagement/helpers';
|
|
544
|
+
export { getSpendManagementEffectiveListPeriod, getSelectedCompanyOfficer, showBillPayPromoPage, showReimbursementPromoPage, getActualPaymentDate, isVerifiedStatusCode, isBulkProcessing, getBillListUniqueType, getRemiListUniqueType, BulkOperationType, BulkOperationFinishedType, getBulkOperationSuffix, ZeniAccountsPromoConfig, toAccountsPromoConfig, isPaymentMethodOutsideZeni, isAwaitingMarkAsPaid, };
|
|
544
545
|
import { FilterCategoryValueType, canSendMonthEndEmailReport, shouldEnableCalendarPickerForLastReportSent } from './view/companyView/helpers/cockpitHelpers';
|
|
545
546
|
export { FilterCategoryValueType, canSendMonthEndEmailReport, shouldEnableCalendarPickerForLastReportSent, };
|
|
546
547
|
import { BillPayConfig, BillPaymentConfigCodeType, BillPaymentSubConfigCodeType, VendorCurrency, InternationalSubConfigCodeType, BILL_NEW_PAYMENT_METHODS, NEW_INTERNATIONAL_METHOD_SUBTEXT, SWIFT_OUR_INTERNATIONAL_METHOD_SUBTEXT, LOCAL_CURRENCY_INTERNATIONAL_METHOD_SUBTEXT, AccountTypeSubConfigCodeKeyType } from './view/spendManagement/billPay/billPayConfig/billPayConfigState';
|