@zeniai/client-epic-state 4.19.54 → 4.19.55-betaJK1

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 (114) hide show
  1. package/lib/commonStateTypes/fileType.d.ts +1 -1
  2. package/lib/entity/chargeCardRepayment/chargeCardRepayment.d.ts +6 -1
  3. package/lib/entity/chargeCardRepayment/chargeCardRepayment.js +4 -1
  4. package/lib/entity/chargeCardRepayment/chargeCardRepaymentPayload.d.ts +8 -3
  5. package/lib/entity/chargeCardRepayment/chargeCardRepaymentPayload.js +5 -2
  6. package/lib/entity/chargeCardTransaction/chargeCardTransaction.d.ts +1 -2
  7. package/lib/entity/chargeCardTransaction/chargeCardTransactionPayload.d.ts +3 -1
  8. package/lib/entity/chargeCardTransaction/chargeCardTransactionPayload.js +26 -3
  9. package/lib/entity/chargeCardTransaction/chargeCardTransactionReducer.js +11 -7
  10. package/lib/entity/transactionActivityLog/transactionActivityLogPayload.d.ts +31 -0
  11. package/lib/entity/transactionActivityLog/transactionActivityLogPayload.js +45 -0
  12. package/lib/entity/transactionActivityLog/transactionActivityLogReducer.d.ts +6 -0
  13. package/lib/entity/transactionActivityLog/transactionActivityLogReducer.js +27 -0
  14. package/lib/entity/transactionActivityLog/transactionActivityLogSelector.d.ts +4 -0
  15. package/lib/entity/transactionActivityLog/transactionActivityLogSelector.js +17 -0
  16. package/lib/entity/transactionActivityLog/transactionActivityLogState.d.ts +34 -0
  17. package/lib/entity/transactionActivityLog/transactionActivityLogState.js +13 -0
  18. package/lib/epic.d.ts +4 -1
  19. package/lib/epic.js +4 -1
  20. package/lib/esm/entity/chargeCardRepayment/chargeCardRepayment.js +2 -0
  21. package/lib/esm/entity/chargeCardRepayment/chargeCardRepaymentPayload.js +6 -3
  22. package/lib/esm/entity/chargeCardTransaction/chargeCardTransactionPayload.js +25 -3
  23. package/lib/esm/entity/chargeCardTransaction/chargeCardTransactionReducer.js +11 -7
  24. package/lib/esm/entity/transactionActivityLog/transactionActivityLogPayload.js +40 -0
  25. package/lib/esm/entity/transactionActivityLog/transactionActivityLogReducer.js +23 -0
  26. package/lib/esm/entity/transactionActivityLog/transactionActivityLogSelector.js +10 -0
  27. package/lib/esm/entity/transactionActivityLog/transactionActivityLogState.js +9 -0
  28. package/lib/esm/epic.js +4 -1
  29. package/lib/esm/index.js +13 -5
  30. package/lib/esm/reducer.js +9 -0
  31. package/lib/esm/view/expenseAutomationView/epics/accountRecon/uploadAccountStatementDocumentAIHelper.js +1 -1
  32. package/lib/esm/view/expenseAutomationView/epics/accountRecon/uploadAccountStatementEpic.js +3 -1
  33. package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +10 -1
  34. package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelector.js +4 -2
  35. package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +5 -2
  36. package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistory.js +32 -0
  37. package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector.js +22 -0
  38. package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryHelpers.js +79 -0
  39. package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryPayload.js +1 -0
  40. package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer.js +83 -0
  41. package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector.js +104 -0
  42. package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentHistoryEpic.js +31 -0
  43. package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentPageEpic.js +31 -0
  44. package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector.js +12 -6
  45. package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/fetchChargeCardRepaymentDetailEpic.js +2 -2
  46. package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic.js +5 -0
  47. package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.js +1 -1
  48. package/lib/esm/view/spendManagement/commonSetup/setupViewSelector.js +15 -0
  49. package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.js +10 -1
  50. package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelector.js +4 -2
  51. package/lib/esm/view/spendManagement/spendManagementFilterHelpers.js +29 -2
  52. package/lib/esm/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.js +5 -3
  53. package/lib/esm/view/transactionActivityLogView/fetchTransactionActivityLogEpic.js +35 -0
  54. package/lib/esm/view/transactionActivityLogView/transactionActivityLogViewPayload.js +1 -0
  55. package/lib/esm/view/transactionActivityLogView/transactionActivityLogViewReducer.js +46 -0
  56. package/lib/esm/view/transactionActivityLogView/transactionActivityLogViewSelector.js +16 -0
  57. package/lib/esm/view/transactionActivityLogView/transactionActivityLogViewState.js +1 -0
  58. package/lib/index.d.ts +15 -6
  59. package/lib/index.js +38 -13
  60. package/lib/reducer.d.ts +9 -0
  61. package/lib/reducer.js +9 -0
  62. package/lib/view/expenseAutomationView/epics/accountRecon/uploadAccountStatementDocumentAIHelper.js +1 -1
  63. package/lib/view/expenseAutomationView/epics/accountRecon/uploadAccountStatementEpic.js +3 -1
  64. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.d.ts +1 -1
  65. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +11 -2
  66. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelector.js +4 -2
  67. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelectorTypes.d.ts +2 -0
  68. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewState.d.ts +1 -0
  69. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.d.ts +1 -0
  70. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +5 -2
  71. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonState.d.ts +2 -0
  72. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistory.d.ts +50 -0
  73. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistory.js +35 -0
  74. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector.d.ts +8 -0
  75. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector.js +26 -0
  76. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryHelpers.d.ts +7 -0
  77. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryHelpers.js +87 -0
  78. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryPayload.d.ts +13 -0
  79. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryPayload.js +2 -0
  80. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer.d.ts +19 -0
  81. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer.js +87 -0
  82. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector.d.ts +24 -0
  83. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector.js +108 -0
  84. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentHistoryEpic.d.ts +9 -0
  85. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentHistoryEpic.js +35 -0
  86. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentPageEpic.d.ts +7 -0
  87. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentPageEpic.js +35 -0
  88. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector.js +10 -4
  89. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/fetchChargeCardRepaymentDetailEpic.js +2 -2
  90. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic.d.ts +2 -1
  91. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic.js +5 -0
  92. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.js +1 -1
  93. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +2 -1
  94. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +17 -1
  95. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.d.ts +1 -1
  96. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.js +11 -2
  97. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelector.js +4 -2
  98. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelectorTypes.d.ts +2 -0
  99. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewState.d.ts +1 -0
  100. package/lib/view/spendManagement/spendManagementFilterHelpers.d.ts +6 -4
  101. package/lib/view/spendManagement/spendManagementFilterHelpers.js +29 -2
  102. package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.js +5 -3
  103. package/lib/view/transactionActivityLogView/fetchTransactionActivityLogEpic.d.ts +8 -0
  104. package/lib/view/transactionActivityLogView/fetchTransactionActivityLogEpic.js +39 -0
  105. package/lib/view/transactionActivityLogView/transactionActivityLogViewPayload.d.ts +6 -0
  106. package/lib/view/transactionActivityLogView/transactionActivityLogViewPayload.js +2 -0
  107. package/lib/view/transactionActivityLogView/transactionActivityLogViewReducer.d.ts +17 -0
  108. package/lib/view/transactionActivityLogView/transactionActivityLogViewReducer.js +50 -0
  109. package/lib/view/transactionActivityLogView/transactionActivityLogViewSelector.d.ts +8 -0
  110. package/lib/view/transactionActivityLogView/transactionActivityLogViewSelector.js +19 -0
  111. package/lib/view/transactionActivityLogView/transactionActivityLogViewState.d.ts +5 -0
  112. package/lib/view/transactionActivityLogView/transactionActivityLogViewState.js +2 -0
  113. package/package.json +1 -1
  114. package/lib/tsconfig.typecheck.tsbuildinfo +0 -1
@@ -1,3 +1,3 @@
1
1
  export declare const ALL_FILE_TYPES: readonly ["pdf", "excel", "csv"];
2
- export declare const toFileTypeStrict: (v?: string) => "excel" | "pdf" | "csv" | undefined;
2
+ export declare const toFileTypeStrict: (v?: string) => "pdf" | "excel" | "csv" | undefined;
3
3
  export type FileType = NonNullable<ReturnType<typeof toFileTypeStrict>>;
@@ -10,19 +10,22 @@ export interface ChargeCardRepayment {
10
10
  isDeleted: boolean;
11
11
  paidById: ID;
12
12
  paymentMethod: string;
13
- providerCounterpartyId: ID;
14
13
  providerCreditAccountId: ID;
15
14
  providerDepositAccountId: ID;
16
15
  providerId: string;
17
16
  providerPaymentId: ID;
18
17
  providerRepaymentId: ID;
19
18
  repaymentDate: ZeniDate;
19
+ repaymentType: ChargeCardRepaymentType;
20
20
  status: ChargeCardRepaymentStatusCodeType;
21
21
  statusDescription: string;
22
22
  updateTime: ZeniDate;
23
23
  zeniCreditAccountId: ID;
24
24
  isAutoPayEnabled?: boolean;
25
+ paymentAccountId?: string | null;
26
+ paymentAccountName?: string;
25
27
  providerCounterpartyAccountId?: ID;
28
+ providerCounterpartyId?: ID;
26
29
  thirdPartyTransactionId?: string;
27
30
  }
28
31
  export interface ChargeCardRepaymentState {
@@ -30,3 +33,5 @@ export interface ChargeCardRepaymentState {
30
33
  }
31
34
  export declare const toChargeCardRepaymentStatusCodeType: (v: string) => "PendingReview" | "Pending" | "Sent" | "Clear" | "Rejected" | "Returned";
32
35
  export type ChargeCardRepaymentStatusCodeType = ReturnType<typeof toChargeCardRepaymentStatusCodeType>;
36
+ export declare const toChargeCardRepaymentType: (v: string) => "scheduled" | "onDemand";
37
+ export type ChargeCardRepaymentType = ReturnType<typeof toChargeCardRepaymentType>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toChargeCardRepaymentStatusCodeType = void 0;
3
+ exports.toChargeCardRepaymentType = exports.toChargeCardRepaymentStatusCodeType = void 0;
4
4
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
5
  const ALL_CHARGE_CARD_REPAYMENT_STATUS_CODE = [
6
6
  'PendingReview',
@@ -12,3 +12,6 @@ const ALL_CHARGE_CARD_REPAYMENT_STATUS_CODE = [
12
12
  ];
13
13
  const toChargeCardRepaymentStatusCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_CHARGE_CARD_REPAYMENT_STATUS_CODE);
14
14
  exports.toChargeCardRepaymentStatusCodeType = toChargeCardRepaymentStatusCodeType;
15
+ const ALL_CHARGE_CARD_REPAYMENT_TYPE = ['scheduled', 'onDemand'];
16
+ const toChargeCardRepaymentType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_CHARGE_CARD_REPAYMENT_TYPE);
17
+ exports.toChargeCardRepaymentType = toChargeCardRepaymentType;
@@ -1,3 +1,4 @@
1
+ import { UserPayload } from '../user/userPayload';
1
2
  import { ChargeCardRepayment } from './chargeCardRepayment';
2
3
  export interface ChargeCardRepaymentPayload {
3
4
  amount: number;
@@ -7,22 +8,26 @@ export interface ChargeCardRepaymentPayload {
7
8
  currency_symbol: string;
8
9
  due_amount: number;
9
10
  due_date: string;
10
- is_deleted: boolean;
11
11
  paid_by_user_id: string;
12
12
  payment_method: string;
13
- provider_counterparty_account_id: string | null;
14
- provider_counterparty_id: string;
15
13
  provider_credit_account_id: string;
16
14
  provider_deposit_account_id: string;
17
15
  provider_id: string;
18
16
  provider_payment_id: string;
19
17
  provider_repayment_id: string;
20
18
  repayment_date: string;
19
+ repayment_type: string;
21
20
  status: string;
22
21
  status_description: string;
23
22
  third_party_transaction_id: string | null;
24
23
  update_time: string;
25
24
  zeni_credit_account_id: string;
26
25
  is_auto_pay_enabled?: boolean;
26
+ is_deleted?: boolean;
27
+ paid_by_user?: UserPayload | null;
28
+ payment_account_id?: string | null;
29
+ payment_account_name?: string | null;
30
+ provider_counterparty_account_id?: string | null;
31
+ provider_counterparty_id?: string;
27
32
  }
28
33
  export declare const mapChargeCardRepaymentPayloadToChargeCardRepayment: (payload: ChargeCardRepaymentPayload) => ChargeCardRepayment;
@@ -10,11 +10,13 @@ const mapChargeCardRepaymentPayloadToChargeCardRepayment = (payload) => ({
10
10
  createTime: (0, zeniDayJS_1.date)(payload.create_time),
11
11
  dueAmount: (0, amount_1.toAmount)(payload.due_amount, payload.currency_code, payload.currency_symbol),
12
12
  dueDate: (0, zeniDayJS_1.date)(payload.due_date),
13
- isDeleted: payload.is_deleted,
13
+ isDeleted: payload.is_deleted ?? false,
14
14
  isAutoPayEnabled: payload.is_auto_pay_enabled,
15
15
  paidById: payload.paid_by_user_id,
16
16
  paymentMethod: payload.payment_method,
17
- providerCounterpartyId: payload.provider_counterparty_id,
17
+ paymentAccountName: payload.payment_account_name ?? undefined,
18
+ paymentAccountId: payload.payment_account_id ?? undefined,
19
+ providerCounterpartyId: payload.provider_counterparty_id ?? undefined,
18
20
  providerCreditAccountId: payload.provider_credit_account_id,
19
21
  providerDepositAccountId: payload.provider_deposit_account_id,
20
22
  providerId: payload.provider_id,
@@ -25,6 +27,7 @@ const mapChargeCardRepaymentPayloadToChargeCardRepayment = (payload) => ({
25
27
  statusDescription: payload.status_description,
26
28
  updateTime: (0, zeniDayJS_1.date)(payload.update_time),
27
29
  zeniCreditAccountId: payload.zeni_credit_account_id,
30
+ repaymentType: (0, chargeCardRepayment_1.toChargeCardRepaymentType)(payload.repayment_type),
28
31
  providerCounterpartyAccountId: payload.provider_counterparty_account_id ?? undefined,
29
32
  thirdPartyTransactionId: payload.third_party_transaction_id ?? undefined,
30
33
  });
@@ -2,7 +2,6 @@ import { Amount } from '../../commonStateTypes/amount';
2
2
  import { ID } from '../../commonStateTypes/common';
3
3
  import { ZeniDate } from '../../zeniDayJS';
4
4
  import { Logo } from '../paymentAccount/paymentAccountState';
5
- import { Attachment } from '../transaction/stateTypes/attachment';
6
5
  import { TransactionCategory } from '../transaction/stateTypes/transactionType';
7
6
  export interface ChargeCardTransaction {
8
7
  amount: Amount;
@@ -13,7 +12,7 @@ export interface ChargeCardTransaction {
13
12
  summary: string;
14
13
  transactionStatus: ChargeCardTransactionStatus;
15
14
  transactionType: ChargeCardTransactionType;
16
- attachments?: Attachment[];
15
+ attachmentFilePaths?: string[];
17
16
  thirdPartyTransactionId?: ID;
18
17
  transactionTime?: ZeniDate;
19
18
  zeniAccountId?: ID;
@@ -1,6 +1,7 @@
1
1
  import { AllowedValueWithCodePayload } from '../../commonPayloadTypes/commonPayload';
2
2
  import { URLPayload } from '../../commonPayloadTypes/urlPayload';
3
3
  import { AttachmentPayload } from '../transaction/payloadTypes/attachmentPayload';
4
+ import { Attachment } from '../transaction/stateTypes/attachment';
4
5
  import { ChargeCardTransaction } from './chargeCardTransaction';
5
6
  export interface ChargeCardTransactionPayload {
6
7
  amount: number;
@@ -13,7 +14,7 @@ export interface ChargeCardTransactionPayload {
13
14
  transaction_status: AllowedValueWithCodePayload;
14
15
  transaction_summary: string;
15
16
  transaction_type: AllowedValueWithCodePayload;
16
- attachments?: AttachmentPayload[];
17
+ attachment_file_paths?: string[];
17
18
  third_party_transaction_id?: string;
18
19
  transaction_time?: string | null;
19
20
  zeni_account_id?: string;
@@ -27,4 +28,5 @@ export interface ChargeCardMerchantPayload {
27
28
  brand_name?: string | null;
28
29
  logo?: URLPayload;
29
30
  }
31
+ export declare const attachmentFilePathToAttachment: (path: string) => Attachment;
30
32
  export declare const toChargeCardTransaction: (payload: ChargeCardTransactionPayload) => ChargeCardTransaction;
@@ -1,12 +1,35 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toChargeCardTransaction = void 0;
3
+ exports.toChargeCardTransaction = exports.attachmentFilePathToAttachment = void 0;
4
4
  const urlPayload_1 = require("../../commonPayloadTypes/urlPayload");
5
5
  const amount_1 = require("../../commonStateTypes/amount");
6
6
  const zeniDayJS_1 = require("../../zeniDayJS");
7
- const attachmentPayload_1 = require("../transaction/payloadTypes/attachmentPayload");
7
+ const zeniUrl_1 = require("../../zeniUrl");
8
+ const attachment_1 = require("../transaction/stateTypes/attachment");
8
9
  const transactionType_1 = require("../transaction/stateTypes/transactionType");
9
10
  const chargeCardTransaction_1 = require("./chargeCardTransaction");
11
+ const EXTENSION_TO_CONTENT_TYPE = {
12
+ pdf: 'application/pdf',
13
+ png: 'image/png',
14
+ jpg: 'image/jpeg',
15
+ jpeg: 'image/jpeg',
16
+ };
17
+ const attachmentFilePathToAttachment = (path) => {
18
+ const fileName = path.split('/').pop() ?? path;
19
+ const ext = fileName.split('.').pop()?.toLowerCase() ?? '';
20
+ const now = (0, zeniDayJS_1.dateNow)();
21
+ return {
22
+ id: path,
23
+ fileName,
24
+ contentType: (0, attachment_1.toContentType)(EXTENSION_TO_CONTENT_TYPE[ext] ?? ''),
25
+ fileDownloadUrl: (0, zeniUrl_1.toZeniUrl)(path),
26
+ createTime: now,
27
+ updateTime: now,
28
+ fileSizeInBytes: 0,
29
+ fileId: path,
30
+ };
31
+ };
32
+ exports.attachmentFilePathToAttachment = attachmentFilePathToAttachment;
10
33
  const toChargeCardTransaction = (payload) => ({
11
34
  id: payload.transaction_id,
12
35
  direction: (0, transactionType_1.toTransactionCategory)(payload.direction.toLowerCase()),
@@ -14,7 +37,7 @@ const toChargeCardTransaction = (payload) => ({
14
37
  code: (0, chargeCardTransaction_1.toCardTransactionStatusCode)(payload.transaction_status.code),
15
38
  name: payload.transaction_status.name,
16
39
  },
17
- attachments: payload.attachments?.map((attachmentPayload) => (0, attachmentPayload_1.toAttachment)(attachmentPayload)),
40
+ attachmentFilePaths: payload.attachment_file_paths,
18
41
  transactionType: {
19
42
  code: (0, chargeCardTransaction_1.toCardTransactionTypeCode)(payload.transaction_type.code),
20
43
  name: payload.transaction_type.name,
@@ -3,7 +3,6 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.clearAllChargeCardTransactions = exports.removeChargeCardTransactionAttachmentByThirdPartyTransactionId = exports.removeChargeCardTransaction = exports.updateChargeCardTransactionAttachments = exports.updateChargeCardTransaction = exports.updateChargeCardTransactions = exports.initialState = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
- const attachmentPayload_1 = require("../transaction/payloadTypes/attachmentPayload");
7
6
  const chargeCardTransactionPayload_1 = require("./chargeCardTransactionPayload");
8
7
  exports.initialState = {
9
8
  chargeCardTransactionById: {},
@@ -20,11 +19,16 @@ const chargeCardTransaction = (0, toolkit_1.createSlice)({
20
19
  },
21
20
  updateChargeCardTransactionAttachments(draft, action) {
22
21
  const { transactionId, data } = action.payload;
23
- const attachments = data.attachments.map((attachment) => (0, attachmentPayload_1.toAttachment)(attachment));
24
- draft.chargeCardTransactionById[transactionId] = {
25
- ...draft.chargeCardTransactionById[transactionId],
26
- attachments,
27
- };
22
+ const newPaths = data.attachments
23
+ .map((attachment) => attachment.attachment_id)
24
+ .filter((id) => id != null);
25
+ const transaction = draft.chargeCardTransactionById[transactionId];
26
+ if (transaction != null) {
27
+ transaction.attachmentFilePaths = [
28
+ ...(transaction.attachmentFilePaths ?? []),
29
+ ...newPaths,
30
+ ];
31
+ }
28
32
  },
29
33
  updateChargeCardTransaction(draft, action) {
30
34
  const latestChargeCard = (0, chargeCardTransactionPayload_1.toChargeCardTransaction)(action.payload);
@@ -41,7 +45,7 @@ const chargeCardTransaction = (0, toolkit_1.createSlice)({
41
45
  if (transaction != null) {
42
46
  draft.chargeCardTransactionById[transactionId] = {
43
47
  ...transaction,
44
- attachments: transaction.attachments?.filter((attachment) => attachment.fileName !== attachmentFileName),
48
+ attachmentFilePaths: transaction.attachmentFilePaths?.filter((path) => (path.split('/').pop() ?? path) !== attachmentFileName),
45
49
  };
46
50
  }
47
51
  }
@@ -0,0 +1,31 @@
1
+ import { AccountBasePayload } from '../account/accountPayload';
2
+ import { ClassBasePayload } from '../class/classPayload';
3
+ import { CustomerBasePayload } from '../customer/customerPayload';
4
+ import { AISummaryPayload } from '../transaction/payloadTypes/transactionLinePayload';
5
+ import { VendorBasePayload } from '../vendor/vendorPayload';
6
+ import { TransactionActivityLog, TransactionActivityLogData } from './transactionActivityLogState';
7
+ export interface TransactionActivityLogLinePayload {
8
+ account?: AccountBasePayload;
9
+ class?: ClassBasePayload;
10
+ customer?: CustomerBasePayload;
11
+ vendor?: VendorBasePayload;
12
+ }
13
+ export interface ActivityLogTransactionPayload {
14
+ line_id: string;
15
+ original_line: TransactionActivityLogLinePayload;
16
+ updated_line: TransactionActivityLogLinePayload;
17
+ }
18
+ export interface TransactionActivityLogDataPayload {
19
+ ai_summaries: AISummaryPayload[];
20
+ transaction: ActivityLogTransactionPayload;
21
+ }
22
+ export interface TransactionActivityLogPayload {
23
+ correlation_id: string;
24
+ create_time: string;
25
+ data: TransactionActivityLogDataPayload | null;
26
+ event_type: string;
27
+ processing_time_ms: number;
28
+ status_code: string;
29
+ }
30
+ export declare const toTransactionActivityLogData: (data: TransactionActivityLogDataPayload) => TransactionActivityLogData;
31
+ export declare const toTransactionActivityLog: (payload: TransactionActivityLogPayload) => TransactionActivityLog;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toTransactionActivityLog = exports.toTransactionActivityLogData = void 0;
4
+ const zeniDayJS_1 = require("../../zeniDayJS");
5
+ const accountPayload_1 = require("../account/accountPayload");
6
+ const classPayload_1 = require("../class/classPayload");
7
+ const customerPayload_1 = require("../customer/customerPayload");
8
+ const transactionLinePayload_1 = require("../transaction/payloadTypes/transactionLinePayload");
9
+ const vendorPayload_1 = require("../vendor/vendorPayload");
10
+ const transactionActivityLogState_1 = require("./transactionActivityLogState");
11
+ const toTransactionActivityLogLine = (line) => {
12
+ return {
13
+ account: line.account
14
+ ? (0, accountPayload_1.mapAccountBasePayloadToAccountBase)(line.account)
15
+ : undefined,
16
+ class: line.class ? (0, classPayload_1.mapClassBasePayloadToClassBase)(line.class) : undefined,
17
+ customer: line.customer ? (0, customerPayload_1.toCustomerBase)(line.customer, false) : undefined,
18
+ vendor: line.vendor
19
+ ? (0, vendorPayload_1.mapVendorBasePayloadToVendorBase)(line.vendor)
20
+ : undefined,
21
+ };
22
+ };
23
+ const toTransaction = (transaction) => {
24
+ return {
25
+ lineId: transaction.line_id,
26
+ originalLine: toTransactionActivityLogLine(transaction.original_line),
27
+ updatedLine: toTransactionActivityLogLine(transaction.updated_line),
28
+ };
29
+ };
30
+ const toTransactionActivityLogData = (data) => {
31
+ return {
32
+ aiSummaries: data.ai_summaries.map(transactionLinePayload_1.toAISummary),
33
+ transaction: toTransaction(data.transaction),
34
+ };
35
+ };
36
+ exports.toTransactionActivityLogData = toTransactionActivityLogData;
37
+ const toTransactionActivityLog = (payload) => {
38
+ return {
39
+ id: `${payload.correlation_id}-${payload.event_type}`,
40
+ data: payload.data != null ? (0, exports.toTransactionActivityLogData)(payload.data) : null,
41
+ eventType: (0, transactionActivityLogState_1.toActivityLogEventType)(payload.event_type),
42
+ createTime: (0, zeniDayJS_1.date)(payload.create_time),
43
+ };
44
+ };
45
+ exports.toTransactionActivityLog = toTransactionActivityLog;
@@ -0,0 +1,6 @@
1
+ import { TransactionActivityLogPayload } from './transactionActivityLogPayload';
2
+ import { TransactionActivityLogState } from './transactionActivityLogState';
3
+ export declare const initialState: TransactionActivityLogState;
4
+ export declare const updateTransactionActivityLogs: import("@reduxjs/toolkit").ActionCreatorWithPayload<TransactionActivityLogPayload[], "transactionActivityLog/updateTransactionActivityLogs">, clearAllTransactionActivityLogs: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"transactionActivityLog/clearAllTransactionActivityLogs">;
5
+ declare const _default: import("redux").Reducer<TransactionActivityLogState>;
6
+ export default _default;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var _a;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.clearAllTransactionActivityLogs = exports.updateTransactionActivityLogs = exports.initialState = void 0;
5
+ const toolkit_1 = require("@reduxjs/toolkit");
6
+ const transactionActivityLogPayload_1 = require("./transactionActivityLogPayload");
7
+ exports.initialState = {
8
+ transactionActivityLogById: {},
9
+ };
10
+ const transactionActivityLog = (0, toolkit_1.createSlice)({
11
+ name: 'transactionActivityLog',
12
+ initialState: exports.initialState,
13
+ reducers: {
14
+ updateTransactionActivityLogs(draft, action) {
15
+ action.payload.forEach((transactionActivityLogPayload) => {
16
+ const transactionActivityLog = (0, transactionActivityLogPayload_1.toTransactionActivityLog)(transactionActivityLogPayload);
17
+ draft.transactionActivityLogById[transactionActivityLog.id] =
18
+ transactionActivityLog;
19
+ });
20
+ },
21
+ clearAllTransactionActivityLogs(draft) {
22
+ draft.transactionActivityLogById = {};
23
+ },
24
+ },
25
+ });
26
+ _a = transactionActivityLog.actions, exports.updateTransactionActivityLogs = _a.updateTransactionActivityLogs, exports.clearAllTransactionActivityLogs = _a.clearAllTransactionActivityLogs;
27
+ exports.default = transactionActivityLog.reducer;
@@ -0,0 +1,4 @@
1
+ import { ID } from '../../commonStateTypes/common';
2
+ import { TransactionActivityLog, TransactionActivityLogState } from './transactionActivityLogState';
3
+ export declare function getTransactionActivityLogsByIds(transactionActivityLogState: TransactionActivityLogState, transactionActivityLogIds: ID[]): TransactionActivityLog[];
4
+ export declare function getTransactionActivityLogById(transactionActivityLogState: TransactionActivityLogState, transactionActivityLogId: ID): TransactionActivityLog | undefined;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.getTransactionActivityLogsByIds = getTransactionActivityLogsByIds;
7
+ exports.getTransactionActivityLogById = getTransactionActivityLogById;
8
+ const get_1 = __importDefault(require("lodash/get"));
9
+ function getTransactionActivityLogsByIds(transactionActivityLogState, transactionActivityLogIds) {
10
+ const transactionActivityLogs = transactionActivityLogIds
11
+ .map((transactionActivityLogId) => getTransactionActivityLogById(transactionActivityLogState, transactionActivityLogId))
12
+ .filter((value) => value != null);
13
+ return transactionActivityLogs;
14
+ }
15
+ function getTransactionActivityLogById(transactionActivityLogState, transactionActivityLogId) {
16
+ return (0, get_1.default)(transactionActivityLogState.transactionActivityLogById, transactionActivityLogId, undefined);
17
+ }
@@ -0,0 +1,34 @@
1
+ import { ID } from '../../commonStateTypes/common';
2
+ import { ZeniDate } from '../../zeniDayJS';
3
+ import { AccountBase } from '../account/accountState';
4
+ import { ClassBase } from '../class/classState';
5
+ import { CustomerBase } from '../customer/customerState';
6
+ import { AISummary } from '../transaction/stateTypes/transactionLine';
7
+ import { VendorBase } from '../vendor/vendorState';
8
+ export declare const ALL_ACTIVITY_LOG_EVENT_TYPE: readonly ["transaction.sync_database", "transaction_line.account.updated", "transaction_line.class.updated", "transaction_line.customer.updated", "transaction_line.vendor.updated"];
9
+ export declare const toActivityLogEventType: (v: string) => "transaction.sync_database" | "transaction_line.account.updated" | "transaction_line.class.updated" | "transaction_line.customer.updated" | "transaction_line.vendor.updated";
10
+ export type ActivityLogEventType = ReturnType<typeof toActivityLogEventType>;
11
+ export interface ActivityLogLine {
12
+ account?: AccountBase;
13
+ class?: ClassBase;
14
+ customer?: CustomerBase;
15
+ vendor?: VendorBase;
16
+ }
17
+ export interface ActivityLogTransaction {
18
+ lineId: ID;
19
+ originalLine: ActivityLogLine;
20
+ updatedLine: ActivityLogLine;
21
+ }
22
+ export interface TransactionActivityLogData {
23
+ aiSummaries: AISummary[];
24
+ transaction: ActivityLogTransaction;
25
+ }
26
+ export interface TransactionActivityLog {
27
+ createTime: ZeniDate;
28
+ data: TransactionActivityLogData | null;
29
+ eventType: ActivityLogEventType;
30
+ id: ID;
31
+ }
32
+ export interface TransactionActivityLogState {
33
+ transactionActivityLogById: Record<ID, TransactionActivityLog>;
34
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toActivityLogEventType = exports.ALL_ACTIVITY_LOG_EVENT_TYPE = void 0;
4
+ const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
+ exports.ALL_ACTIVITY_LOG_EVENT_TYPE = [
6
+ 'transaction.sync_database',
7
+ 'transaction_line.account.updated',
8
+ 'transaction_line.class.updated',
9
+ 'transaction_line.customer.updated',
10
+ 'transaction_line.vendor.updated',
11
+ ];
12
+ const toActivityLogEventType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_ACTIVITY_LOG_EVENT_TYPE);
13
+ exports.toActivityLogEventType = toActivityLogEventType;
package/lib/epic.d.ts CHANGED
@@ -353,6 +353,8 @@ import { ActionType as RevokeCardInviteActionType } from './view/spendManagement
353
353
  import { ActionType as RevokeChargeCardsInviteActionType } from './view/spendManagement/chargeCards/chargeCardList/revokeChargeCardsInviteEpic';
354
354
  import { ActionType as UnlockChargeCardsActionType } from './view/spendManagement/chargeCards/chargeCardList/unlockChargeCardsEpic';
355
355
  import { ActionType as UpdateChargeCardsLimitActionType } from './view/spendManagement/chargeCards/chargeCardList/updateChargeCardsLimitEpic';
356
+ import { ActionType as FetchChargeCardPaymentHistoryActionType } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentHistoryEpic';
357
+ import { ActionType as FetchChargeCardPaymentPageActionType } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentPageEpic';
356
358
  import { ActionType as FetchChargeCardRepaymentDetailActionType } from './view/spendManagement/chargeCards/chargeCardRepaymentDetail/fetchChargeCardRepaymentDetailEpic';
357
359
  import { ActionType as InitiateChargeCardRepaymentActionType } from './view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic';
358
360
  import { ActionType as AcceptChargeCardTermsActionType } from './view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic';
@@ -471,6 +473,7 @@ import { ActionType as FetchTaskListPageActionType } from './view/taskManager/ta
471
473
  import { ActionType as UpdateTaskFromListViewActionType } from './view/taskManager/taskListView/epics/updateTaskFromListViewEpic';
472
474
  import { ActionType as FetchTasksCardActionType } from './view/tasksCard/fetchTasksCardEpic';
473
475
  import { ActionType as TopExActionType } from './view/topEx/topExEpic';
476
+ import { ActionType as FetchTransactionActivityLogActionType } from './view/transactionActivityLogView/fetchTransactionActivityLogEpic';
474
477
  import { ActionType as DeleteTransactionAttachmentActionType } from './view/transactionDetail/epics/deleteTransactionAttachmentEpic';
475
478
  import { ActionType as DownloadAccountingProviderAttachmentActionType } from './view/transactionDetail/epics/downloadAccountingProviderAttachmentEpic';
476
479
  import { ActionType as InitializeTransactionDetailLocalDataActionType } from './view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic';
@@ -516,6 +519,6 @@ import { ActionType as FetchDepositAccStatementListActionType } from './view/zen
516
519
  import { ActionType as FetchZeniAccStatePageActionType } from './view/zeniAccStatementList/fetchZeniAccStatementPageEpic';
517
520
  import { ActionType as FetchZeniAccountsPromoCardActionType } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic';
518
521
  /** Root action type is union of all the epic action type */
519
- export type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptMasterTOSEpicActionType | AcceptRemiTermsActionType | AcceptTreasuryTermsActionType | AcceptZeniAccountTermsActionType | AddCardPaymentSourceActionType | ApproveOrRejectBillActionType | ApproveOrRejectBillsBulkActionActionType | ApproveOrRejectRemiActionType | ApproveOrRejectRemisBulkActionActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BackgroundRefetchReviewTabActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | BulkUpdateTasksListActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CancelOrDeleteBillsBulkActionActionType | CancelOrDeleteRemisBulkActionActionType | CancelScheduleAccruedJournalEntryActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CloseChargeCardActionType | CloseChargeCardsActionType | CombinedStatementActionType | ReportsResyncActionType | InitiateReportsClassViewRefetchingActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | ConfirmCardSetupIntentActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCardSetupIntentActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesAccruedActionType | CreateNewSchedulesActionType | CreateNewTaskGroupActionType | CreatePaymentInstrumentActionType | CreateSessionActionType | CreateSessionAndSubmitActionType | CreateTagActionType | CreateTaskFromTaskGroupTemplateActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteAccountStatementActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteChatSessionActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleAccruedDetailActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | DeleteTaskGroupActionType | DeleteTransactionAttachmentActionType | DeleteUserBankAccountActionType | DoMagicLinkSignInActionType | DepositAccountTransactionListActionType | DownloadAccountingProviderAttachmentActionType | DragNDropTasksActionType | EnableChargeCardAutoPayActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | ExpressInterestChargeCardActionType | ExpressPayActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchAccountSettingsListForAccountTypesActionType | FetchAccruedScheduleListActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllExpenseAutomationTabsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTaskGroupsActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchAggregatedReportActionType | 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 | FetchChargeCardRepaymentDetailActionType | FetchChargeCardSetupViewActionType | FetchChargeCardStatementListActionType | FetchChargeCardTransactionAttachmentsActionType | FetchChargeCardTransactionListActionType | FetchChargeCardTransactionStatisticsActionType | FetchChargeCardsRecurringExpensesActionType | FetchChatHistoryActionType | FetchChatSessionsForUserActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyBillingAddressActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricConfigViewEpicActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMetaDataActionType | FetchCompanyMonthEndReportHistoricDataActionType | FetchCompanyMonthEndReportHistoricDatesActionType | FetchCompanyMonthEndReportTemplatesActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCompanyTaskManagerViewActionType | FetchCreditAccountActionType | FetchCreditAccountRepaymentActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDashboardLayoutActionType | FetchDebitCardSummaryActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountLimitActionType | FetchDepositAccountListActionType | FetchDepositAccountListForCardsActionType | FetchDepositAccStatementListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchDuplicateReimbursementEpicActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchEligibleActionsForBillActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchEntityRecommendationsByTransactionIdActionType | FetchExcludedResourcesActionType | FetchExpenseAutomationFluxAnalysisActionType | FetchExpenseAutomationInitializeTransactionCategorizationViewLocalDataActionType | FetchExpenseAutomationJEScheduleActionType | FetchExpenseAutomationJESchedulePageActionType | FetchExpenseAutomationMarkTransactionAsNotMiscategorizedActionType | FetchExpenseAutomationMissingReceiptsActionType | FetchExpenseAutomationReconciliationsViewActionType | FetchExpenseAutomationSaveTransactionCategorizationActionType | FetchExpenseAutomationTransactionCategorizationActionType | FetchExpenseAutomationTransactionCategorizationViewActionType | FetchExpenseAutomationUpdateTransactionCategorizationEpicActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchIntlVerificationFormActionType | FetchIssueCardPageActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMonthClosePerformanceTrendActionType | FetchMonthEndCloseChecksActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchNotificationSettingsViewActionType | FetchNotificationUnreadCountActionType | FetchNotificationViewActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountBalanceActionType | FetchPaymentAccountListActionType | FetchPaymentSourcesActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchQBOConnectionPoolActionType | 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 | FetchTaskGroupTemplatesActionType | FetchTaskHistoryActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTreasuryStatementListActionType | FetchTreasuryDetailActionType | FetchTreasuryFundsActionType | FetchTreasuryHistoryActionType | FetchTreasurySetupViewActionType | FetchTreasuryTaxLetterListActionType | FetchTreasuryTransactionListActionType | UpdatePortfolioAllocationActionType | FetchPortfolioAllocationActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendor1099TypeListActionType | FetchVendorActionType | FetchVendorAndUpdateBillLocalDataActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewAttachmentsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorsActionType | FetchVendorsFiling1099ActionType | FetchVendorsFiling1099AllActionType | FetchVendorsFiling1099DownloadActionType | FetchVendorTabViewActionType | FetchVendorTypeListActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccountsPromoCardActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | IgnoreExpenseAutomationJEScheduleActionType | ImproveUsingZeniGPTActionType | InitialiseExpenseAutomationLocalDataForSelectedAccountIdActionType | InitializeAccountMappingViewActionType | InitializeAccountSettingsViewEpicActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | InitializeCardUserOnboardingLocalDataActionType | InitializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeExpenseAutomationJeScheduleLocalDataActionType | InitializeInternationalWireLocalDataActionType | InitializeIntlVerificationFormEpicActionType | InitializeMyProfileLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleAccruedDetailLocalDataActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InitiateChargeCardRepaymentActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | LockChargeCardActionType | LockChargeCardsActionType | 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 | RecommendationForAccountSettingsActionType | RecommendationForAccountTypeActionType | RefreshExpenseAutomationCurrentTabActionType | RefreshIntegrationsDataActionType | RejectVendorGlobalReviewActionType | ResendCardInviteActionType | ResendInviteActionType | ResendOtpActionType | ResendVerifyDeviceOTPActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RetryExpenseAutomationJEScheduleActionType | RetryOrRefundBillActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | ValidateBillsBulkActionActionType | ReviewDraftRemisBulkActionActionTye | ReviewExpenseAutomationFluxAnalysisActionType | RevokeCardInviteActionType | RevokeChargeCardsInviteActionType | SaveAccountMappingViewActionType | SaveAccountSettingsViewEpicActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | saveCardOnboardingUserDetailsActionType | SaveCompanyBillingAddressActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExpenseAutomationReconciliationDetailActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveReasonForAuditRuleActionType | SaveReconciliationReviewActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleAccruedDetailsActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorDetailsViewActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SendEmailMagicLinkToUserActionType | SignInActionType | SignOutActionType | VerifyDeviceWithTwoFAActionType | StatementCloseDayActionType | StopSubmitActionType | StopSubmitQuestionActionType | SubmitDraftBillsBulkActionActionType | SubmitDraftRemisBulkActionActionType | SubmitExpressPayActionType | SubmitIntlVerificationActionType | SubmitQuestionActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | TreasuryTransferMoneyActionType | TriggerReviewTabRefetchActionType | UnlinkPaymentAccountActionType | UnlockChargeCardActionType | UnlockChargeCardsActionType | UpdateAccruedJESchedulesActionType | UpdateAddressActionType | UpdateAmountsInScheduleAccruedDetailActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateChargeCardLimitActionType | UpdateChargeCardNameActionType | UpdateChargeCardsLimitActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDashboardLayoutActionType | UpdateDebitCardPinAttemptActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateExpenseAutomationReconciliationBalanceLocalDataActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMappedCashAccountActionType | UpdateMileageDetailsActionType | UpdateMyProfileActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewDashboardLoadedActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePhysicalChargeCardAttemptActionType | UpdatePrimaryContactActionType | UpdatePrimaryFundingAccountActionType | UpdateReferViewedActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateQBOConnectionPoolExternalConnectionActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTaskFromListViewActionType | UpdateTaskGroupNameActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateTreasuryVideoViewedActionType | UpdateVendorContactActionType | UploadAccountStatementActionType | VendorFiling1099UploadDetailsSaveActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
522
+ export type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptMasterTOSEpicActionType | AcceptRemiTermsActionType | AcceptTreasuryTermsActionType | AcceptZeniAccountTermsActionType | AddCardPaymentSourceActionType | ApproveOrRejectBillActionType | ApproveOrRejectBillsBulkActionActionType | ApproveOrRejectRemiActionType | ApproveOrRejectRemisBulkActionActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BackgroundRefetchReviewTabActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | BulkUpdateTasksListActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CancelOrDeleteBillsBulkActionActionType | CancelOrDeleteRemisBulkActionActionType | CancelScheduleAccruedJournalEntryActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CloseChargeCardActionType | CloseChargeCardsActionType | CombinedStatementActionType | ReportsResyncActionType | InitiateReportsClassViewRefetchingActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | ConfirmCardSetupIntentActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCardSetupIntentActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesAccruedActionType | CreateNewSchedulesActionType | CreateNewTaskGroupActionType | CreatePaymentInstrumentActionType | CreateSessionActionType | CreateSessionAndSubmitActionType | CreateTagActionType | CreateTaskFromTaskGroupTemplateActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteAccountStatementActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteChatSessionActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleAccruedDetailActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | DeleteTaskGroupActionType | DeleteTransactionAttachmentActionType | DeleteUserBankAccountActionType | DoMagicLinkSignInActionType | DepositAccountTransactionListActionType | DownloadAccountingProviderAttachmentActionType | DragNDropTasksActionType | EnableChargeCardAutoPayActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | ExpressInterestChargeCardActionType | ExpressPayActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchAccountSettingsListForAccountTypesActionType | FetchAccruedScheduleListActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllExpenseAutomationTabsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTaskGroupsActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchAggregatedReportActionType | 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 | FetchChargeCardPaymentPageActionType | FetchChargeCardRepaymentDetailActionType | FetchChargeCardPaymentHistoryActionType | FetchChargeCardSetupViewActionType | FetchChargeCardStatementListActionType | FetchChargeCardTransactionAttachmentsActionType | FetchChargeCardTransactionListActionType | FetchChargeCardTransactionStatisticsActionType | FetchChargeCardsRecurringExpensesActionType | FetchChatHistoryActionType | FetchChatSessionsForUserActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyBillingAddressActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricConfigViewEpicActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMetaDataActionType | FetchCompanyMonthEndReportHistoricDataActionType | FetchCompanyMonthEndReportHistoricDatesActionType | FetchCompanyMonthEndReportTemplatesActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCompanyTaskManagerViewActionType | FetchCreditAccountActionType | FetchCreditAccountRepaymentActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDashboardLayoutActionType | FetchDebitCardSummaryActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountLimitActionType | FetchDepositAccountListActionType | FetchDepositAccountListForCardsActionType | FetchDepositAccStatementListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchDuplicateReimbursementEpicActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchEligibleActionsForBillActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchEntityRecommendationsByTransactionIdActionType | FetchExcludedResourcesActionType | FetchExpenseAutomationFluxAnalysisActionType | FetchExpenseAutomationInitializeTransactionCategorizationViewLocalDataActionType | FetchExpenseAutomationJEScheduleActionType | FetchExpenseAutomationJESchedulePageActionType | FetchExpenseAutomationMarkTransactionAsNotMiscategorizedActionType | FetchExpenseAutomationMissingReceiptsActionType | FetchExpenseAutomationReconciliationsViewActionType | FetchExpenseAutomationSaveTransactionCategorizationActionType | FetchExpenseAutomationTransactionCategorizationActionType | FetchExpenseAutomationTransactionCategorizationViewActionType | FetchExpenseAutomationUpdateTransactionCategorizationEpicActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchIntlVerificationFormActionType | FetchIssueCardPageActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMonthClosePerformanceTrendActionType | FetchMonthEndCloseChecksActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchNotificationSettingsViewActionType | FetchNotificationUnreadCountActionType | FetchNotificationViewActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountBalanceActionType | FetchPaymentAccountListActionType | FetchPaymentSourcesActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchQBOConnectionPoolActionType | 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 | FetchTaskGroupTemplatesActionType | FetchTaskHistoryActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTransactionActivityLogActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTreasuryStatementListActionType | FetchTreasuryDetailActionType | FetchTreasuryFundsActionType | FetchTreasuryHistoryActionType | FetchTreasurySetupViewActionType | FetchTreasuryTaxLetterListActionType | FetchTreasuryTransactionListActionType | UpdatePortfolioAllocationActionType | FetchPortfolioAllocationActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendor1099TypeListActionType | FetchVendorActionType | FetchVendorAndUpdateBillLocalDataActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewAttachmentsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorsActionType | FetchVendorsFiling1099ActionType | FetchVendorsFiling1099AllActionType | FetchVendorsFiling1099DownloadActionType | FetchVendorTabViewActionType | FetchVendorTypeListActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccountsPromoCardActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | IgnoreExpenseAutomationJEScheduleActionType | ImproveUsingZeniGPTActionType | InitialiseExpenseAutomationLocalDataForSelectedAccountIdActionType | InitializeAccountMappingViewActionType | InitializeAccountSettingsViewEpicActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | InitializeCardUserOnboardingLocalDataActionType | InitializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeExpenseAutomationJeScheduleLocalDataActionType | InitializeInternationalWireLocalDataActionType | InitializeIntlVerificationFormEpicActionType | InitializeMyProfileLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleAccruedDetailLocalDataActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InitiateChargeCardRepaymentActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | LockChargeCardActionType | LockChargeCardsActionType | 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 | RecommendationForAccountSettingsActionType | RecommendationForAccountTypeActionType | RefreshExpenseAutomationCurrentTabActionType | RefreshIntegrationsDataActionType | RejectVendorGlobalReviewActionType | ResendCardInviteActionType | ResendInviteActionType | ResendOtpActionType | ResendVerifyDeviceOTPActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RetryExpenseAutomationJEScheduleActionType | RetryOrRefundBillActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | ValidateBillsBulkActionActionType | ReviewDraftRemisBulkActionActionTye | ReviewExpenseAutomationFluxAnalysisActionType | RevokeCardInviteActionType | RevokeChargeCardsInviteActionType | SaveAccountMappingViewActionType | SaveAccountSettingsViewEpicActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | saveCardOnboardingUserDetailsActionType | SaveCompanyBillingAddressActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExpenseAutomationReconciliationDetailActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveReasonForAuditRuleActionType | SaveReconciliationReviewActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleAccruedDetailsActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorDetailsViewActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SendEmailMagicLinkToUserActionType | SignInActionType | SignOutActionType | VerifyDeviceWithTwoFAActionType | StatementCloseDayActionType | StopSubmitActionType | StopSubmitQuestionActionType | SubmitDraftBillsBulkActionActionType | SubmitDraftRemisBulkActionActionType | SubmitExpressPayActionType | SubmitIntlVerificationActionType | SubmitQuestionActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | TreasuryTransferMoneyActionType | TriggerReviewTabRefetchActionType | UnlinkPaymentAccountActionType | UnlockChargeCardActionType | UnlockChargeCardsActionType | UpdateAccruedJESchedulesActionType | UpdateAddressActionType | UpdateAmountsInScheduleAccruedDetailActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateChargeCardLimitActionType | UpdateChargeCardNameActionType | UpdateChargeCardsLimitActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDashboardLayoutActionType | UpdateDebitCardPinAttemptActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateExpenseAutomationReconciliationBalanceLocalDataActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMappedCashAccountActionType | UpdateMileageDetailsActionType | UpdateMyProfileActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewDashboardLoadedActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePhysicalChargeCardAttemptActionType | UpdatePrimaryContactActionType | UpdatePrimaryFundingAccountActionType | UpdateReferViewedActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateQBOConnectionPoolExternalConnectionActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTaskFromListViewActionType | UpdateTaskGroupNameActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateTreasuryVideoViewedActionType | UpdateVendorContactActionType | UploadAccountStatementActionType | VendorFiling1099UploadDetailsSaveActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
520
523
  declare const rootEpic: Epic<RootActionType>;
521
524
  export default rootEpic;