@zeniai/client-epic-state 4.12.49 → 4.12.50

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.
Files changed (80) hide show
  1. package/lib/entity/billPay/billTransaction/billTransactionPayload.d.ts +1 -12
  2. package/lib/entity/billPay/billTransaction/billTransactionPayload.js +1 -23
  3. package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +0 -12
  4. package/lib/entity/billPay/billTransaction/billTransactionState.js +0 -8
  5. package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +2 -2
  6. package/lib/entity/snackbar/snackbarState.d.ts +0 -6
  7. package/lib/entity/snackbar/snackbarTypes.d.ts +5 -1
  8. package/lib/entity/snackbar/snackbarTypes.js +0 -3
  9. package/lib/entity/task/taskPayload.d.ts +0 -1
  10. package/lib/entity/task/taskPayload.js +1 -5
  11. package/lib/entity/task/taskState.d.ts +0 -1
  12. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
  13. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.js +5 -12
  14. package/lib/entity/toastNotification/toastNotificationPayload.js +15 -28
  15. package/lib/entity/toastNotification/toastNotificationState.d.ts +8 -8
  16. package/lib/entity/toastNotification/toastNotificationState.js +8 -9
  17. package/lib/entity/transaction/stateTypes/transactionType.d.ts +2 -2
  18. package/lib/epic.d.ts +6 -8
  19. package/lib/epic.js +6 -8
  20. package/lib/index.d.ts +6 -8
  21. package/lib/index.js +12 -16
  22. package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.d.ts +1 -1
  23. package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.d.ts +1 -1
  24. package/lib/view/cardPayment/epic/createCardSetupIntentEpic.d.ts +1 -1
  25. package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.d.ts +1 -1
  26. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
  27. package/lib/view/people/deletePersonEpic.d.ts +1 -1
  28. package/lib/view/people/invitePeopleEpic.d.ts +1 -1
  29. package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
  30. package/lib/view/people/resendInviteEpic.d.ts +1 -1
  31. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +4 -4
  32. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
  33. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewPayload.d.ts +0 -5
  34. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.d.ts +1 -22
  35. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js +2 -133
  36. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.d.ts +1 -2
  37. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +0 -2
  38. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewState.d.ts +0 -9
  39. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewState.js +0 -14
  40. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.d.ts +2 -2
  41. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +1 -10
  42. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.d.ts +0 -1
  43. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +0 -3
  44. package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.d.ts +1 -3
  45. package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.js +2 -6
  46. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +0 -1
  47. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +0 -3
  48. package/lib/view/spendManagement/billPay/editBillView/editBillViewState.d.ts +0 -1
  49. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +0 -68
  50. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +1 -2
  51. package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
  52. package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
  53. package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +0 -1
  54. package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +0 -2
  55. package/lib/view/taskManager/taskDetailView/taskDetail.d.ts +0 -1
  56. package/lib/view/taskManager/taskDetailView/taskDetail.js +0 -1
  57. package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +1 -2
  58. package/lib/view/taskManager/taskListView/{epics/bulkUpdateTaskListEpic.d.ts → bulkUpdateTaskListEpic.d.ts} +6 -8
  59. package/lib/view/taskManager/taskListView/{epics/bulkUpdateTaskListEpic.js → bulkUpdateTaskListEpic.js} +5 -13
  60. package/lib/view/taskManager/taskListView/{epics/dragNDropTasksEpic.d.ts → dragNDropTasksEpic.d.ts} +2 -2
  61. package/lib/view/taskManager/taskListView/{epics/dragNDropTasksEpic.js → dragNDropTasksEpic.js} +2 -2
  62. package/lib/view/taskManager/taskListView/{epics/fetchTaskListEpic.d.ts → fetchTaskListEpic.d.ts} +5 -5
  63. package/lib/view/taskManager/taskListView/{epics/fetchTaskListEpic.js → fetchTaskListEpic.js} +4 -4
  64. package/lib/view/taskManager/taskListView/{epics/fetchTaskListPageEpic.d.ts → fetchTaskListPageEpic.d.ts} +6 -6
  65. package/lib/view/taskManager/taskListView/{epics/fetchTaskListPageEpic.js → fetchTaskListPageEpic.js} +5 -5
  66. package/lib/view/taskManager/taskListView/taskList.d.ts +1 -1
  67. package/lib/view/taskManager/taskListView/taskList.js +0 -1
  68. package/lib/view/taskManager/taskListView/taskListSelector.js +0 -2
  69. package/lib/view/taskManager/taskListView/{epics/updateTaskFromListViewEpic.d.ts → updateTaskFromListViewEpic.d.ts} +4 -4
  70. package/lib/view/taskManager/taskListView/{epics/updateTaskFromListViewEpic.js → updateTaskFromListViewEpic.js} +7 -5
  71. package/lib/view/transactionDetail/transactionDetailState.d.ts +2 -2
  72. package/package.json +2 -3
  73. package/lib/commonStateTypes/fiscalYearHelpers/formatMinutesToFromHHMM.d.ts +0 -2
  74. package/lib/commonStateTypes/fiscalYearHelpers/formatMinutesToFromHHMM.js +0 -26
  75. package/lib/entity/toastNotification/toastNotificationConstants.d.ts +0 -4
  76. package/lib/entity/toastNotification/toastNotificationConstants.js +0 -7
  77. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchEligibleActionsForBillEpic.d.ts +0 -7
  78. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchEligibleActionsForBillEpic.js +0 -42
  79. package/lib/view/spendManagement/billPay/billDetailView/epics/retryOrRefundBillEpic.d.ts +0 -9
  80. package/lib/view/spendManagement/billPay/billDetailView/epics/retryOrRefundBillEpic.js +0 -76
@@ -1,6 +1,6 @@
1
1
  import { ID } from '../../../commonStateTypes/common';
2
2
  import { VendorTransactionPayload } from '../../transaction/payloadTypes/vendorTransactionPayload';
3
- import { BillStage, BillTransaction, BillPaymentMethod, BillPaymentStatus, BillPaymentRefundStatus, BillStatus, DeletionInfo } from './billTransactionState';
3
+ import { BillStage, BillTransaction, BillPaymentMethod, BillPaymentStatus, BillStatus, DeletionInfo } from './billTransactionState';
4
4
  export interface BillTransactionPayload extends VendorTransactionPayload {
5
5
  bill_pay_info: BillPayInfoPayload;
6
6
  entity_approval_id: ID;
@@ -46,7 +46,6 @@ interface BillPayInfoPayload {
46
46
  bill_payment_status: BillPaymentStatusPayload;
47
47
  bill_payment_status_message?: string | null;
48
48
  bill_payment_status_update_time?: string | null;
49
- bill_payment_refund_status: BillPaymentRefundStatusPayload;
50
49
  actual_deposit_date?: string | null;
51
50
  expected_deposit_date?: string | null;
52
51
  bill_payment_method_type: BillPaymentMethodPayload;
@@ -57,10 +56,6 @@ interface BillPayInfoPayload {
57
56
  to_account_vendor_email?: string | null;
58
57
  is_collect_to_account_info_from_vendor_contact?: boolean;
59
58
  international_transfer_fee_bearer_payment_method?: string | null;
60
- is_refund_complete: boolean | null;
61
- is_refund_initiated: boolean | null;
62
- refund_completion_time?: string;
63
- refund_initiation_time?: string;
64
59
  }
65
60
  export interface BillStagePayload {
66
61
  code: string;
@@ -74,11 +69,6 @@ export interface BillPaymentStatusPayload {
74
69
  summary: string;
75
70
  description: string;
76
71
  }
77
- export interface BillPaymentRefundStatusPayload {
78
- code: string | null;
79
- name: string | null;
80
- description: string;
81
- }
82
72
  export interface BillStatusPayload {
83
73
  summary_code: string | null;
84
74
  code: string;
@@ -107,7 +97,6 @@ export declare const toBillTransaction: (payload: BillTransactionPayload) => Bil
107
97
  export declare const toBillStage: (payload: BillStagePayload) => BillStage;
108
98
  export declare const toBillPaymentMethod: (payload: BillPaymentMethodPayload) => BillPaymentMethod;
109
99
  export declare const toBillPaymentStatus: (payload: BillPaymentStatusPayload) => BillPaymentStatus;
110
- export declare const toBillPaymentRefundStatus: (payload: BillPaymentRefundStatusPayload) => BillPaymentRefundStatus;
111
100
  export declare const toBillStatus: (payload: BillStatusPayload) => BillStatus;
112
101
  export declare const toDeletionInfo: (payload: DeletionInfoPayload) => DeletionInfo;
113
102
  export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toDeletionInfo = exports.toBillStatus = exports.toBillPaymentRefundStatus = exports.toBillPaymentStatus = exports.toBillPaymentMethod = exports.toBillStage = exports.toBillTransaction = void 0;
3
+ exports.toDeletionInfo = exports.toBillStatus = exports.toBillPaymentStatus = exports.toBillPaymentMethod = exports.toBillStage = exports.toBillTransaction = void 0;
4
4
  const amount_1 = require("../../../commonStateTypes/amount");
5
5
  const zeniDayJS_1 = require("../../../zeniDayJS");
6
6
  const vendorTransactionPayload_1 = require("../../transaction/payloadTypes/vendorTransactionPayload");
@@ -47,7 +47,6 @@ const toBillPayInfo = (payload) => {
47
47
  ? (0, zeniDayJS_1.date)(payload.bill_payment_status_update_time)
48
48
  : undefined,
49
49
  billPaymentMethodType: (0, exports.toBillPaymentMethod)(payload.bill_payment_method_type),
50
- billPaymentRefundStatus: (0, exports.toBillPaymentRefundStatus)(payload.bill_payment_refund_status),
51
50
  fromAccount: toFromBillAccount(payload.from_account),
52
51
  toAccount: toBillAccount(payload.to_account, (0, exports.toBillPaymentMethod)(payload.bill_payment_method_type)),
53
52
  isCancelled: payload.is_cancelled,
@@ -63,16 +62,6 @@ const toBillPayInfo = (payload) => {
63
62
  internationalTransferFeeBearerPaymentMethod: payload.international_transfer_fee_bearer_payment_method != null
64
63
  ? (0, billTransactionState_1.toInternationalTransferFeeBearerPaymentMethod)(payload.international_transfer_fee_bearer_payment_method)
65
64
  : undefined,
66
- isRefundComplete: payload.is_refund_complete != null ? payload.is_refund_complete : undefined,
67
- isRefundInitiated: payload.is_refund_initiated != null
68
- ? payload.is_refund_initiated
69
- : undefined,
70
- refundCompletionTime: payload.refund_completion_time != null
71
- ? (0, zeniDayJS_1.date)(payload.refund_completion_time)
72
- : undefined,
73
- refundInitiationTime: payload.refund_initiation_time != null
74
- ? (0, zeniDayJS_1.date)(payload.refund_initiation_time)
75
- : undefined,
76
65
  });
77
66
  };
78
67
  const toBillStage = (payload) => {
@@ -139,17 +128,6 @@ const toBillPaymentStatus = (payload) => {
139
128
  });
140
129
  };
141
130
  exports.toBillPaymentStatus = toBillPaymentStatus;
142
- const toBillPaymentRefundStatus = (payload) => {
143
- var _a;
144
- return ({
145
- code: payload.code != null
146
- ? payload.code
147
- : undefined,
148
- name: (_a = payload.name) !== null && _a !== void 0 ? _a : '',
149
- description: payload.description,
150
- });
151
- };
152
- exports.toBillPaymentRefundStatus = toBillPaymentRefundStatus;
153
131
  const toBillStatus = (payload) => ({
154
132
  code: payload.code,
155
133
  name: payload.name,
@@ -45,7 +45,6 @@ export interface BillPayInfo {
45
45
  billPaymentStatusMessage: string;
46
46
  billPaymentStatusUpdateTime?: ZeniDate;
47
47
  billPaymentMethodType: BillPaymentMethod;
48
- billPaymentRefundStatus: BillPaymentRefundStatus;
49
48
  fromAccount: FromBillAccount;
50
49
  toAccount: BillAccount;
51
50
  isCancelled: boolean;
@@ -53,10 +52,6 @@ export interface BillPayInfo {
53
52
  toAccountVendorEmail?: string;
54
53
  isCollectToAccountInfoFromVendorContact: boolean;
55
54
  internationalTransferFeeBearerPaymentMethod?: InternationalTransferFeeBearerPaymentMethod;
56
- isRefundComplete?: boolean;
57
- isRefundInitiated?: boolean;
58
- refundCompletionTime?: ZeniDate;
59
- refundInitiationTime?: ZeniDate;
60
55
  }
61
56
  export declare const toInternationalTransferFeeBearerPaymentMethod: (v: string) => "swift_our" | "swift_sha";
62
57
  export declare type InternationalTransferFeeBearerPaymentMethod = ReturnType<typeof toInternationalTransferFeeBearerPaymentMethod>;
@@ -72,11 +67,6 @@ export interface BillPaymentStatus {
72
67
  summary: string;
73
68
  description: string;
74
69
  }
75
- export interface BillPaymentRefundStatus {
76
- name: string;
77
- description: string;
78
- code?: BillPaymentRefundStatusCodeType;
79
- }
80
70
  export interface BillStatus {
81
71
  summaryCode?: BillStatusSummaryCodeType;
82
72
  code: BillStatusCodeType;
@@ -109,8 +99,6 @@ declare const toBillStageCodeType: (v: string) => "paid" | "pending_approval" |
109
99
  export declare type BillStageCodeType = ReturnType<typeof toBillStageCodeType>;
110
100
  declare const toBillPaymentStatusCodeType: (v: string) => "failed" | "processing" | "paid" | "returned" | "posted" | "cancelled" | "pending_vendor_action";
111
101
  export declare type BillPaymentStatusCodeType = ReturnType<typeof toBillPaymentStatusCodeType>;
112
- declare const toBillPaymentRefundStatusCodeType: (v: string) => "failed" | "completed" | "processing" | "returned" | "cancelled";
113
- export declare type BillPaymentRefundStatusCodeType = ReturnType<typeof toBillPaymentRefundStatusCodeType>;
114
102
  declare const toBillStatusCodeType: (v: string) => "rejected" | "approved" | "pending_approval" | "initiated";
115
103
  export declare type BillStatusCodeType = ReturnType<typeof toBillStatusCodeType>;
116
104
  declare const toBillStatusSummaryCodeType: (v: string) => "rejected" | "approval_in_progress";
@@ -25,14 +25,6 @@ const BILL_PAYMENT_STATUS_CODE = [
25
25
  'pending_vendor_action',
26
26
  ];
27
27
  const toBillPaymentStatusCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, BILL_PAYMENT_STATUS_CODE);
28
- const BILL_PAYMENT_REFUND_STATUS_CODE = [
29
- 'completed',
30
- 'failed',
31
- 'processing',
32
- 'returned',
33
- 'cancelled',
34
- ];
35
- const toBillPaymentRefundStatusCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, BILL_PAYMENT_REFUND_STATUS_CODE);
36
28
  const BILL_STATUS_CODE = [
37
29
  'initiated',
38
30
  'pending_approval',
@@ -18,8 +18,8 @@ export declare const updateJESchedules: import("@reduxjs/toolkit").ActionCreator
18
18
  jeSchedulesPayload: JEAccruedScheduledTransactionPayload[];
19
19
  scheduledJEntriesPayload: ScheduledJournalEntryPayload[] | undefined;
20
20
  updateType: UpdateType;
21
- }, string, never, never>, deleteJESchedulesDetails: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[jeScheduleTransactionKey: `${string}_expense` | `${string}_refund` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`], {
22
- jeScheduleTransactionKey: `${string}_expense` | `${string}_refund` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
21
+ }, string, never, never>, deleteJESchedulesDetails: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[jeScheduleTransactionKey: `${string}_expense` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`], {
22
+ jeScheduleTransactionKey: `${string}_expense` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
23
23
  }, string, never, never>, deleteAccruedJESchedulesDetails: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[JEScheduleKey: `${string}_${string}`], {
24
24
  JEScheduleKey: `${string}_${string}`;
25
25
  }, string, never, never>, clearAllAccruedJESchedules: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, clearAllJEScheduleTransactions: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
@@ -12,9 +12,3 @@ export interface SnackbarState {
12
12
  snackbarType: SnackbarMessageType;
13
13
  showStatusIcon: boolean;
14
14
  }
15
- export interface SnackbarMessageConfig {
16
- messageSection: SnackbarMessageSections;
17
- messageText: SnackbarMessageSectionTexts;
18
- type: SnackbarMessageType;
19
- showStatusIcon?: boolean;
20
- }
@@ -1,5 +1,9 @@
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" | "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" | "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" | "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" | "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";
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" | "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" | "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_accept_term" | "charge_card_receipt_upload" | "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" | "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";
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
5
  export declare type SnackbarMessageType = 'info' | 'warning' | 'error' | 'none' | 'success' | 'notification';
6
+ export interface SnackbarVariablesType {
7
+ variableName: string;
8
+ variableValue: string;
9
+ }
@@ -56,8 +56,6 @@ const ALL_SNACKBAR_MESSAGE_SECTIONS = [
56
56
  'bill_pay_accept_term',
57
57
  'bill_pay_bulk_submit',
58
58
  'bill_pay_bulk_processed',
59
- 'bill_pay_refund',
60
- 'bill_pay_retry',
61
59
  'zeni_account_accept_term',
62
60
  'update_vendor',
63
61
  'data_refresh_update',
@@ -126,7 +124,6 @@ const ALL_SNACKBAR_MESSAGE_SECTIONS = [
126
124
  'task_group_deletion_success',
127
125
  'task_group_update_success',
128
126
  'primary_funding_account_updated',
129
- 'task_time_spent_validation',
130
127
  ];
131
128
  const toSnackbarMessageSection = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_SNACKBAR_MESSAGE_SECTIONS);
132
129
  exports.toSnackbarMessageSection = toSnackbarMessageSection;
@@ -22,7 +22,6 @@ export interface TaskPayload {
22
22
  task_group_ids?: string[] | null;
23
23
  sync_token?: string | null;
24
24
  company_id?: string;
25
- time_spent: number;
26
25
  }
27
26
  export declare const mapTaskPayloadToTask: (payload: TaskPayload) => Task;
28
27
  export interface TagIdWithNamePayload {
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.mapTaskPayloadToTask = void 0;
4
+ const recurringViewHelper_1 = require("../../view/common/recurringViewHelper");
4
5
  const zeniDayJS_1 = require("../../zeniDayJS");
5
- const formatMinutesToFromHHMM_1 = require("../../commonStateTypes/fiscalYearHelpers/formatMinutesToFromHHMM");
6
6
  const taskState_1 = require("./taskState");
7
- const recurringViewHelper_1 = require("../../view/common/recurringViewHelper");
8
7
  const mapTaskPayloadToTask = (payload) => {
9
8
  var _a;
10
9
  return ({
@@ -41,9 +40,6 @@ const mapTaskPayloadToTask = (payload) => {
41
40
  updateTime: payload.update_time != null ? (0, zeniDayJS_1.date)(payload.update_time) : undefined,
42
41
  companyId: payload.company_id,
43
42
  taskGroupIds: payload.task_group_ids != null ? payload.task_group_ids : [],
44
- timeSpent: payload.time_spent != null
45
- ? (0, formatMinutesToFromHHMM_1.convertMinutesToHHMM)(payload.time_spent)
46
- : (0, formatMinutesToFromHHMM_1.convertMinutesToHHMM)(0),
47
43
  });
48
44
  };
49
45
  exports.mapTaskPayloadToTask = mapTaskPayloadToTask;
@@ -23,7 +23,6 @@ export interface Task {
23
23
  updateTime?: ZeniDate;
24
24
  companyId?: ID;
25
25
  taskGroupIds: ID[];
26
- timeSpent: string;
27
26
  }
28
27
  export interface TaskState {
29
28
  taskByID: Record<ID, Task>;
@@ -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" | "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" | "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" | "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" | "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";
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" | "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" | "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_accept_term" | "charge_card_receipt_upload" | "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" | "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";
9
9
  messageText: "failed" | "success" | "notification";
10
10
  type: import("../../..").SnackbarMessageType;
11
11
  showStatusIcon?: boolean | undefined;
@@ -6,7 +6,6 @@ const operators_1 = require("rxjs/operators");
6
6
  const toastNotificationReducer_1 = require("../toastNotificationReducer");
7
7
  const snackbarReducer_1 = require("../../../entity/snackbar/snackbarReducer");
8
8
  const toastNotificationState_1 = require("../toastNotificationState");
9
- const toastNotificationConstants_1 = require("../toastNotificationConstants");
10
9
  const pushToastNotificationEpic = (actions$, state$) => actions$.pipe((0, operators_1.filter)(toastNotificationReducer_1.pushToastNotification.match), (0, operators_1.mergeMap)(function () {
11
10
  const state = state$.value.toastNotificationState;
12
11
  const notificationCount = state.notifications.length;
@@ -19,24 +18,18 @@ const pushToastNotificationEpic = (actions$, state$) => actions$.pipe((0, operat
19
18
  type: 'notification',
20
19
  variables: [
21
20
  {
22
- variableName: toastNotificationConstants_1.NOTIFICATION_COUNT_VARIABLE_NAME,
21
+ variableName: '_notification_count_',
23
22
  variableValue: notificationCount.toString(),
24
23
  },
25
24
  ],
26
25
  }),
27
26
  ]);
28
27
  }
29
- if (lastNotification != null) {
30
- const notificationConfig = (0, toastNotificationState_1.getToastNotificationFromIdentifier)(lastNotification);
31
- if (lastNotification === null || lastNotification === void 0 ? void 0 : lastNotification.message) {
32
- notificationConfig.variables.push({
33
- variableName: toastNotificationConstants_1.MESSAGE_TEXT_VARIABLE_NAME,
34
- variableValue: lastNotification.message,
35
- });
36
- }
37
- return (0, rxjs_1.from)([(0, snackbarReducer_1.openSnackbar)(notificationConfig)]);
28
+ else {
29
+ return (0, rxjs_1.from)([
30
+ (0, snackbarReducer_1.openSnackbar)((0, toastNotificationState_1.getToastNotificationFromIdentifier)(lastNotification)),
31
+ ]);
38
32
  }
39
- return (0, rxjs_1.from)([]);
40
33
  }));
41
34
  exports.pushToastNotificationEpic = pushToastNotificationEpic;
42
35
  exports.default = exports.pushToastNotificationEpic;
@@ -3,36 +3,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.mapNotificationPayloadToToastNotification = void 0;
4
4
  const zeniDayJS_1 = require("../../zeniDayJS");
5
5
  const notificationTypes_1 = require("../notification/types/notificationTypes");
6
- const toastNotificationConstants_1 = require("./toastNotificationConstants");
7
6
  const mapNotificationPayloadToToastNotification = (payload) => {
8
- const allowedVariableKeys = new Set(['task_name', 'status', 'message']);
9
- const variablesKeys = Object.keys(payload.data).filter((variable) => allowedVariableKeys.has(variable));
7
+ var _a;
8
+ const variables_keys = Object.keys(payload.data).filter((variable) => variable !== 'message');
10
9
  const variables = [];
11
- variablesKeys.forEach((variable) => {
12
- var _a, _b, _c;
13
- let variableName;
14
- let variableValue;
15
- switch (variable) {
16
- case 'task_name':
17
- variableName = toastNotificationConstants_1.TASK_NAME_VARIABLE_NAME;
18
- variableValue = (_a = payload.data.task_name) !== null && _a !== void 0 ? _a : '';
19
- break;
20
- case 'status':
21
- variableName = toastNotificationConstants_1.STATUS_NAME_VARIABLE_NAME;
22
- variableValue = (_b = payload.data.status) !== null && _b !== void 0 ? _b : '';
23
- break;
24
- default:
25
- variableName = toastNotificationConstants_1.MESSAGE_TEXT_VARIABLE_NAME;
26
- variableValue = (_c = payload.data.message) !== null && _c !== void 0 ? _c : '';
27
- break;
28
- }
29
- if (variableValue != '') {
30
- variables.push({
31
- variableName,
32
- variableValue,
33
- });
34
- }
35
- });
10
+ if (variables_keys.find((variable) => variable === 'task_name') != null) {
11
+ variables.push({
12
+ variableName: '_task_name_',
13
+ variableValue: (_a = payload.data.task_name) !== null && _a !== void 0 ? _a : '',
14
+ });
15
+ }
16
+ if (variables_keys.find((variable) => variable === 'status') != null &&
17
+ payload.data.status != null) {
18
+ variables.push({
19
+ variableName: '_status_name_',
20
+ variableValue: payload.data.status,
21
+ });
22
+ }
36
23
  return {
37
24
  notificationId: payload.notification_id,
38
25
  notificationGroup: payload.notification_group,
@@ -1,11 +1,7 @@
1
1
  import { ID } from '../../commonStateTypes/common';
2
2
  import { ZeniDate } from '../../zeniDayJS';
3
3
  import { NotificationGroup, NotificationIdentifierType } from '../notification/types/notificationTypes';
4
- import { SnackbarMessageConfig } from '../snackbar/snackbarState';
5
- export interface ToastNotificationVariablesType {
6
- variableName: string;
7
- variableValue: string;
8
- }
4
+ import { SnackbarMessageSections, SnackbarMessageSectionTexts, SnackbarMessageType, SnackbarVariablesType } from '../snackbar/snackbarTypes';
9
5
  export interface ToastNotification {
10
6
  notificationId: ID;
11
7
  notificationGroup: NotificationGroup;
@@ -13,15 +9,19 @@ export interface ToastNotification {
13
9
  message: string;
14
10
  timestamp: ZeniDate;
15
11
  notificationIdentifier: NotificationIdentifierType;
16
- variables: ToastNotificationVariablesType[];
12
+ variables: SnackbarVariablesType[];
17
13
  }
18
14
  export interface ToastNotificationState {
19
15
  notifications: ToastNotification[];
20
16
  lastNotificationTime: number;
21
17
  notificationTimeoutId: number | null;
22
18
  }
23
- interface ToastNotificationConfig extends SnackbarMessageConfig {
24
- variables: ToastNotificationVariablesType[];
19
+ interface ToastNotificationConfig {
20
+ messageSection: SnackbarMessageSections;
21
+ messageText: SnackbarMessageSectionTexts;
22
+ type: SnackbarMessageType;
23
+ showStatusIcon?: boolean;
24
+ variables: SnackbarVariablesType[];
25
25
  }
26
26
  export declare const getToastNotificationFromIdentifier: (payload: ToastNotification) => ToastNotificationConfig;
27
27
  export {};
@@ -3,54 +3,53 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getToastNotificationFromIdentifier = void 0;
4
4
  const notificationTypes_1 = require("../notification/types/notificationTypes");
5
5
  const snackbarTypes_1 = require("../snackbar/snackbarTypes");
6
- const toastNotificationConstants_1 = require("./toastNotificationConstants");
7
6
  const toastNotificationMapper = {
8
7
  task_assigned: {
9
8
  messageSection: 'task_assigned_toast_notification',
10
9
  messageText: 'notification',
11
- variables: [toastNotificationConstants_1.TASK_NAME_VARIABLE_NAME],
10
+ variables: ['_task_name_'],
12
11
  type: 'notification',
13
12
  },
14
13
  task_status_updated: {
15
14
  messageSection: 'task_due_tomorrow_toast_notification',
16
15
  messageText: 'notification',
17
- variables: [toastNotificationConstants_1.TASK_NAME_VARIABLE_NAME, toastNotificationConstants_1.STATUS_NAME_VARIABLE_NAME],
16
+ variables: ['_task_name_', '_status_name_'],
18
17
  type: 'notification',
19
18
  },
20
19
  task_deleted: {
21
20
  messageSection: 'task_deleted_toast_notification',
22
21
  messageText: 'notification',
23
- variables: [toastNotificationConstants_1.TASK_NAME_VARIABLE_NAME],
22
+ variables: ['_task_name_'],
24
23
  type: 'notification',
25
24
  },
26
25
  task_archived: {
27
26
  messageSection: 'task_archived_toast_notification',
28
27
  messageText: 'notification',
29
- variables: [toastNotificationConstants_1.TASK_NAME_VARIABLE_NAME],
28
+ variables: ['_task_name_'],
30
29
  type: 'notification',
31
30
  },
32
31
  task_due: {
33
32
  messageSection: 'task_due_tomorrow_toast_notification',
34
33
  messageText: 'notification',
35
- variables: [toastNotificationConstants_1.TASK_NAME_VARIABLE_NAME, toastNotificationConstants_1.STATUS_NAME_VARIABLE_NAME],
34
+ variables: ['_task_name_', '_status_name_'],
36
35
  type: 'notification',
37
36
  },
38
37
  task_overdue: {
39
38
  messageSection: 'task_overdue_toast_notification',
40
39
  messageText: 'notification',
41
- variables: [toastNotificationConstants_1.TASK_NAME_VARIABLE_NAME],
40
+ variables: ['_task_name_'],
42
41
  type: 'notification',
43
42
  },
44
43
  task_activities: {
45
44
  messageSection: 'task_activities_toast_notification',
46
45
  messageText: 'notification',
47
- variables: [toastNotificationConstants_1.TASK_NAME_VARIABLE_NAME, toastNotificationConstants_1.MESSAGE_TEXT_VARIABLE_NAME],
46
+ variables: ['_task_name_'],
48
47
  type: 'notification',
49
48
  },
50
49
  task_created: {
51
50
  messageSection: 'task_created_toast_notification',
52
51
  messageText: 'notification',
53
- variables: [toastNotificationConstants_1.TASK_NAME_VARIABLE_NAME],
52
+ variables: ['_task_name_'],
54
53
  type: 'notification',
55
54
  },
56
55
  };
@@ -1,7 +1,7 @@
1
1
  export declare const toTypeOfTransaction: (v: string) => "schedule" | "supported";
2
2
  export declare type TypeOfTransactionType = ReturnType<typeof toTypeOfTransaction>;
3
- declare const toCustomerTransactionType: (v: string) => "refund" | "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge";
4
- export declare const toCustomerTransactionTypeStrict: (v?: string | undefined) => "refund" | "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge" | undefined;
3
+ declare const toCustomerTransactionType: (v: string) => "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge" | "refund";
4
+ export declare const toCustomerTransactionTypeStrict: (v?: string | undefined) => "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge" | "refund" | undefined;
5
5
  export declare type CustomerTransactionType = ReturnType<typeof toCustomerTransactionType>;
6
6
  declare const toVendorTransactionType: (v: string) => "expense" | "check" | "bill" | "bill_payment" | "bill_payment_check" | "bill_payment_credit_card" | "vendor_credit" | "credit_card_credit";
7
7
  export declare const toVendorTransactionTypeStrict: (v?: string | undefined) => "expense" | "check" | "bill" | "bill_payment" | "bill_payment_check" | "bill_payment_credit_card" | "vendor_credit" | "credit_card_credit" | undefined;
package/lib/epic.d.ts CHANGED
@@ -169,8 +169,6 @@ import { ActionType as ParseReceiptsToRemiActionType } from './view/spendManagem
169
169
  import { ActionType as SaveRemiDetailActionType } from './view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic';
170
170
  import { ActionType as DeleteBillActionType } from './view/spendManagement/billPay/billDetailView/epics/deleteBillEpic';
171
171
  import { ActionType as CancelAndDeleteBillActionType } from './view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic';
172
- import { ActionType as RetryOrRefundBillActionType } from './view/spendManagement/billPay/billDetailView/epics/retryOrRefundBillEpic';
173
- import { ActionType as FetchEligibleActionsForBillActionType } from './view/spendManagement/billPay/billDetailView/epics/fetchEligibleActionsForBillEpic';
174
172
  import { ActionType as InitializeBillToLocalStoreActionType } from './view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic';
175
173
  import { ActionType as FetchEditBillDetailPageActionType } from './view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic';
176
174
  import { ActionType as FetchBillPayConfigActionType } from './view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic';
@@ -358,8 +356,8 @@ import { ActionType as FetchGlobalMerchantAutoCompleteActionType } from './view/
358
356
  import { ActionType as FetchArAgingActionType } from './view/arAgingView/arAgingReport/fetchArAgingEpic';
359
357
  import { ActionType as FetchArAgingDetailActionType } from './view/arAgingView/arAgingDetail/fetchArAgingDetailEpic';
360
358
  import { ActionType as FetchZeniAccountsPromoCardActionType } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic';
361
- import { ActionType as FetchTaskListPageActionType } from './view/taskManager/taskListView/epics/fetchTaskListPageEpic';
362
- import { ActionType as FetchTaskListActionType } from './view/taskManager/taskListView/epics/fetchTaskListEpic';
359
+ import { ActionType as FetchTaskListPageActionType } from './view/taskManager/taskListView/fetchTaskListPageEpic';
360
+ import { ActionType as FetchTaskListActionType } from './view/taskManager/taskListView/fetchTaskListEpic';
363
361
  import { ActionType as FetchTaskDetailPageActionType } from './view/taskManager/taskDetailView/epics/fetchTaskDetailPageEpic';
364
362
  import { ActionType as FetchTaskDetailActionType } from './view/taskManager/taskDetailView/epics/fetchTaskDetailEpic';
365
363
  import { ActionType as DeleteTaskActionType } from './view/taskManager/taskDetailView/epics/deleteTaskEpic';
@@ -390,9 +388,9 @@ import { ActionType as SubmitDraftBillsBulkActionActionType } from './view/spend
390
388
  import { ActionType as FetchCompanyTaskManagerViewActionType } from './view/companyTaskManagerView/epics/fetchCompanyTaskManagerViewEpic';
391
389
  import { ActionType as FetchAllTaskGroupsActionType } from './view/taskManager/taskGroupView/epics/fetchAllTaskGroupsEpic';
392
390
  import { ActionType as CreateNewTaskGroupActionType } from './view/taskManager/taskGroupView/epics/createNewTaskGroupEpic';
393
- import { ActionType as BulkUpdateTasksListActionType } from './view/taskManager/taskListView/epics/bulkUpdateTaskListEpic';
394
- import { ActionType as UpdateTaskFromListViewActionType } from './view/taskManager/taskListView/epics/updateTaskFromListViewEpic';
395
- import { ActionType as DragNDropTasksActionType } from './view/taskManager/taskListView/epics/dragNDropTasksEpic';
391
+ import { ActionType as BulkUpdateTasksListActionType } from './view/taskManager/taskListView/bulkUpdateTaskListEpic';
392
+ import { ActionType as UpdateTaskFromListViewActionType } from './view/taskManager/taskListView/updateTaskFromListViewEpic';
393
+ import { ActionType as DragNDropTasksActionType } from './view/taskManager/taskListView/dragNDropTasksEpic';
396
394
  import { ActionType as DeleteTaskGroupActionType } from './view/taskManager/taskGroupView/epics/deleteTaskGroupEpic';
397
395
  import { ActionType as UpdateTaskGroupNameActionType } from './view/taskManager/taskGroupView/epics/updateTaskGroupNameEpic';
398
396
  import { ActionType as ConfirmCardSetupIntentActionType } from './view/cardPayment/epic/confirmCardSetupIntentEpic';
@@ -401,6 +399,6 @@ import { ActionType as FetchPaymentSourcesActionType } from './view/cardPayment/
401
399
  import { ActionType as CreateCardSetupIntentActionType } from './view/cardPayment/epic/createCardSetupIntentEpic';
402
400
  import { ActionType as FetchBillingAccountsListActionType } from './view/settingsView/epic/fetchBillingAccountsViewEpic';
403
401
  /** Root action type is union of all the epic action type */
404
- export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | AddCardPaymentSourceActionType | ApproveOrRejectBillActionType | ApproveOrRejectBillsBulkActionActionType | ApproveOrRejectRemiActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | BulkUpdateTasksListActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CancelOrDeleteBillsBulkActionActionType | CancelScheduleAccruedJournalEntryActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | ConfirmCardSetupIntentActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCardSetupIntentActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesAccruedActionType | CreateNewSchedulesActionType | CreateNewTaskGroupActionType | CreatePaymentInstrumentActionType | CreateTagActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleAccruedDetailActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | DeleteTaskGroupActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListActionType | DragNDropTasksActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchAccruedScheduleListActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTaskGroupsActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListActionType | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillingAccountsListActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchCashbackDetailActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardTransactionAttachmentsActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMetaDataActionType | FetchCompanyMonthEndReportHistoricDataActionType | FetchCompanyMonthEndReportHistoricDatesActionType | FetchCompanyMonthEndReportTemplatesActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCompanyTaskManagerViewActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountListActionType | FetchDepositAccStatementListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchDuplicateReimbursementEpicActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchEligibleActionsForBillActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchEntityRecommendationsByTransactionIdActionType | FetchExcludedResourcesActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchNotificationSettingsViewActionType | FetchNotificationUnreadCountActionType | FetchNotificationViewActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountListActionType | FetchPaymentSourcesActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationsAndUpdateMerchantRecommendationsActionType | FetchRecommendationsAndUpdateVendorRecommendationsActionType | FetchRecommendedBillExpenseActionType | FetchReferralsActionType | FetchReimbursementCardActionType | FetchReimbursementConfigActionType | FetchRemiAndInitializeLocalStoreActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailActionType | FetchRemiListActionType | FetchRemiListPerTabActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchReviewTransferDetailActionType | FetchRewardsPlanActionType | FetchScheduleAccruedDetailsActionType | FetchScheduleAccruedDetailsPageActionType | FetchScheduleDetailsActionType | FetchScheduleDetailsPageActionType | FetchScheduleListActionType | FetchSchedulesListActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskHistoryActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendorActionType | FetchVendorAndUpdateBillLocalDataActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewAttachmentsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorsActionType | FetchVendorsFiling1099ActionType | FetchVendorTabViewActionType | FetchVendorTypeListActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccountsPromoCardActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | InitializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleAccruedDetailLocalDataActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkAsCompleteScheduleDetailActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeActionType | ParseInvoiceToBillActionType | ParseReceiptsToRemiActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | PushToastNotificationActionType | RecommendationForAccountTypeActionType | RefreshIntegrationsDataActionType | RejectVendorGlobalReviewActionType | ResendInviteActionType | ResendOtpActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RetryOrRefundBillActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | ReviewDraftBillsBulkActionActionTye | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveReasonForAuditRuleActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleAccruedDetailsActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorDetailsViewActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | SubmitDraftBillsBulkActionActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | UnlinkPaymentAccountActionType | UpdateAccruedJESchedulesActionType | UpdateAddressActionType | UpdateAmountsInScheduleAccruedDetailActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMappedCashAccountActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdatePrimaryFundingAccountActionType | UpdateReferViewedActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTaskFromListViewActionType | UpdateTaskGroupNameActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
402
+ export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | AddCardPaymentSourceActionType | ApproveOrRejectBillActionType | ApproveOrRejectBillsBulkActionActionType | ApproveOrRejectRemiActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | BulkUpdateTasksListActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CancelOrDeleteBillsBulkActionActionType | CancelScheduleAccruedJournalEntryActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | ConfirmCardSetupIntentActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCardSetupIntentActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesAccruedActionType | CreateNewSchedulesActionType | CreateNewTaskGroupActionType | CreatePaymentInstrumentActionType | CreateTagActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleAccruedDetailActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | DeleteTaskGroupActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListActionType | DragNDropTasksActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchAccruedScheduleListActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTaskGroupsActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListActionType | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillingAccountsListActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchCashbackDetailActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardTransactionAttachmentsActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMetaDataActionType | FetchCompanyMonthEndReportHistoricDataActionType | FetchCompanyMonthEndReportHistoricDatesActionType | FetchCompanyMonthEndReportTemplatesActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCompanyTaskManagerViewActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountListActionType | FetchDepositAccStatementListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchDuplicateReimbursementEpicActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchEntityRecommendationsByTransactionIdActionType | FetchExcludedResourcesActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchNotificationSettingsViewActionType | FetchNotificationUnreadCountActionType | FetchNotificationViewActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountListActionType | FetchPaymentSourcesActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationsAndUpdateMerchantRecommendationsActionType | FetchRecommendationsAndUpdateVendorRecommendationsActionType | FetchRecommendedBillExpenseActionType | FetchReferralsActionType | FetchReimbursementCardActionType | FetchReimbursementConfigActionType | FetchRemiAndInitializeLocalStoreActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailActionType | FetchRemiListActionType | FetchRemiListPerTabActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchReviewTransferDetailActionType | FetchRewardsPlanActionType | FetchScheduleAccruedDetailsActionType | FetchScheduleAccruedDetailsPageActionType | FetchScheduleDetailsActionType | FetchScheduleDetailsPageActionType | FetchScheduleListActionType | FetchSchedulesListActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskHistoryActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendorActionType | FetchVendorAndUpdateBillLocalDataActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewAttachmentsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorsActionType | FetchVendorsFiling1099ActionType | FetchVendorTabViewActionType | FetchVendorTypeListActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccountsPromoCardActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | InitializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleAccruedDetailLocalDataActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkAsCompleteScheduleDetailActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeActionType | ParseInvoiceToBillActionType | ParseReceiptsToRemiActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | PushToastNotificationActionType | RecommendationForAccountTypeActionType | RefreshIntegrationsDataActionType | RejectVendorGlobalReviewActionType | ResendInviteActionType | ResendOtpActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | ReviewDraftBillsBulkActionActionTye | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveReasonForAuditRuleActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleAccruedDetailsActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorDetailsViewActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | SubmitDraftBillsBulkActionActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | UnlinkPaymentAccountActionType | UpdateAccruedJESchedulesActionType | UpdateAddressActionType | UpdateAmountsInScheduleAccruedDetailActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMappedCashAccountActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdatePrimaryFundingAccountActionType | UpdateReferViewedActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTaskFromListViewActionType | UpdateTaskGroupNameActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
405
403
  declare const rootEpic: Epic<RootActionType>;
406
404
  export default rootEpic;