@zeniai/client-epic-state 4.12.39 → 4.12.41

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 (104) hide show
  1. package/lib/__testHelpers__/apiFailure.json +6 -0
  2. package/lib/entity/account/accountPayload.d.ts +1 -0
  3. package/lib/entity/account/accountPayload.js +7 -2
  4. package/lib/entity/account/accountSelector.d.ts +6 -6
  5. package/lib/entity/account/accountState.d.ts +2 -2
  6. package/lib/entity/account/accountState.js +4 -0
  7. package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +2 -2
  8. package/lib/entity/accountGroup/accountGroupSelector.d.ts +44 -44
  9. package/lib/entity/billPay/billTransaction/billTransactionPayload.d.ts +1 -12
  10. package/lib/entity/billPay/billTransaction/billTransactionPayload.js +1 -23
  11. package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +0 -12
  12. package/lib/entity/billPay/billTransaction/billTransactionState.js +0 -8
  13. package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +2 -2
  14. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  15. package/lib/entity/snackbar/snackbarTypes.js +0 -2
  16. package/lib/entity/tenant/clearAllEpic.d.ts +2 -1
  17. package/lib/entity/tenant/clearAllEpic.js +2 -0
  18. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
  19. package/lib/entity/transaction/stateTypes/transactionType.d.ts +2 -2
  20. package/lib/entity/vendor/__mocks__/vendorStateMocks.d.ts +6 -0
  21. package/lib/entity/vendor/__mocks__/vendorStateMocks.js +308 -0
  22. package/lib/entity/vendor/vendorPayload.d.ts +8 -0
  23. package/lib/entity/vendor/vendorPayload.js +10 -2
  24. package/lib/entity/vendor/vendorState.d.ts +6 -0
  25. package/lib/entity/vendor/vendorType.d.ts +8 -0
  26. package/lib/entity/vendor/vendorType.js +10 -0
  27. package/lib/epic.d.ts +2 -3
  28. package/lib/epic.js +2 -3
  29. package/lib/index.d.ts +9 -6
  30. package/lib/index.js +19 -15
  31. package/lib/reducer.d.ts +3 -0
  32. package/lib/reducer.js +3 -0
  33. package/lib/view/accountList/accountListReducer.d.ts +2 -2
  34. package/lib/view/accountList/accountListReducer.js +2 -0
  35. package/lib/view/accountMappingView/accountMappingPayload.d.ts +5 -0
  36. package/lib/view/accountMappingView/accountMappingPayload.js +19 -1
  37. package/lib/view/accountMappingView/accountMappingReducer.js +31 -9
  38. package/lib/view/accountMappingView/accountMappingState.d.ts +8 -0
  39. package/lib/view/accountMappingView/accountMappingViewSelector.d.ts +4 -0
  40. package/lib/view/accountMappingView/accountMappingViewSelector.js +18 -0
  41. package/lib/view/accountMappingView/saveAccountMappingViewEpic.js +2 -1
  42. package/lib/view/cardBalance/cardBalanceSelector.d.ts +2 -2
  43. package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.d.ts +1 -1
  44. package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.d.ts +1 -1
  45. package/lib/view/cardPayment/epic/createCardSetupIntentEpic.d.ts +1 -1
  46. package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.d.ts +1 -1
  47. package/lib/view/cashBalance/cashBalanceSelector.d.ts +2 -2
  48. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
  49. package/lib/view/people/deletePersonEpic.d.ts +1 -1
  50. package/lib/view/people/invitePeopleEpic.d.ts +1 -1
  51. package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
  52. package/lib/view/people/resendInviteEpic.d.ts +1 -1
  53. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +4 -4
  54. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
  55. package/lib/view/settingsView/settingsViewHelpers.js +3 -1
  56. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewPayload.d.ts +0 -5
  57. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.d.ts +1 -22
  58. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js +2 -133
  59. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.d.ts +1 -2
  60. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +0 -2
  61. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewState.d.ts +0 -9
  62. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewState.js +0 -14
  63. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.d.ts +2 -2
  64. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +1 -10
  65. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.d.ts +0 -1
  66. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +0 -3
  67. package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.d.ts +1 -3
  68. package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.js +2 -6
  69. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +0 -1
  70. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +0 -3
  71. package/lib/view/spendManagement/billPay/editBillView/editBillViewState.d.ts +0 -1
  72. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +0 -68
  73. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +1 -2
  74. package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
  75. package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
  76. package/lib/view/topEx/topExSelector.d.ts +1 -1
  77. package/lib/view/transactionDetail/transactionDetailState.d.ts +2 -2
  78. package/lib/view/transactionList/transactionListReducer.d.ts +12 -12
  79. package/lib/view/vendorFiling1099List/__mock__/json/vendorFiling1099ListSuccess.json +90 -0
  80. package/lib/view/vendorFiling1099List/__mock__/vendorFiling1099ListMock.d.ts +11 -0
  81. package/lib/view/vendorFiling1099List/__mock__/vendorFiling1099ListMock.js +101 -0
  82. package/lib/view/vendorFiling1099List/__mock__/vendorFiling1099ListSelectorMock.d.ts +2 -0
  83. package/lib/view/vendorFiling1099List/__mock__/vendorFiling1099ListSelectorMock.js +21 -0
  84. package/lib/view/vendorFiling1099List/fetchVendorsFiling1099ListEpic.d.ts +9 -0
  85. package/lib/view/vendorFiling1099List/fetchVendorsFiling1099ListEpic.js +40 -0
  86. package/lib/view/vendorFiling1099List/vendorFiling1099ListPayload.d.ts +13 -0
  87. package/lib/view/vendorFiling1099List/vendorFiling1099ListPayload.js +2 -0
  88. package/lib/view/vendorFiling1099List/vendorFiling1099ListReducer.d.ts +19 -0
  89. package/lib/view/vendorFiling1099List/vendorFiling1099ListReducer.js +71 -0
  90. package/lib/view/vendorFiling1099List/vendorFiling1099ListSelector.d.ts +15 -0
  91. package/lib/view/vendorFiling1099List/vendorFiling1099ListSelector.js +49 -0
  92. package/lib/view/vendorFiling1099List/vendorFiling1099ListState.d.ts +23 -0
  93. package/lib/view/vendorFiling1099List/vendorFiling1099ListState.js +11 -0
  94. package/lib/view/vendorList/vendorListSelector.d.ts +2 -2
  95. package/lib/view/vendorList/vendorListSelector.js +4 -0
  96. package/lib/view/vendorTabView/fetchVendorTabViewEpic.d.ts +2 -1
  97. package/lib/view/vendorTabView/fetchVendorTabViewEpic.js +9 -1
  98. package/lib/view/vendorTabView/vendorTabViewReducer.d.ts +2 -0
  99. package/lib/view/vendorTabView/vendorTabViewReducer.js +2 -1
  100. package/package.json +1 -1
  101. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchEligibleActionsForBillEpic.d.ts +0 -7
  102. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchEligibleActionsForBillEpic.js +0 -42
  103. package/lib/view/spendManagement/billPay/billDetailView/epics/retryOrRefundBillEpic.d.ts +0 -9
  104. package/lib/view/spendManagement/billPay/billDetailView/epics/retryOrRefundBillEpic.js +0 -76
@@ -1,6 +1,6 @@
1
1
  import { ID } from '../../../commonStateTypes/common';
2
2
  import { VendorTransactionPayload } from '../../transaction/payloadTypes/vendorTransactionPayload';
3
- import { BillStage, BillTransaction, BillPaymentMethod, BillPaymentStatus, BillPaymentRefundStatus, BillStatus, DeletionInfo } from './billTransactionState';
3
+ import { BillStage, BillTransaction, BillPaymentMethod, BillPaymentStatus, BillStatus, DeletionInfo } from './billTransactionState';
4
4
  export interface BillTransactionPayload extends VendorTransactionPayload {
5
5
  bill_pay_info: BillPayInfoPayload;
6
6
  entity_approval_id: ID;
@@ -46,7 +46,6 @@ interface BillPayInfoPayload {
46
46
  bill_payment_status: BillPaymentStatusPayload;
47
47
  bill_payment_status_message?: string | null;
48
48
  bill_payment_status_update_time?: string | null;
49
- bill_payment_refund_status: BillPaymentRefundStatusPayload;
50
49
  actual_deposit_date?: string | null;
51
50
  expected_deposit_date?: string | null;
52
51
  bill_payment_method_type: BillPaymentMethodPayload;
@@ -57,10 +56,6 @@ interface BillPayInfoPayload {
57
56
  to_account_vendor_email?: string | null;
58
57
  is_collect_to_account_info_from_vendor_contact?: boolean;
59
58
  international_transfer_fee_bearer_payment_method?: string | null;
60
- is_refund_complete: boolean | null;
61
- is_refund_initiated: boolean | null;
62
- refund_completion_time?: string;
63
- refund_initiation_time?: string;
64
59
  }
65
60
  export interface BillStagePayload {
66
61
  code: string;
@@ -74,11 +69,6 @@ export interface BillPaymentStatusPayload {
74
69
  summary: string;
75
70
  description: string;
76
71
  }
77
- export interface BillPaymentRefundStatusPayload {
78
- code: string | null;
79
- name: string | null;
80
- description: string;
81
- }
82
72
  export interface BillStatusPayload {
83
73
  summary_code: string | null;
84
74
  code: string;
@@ -107,7 +97,6 @@ export declare const toBillTransaction: (payload: BillTransactionPayload) => Bil
107
97
  export declare const toBillStage: (payload: BillStagePayload) => BillStage;
108
98
  export declare const toBillPaymentMethod: (payload: BillPaymentMethodPayload) => BillPaymentMethod;
109
99
  export declare const toBillPaymentStatus: (payload: BillPaymentStatusPayload) => BillPaymentStatus;
110
- export declare const toBillPaymentRefundStatus: (payload: BillPaymentRefundStatusPayload) => BillPaymentRefundStatus;
111
100
  export declare const toBillStatus: (payload: BillStatusPayload) => BillStatus;
112
101
  export declare const toDeletionInfo: (payload: DeletionInfoPayload) => DeletionInfo;
113
102
  export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toDeletionInfo = exports.toBillStatus = exports.toBillPaymentRefundStatus = exports.toBillPaymentStatus = exports.toBillPaymentMethod = exports.toBillStage = exports.toBillTransaction = void 0;
3
+ exports.toDeletionInfo = exports.toBillStatus = exports.toBillPaymentStatus = exports.toBillPaymentMethod = exports.toBillStage = exports.toBillTransaction = void 0;
4
4
  const amount_1 = require("../../../commonStateTypes/amount");
5
5
  const zeniDayJS_1 = require("../../../zeniDayJS");
6
6
  const vendorTransactionPayload_1 = require("../../transaction/payloadTypes/vendorTransactionPayload");
@@ -47,7 +47,6 @@ const toBillPayInfo = (payload) => {
47
47
  ? (0, zeniDayJS_1.date)(payload.bill_payment_status_update_time)
48
48
  : undefined,
49
49
  billPaymentMethodType: (0, exports.toBillPaymentMethod)(payload.bill_payment_method_type),
50
- billPaymentRefundStatus: (0, exports.toBillPaymentRefundStatus)(payload.bill_payment_refund_status),
51
50
  fromAccount: toFromBillAccount(payload.from_account),
52
51
  toAccount: toBillAccount(payload.to_account, (0, exports.toBillPaymentMethod)(payload.bill_payment_method_type)),
53
52
  isCancelled: payload.is_cancelled,
@@ -63,16 +62,6 @@ const toBillPayInfo = (payload) => {
63
62
  internationalTransferFeeBearerPaymentMethod: payload.international_transfer_fee_bearer_payment_method != null
64
63
  ? (0, billTransactionState_1.toInternationalTransferFeeBearerPaymentMethod)(payload.international_transfer_fee_bearer_payment_method)
65
64
  : undefined,
66
- isRefundComplete: payload.is_refund_complete != null ? payload.is_refund_complete : undefined,
67
- isRefundInitiated: payload.is_refund_initiated != null
68
- ? payload.is_refund_initiated
69
- : undefined,
70
- refundCompletionTime: payload.refund_completion_time != null
71
- ? (0, zeniDayJS_1.date)(payload.refund_completion_time)
72
- : undefined,
73
- refundInitiationTime: payload.refund_initiation_time != null
74
- ? (0, zeniDayJS_1.date)(payload.refund_initiation_time)
75
- : undefined,
76
65
  });
77
66
  };
78
67
  const toBillStage = (payload) => {
@@ -139,17 +128,6 @@ const toBillPaymentStatus = (payload) => {
139
128
  });
140
129
  };
141
130
  exports.toBillPaymentStatus = toBillPaymentStatus;
142
- const toBillPaymentRefundStatus = (payload) => {
143
- var _a;
144
- return ({
145
- code: payload.code != null
146
- ? payload.code
147
- : undefined,
148
- name: (_a = payload.name) !== null && _a !== void 0 ? _a : '',
149
- description: payload.description,
150
- });
151
- };
152
- exports.toBillPaymentRefundStatus = toBillPaymentRefundStatus;
153
131
  const toBillStatus = (payload) => ({
154
132
  code: payload.code,
155
133
  name: payload.name,
@@ -45,7 +45,6 @@ export interface BillPayInfo {
45
45
  billPaymentStatusMessage: string;
46
46
  billPaymentStatusUpdateTime?: ZeniDate;
47
47
  billPaymentMethodType: BillPaymentMethod;
48
- billPaymentRefundStatus: BillPaymentRefundStatus;
49
48
  fromAccount: FromBillAccount;
50
49
  toAccount: BillAccount;
51
50
  isCancelled: boolean;
@@ -53,10 +52,6 @@ export interface BillPayInfo {
53
52
  toAccountVendorEmail?: string;
54
53
  isCollectToAccountInfoFromVendorContact: boolean;
55
54
  internationalTransferFeeBearerPaymentMethod?: InternationalTransferFeeBearerPaymentMethod;
56
- isRefundComplete?: boolean;
57
- isRefundInitiated?: boolean;
58
- refundCompletionTime?: ZeniDate;
59
- refundInitiationTime?: ZeniDate;
60
55
  }
61
56
  export declare const toInternationalTransferFeeBearerPaymentMethod: (v: string) => "swift_our" | "swift_sha";
62
57
  export declare type InternationalTransferFeeBearerPaymentMethod = ReturnType<typeof toInternationalTransferFeeBearerPaymentMethod>;
@@ -72,11 +67,6 @@ export interface BillPaymentStatus {
72
67
  summary: string;
73
68
  description: string;
74
69
  }
75
- export interface BillPaymentRefundStatus {
76
- name: string;
77
- description: string;
78
- code?: BillPaymentRefundStatusCodeType;
79
- }
80
70
  export interface BillStatus {
81
71
  summaryCode?: BillStatusSummaryCodeType;
82
72
  code: BillStatusCodeType;
@@ -109,8 +99,6 @@ declare const toBillStageCodeType: (v: string) => "paid" | "pending_approval" |
109
99
  export declare type BillStageCodeType = ReturnType<typeof toBillStageCodeType>;
110
100
  declare const toBillPaymentStatusCodeType: (v: string) => "failed" | "processing" | "paid" | "returned" | "posted" | "cancelled" | "pending_vendor_action";
111
101
  export declare type BillPaymentStatusCodeType = ReturnType<typeof toBillPaymentStatusCodeType>;
112
- declare const toBillPaymentRefundStatusCodeType: (v: string) => "failed" | "completed" | "processing" | "returned" | "cancelled";
113
- export declare type BillPaymentRefundStatusCodeType = ReturnType<typeof toBillPaymentRefundStatusCodeType>;
114
102
  declare const toBillStatusCodeType: (v: string) => "rejected" | "approved" | "pending_approval" | "initiated";
115
103
  export declare type BillStatusCodeType = ReturnType<typeof toBillStatusCodeType>;
116
104
  declare const toBillStatusSummaryCodeType: (v: string) => "rejected" | "approval_in_progress";
@@ -25,14 +25,6 @@ const BILL_PAYMENT_STATUS_CODE = [
25
25
  'pending_vendor_action',
26
26
  ];
27
27
  const toBillPaymentStatusCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, BILL_PAYMENT_STATUS_CODE);
28
- const BILL_PAYMENT_REFUND_STATUS_CODE = [
29
- 'completed',
30
- 'failed',
31
- 'processing',
32
- 'returned',
33
- 'cancelled',
34
- ];
35
- const toBillPaymentRefundStatusCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, BILL_PAYMENT_REFUND_STATUS_CODE);
36
28
  const BILL_STATUS_CODE = [
37
29
  'initiated',
38
30
  'pending_approval',
@@ -18,8 +18,8 @@ export declare const updateJESchedules: import("@reduxjs/toolkit").ActionCreator
18
18
  jeSchedulesPayload: JEAccruedScheduledTransactionPayload[];
19
19
  scheduledJEntriesPayload: ScheduledJournalEntryPayload[] | undefined;
20
20
  updateType: UpdateType;
21
- }, string, never, never>, deleteJESchedulesDetails: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[jeScheduleTransactionKey: `${string}_expense` | `${string}_refund` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`], {
22
- jeScheduleTransactionKey: `${string}_expense` | `${string}_refund` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
21
+ }, string, never, never>, deleteJESchedulesDetails: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[jeScheduleTransactionKey: `${string}_expense` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`], {
22
+ jeScheduleTransactionKey: `${string}_expense` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
23
23
  }, string, never, never>, deleteAccruedJESchedulesDetails: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[JEScheduleKey: `${string}_${string}`], {
24
24
  JEScheduleKey: `${string}_${string}`;
25
25
  }, string, never, never>, clearAllAccruedJESchedules: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, clearAllJEScheduleTransactions: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
@@ -1,4 +1,4 @@
1
- export declare const toSnackbarMessageSection: (v: string) => "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated";
1
+ export declare const toSnackbarMessageSection: (v: string) => "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated";
2
2
  export declare type SnackbarMessageSections = ReturnType<typeof toSnackbarMessageSection>;
3
3
  export declare const toSnackbarMessageSectionTexts: (v: string) => "failed" | "success" | "notification";
4
4
  export declare type SnackbarMessageSectionTexts = ReturnType<typeof toSnackbarMessageSectionTexts>;
@@ -56,8 +56,6 @@ const ALL_SNACKBAR_MESSAGE_SECTIONS = [
56
56
  'bill_pay_accept_term',
57
57
  'bill_pay_bulk_submit',
58
58
  'bill_pay_bulk_processed',
59
- 'bill_pay_refund',
60
- 'bill_pay_retry',
61
59
  'zeni_account_accept_term',
62
60
  'update_vendor',
63
61
  'data_refresh_update',
@@ -162,7 +162,8 @@ import { clearAllCardPayments } from '../cardPayment/cardPaymentReducer';
162
162
  import { clearAllTaskGroups } from '../../entity/taskGroup/taskGroupReducer';
163
163
  import { clearTaskGroupView } from '../../view/taskManager/taskGroupView/taskGroupViewReducer';
164
164
  import { clearBillPayBulkActionView } from '../../view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer';
165
- declare type clearActionTypeForViews = ReturnType<typeof clearAccountList> | ReturnType<typeof clearAccountMappingView> | ReturnType<typeof clearActivityHistory> | ReturnType<typeof clearActivityRealTimeApproval> | ReturnType<typeof clearAddressView> | ReturnType<typeof clearAllClasses> | ReturnType<typeof clearApAging> | ReturnType<typeof clearApAgingDetail> | ReturnType<typeof clearArAging> | ReturnType<typeof clearArAgingDetail> | ReturnType<typeof clearAuthenticationView> | ReturnType<typeof clearBalanceSheet> | ReturnType<typeof clearBankAccountView> | ReturnType<typeof clearBillDetailView> | ReturnType<typeof clearBillList> | ReturnType<typeof clearBillPayBulkActionView> | ReturnType<typeof clearBillPayCard> | ReturnType<typeof clearBillPayConfig> | ReturnType<typeof clearBillPayReview> | ReturnType<typeof clearBillPaySetupApproverView> | ReturnType<typeof clearBillPaySetupView> | ReturnType<typeof clearCardBalance> | ReturnType<typeof clearCardPaymentView> | ReturnType<typeof clearCashbackDetail> | ReturnType<typeof clearCashBalance> | ReturnType<typeof clearCashFlow> | ReturnType<typeof clearCashInCashOut> | ReturnType<typeof clearCashPosition> | ReturnType<typeof clearChargeCardConfig> | ReturnType<typeof clearChargeCardDetail> | ReturnType<typeof clearChargeCardList> | ReturnType<typeof clearChargeCardSetupView> | ReturnType<typeof clearCheckDeposit> | ReturnType<typeof clearCompanyConfigView> | ReturnType<typeof clearCompanyHealthMetric> | ReturnType<typeof clearCompanyHealthMetricView> | ReturnType<typeof clearCompanyMonthEndReportView> | ReturnType<typeof clearCompanyTaskManagerView> | ReturnType<typeof clearCompanyView> | ReturnType<typeof clearDashboard> | ReturnType<typeof clearDepositAccountDetail> | ReturnType<typeof clearDepositAccountList> | ReturnType<typeof clearDepositAccountTransactionList> | ReturnType<typeof clearEditBillViewDetail> | ReturnType<typeof clearEditRemiViewDetail> | ReturnType<typeof clearEntityAutoCompleteResults> | ReturnType<typeof clearFileViewList> | ReturnType<typeof clearFinanceStatement> | ReturnType<typeof clearForecastList> | ReturnType<typeof clearGlobalMerchantView> | ReturnType<typeof clearInsightsCard> | ReturnType<typeof clearInternationalWire> | ReturnType<typeof clearMerchantList> | ReturnType<typeof clearNetBurnOrIncome> | ReturnType<typeof clearNetBurnOrIncomeClassesView> | ReturnType<typeof clearNetBurnOrIncomeStoryCard> | ReturnType<typeof clearNotificationView> | ReturnType<typeof clearOnboardingCockpitView> | ReturnType<typeof clearOnboardingCustomerView> | ReturnType<typeof clearOpEx> | ReturnType<typeof clearOpExByVendor> | ReturnType<typeof clearOpExClassesView> | ReturnType<typeof clearOwnerList> | ReturnType<typeof clearPaymentAccountList> | ReturnType<typeof clearPeople> | ReturnType<typeof clearPreviousBills> | ReturnType<typeof clearProfitAndLoss> | ReturnType<typeof clearProfitAndLossClassesView> | ReturnType<typeof clearRecommendation> | ReturnType<typeof clearReferrals> | ReturnType<typeof clearReimbursementCard> | ReturnType<typeof clearReimbursementConfig> | ReturnType<typeof clearRemiDetailView> | ReturnType<typeof clearRemiList> | ReturnType<typeof clearRemiSetupApproverView> | ReturnType<typeof clearRemiSetupView> | ReturnType<typeof clearReportUIOption> | ReturnType<typeof clearRevenue> | ReturnType<typeof clearRevenueClassesView> | ReturnType<typeof clearReviewCompany> | ReturnType<typeof clearScheduleDetailView> | ReturnType<typeof clearScheduleAccruedDetailView> | ReturnType<typeof clearScheduleList> | ReturnType<typeof clearSettingsView> | ReturnType<typeof clearSetupView> | ReturnType<typeof clearPlaidAccountView> | ReturnType<typeof clearSubscriptionView> | ReturnType<typeof clearTagView> | ReturnType<typeof clearTaskDetail> | ReturnType<typeof clearTaskGroupView> | ReturnType<typeof clearTaskList> | ReturnType<typeof clearTasksCard> | ReturnType<typeof clearTopEx> | ReturnType<typeof clearTransactionDetail> | ReturnType<typeof clearTransactionList> | ReturnType<typeof clearTransferDetail> | ReturnType<typeof clearTrendData> | ReturnType<typeof clearTrendWithTransactions> | ReturnType<typeof clearTwoFactorAuthentication> | ReturnType<typeof clearUserFinancialAccount> | ReturnType<typeof clearUserListView> | ReturnType<typeof clearUserRoleConfigView> | ReturnType<typeof clearVendorGlobalReviewView> | ReturnType<typeof clearVendorView> | ReturnType<typeof clearVendorsList> | ReturnType<typeof clearVendorsTabVendorView> | ReturnType<typeof clearWiseRedirectStatus> | ReturnType<typeof clearZeniAccStatementList> | ReturnType<typeof clearZeniAccountList> | ReturnType<typeof clearZeniAccountSetupView> | ReturnType<typeof clearZeniAccountsConfig> | ReturnType<typeof clearZeniAccountsPromoCard>;
165
+ import { clearVendorsFiling1099List } from '../../view/vendorFiling1099List/vendorFiling1099ListReducer';
166
+ declare type clearActionTypeForViews = ReturnType<typeof clearAccountList> | ReturnType<typeof clearAccountMappingView> | ReturnType<typeof clearActivityHistory> | ReturnType<typeof clearActivityRealTimeApproval> | ReturnType<typeof clearAddressView> | ReturnType<typeof clearAllClasses> | ReturnType<typeof clearApAging> | ReturnType<typeof clearApAgingDetail> | ReturnType<typeof clearArAging> | ReturnType<typeof clearArAgingDetail> | ReturnType<typeof clearAuthenticationView> | ReturnType<typeof clearBalanceSheet> | ReturnType<typeof clearBankAccountView> | ReturnType<typeof clearBillDetailView> | ReturnType<typeof clearBillList> | ReturnType<typeof clearBillPayBulkActionView> | ReturnType<typeof clearBillPayCard> | ReturnType<typeof clearBillPayConfig> | ReturnType<typeof clearBillPayReview> | ReturnType<typeof clearBillPaySetupApproverView> | ReturnType<typeof clearBillPaySetupView> | ReturnType<typeof clearCardBalance> | ReturnType<typeof clearCardPaymentView> | ReturnType<typeof clearCashbackDetail> | ReturnType<typeof clearCashBalance> | ReturnType<typeof clearCashFlow> | ReturnType<typeof clearCashInCashOut> | ReturnType<typeof clearCashPosition> | ReturnType<typeof clearChargeCardConfig> | ReturnType<typeof clearChargeCardDetail> | ReturnType<typeof clearChargeCardList> | ReturnType<typeof clearChargeCardSetupView> | ReturnType<typeof clearCheckDeposit> | ReturnType<typeof clearCompanyConfigView> | ReturnType<typeof clearCompanyHealthMetric> | ReturnType<typeof clearCompanyHealthMetricView> | ReturnType<typeof clearCompanyMonthEndReportView> | ReturnType<typeof clearCompanyTaskManagerView> | ReturnType<typeof clearCompanyView> | ReturnType<typeof clearDashboard> | ReturnType<typeof clearDepositAccountDetail> | ReturnType<typeof clearDepositAccountList> | ReturnType<typeof clearDepositAccountTransactionList> | ReturnType<typeof clearEditBillViewDetail> | ReturnType<typeof clearEditRemiViewDetail> | ReturnType<typeof clearEntityAutoCompleteResults> | ReturnType<typeof clearFileViewList> | ReturnType<typeof clearFinanceStatement> | ReturnType<typeof clearForecastList> | ReturnType<typeof clearGlobalMerchantView> | ReturnType<typeof clearInsightsCard> | ReturnType<typeof clearInternationalWire> | ReturnType<typeof clearMerchantList> | ReturnType<typeof clearNetBurnOrIncome> | ReturnType<typeof clearNetBurnOrIncomeClassesView> | ReturnType<typeof clearNetBurnOrIncomeStoryCard> | ReturnType<typeof clearNotificationView> | ReturnType<typeof clearOnboardingCockpitView> | ReturnType<typeof clearOnboardingCustomerView> | ReturnType<typeof clearOpEx> | ReturnType<typeof clearOpExByVendor> | ReturnType<typeof clearOpExClassesView> | ReturnType<typeof clearOwnerList> | ReturnType<typeof clearPaymentAccountList> | ReturnType<typeof clearPeople> | ReturnType<typeof clearPreviousBills> | ReturnType<typeof clearProfitAndLoss> | ReturnType<typeof clearProfitAndLossClassesView> | ReturnType<typeof clearRecommendation> | ReturnType<typeof clearReferrals> | ReturnType<typeof clearReimbursementCard> | ReturnType<typeof clearReimbursementConfig> | ReturnType<typeof clearRemiDetailView> | ReturnType<typeof clearRemiList> | ReturnType<typeof clearRemiSetupApproverView> | ReturnType<typeof clearRemiSetupView> | ReturnType<typeof clearReportUIOption> | ReturnType<typeof clearRevenue> | ReturnType<typeof clearRevenueClassesView> | ReturnType<typeof clearReviewCompany> | ReturnType<typeof clearScheduleDetailView> | ReturnType<typeof clearScheduleAccruedDetailView> | ReturnType<typeof clearScheduleList> | ReturnType<typeof clearSettingsView> | ReturnType<typeof clearSetupView> | ReturnType<typeof clearPlaidAccountView> | ReturnType<typeof clearSubscriptionView> | ReturnType<typeof clearTagView> | ReturnType<typeof clearTaskDetail> | ReturnType<typeof clearTaskGroupView> | ReturnType<typeof clearTaskList> | ReturnType<typeof clearTasksCard> | ReturnType<typeof clearTopEx> | ReturnType<typeof clearTransactionDetail> | ReturnType<typeof clearTransactionList> | ReturnType<typeof clearTransferDetail> | ReturnType<typeof clearTrendData> | ReturnType<typeof clearTrendWithTransactions> | ReturnType<typeof clearTwoFactorAuthentication> | ReturnType<typeof clearUserFinancialAccount> | ReturnType<typeof clearUserListView> | ReturnType<typeof clearUserRoleConfigView> | ReturnType<typeof clearVendorGlobalReviewView> | ReturnType<typeof clearVendorView> | ReturnType<typeof clearVendorsFiling1099List> | ReturnType<typeof clearVendorsList> | ReturnType<typeof clearVendorsTabVendorView> | ReturnType<typeof clearWiseRedirectStatus> | ReturnType<typeof clearZeniAccStatementList> | ReturnType<typeof clearZeniAccountList> | ReturnType<typeof clearZeniAccountSetupView> | ReturnType<typeof clearZeniAccountsConfig> | ReturnType<typeof clearZeniAccountsPromoCard>;
166
167
  declare type clearActionTypeForEntities = ReturnType<typeof clearAllAccountGroups> | ReturnType<typeof clearAllAccountingSummary> | ReturnType<typeof clearAllAccounts> | ReturnType<typeof clearAllAddresses> | ReturnType<typeof clearAllApprovalRules> | ReturnType<typeof clearAllBankAccounts> | ReturnType<typeof clearAllBillTransactions> | ReturnType<typeof clearAllCardPayments> | ReturnType<typeof clearAllChargeCardTransactions> | ReturnType<typeof clearAllChargeCards> | ReturnType<typeof clearAllCompanies> | ReturnType<typeof clearAllCurrencies> | ReturnType<typeof clearAllCustomerIncomeTrend> | ReturnType<typeof clearAllCustomers> | ReturnType<typeof clearAllDepositAccounts> | ReturnType<typeof clearAllEntities> | ReturnType<typeof clearAllEntityApprovalStatus> | ReturnType<typeof clearAllFiles> | ReturnType<typeof clearAllForecasts> | ReturnType<typeof clearAllGlobalMerchants> | ReturnType<typeof clearAllInsights> | ReturnType<typeof clearAllAccruedJESchedules> | ReturnType<typeof clearAllJEScheduleTransactions> | ReturnType<typeof clearAllMerchants> | ReturnType<typeof clearAllNotifications> | ReturnType<typeof clearAllOnboardingCustomersInfo> | ReturnType<typeof clearAllPaymentAccounts> | ReturnType<typeof clearAllPaymentInstruments> | ReturnType<typeof clearAllRecurringBills> | ReturnType<typeof clearAllReimbursements> | ReturnType<typeof clearAllSectionsAccountsView> | ReturnType<typeof clearAllSectionsClassesViewV2> | ReturnType<typeof clearAllSubscriptionAddOns> | ReturnType<typeof clearAllSubscriptionCoupons> | ReturnType<typeof clearAllSubscriptionPlans> | ReturnType<typeof clearAllSubscriptionSummary> | ReturnType<typeof clearAllSubscriptions> | ReturnType<typeof clearAllTags> | ReturnType<typeof clearAllTaskGroups> | ReturnType<typeof clearAllTaskSummary> | ReturnType<typeof clearAllTasks> | ReturnType<typeof clearAllToastNotifications> | ReturnType<typeof clearAllTransactions> | ReturnType<typeof clearAllUserRoles> | ReturnType<typeof clearAllUsers> | ReturnType<typeof clearAllVendorExpenseTrends> | ReturnType<typeof clearAllVendors> | ReturnType<typeof clearClassList> | ReturnType<typeof clearContacts> | ReturnType<typeof clearDepositAccountTransaction> | ReturnType<typeof clearSnackbar>;
167
168
  export declare type ActionType = clearActionTypeForViews | clearActionTypeForEntities | ReturnType<typeof clearAll>;
168
169
  export declare const clearAllEpic: (actions$: ActionsObservable<ActionType>) => import("rxjs").Observable<ActionType>;
@@ -168,6 +168,7 @@ const cardPaymentReducer_1 = require("../cardPayment/cardPaymentReducer");
168
168
  const taskGroupReducer_1 = require("../../entity/taskGroup/taskGroupReducer");
169
169
  const taskGroupViewReducer_1 = require("../../view/taskManager/taskGroupView/taskGroupViewReducer");
170
170
  const billsBulkActionViewReducer_1 = require("../../view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer");
171
+ const vendorFiling1099ListReducer_1 = require("../../view/vendorFiling1099List/vendorFiling1099ListReducer");
171
172
  const clearAllEpic = (actions$) => actions$.pipe((0, operators_1.filter)(tenantReducer_1.clearAll.match), (0, operators_1.mergeMap)((action) => {
172
173
  const { keepTenantCompanyState } = action.payload;
173
174
  // Note: Please maintain strict alphabetical order
@@ -278,6 +279,7 @@ const clearAllEpic = (actions$) => actions$.pipe((0, operators_1.filter)(tenantR
278
279
  (0, vendorGlobalReviewViewReducer_1.clearVendorGlobalReviewView)(),
279
280
  (0, vendorFirstReviewViewReducer_1.clearVendorReviewView)(),
280
281
  (0, vendorViewReducer_1.clearVendorView)(),
282
+ (0, vendorFiling1099ListReducer_1.clearVendorsFiling1099List)(),
281
283
  (0, vendorListReducer_1.clearVendorsList)(),
282
284
  (0, vendorsTabVendorViewReducer_1.clearVendorsTabVendorView)(),
283
285
  (0, wiseRedirectReducer_1.clearWiseRedirectStatus)(),
@@ -5,7 +5,7 @@ import { openSnackbar } from '../../../entity/snackbar/snackbarReducer';
5
5
  export declare type ActionType = ReturnType<typeof pushToastNotification> | ReturnType<typeof openSnackbar>;
6
6
  export declare const pushToastNotificationEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => import("rxjs").Observable<{
7
7
  payload: {
8
- messageSection: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated";
8
+ messageSection: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated";
9
9
  messageText: "failed" | "success" | "notification";
10
10
  type: import("../../..").SnackbarMessageType;
11
11
  showStatusIcon?: boolean | undefined;
@@ -1,7 +1,7 @@
1
1
  export declare const toTypeOfTransaction: (v: string) => "schedule" | "supported";
2
2
  export declare type TypeOfTransactionType = ReturnType<typeof toTypeOfTransaction>;
3
- declare const toCustomerTransactionType: (v: string) => "refund" | "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge";
4
- export declare const toCustomerTransactionTypeStrict: (v?: string | undefined) => "refund" | "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge" | undefined;
3
+ declare const toCustomerTransactionType: (v: string) => "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge" | "refund";
4
+ export declare const toCustomerTransactionTypeStrict: (v?: string | undefined) => "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge" | "refund" | undefined;
5
5
  export declare type CustomerTransactionType = ReturnType<typeof toCustomerTransactionType>;
6
6
  declare const toVendorTransactionType: (v: string) => "expense" | "check" | "bill" | "bill_payment" | "bill_payment_check" | "bill_payment_credit_card" | "vendor_credit" | "credit_card_credit";
7
7
  export declare const toVendorTransactionTypeStrict: (v?: string | undefined) => "expense" | "check" | "bill" | "bill_payment" | "bill_payment_check" | "bill_payment_credit_card" | "vendor_credit" | "credit_card_credit" | undefined;
@@ -0,0 +1,6 @@
1
+ import { Vendor } from '../vendorState';
2
+ export declare const vendorStateMock1: Vendor;
3
+ export declare const vendorStateMock2: Vendor;
4
+ export declare const vendorStateMock4: Vendor;
5
+ export declare const vendorStateMock5: Vendor;
6
+ export declare const vendorStateMock6: Vendor;
@@ -0,0 +1,308 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.vendorStateMock6 = exports.vendorStateMock5 = exports.vendorStateMock4 = exports.vendorStateMock2 = exports.vendorStateMock1 = void 0;
4
+ const zeniDayJS_1 = require("../../../zeniDayJS");
5
+ const zeniUrl_1 = require("../../../zeniUrl");
6
+ exports.vendorStateMock1 = {
7
+ recommendations: [],
8
+ transactionAttachments: [],
9
+ id: 'vendor_j12jh1g2g12jg3jh12:12',
10
+ name: 'Sample Vendor 1',
11
+ qboId: '12',
12
+ title: '',
13
+ suffix: '',
14
+ firstName: 'Sample',
15
+ middleName: '',
16
+ lastName: 'Vendor',
17
+ vendorType: 'individual',
18
+ isDeleted: false,
19
+ yearToDateSpend: undefined,
20
+ last30DaysSpend: undefined,
21
+ last90DaysSpend: undefined,
22
+ lastMonthSpend: 0,
23
+ last6MonthsSpend: 0,
24
+ last3MonthsSpend: 0,
25
+ last12MonthsSpend: 0,
26
+ previousYearSpend: 0,
27
+ createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
28
+ updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
29
+ syncToken: '1',
30
+ email: '',
31
+ phone: '',
32
+ websiteUrl: '',
33
+ currencyCode: 'USD',
34
+ currencySymbol: '$',
35
+ countryCode: 'US',
36
+ balance: 0,
37
+ accountId: 'Travel Meals',
38
+ classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
39
+ billingAddressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
40
+ addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
41
+ bankAccountIds: [
42
+ 'bank_adg67-asnds-a6sad-sdfgf8',
43
+ 'bank_asghj-hags23-hgfjh-g3asfas',
44
+ ],
45
+ contactIds: [
46
+ 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
47
+ 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
48
+ ],
49
+ matchScore: 0,
50
+ isVendor1099: false,
51
+ documentIds: [],
52
+ vendorCurrencySymbol: '$',
53
+ vendorCurrencyCode: 'USD',
54
+ paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
55
+ preferredInternationalTransferFeeBearerPaymentMethod: undefined,
56
+ filing1099Status: 'incomplete',
57
+ filing1099Tin: {
58
+ type: 'ein',
59
+ value: '550258131',
60
+ },
61
+ filing1099Total: 2287,
62
+ filing1099W9Files: undefined,
63
+ };
64
+ exports.vendorStateMock2 = {
65
+ recommendations: [],
66
+ transactionAttachments: [],
67
+ id: 'vendor_j12jh1g2g12jg3jh12:2',
68
+ name: 'Sample Vendor 2',
69
+ qboId: '13',
70
+ title: '',
71
+ suffix: '',
72
+ firstName: 'Sample',
73
+ middleName: '',
74
+ lastName: 'Vendor 3',
75
+ vendorType: 'c_corporation',
76
+ isDeleted: false,
77
+ yearToDateSpend: undefined,
78
+ last30DaysSpend: undefined,
79
+ last90DaysSpend: undefined,
80
+ lastMonthSpend: 0,
81
+ last6MonthsSpend: 0,
82
+ last3MonthsSpend: 0,
83
+ last12MonthsSpend: 0,
84
+ previousYearSpend: 0,
85
+ createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
86
+ updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
87
+ syncToken: '1',
88
+ email: '',
89
+ phone: '',
90
+ balance: 0,
91
+ websiteUrl: '',
92
+ currencyCode: 'USD',
93
+ currencySymbol: '$',
94
+ countryCode: 'US',
95
+ accountId: 'Travel Meals',
96
+ classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
97
+ billingAddressId: 'a_e3e99a8b-ae09-42ac-d400-e3e99a8b',
98
+ bankAccountIds: [
99
+ 'bank_asghj-hgfjh-g3asfas-hags23',
100
+ 'bank_g3asfas-hags23-hgfjh-asghj',
101
+ ],
102
+ contactIds: [
103
+ 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
104
+ 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
105
+ ],
106
+ matchScore: 0,
107
+ isVendor1099: false,
108
+ documentIds: [],
109
+ vendorCurrencySymbol: '$',
110
+ vendorCurrencyCode: 'USD',
111
+ paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
112
+ preferredInternationalTransferFeeBearerPaymentMethod: undefined,
113
+ filing1099Status: 'incomplete',
114
+ filing1099Tin: {
115
+ type: 'ein',
116
+ value: '550258131',
117
+ },
118
+ filing1099Total: 2287,
119
+ };
120
+ exports.vendorStateMock4 = {
121
+ recommendations: [],
122
+ transactionAttachments: [],
123
+ id: 'vendor_j12jh1g2g12jg3jh12:12',
124
+ name: 'Sample Vendor',
125
+ qboId: '12',
126
+ title: '',
127
+ suffix: '',
128
+ firstName: 'Sample',
129
+ middleName: '',
130
+ lastName: 'Vendor',
131
+ vendorType: 'Individual',
132
+ isDeleted: false,
133
+ yearToDateSpend: undefined,
134
+ last30DaysSpend: undefined,
135
+ last90DaysSpend: undefined,
136
+ lastMonthSpend: 0,
137
+ last6MonthsSpend: 0,
138
+ last3MonthsSpend: 0,
139
+ last12MonthsSpend: 0,
140
+ previousYearSpend: 0,
141
+ createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
142
+ updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
143
+ syncToken: '1',
144
+ email: '',
145
+ phone: '',
146
+ websiteUrl: '',
147
+ currencyCode: 'USD',
148
+ currencySymbol: '$',
149
+ countryCode: 'US',
150
+ balance: 0,
151
+ accountId: 'Travel Meals',
152
+ classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
153
+ billingAddressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
154
+ addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
155
+ bankAccountIds: [
156
+ 'bank_adg67-asnds-a6sad-sdfgf8',
157
+ 'bank_asghj-hags23-hgfjh-g3asfas',
158
+ ],
159
+ contactIds: [
160
+ 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
161
+ 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
162
+ ],
163
+ logo: undefined,
164
+ shippingAddressId: undefined,
165
+ matchScore: 0,
166
+ isVendor1099: false,
167
+ documentIds: [],
168
+ ownerId: undefined,
169
+ vendorCurrencySymbol: '$',
170
+ vendorCurrencyCode: 'USD',
171
+ paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
172
+ preferredInternationalTransferFeeBearerPaymentMethod: undefined,
173
+ filing1099Status: undefined,
174
+ filing1099Tin: undefined,
175
+ filing1099Total: undefined,
176
+ filing1099W9Files: undefined,
177
+ filing1099TaxClassification: 'Individual',
178
+ };
179
+ exports.vendorStateMock5 = {
180
+ recommendations: [],
181
+ transactionAttachments: [
182
+ {
183
+ id: '5000000000000795428',
184
+ contentType: 'application/pdf',
185
+ createTime: (0, zeniDayJS_1.date)('2022-02-17T06:30:51.000000'),
186
+ updateTime: (0, zeniDayJS_1.date)('2022-02-17T06:30:52.000000'),
187
+ fileName: 'Rent Receipt.pdf',
188
+ fileSizeInBytes: 255841,
189
+ fileDownloadUrl: (0, zeniUrl_1.toZeniUrl)('https://storage.googleapis.com/zeni-dot-ai-tenant_745cc76c-5a82-4d2c-b9dc-9d1f283a4445/files/2022-05-05/file_bd906c26-0f37-44fe-8156-f5bfed67c383/file_bd906c26-0f37-44fe-8156-f5bfed67c383.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=zeni-apis-dev%40appspot.gserviceaccount.com%2F20220505%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20220505T083711Z&X-Goog-Expires=1200&X-Goog-SignedHeaders=host&X-Goog-Signature=bdba6c6b57b5a16973892683b57c27f29cbe72dc0e5a8acc03a630123bf5899536fd47178aef176ec5a2ebb549371e386bd0ac56e3d23e63446d20a0c8604f77b39aac055dcdb7a81529cbd934dba3e9a5934060b09695673a751436c96f1340979ce7c385f3bd3d4cb23211336bbdea7035d4f60997358c40020f8af0e6235b2e7fc43cdb3abb83c17d78abe5401257790601c01b97c1be5192178d0fe02d5828430ea763d0320beecea53a144a14c6f9e50ae8f29ea8bd9ae41686246f99a128ccdf7ef50ac102cc2ebc858c721a1006575a667b6963e4f95e37fcd17f94f8733ece376dbae145c6a91291fccb28b17eae7fe440a696302a901d7608384505'),
190
+ fileChecksum: undefined,
191
+ fileId: 'file_pu01bcfe-ebef-459b-a54c-7abdbdf0d77t',
192
+ },
193
+ ],
194
+ id: 'vendor_75f9e389-d9b7-4fcb-b4b5-8a691fcc96a5',
195
+ name: 'Google SVSS',
196
+ qboId: '10',
197
+ title: '',
198
+ suffix: '',
199
+ firstName: 'Google',
200
+ middleName: '',
201
+ lastName: 'SVSS',
202
+ vendorType: 'Individual',
203
+ isDeleted: false,
204
+ yearToDateSpend: undefined,
205
+ last30DaysSpend: undefined,
206
+ last90DaysSpend: undefined,
207
+ lastMonthSpend: 0,
208
+ last6MonthsSpend: 0,
209
+ last3MonthsSpend: 0,
210
+ last12MonthsSpend: 0,
211
+ previousYearSpend: 0,
212
+ createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
213
+ updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
214
+ syncToken: '1',
215
+ email: '',
216
+ phone: '',
217
+ websiteUrl: '',
218
+ currencyCode: 'USD',
219
+ currencySymbol: '$',
220
+ countryCode: 'US',
221
+ balance: 0,
222
+ accountId: 'Travel Meals',
223
+ classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
224
+ billingAddressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
225
+ addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
226
+ bankAccountIds: [
227
+ 'bank_adg67-asnds-a6sad-sdfgf8',
228
+ 'bank_asghj-hags23-hgfjh-g3asfas',
229
+ ],
230
+ contactIds: [
231
+ 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
232
+ 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
233
+ ],
234
+ logo: undefined,
235
+ shippingAddressId: undefined,
236
+ matchScore: 0,
237
+ isVendor1099: false,
238
+ documentIds: [],
239
+ ownerId: undefined,
240
+ vendorCurrencySymbol: '$',
241
+ vendorCurrencyCode: 'USD',
242
+ paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
243
+ filing1099Status: 'incomplete',
244
+ filing1099Tin: {
245
+ type: 'ein',
246
+ value: '550258131',
247
+ },
248
+ filing1099Total: 2287,
249
+ };
250
+ exports.vendorStateMock6 = {
251
+ recommendations: [],
252
+ id: 'vendor_44d40a18-22cb-49b7-b13f-c7c148ac1cf3',
253
+ name: 'Abb Enterprise',
254
+ qboId: '11',
255
+ title: '',
256
+ suffix: '',
257
+ firstName: 'Abb',
258
+ middleName: '',
259
+ lastName: 'Enterprise',
260
+ vendorType: 'Individual',
261
+ isDeleted: false,
262
+ yearToDateSpend: undefined,
263
+ last30DaysSpend: undefined,
264
+ last90DaysSpend: undefined,
265
+ lastMonthSpend: 0,
266
+ last6MonthsSpend: 0,
267
+ last3MonthsSpend: 0,
268
+ last12MonthsSpend: 0,
269
+ previousYearSpend: 0,
270
+ createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
271
+ updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
272
+ syncToken: '1',
273
+ email: '',
274
+ phone: '',
275
+ websiteUrl: '',
276
+ currencyCode: 'USD',
277
+ currencySymbol: '$',
278
+ countryCode: 'US',
279
+ balance: 0,
280
+ accountId: 'Travel Meals',
281
+ classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
282
+ billingAddressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
283
+ addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
284
+ bankAccountIds: [
285
+ 'bank_adg67-asnds-a6sad-sdfgf8',
286
+ 'bank_asghj-hags23-hgfjh-g3asfas',
287
+ ],
288
+ contactIds: [
289
+ 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
290
+ 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
291
+ ],
292
+ paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
293
+ logo: undefined,
294
+ shippingAddressId: undefined,
295
+ matchScore: 0,
296
+ isVendor1099: false,
297
+ documentIds: [],
298
+ ownerId: undefined,
299
+ vendorCurrencySymbol: '$',
300
+ vendorCurrencyCode: 'USD',
301
+ transactionAttachments: [],
302
+ filing1099Status: 'incomplete',
303
+ filing1099Tin: {
304
+ type: 'ein',
305
+ value: '550258131',
306
+ },
307
+ filing1099Total: 2287,
308
+ };
@@ -72,6 +72,14 @@ export interface VendorPayload extends VendorBasePayload, SpendPayload {
72
72
  document_ids?: ID[] | null;
73
73
  documents?: FilePayload[];
74
74
  preferred_international_transfer_fee_bearer_payment_method?: string;
75
+ w9_document?: FilePayload[];
76
+ vendor_1099_status?: string;
77
+ tin?: Filing1099TinTypePayload;
78
+ vendor_1099_ytd_total?: number;
79
+ }
80
+ interface Filing1099TinTypePayload {
81
+ type: string | null;
82
+ value: string | null;
75
83
  }
76
84
  export declare const mapVendorPayloadToVendor: (payload: VendorPayload) => Vendor;
77
85
  export {};