@zeniai/client-epic-state 4.11.16 → 4.11.18

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 (121) hide show
  1. package/lib/entity/billPay/billTransaction/billTransactionPayload.d.ts +9 -0
  2. package/lib/entity/billPay/billTransaction/billTransactionPayload.js +15 -2
  3. package/lib/entity/billPay/billTransaction/billTransactionReducer.d.ts +2 -1
  4. package/lib/entity/billPay/billTransaction/billTransactionReducer.js +25 -2
  5. package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +11 -1
  6. package/lib/entity/billPay/billTransaction/billTransactionState.js +9 -1
  7. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  8. package/lib/entity/snackbar/snackbarTypes.js +6 -0
  9. package/lib/entity/task/taskPayload.d.ts +2 -2
  10. package/lib/entity/task/taskPayload.js +1 -0
  11. package/lib/entity/task/taskState.d.ts +3 -2
  12. package/lib/entity/taskGroup/taskGroupPayload.d.ts +9 -0
  13. package/lib/entity/taskGroup/taskGroupPayload.js +14 -0
  14. package/lib/entity/taskGroup/taskGroupReducer.d.ts +6 -0
  15. package/lib/entity/taskGroup/taskGroupReducer.js +33 -0
  16. package/lib/entity/taskGroup/taskGroupSelector.d.ts +4 -0
  17. package/lib/entity/taskGroup/taskGroupSelector.js +18 -0
  18. package/lib/entity/taskGroup/taskGroupState.d.ts +12 -0
  19. package/lib/entity/taskGroup/taskGroupState.js +2 -0
  20. package/lib/entity/tenant/clearAllEpic.d.ts +5 -2
  21. package/lib/entity/tenant/clearAllEpic.js +8 -0
  22. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
  23. package/lib/entity/transaction/stateTypes/attachment.d.ts +6 -0
  24. package/lib/entity/transaction/stateTypes/transactionType.d.ts +3 -0
  25. package/lib/entity/transaction/stateTypes/transactionType.js +7 -3
  26. package/lib/entity/vendor/vendorPayload.d.ts +2 -0
  27. package/lib/entity/vendor/vendorPayload.js +5 -1
  28. package/lib/entity/vendor/vendorState.d.ts +2 -0
  29. package/lib/epic.d.ts +12 -1
  30. package/lib/epic.js +12 -1
  31. package/lib/index.d.ts +18 -12
  32. package/lib/index.js +37 -10
  33. package/lib/reducer.d.ts +9 -0
  34. package/lib/reducer.js +9 -0
  35. package/lib/view/companyView/selector/companyManagementViewSelector.js +13 -7
  36. package/lib/view/companyView/selector/companyPortfolioViewSelector.js +1 -6
  37. package/lib/view/fileView/fileUploadHelpers.d.ts +5 -0
  38. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
  39. package/lib/view/people/deletePersonEpic.d.ts +1 -1
  40. package/lib/view/people/invitePeopleEpic.d.ts +1 -1
  41. package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
  42. package/lib/view/people/resendInviteEpic.d.ts +1 -1
  43. package/lib/view/reviewCompanyView/reviewCompanyViewSelector.js +26 -9
  44. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +1 -1
  45. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
  46. package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +3 -2
  47. package/lib/view/spendManagement/billPay/billList/billListReducer.js +9 -3
  48. package/lib/view/spendManagement/billPay/billList/billListSelector.d.ts +19 -2
  49. package/lib/view/spendManagement/billPay/billList/billListSelector.js +150 -3
  50. package/lib/view/spendManagement/billPay/billList/billListState.d.ts +1 -1
  51. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.d.ts +1 -0
  52. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +2 -0
  53. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +1 -0
  54. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewPayload.d.ts +32 -0
  55. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewPayload.js +2 -0
  56. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.d.ts +17 -0
  57. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.js +166 -0
  58. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewSelector.d.ts +24 -0
  59. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewSelector.js +45 -0
  60. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState.d.ts +28 -0
  61. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState.js +7 -0
  62. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/approveOrRejectBillsBulkActionEpic.d.ts +9 -0
  63. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/approveOrRejectBillsBulkActionEpic.js +73 -0
  64. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/cancelOrDeleteBillsBulkActionEpic.d.ts +8 -0
  65. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/cancelOrDeleteBillsBulkActionEpic.js +74 -0
  66. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/reviewDraftBillsBulkActionEpic.ts.d.ts +7 -0
  67. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/reviewDraftBillsBulkActionEpic.ts.js +29 -0
  68. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/submitDraftBillsBulkActionEpic.d.ts +8 -0
  69. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/submitDraftBillsBulkActionEpic.js +62 -0
  70. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +9 -8
  71. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +6 -4
  72. package/lib/view/spendManagement/commonHistoryView/commonHistory.d.ts +1 -1
  73. package/lib/view/spendManagement/helpers.d.ts +3 -0
  74. package/lib/view/spendManagement/helpers.js +17 -1
  75. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +1 -1
  76. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +3 -3
  77. package/lib/view/subscriptionView/subscriptionViewSelector.js +5 -1
  78. package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
  79. package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
  80. package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.d.ts +2 -1
  81. package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +11 -4
  82. package/lib/view/taskManager/taskDetailView/taskDetailReducer.d.ts +2 -1
  83. package/lib/view/taskManager/taskDetailView/taskDetailReducer.js +2 -1
  84. package/lib/view/taskManager/taskGroupView/epics/createNewTaskGroupEpic.d.ts +10 -0
  85. package/lib/view/taskManager/taskGroupView/epics/createNewTaskGroupEpic.js +57 -0
  86. package/lib/view/taskManager/taskGroupView/epics/deleteTaskGroupEpic.d.ts +10 -0
  87. package/lib/view/taskManager/taskGroupView/epics/deleteTaskGroupEpic.js +41 -0
  88. package/lib/view/taskManager/taskGroupView/epics/fetchAllTaskGroupsEpic.d.ts +8 -0
  89. package/lib/view/taskManager/taskGroupView/epics/fetchAllTaskGroupsEpic.js +33 -0
  90. package/lib/view/taskManager/taskGroupView/epics/updateTaskGroupNameEpic.d.ts +10 -0
  91. package/lib/view/taskManager/taskGroupView/epics/updateTaskGroupNameEpic.js +51 -0
  92. package/lib/view/taskManager/taskGroupView/taskGroupViewPayload.d.ts +6 -0
  93. package/lib/view/taskManager/taskGroupView/taskGroupViewPayload.js +2 -0
  94. package/lib/view/taskManager/taskGroupView/taskGroupViewReducer.d.ts +34 -0
  95. package/lib/view/taskManager/taskGroupView/taskGroupViewReducer.js +123 -0
  96. package/lib/view/taskManager/taskGroupView/taskGroupViewState.d.ts +7 -0
  97. package/lib/view/taskManager/taskGroupView/taskGroupViewState.js +2 -0
  98. package/lib/view/taskManager/taskListView/bulkUpdateTaskListEpic.d.ts +8 -0
  99. package/lib/view/taskManager/taskListView/bulkUpdateTaskListEpic.js +88 -0
  100. package/lib/view/taskManager/taskListView/dragNDropTasksEpic.d.ts +6 -0
  101. package/lib/view/taskManager/taskListView/dragNDropTasksEpic.js +20 -0
  102. package/lib/view/taskManager/taskListView/fetchTaskListPageEpic.d.ts +3 -1
  103. package/lib/view/taskManager/taskListView/fetchTaskListPageEpic.js +12 -0
  104. package/lib/view/taskManager/taskListView/taskList.d.ts +14 -1
  105. package/lib/view/taskManager/taskListView/taskListReducer.d.ts +31 -2
  106. package/lib/view/taskManager/taskListView/taskListReducer.js +136 -9
  107. package/lib/view/taskManager/taskListView/taskListSelector.d.ts +12 -2
  108. package/lib/view/taskManager/taskListView/taskListSelector.js +59 -23
  109. package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +22 -5
  110. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewAttachmentsEpic.d.ts +10 -0
  111. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewAttachmentsEpic.js +37 -0
  112. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewViewEpic.js +1 -0
  113. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +15 -9
  114. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewPayload.d.ts +15 -0
  115. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.d.ts +15 -4
  116. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +50 -5
  117. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.d.ts +8 -0
  118. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.js +17 -2
  119. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.d.ts +6 -2
  120. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.js +2 -1
  121. package/package.json +1 -1
package/lib/reducer.d.ts CHANGED
@@ -164,6 +164,9 @@ import { ToastNotificationState } from './entity/toastNotification/toastNotifica
164
164
  import { NotificationViewState } from './view/notificationView/notificationViewState';
165
165
  import { VendorTabViewState } from './view/vendorTabView/vendorTabViewState';
166
166
  import { CompanyTaskManagerViewState } from './view/companyTaskManagerView/companyTaskManagerViewState';
167
+ import { TaskGroupState } from './entity/taskGroup/taskGroupState';
168
+ import { TaskGroupViewState } from './view/taskManager/taskGroupView/taskGroupViewState';
169
+ import { BillsBulkActionViewState } from './view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState';
167
170
  declare type EntitiesState = {
168
171
  accountGroupState: AccountGroupState;
169
172
  accountingSummaryState: AccountingSummaryState;
@@ -209,6 +212,7 @@ declare type EntitiesState = {
209
212
  subscriptionState: SubscriptionState;
210
213
  subscriptionSummaryState: SubscriptionSummaryState;
211
214
  tagState: TagState;
215
+ taskGroupState: TaskGroupState;
212
216
  taskState: TaskState;
213
217
  taskSummaryState: TaskSummaryState;
214
218
  tenantState: TenantState;
@@ -239,6 +243,7 @@ declare type ViewsState = {
239
243
  billPayReviewState: BillPayReviewState;
240
244
  billPaySetupApproverViewState: BillPaySetupApproverViewState;
241
245
  billPaySetupViewState: BillPaySetupViewState;
246
+ billsBulkActionViewState: BillsBulkActionViewState;
242
247
  cardBalanceState: CardBalanceState;
243
248
  cashbackDetailState: CashbackDetailState;
244
249
  cashBalanceState: CashBalanceState;
@@ -308,6 +313,7 @@ declare type ViewsState = {
308
313
  subscriptionViewState: SubscriptionViewState;
309
314
  tagViewState: TagViewState;
310
315
  taskDetailState: TaskDetailViewState;
316
+ taskGroupViewState: TaskGroupViewState;
311
317
  taskListState: TaskListState;
312
318
  tasksCardState: TasksCardState;
313
319
  topExState: TopExState;
@@ -355,6 +361,7 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
355
361
  billPayReviewState: BillPayReviewState;
356
362
  billPaySetupApproverViewState: BillPaySetupApproverViewState;
357
363
  billPaySetupViewState: BillPaySetupViewState;
364
+ billsBulkActionViewState: BillsBulkActionViewState;
358
365
  cardBalanceState: CardBalanceState;
359
366
  cashbackDetailState: CashbackDetailState;
360
367
  cashBalanceState: CashBalanceState;
@@ -424,6 +431,7 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
424
431
  scheduleListState: ScheduleListViewState;
425
432
  scheduleDetailState: ScheduleDetailViewState;
426
433
  taskDetailState: TaskDetailViewState;
434
+ taskGroupViewState: TaskGroupViewState;
427
435
  taskListState: TaskListState;
428
436
  tagViewState: TagViewState;
429
437
  tasksCardState: TasksCardState;
@@ -495,6 +503,7 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
495
503
  subscriptionState: SubscriptionState;
496
504
  subscriptionSummaryState: SubscriptionSummaryState;
497
505
  tagState: TagState;
506
+ taskGroupState: TaskGroupState;
498
507
  taskState: TaskState;
499
508
  taskSummaryState: TaskSummaryState;
500
509
  tenantState: TenantState;
package/lib/reducer.js CHANGED
@@ -195,6 +195,9 @@ const toastNotificationReducer_1 = __importStar(require("./entity/toastNotificat
195
195
  const notificationViewReducer_1 = __importStar(require("./view/notificationView/notificationViewReducer"));
196
196
  const vendorTabViewReducer_1 = __importStar(require("./view/vendorTabView/vendorTabViewReducer"));
197
197
  const companyTaskManagerViewReducer_1 = __importStar(require("./view/companyTaskManagerView/companyTaskManagerViewReducer"));
198
+ const taskGroupReducer_1 = __importStar(require("./entity/taskGroup/taskGroupReducer"));
199
+ const taskGroupViewReducer_1 = __importStar(require("./view/taskManager/taskGroupView/taskGroupViewReducer"));
200
+ const billsBulkActionViewReducer_1 = __importStar(require("./view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer"));
198
201
  // Note: Please maintain strict alphabetical order
199
202
  const initialEntitiesState = {
200
203
  accountGroupState: accountGroupReducer_1.initialState,
@@ -241,6 +244,7 @@ const initialEntitiesState = {
241
244
  subscriptionState: subscriptionReducer_1.initialState,
242
245
  subscriptionSummaryState: subscriptionSummaryReducer_1.initialState,
243
246
  tagState: tagReducer_1.initialState,
247
+ taskGroupState: taskGroupReducer_1.initialState,
244
248
  taskState: taskReducer_1.initialState,
245
249
  taskSummaryState: taskSummaryReducer_1.initialState,
246
250
  tenantState: tenantReducer_1.initialState,
@@ -272,6 +276,7 @@ const initialViewsState = {
272
276
  billPayReviewState: billPayReviewReducer_1.initialState,
273
277
  billPaySetupApproverViewState: billPaySetupApproverViewReducer_1.initialState,
274
278
  billPaySetupViewState: billPaySetupViewReducer_1.initialState,
279
+ billsBulkActionViewState: billsBulkActionViewReducer_1.initialState,
275
280
  cardBalanceState: cardBalanceReducer_1.initialState,
276
281
  cashbackDetailState: cashbackDetailReducer_1.initialState,
277
282
  cashBalanceState: cashBalanceReducer_1.initialState,
@@ -341,6 +346,7 @@ const initialViewsState = {
341
346
  subscriptionViewState: subscriptionViewReducer_1.initialState,
342
347
  tagViewState: tagViewReducer_1.initialState,
343
348
  taskDetailState: taskDetailReducer_1.initialState,
349
+ taskGroupViewState: taskGroupViewReducer_1.initialState,
344
350
  taskListState: taskListReducer_1.initialState,
345
351
  tasksCardState: tasksCardReducer_1.initialState,
346
352
  topExState: topExReducer_1.initialState,
@@ -417,6 +423,7 @@ const entityReducers = {
417
423
  subscriptionState: subscriptionReducer_1.default,
418
424
  subscriptionSummaryState: subscriptionSummaryReducer_1.default,
419
425
  tagState: tagReducer_1.default,
426
+ taskGroupState: taskGroupReducer_1.default,
420
427
  taskState: taskReducer_1.default,
421
428
  taskSummaryState: taskSummaryReducer_1.default,
422
429
  tenantState: tenantReducer_1.default,
@@ -446,6 +453,7 @@ const viewReducers = {
446
453
  billPayReviewState: billPayReviewReducer_1.default,
447
454
  billPaySetupApproverViewState: billPaySetupApproverViewReducer_1.default,
448
455
  billPaySetupViewState: billPaySetupViewReducer_1.default,
456
+ billsBulkActionViewState: billsBulkActionViewReducer_1.default,
449
457
  cardBalanceState: cardBalanceReducer_1.default,
450
458
  cashbackDetailState: cashbackDetailReducer_1.default,
451
459
  cashBalanceState: cashBalanceReducer_1.default,
@@ -515,6 +523,7 @@ const viewReducers = {
515
523
  scheduleListState: scheduleListReducer_1.default,
516
524
  scheduleDetailState: scheduleDetailReducer_1.default,
517
525
  taskDetailState: taskDetailReducer_1.default,
526
+ taskGroupViewState: taskGroupViewReducer_1.default,
518
527
  taskListState: taskListReducer_1.default,
519
528
  tagViewState: tagViewReducer_1.default,
520
529
  tasksCardState: tasksCardReducer_1.default,
@@ -339,6 +339,7 @@ const sortAndFilterCompanies = (sortKey, sortOrder, filterText, companies, userS
339
339
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
340
340
  let primarySortValue;
341
341
  let secondarySortValue;
342
+ let isSecondarySortApplicable;
342
343
  const managegmentInfo = company.company.company.managegmentInfo;
343
344
  switch (sortKey) {
344
345
  case 'companyName':
@@ -390,25 +391,30 @@ const sortAndFilterCompanies = (sortKey, sortOrder, filterText, companies, userS
390
391
  primarySortValue = (_m = managegmentInfo.note) === null || _m === void 0 ? void 0 : _m.length;
391
392
  break;
392
393
  case 'satisfaction':
394
+ isSecondarySortApplicable = true;
393
395
  primarySortValue =
394
- (((_o = managegmentInfo.customerSatisfaction) === null || _o === void 0 ? void 0 : _o.teamRating) != null
396
+ ((_o = managegmentInfo.customerSatisfaction) === null || _o === void 0 ? void 0 : _o.customerRating) != null
397
+ ? customerSatisfactionState_1.customerRatingValues[managegmentInfo.customerSatisfaction.customerRating]
398
+ : 0;
399
+ secondarySortValue =
400
+ ((_p = managegmentInfo.customerSatisfaction) === null || _p === void 0 ? void 0 : _p.teamRating) != null
395
401
  ? customerSatisfactionState_1.teamRatingValues[managegmentInfo.customerSatisfaction.teamRating]
396
- : 0) +
397
- (((_p = managegmentInfo.customerSatisfaction) === null || _p === void 0 ? void 0 : _p.customerRating) != null
398
- ? customerSatisfactionState_1.customerRatingValues[managegmentInfo.customerSatisfaction.customerRating]
399
- : 0);
402
+ : 0;
400
403
  break;
401
404
  case 'bookCloseDate':
402
405
  primarySortValue = ((_q = company.company.company.companyInfo.bookCloseDate) !== null && _q !== void 0 ? _q : (0, zeniDayJS_1.date)('1970-01-01T00:00:00.000Z')).valueOf();
403
406
  break;
404
407
  case 'status':
405
408
  default:
409
+ isSecondarySortApplicable = true;
406
410
  primarySortValue = cockpitTypes_1.MANAGEMENT_STATUS_CODES.indexOf((_r = managegmentInfo.statusCode) === null || _r === void 0 ? void 0 : _r.toLowerCase());
407
411
  secondarySortValue = (_s = managegmentInfo.companyGroupId) === null || _s === void 0 ? void 0 : _s.toLowerCase();
408
412
  }
409
- return [primarySortValue, secondarySortValue];
413
+ return isSecondarySortApplicable === true
414
+ ? [primarySortValue, secondarySortValue]
415
+ : primarySortValue;
410
416
  },
411
- ], sortOrder === 'ascending' ? ['asc', 'asc'] : ['desc', 'asc']);
417
+ ], sortOrder === 'ascending' ? ['asc', 'asc'] : ['desc', 'desc']);
412
418
  return [...sortedCompaniesWithSortKeyValue, ...companiesWithNoSortKeyValue];
413
419
  };
414
420
  const getTotalRecurringRevenue = (companies) => companies.reduce((prev, curr) => {
@@ -157,12 +157,7 @@ const getCompanyPortfolioOnSortAndFitler = (sortKey, sortOrder, filterText, filt
157
157
  updatedCompanies = [...companies];
158
158
  }
159
159
  updatedCompanies = applyAdvancedFiltersOnCompaniesList(updatedCompanies, filters);
160
- if (sortOrder === 'ascending') {
161
- portfolioSortOrder = sortKey === 'runway' ? 'desc' : 'asc';
162
- }
163
- else {
164
- portfolioSortOrder = sortKey === 'runway' ? 'asc' : 'desc';
165
- }
160
+ portfolioSortOrder = sortOrder === 'ascending' ? 'asc' : 'desc';
166
161
  const companiesWithSortKeyValue = [];
167
162
  const companiesWithNoSortKeyValue = [];
168
163
  updatedCompanies.forEach((company) => {
@@ -5,6 +5,11 @@ export interface AuthParams {
5
5
  userId: string;
6
6
  tenantId: string;
7
7
  }
8
+ export interface AuthParamsPayload {
9
+ zeni_session_id: string;
10
+ zeni_user_id: string;
11
+ zeni_tenant_id: string;
12
+ }
8
13
  export interface FileMetadataPayload {
9
14
  documentType: AllowedDocumentType;
10
15
  purposeId: AllowedPurposeIdType;
@@ -26,7 +26,7 @@ export declare const changeZeniPersonRolesEpic: (actions$: ActionsObservable<Act
26
26
  type: string;
27
27
  } | {
28
28
  payload: {
29
- messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "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" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated" | "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";
29
+ messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success";
30
30
  messageText: "failed" | "success" | "notification";
31
31
  type: import("../..").SnackbarMessageType;
32
32
  showStatusIcon?: boolean | undefined;
@@ -18,7 +18,7 @@ export declare const deletePersonEpic: (actions$: ActionsObservable<ActionType>,
18
18
  type: string;
19
19
  } | {
20
20
  payload: {
21
- messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "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" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated" | "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";
21
+ messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success";
22
22
  messageText: "failed" | "success" | "notification";
23
23
  type: import("../..").SnackbarMessageType;
24
24
  showStatusIcon?: boolean | undefined;
@@ -35,7 +35,7 @@ export declare const invitePeopleEpic: (actions$: ActionsObservable<ActionType>,
35
35
  type: string;
36
36
  } | {
37
37
  payload: {
38
- messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "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" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated" | "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";
38
+ messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success";
39
39
  messageText: "failed" | "success" | "notification";
40
40
  type: import("../..").SnackbarMessageType;
41
41
  showStatusIcon?: boolean | undefined;
@@ -32,7 +32,7 @@ export declare const inviteZeniPeopleEpic: (actions$: ActionsObservable<ActionTy
32
32
  type: string;
33
33
  } | {
34
34
  payload: {
35
- messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "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" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated" | "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";
35
+ messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success";
36
36
  messageText: "failed" | "success" | "notification";
37
37
  type: import("../..").SnackbarMessageType;
38
38
  showStatusIcon?: boolean | undefined;
@@ -13,7 +13,7 @@ export declare const resendInviteEpic: (actions$: ActionsObservable<ActionType>,
13
13
  type: string;
14
14
  } | {
15
15
  payload: {
16
- messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "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" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated" | "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";
16
+ messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success";
17
17
  messageText: "failed" | "success" | "notification";
18
18
  type: import("../..").SnackbarMessageType;
19
19
  showStatusIcon?: boolean | undefined;
@@ -39,25 +39,42 @@ exports.getReviewCompanySelectorView = (0, toolkit_1.createSelector)((state) =>
39
39
  const sortedCompanies = (0, orderBy_1.default)(companies, (company) => {
40
40
  var _a;
41
41
  const warningCount = (0, exports.getAuditWarningsCount)(company);
42
+ let primarySortValue;
43
+ let secondarySortValue;
44
+ let isSecondarySortApplicable;
42
45
  switch (sortKey) {
43
46
  case 'notes':
44
- return (_a = company.note) === null || _a === void 0 ? void 0 : _a.toLowerCase();
47
+ primarySortValue = (_a = company.note) === null || _a === void 0 ? void 0 : _a.toLowerCase();
48
+ break;
45
49
  case 'uncategorized':
46
- return ((company.uncategorizedTransactions.income ? 1 : 0) +
47
- (company.uncategorizedTransactions.expense ? 1 : 0));
50
+ primarySortValue =
51
+ (company.uncategorizedTransactions.income ? 1 : 0) +
52
+ (company.uncategorizedTransactions.expense ? 1 : 0);
53
+ break;
48
54
  case 'miscategorized':
49
- return ((company.miscategorizedTransactions.income ? 1 : 0) +
50
- (company.miscategorizedTransactions.expense ? 1 : 0));
55
+ primarySortValue =
56
+ (company.miscategorizedTransactions.income ? 1 : 0) +
57
+ (company.miscategorizedTransactions.expense ? 1 : 0);
58
+ break;
51
59
  case 'warnings':
52
- return warningCount;
60
+ primarySortValue = warningCount;
61
+ break;
53
62
  case 'auditScore':
54
- return company.auditSummary.fixesRequired;
63
+ isSecondarySortApplicable = true;
64
+ primarySortValue = company.auditSummary.auditScorePercentage;
65
+ secondarySortValue = company.auditSummary.fixesRequired;
66
+ break;
55
67
  case 'reviewVendor':
56
- return company.isVendorReviewReqiured;
68
+ primarySortValue = company.isVendorReviewReqiured;
69
+ break;
57
70
  case 'companyName':
58
71
  default:
59
- return company.name.toLowerCase();
72
+ primarySortValue = company.name.toLowerCase();
73
+ break;
60
74
  }
75
+ return isSecondarySortApplicable === true
76
+ ? [primarySortValue, secondarySortValue]
77
+ : primarySortValue;
61
78
  }, sortOrder === 'ascending' ? 'asc' : 'desc');
62
79
  return {
63
80
  companies: sortedCompanies,
@@ -161,7 +161,7 @@ const getScheduleListReport = (state, scheduleType) => {
161
161
  .toLowerCase()
162
162
  .includes(loweredSearchText) === true);
163
163
  }), sortKey, sortOrder);
164
- const totalBalances = (0, scheduleListHelper_1.getCalculatedScheduleTotals)(jeTransactionsView);
164
+ const totalBalances = (0, scheduleListHelper_1.getCalculatedScheduleTotals)(sortedJETransactionView);
165
165
  const allTimeframeTicks = (0, scheduleListHelper_1.getAllTimeframeTicks)(sortedJETransactionView, 2);
166
166
  const jeScheduledTransactionWithBalance = [];
167
167
  sortedJETransactionView.forEach((jeSchedule) => {
@@ -18,7 +18,7 @@ export declare const saveNotificationSettingsEpic: (actions$: ActionsObservable<
18
18
  type: string;
19
19
  } | {
20
20
  payload: {
21
- messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "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" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated" | "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";
21
+ messageSection: "reimbursement_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_setup" | "charge_card_accept_term" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "settings_accounting_accounts_updated" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success";
22
22
  messageText: "failed" | "success" | "notification";
23
23
  type: import("../../..").SnackbarMessageType;
24
24
  showStatusIcon?: boolean | undefined;
@@ -4,10 +4,11 @@ import { ZeniAPIStatus } from '../../../../responsePayload';
4
4
  import { BillListPayload } from './billListPayload';
5
5
  import { BillListState, BillTab, SaveBillStageCode, BillListUIState, BillPayFilters, BillListDownloadUIState } from './billListState';
6
6
  export declare const initialState: BillListState;
7
- export declare const fetchBillList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[period: TimePeriod, cacheOverride: any, isShowDeletedBillsEnabled: boolean], {
7
+ export declare const fetchBillList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[period: TimePeriod, cacheOverride: any, isShowDeletedBillsEnabled: boolean, isBulkActionCompleteRefresh?: any], {
8
8
  period: TimePeriod;
9
9
  cacheOverride: any;
10
10
  isShowDeletedBillsEnabled: boolean;
11
+ isBulkActionCompleteRefresh: any;
11
12
  }, string, never, never>, fetchBillListPerTab: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[period: TimePeriod, tab: "paid" | "pending_approval" | "scheduled" | "draft", isShowDeletedBillsEnabled: boolean], {
12
13
  period: TimePeriod;
13
14
  tab: "paid" | "pending_approval" | "scheduled" | "draft";
@@ -19,7 +20,7 @@ export declare const fetchBillList: import("@reduxjs/toolkit").ActionCreatorWith
19
20
  period: TimePeriod;
20
21
  tab: "paid" | "pending_approval" | "scheduled" | "draft";
21
22
  error: ZeniAPIStatus<Record<string, unknown>>;
22
- }, string, never, never>, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", string>, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"all" | "failed" | "rejected" | "ach" | "wire" | "cancelled" | "overdue" | "awaiting_approval" | "awaiting_my_approval" | "deleted", string>, updateSelectedBillId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, clearBillList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, updateBillDetailSaveBillCode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SaveBillStageCode, string>, updateBillListUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
23
+ }, string, never, never>, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", string>, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"all" | "failed" | "rejected" | "ach" | "wire" | "cancelled" | "deleted" | "overdue" | "awaiting_approval" | "awaiting_my_approval", string>, updateSelectedBillId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, clearBillList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, updateBillDetailSaveBillCode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SaveBillStageCode, string>, updateBillListUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
23
24
  uiState: Partial<BillListUIState>;
24
25
  period: TimePeriod;
25
26
  }, string>, updateSearchResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, updateFilterResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
@@ -57,14 +57,20 @@ const billList = (0, toolkit_1.createSlice)({
57
57
  pendingApprovalTransactionIDs: existingPendingApprovalTransactionIDs,
58
58
  uiState: (_f = (_e = draft.byBillListKey[key]) === null || _e === void 0 ? void 0 : _e.uiState) !== null && _f !== void 0 ? _f : billListState_1.billListInitialState.uiState,
59
59
  });
60
- draft.byBillListKey[key] = Object.assign(Object.assign({}, updatableInitalState), { fetchState: updatableInitalState.transactionIDs.length > 0
60
+ draft.byBillListKey[key] = Object.assign(Object.assign({}, updatableInitalState), { fetchState: !action.payload.isBulkActionCompleteRefresh &&
61
+ updatableInitalState.transactionIDs.length > 0
61
62
  ? 'Completed'
62
63
  : 'In-Progress', error: undefined });
63
64
  });
64
65
  },
65
- prepare(period, cacheOverride = false, isShowDeletedBillsEnabled) {
66
+ prepare(period, cacheOverride = false, isShowDeletedBillsEnabled, isBulkActionCompleteRefresh = false) {
66
67
  return {
67
- payload: { period, cacheOverride, isShowDeletedBillsEnabled },
68
+ payload: {
69
+ period,
70
+ cacheOverride,
71
+ isShowDeletedBillsEnabled,
72
+ isBulkActionCompleteRefresh,
73
+ },
68
74
  };
69
75
  },
70
76
  },
@@ -1,5 +1,5 @@
1
1
  import { RootState } from '../../../../reducer';
2
- import { ID } from '../../../../commonStateTypes/common';
2
+ import { FetchState, ID } from '../../../../commonStateTypes/common';
3
3
  import { EntityOrder } from '../../../../commonStateTypes/selectorTypes/selectorTypes';
4
4
  import { TimePeriod } from '../../../../commonStateTypes/timePeriod';
5
5
  import { SelectorView } from '../../../../commonStateTypes/viewAndReport/viewAndReport';
@@ -10,9 +10,22 @@ import { EntityApprovalStatusState } from '../../../../entity/entityApprovalStat
10
10
  import { SortOrder } from '../../../../commonStateTypes/selectorTypes/sortOrderTypes';
11
11
  import { Approvers } from '../../../../entity/approvalRule/approvalRuleState';
12
12
  import { RecurringBillConfig } from '../../../../entity/billPay/recurringBills/recurringBillsState';
13
+ import { BulkOperationType, BulkSelectExceptionInfoType } from '../billsBulkActionView/billsBulkActionViewState';
14
+ export interface BillBulkSelectInfo {
15
+ isSelectableForBulkAction: boolean;
16
+ bulkSelectExceptionInfo?: BulkSelectExceptionInfoType;
17
+ }
18
+ export interface BillListBulkActionInfo {
19
+ isBulkActionAllowed: boolean;
20
+ allowedBulkActions: BulkOperationType[];
21
+ bulkSubmissionFetchState: FetchState;
22
+ billsSelectedForBulkAction: ID[];
23
+ isRecurringBillInBulkActionList: boolean;
24
+ }
13
25
  export interface BillTransactionView extends BillTransaction {
14
26
  approvers: Approvers;
15
27
  isRecurring: boolean;
28
+ billBulkSelectInfo?: BillBulkSelectInfo;
16
29
  recurringBillConfig?: RecurringBillConfig;
17
30
  }
18
31
  export interface BillListReport extends SelectorView {
@@ -29,7 +42,11 @@ export interface BillListReport extends SelectorView {
29
42
  filters: BillPayFilters;
30
43
  billPayBotEmail: string;
31
44
  isDownloadEnabled: boolean;
45
+ billBulkSubmissionLimit: number;
46
+ billListBulkActionInfo: BillListBulkActionInfo;
32
47
  }
33
- export declare const getBillList: (state: RootState, currentTimePeriod: TimePeriod) => BillListReport;
48
+ export declare const getBillList: (state: RootState, currentTimePeriod: TimePeriod, isBulkActionFeatureEnabled: boolean) => BillListReport;
34
49
  export declare const getApproversOrRejectors: (billTransaction: BillTransaction, entityApprovalStatusState: EntityApprovalStatusState, userState: UserState) => Approvers;
35
50
  export declare const getBillListOnSort: (sortKey: BillPayViewSortKey, sortOrder: SortOrder, currentTab: BillTab, transactions: BillTransactionView[]) => BillTransactionView[];
51
+ export declare const checkIfBulkActionAllowed: (selectedTab: BillTab, selectedSubTab: BillsSubTabType) => boolean;
52
+ export declare const getAllowedBulkActions: (selectedTab: BillTab, selectedSubTab: BillsSubTabType, isAllAwaitingMyApproval: boolean, isFirstBillProcessing: boolean, isBookClosedForAnySelectedBill: boolean) => BulkOperationType[];