@zeniai/client-epic-state 4.12.66 → 4.12.68

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 (92) hide show
  1. package/lib/entity/paymentAccount/paymentAccountPayload.d.ts +1 -1
  2. package/lib/entity/paymentAccount/paymentAccountPayload.js +7 -7
  3. package/lib/entity/tenant/clearAllEpic.d.ts +1 -1
  4. package/lib/entity/tenant/clearAllEpic.js +1 -1
  5. package/lib/entity/vendor/__mocks__/vendorStateMocks.js +1 -6
  6. package/lib/entity/vendor/vendorPayload.d.ts +1 -2
  7. package/lib/entity/vendor/vendorPayload.js +4 -6
  8. package/lib/entity/vendor/vendorState.d.ts +0 -1
  9. package/lib/entity/vendor/vendorType.d.ts +1 -2
  10. package/lib/epic.d.ts +2 -5
  11. package/lib/epic.js +2 -5
  12. package/lib/index.d.ts +8 -15
  13. package/lib/index.js +16 -31
  14. package/lib/reducer.d.ts +1 -4
  15. package/lib/reducer.js +1 -4
  16. package/lib/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.js +2 -2
  17. package/lib/view/commonVendorView/vendorView/vendorViewPayload.d.ts +0 -6
  18. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.d.ts +1 -2
  19. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.js +1 -6
  20. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.d.ts +2 -3
  21. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.js +2 -4
  22. package/lib/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.js +1 -1
  23. package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.d.ts +1 -3
  24. package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.js +3 -14
  25. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.d.ts +0 -5
  26. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.js +1 -35
  27. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.d.ts +2 -7
  28. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.js +3 -23
  29. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.d.ts +1 -16
  30. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +7 -24
  31. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewState.d.ts +0 -16
  32. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewState.js +0 -3
  33. package/lib/view/settingsView/settingsViewSelector.js +1 -1
  34. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +2 -2
  35. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +1 -1
  36. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +5 -5
  37. package/lib/view/spendManagement/chargeCards/chargeCardList/issueChargeCardEpic.js +5 -8
  38. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +4 -11
  39. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +7 -16
  40. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.d.ts +2 -2
  41. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.js +6 -12
  42. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountList.d.ts +0 -1
  43. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.d.ts +0 -6
  44. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.js +2 -25
  45. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListSelector.d.ts +0 -1
  46. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListSelector.js +0 -1
  47. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer.js +0 -8
  48. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailSelector.js +1 -1
  49. package/lib/view/twoFactorAuthentication/sendOtpEpic.js +6 -9
  50. package/lib/view/{vendorFiling1099 → vendorFiling1099List}/__mock__/json/vendorFiling1099ListSuccess.json +1 -1
  51. package/lib/view/{vendorFiling1099 → vendorFiling1099List}/__mock__/vendorFiling1099ListMock.d.ts +3 -3
  52. package/lib/view/{vendorFiling1099 → vendorFiling1099List}/__mock__/vendorFiling1099ListMock.js +3 -17
  53. package/lib/view/{vendorFiling1099 → vendorFiling1099List}/__mock__/vendorFiling1099ListSelectorMock.d.ts +1 -1
  54. package/lib/view/{vendorFiling1099 → vendorFiling1099List}/__mock__/vendorFiling1099ListSelectorMock.js +1 -10
  55. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/fetchVendorsFiling1099ListEpic.d.ts +5 -5
  56. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/fetchVendorsFiling1099ListEpic.js +6 -6
  57. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListPayload.d.ts +3 -3
  58. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListReducer.d.ts +4 -8
  59. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListReducer.js +5 -18
  60. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListSelector.d.ts +6 -6
  61. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListSelector.js +3 -8
  62. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListState.d.ts +3 -3
  63. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListState.js +1 -1
  64. package/lib/view/vendorTabView/fetchVendorTabViewEpic.d.ts +1 -1
  65. package/lib/view/vendorTabView/fetchVendorTabViewEpic.js +2 -2
  66. package/package.json +1 -2
  67. package/lib/entity/vendor/__mocks__/vendorMock.d.ts +0 -7
  68. package/lib/entity/vendor/__mocks__/vendorMock.js +0 -339
  69. package/lib/view/addressView/__mocks__/addressViewMocks.d.ts +0 -34
  70. package/lib/view/addressView/__mocks__/addressViewMocks.js +0 -223
  71. package/lib/view/addressView/__mocks__/json/createAddressResponse.json +0 -23
  72. package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +0 -218
  73. package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +0 -345
  74. package/lib/view/addressView/__mocks__/json/fetchAddressResponse.json +0 -24
  75. package/lib/view/addressView/__mocks__/json/updateAddressResponse.json +0 -24
  76. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountBalanceEpic.d.ts +0 -9
  77. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountBalanceEpic.js +0 -48
  78. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.d.ts +0 -132
  79. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.js +0 -146
  80. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.d.ts +0 -8
  81. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.js +0 -30
  82. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsPayload.d.ts +0 -20
  83. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsPayload.js +0 -48
  84. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.d.ts +0 -25
  85. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +0 -180
  86. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSaveEpic.d.ts +0 -11
  87. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSaveEpic.js +0 -58
  88. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSelector.d.ts +0 -14
  89. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSelector.js +0 -17
  90. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsState.d.ts +0 -26
  91. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsState.js +0 -2
  92. /package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListPayload.js +0 -0
@@ -1,218 +0,0 @@
1
- {
2
- "status": {
3
- "message": "Successful",
4
- "code": 200
5
- },
6
- "data": {
7
- "companies": [
8
- {
9
- "status": {
10
- "code": "onboarding",
11
- "name": null
12
- },
13
- "company_money_raised_max": 50000,
14
- "company_description": null,
15
- "company_url": "fingo.ai",
16
- "book_close_date": null,
17
- "is_bill_pay_feature_enabled": false,
18
- "is_reimbursement_feature_enabled": true,
19
- "is_deposit_accounts_feature_enabled": true,
20
- "is_feature_vendor_listing_enabled": true,
21
- "onboarding_user_ids": [],
22
- "is_zeni_coa_in_use": true,
23
- "is_subsidiary": false,
24
- "is_onboarding_completed": false,
25
- "is_onboarding_company_details_step_completed": false,
26
- "parent_company_id": null,
27
- "bill_pay_info": {
28
- "bill_pay_tos_acceptance_user_id": null,
29
- "bill_pay_tos_acceptance_user_agent": null,
30
- "bill_pay_tos_acceptance_time": null,
31
- "bill_pay_tos_acceptance_ip": null,
32
- "is_bill_pay_tos_accepted": false,
33
- "is_bill_pay_enabled": false,
34
- "is_business_verified": false,
35
- "is_ready_for_verification": false,
36
- "is_international_wire_enabled": false,
37
- "is_vendor_magic_link_feature_enabled": false,
38
- "business_verification_status": {
39
- "code": "in_progress",
40
- "name": "In Progress"
41
- },
42
- "company_verification_status": {
43
- "code": "in_progress",
44
- "name": "In Progress"
45
- },
46
- "is_bill_payment_account_setup": false,
47
- "bill_payment_account_ids": ["3f3181d2-76de-40c2-8f3b-152d2c6726d7"],
48
- "users_for_verification": ["u_e1fb3ecf-83a4-4477-8930-ad60bb010044"],
49
- "is_bill_pay_approval_enabled": true,
50
- "schedule_pay_now_cutoff_time_by_payment_method": {
51
- "ach": "2022-08-26T20:00:00+00:00"
52
- },
53
- "primary_funding_account": {
54
- "account_id": null,
55
- "account_type": null
56
- }
57
- },
58
- "reimbursement_info": {
59
- "is_reimbursement_enabled": true,
60
- "reimbursement_tos_acceptance_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
61
- "reimbursement_tos_acceptance_time": "2022-08-12T06:08:24.590000",
62
- "reimbursement_tos_acceptance_user_id": "u_c8488936-ba06-4533-89a5-d40d12b36071",
63
- "is_reimbursement_tos_accepted": true,
64
- "reimbursement_tos_acceptance_ip": "43.250.156.219",
65
- "primary_funding_account": {
66
- "account_id": "pay_acc_f700239b-bab3-4abc-b482-6aa733a12d0d",
67
- "account_type": "payment_account"
68
- }
69
- },
70
- "deposit_accounts_info": {
71
- "is_deposit_accounts_enabled": true,
72
- "deposit_accounts_tos_acceptance_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
73
- "deposit_accounts_tos_acceptance_time": "2022-08-12T06:08:24.590000",
74
- "deposit_accounts_tos_acceptance_user_id": "u_c8488936-ba06-4533-89a5-d40d12b36071",
75
- "is_deposit_accounts_tos_accepted": true,
76
- "deposit_accounts_tos_acceptance_ip": "43.250.156.219",
77
- "primary_funding_account": {
78
- "account_id": null,
79
- "account_type": null
80
- }
81
- },
82
- "charge_cards_info": {
83
- "charge_cards_tos_acceptance_time": "2023-12-18T08:07:26.864486",
84
- "charge_cards_tos_acceptance_user_id": "u_1c176a71-77f9-428c-bf32-f90396024326",
85
- "charge_cards_tos_acceptance_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
86
- "charge_cards_tos_acceptance_ip": "219.91.160.34",
87
- "is_charge_cards_tos_accepted": true,
88
- "is_charge_cards_enabled": false,
89
- "primary_funding_account": {
90
- "account_id": null,
91
- "account_type": null
92
- }
93
- },
94
- "mileage_rate_config": {
95
- "default_mileage_unit_amount": 0.67,
96
- "mileage_unit_amount": 0.655,
97
- "mileage_unit": "mile",
98
- "mileage_currency_code": "USD",
99
- "mileage_currency_symbol": "$",
100
- "denomination_conversions": {
101
- "amount": 65.5,
102
- "denomination": "cents",
103
- "denomination_symbol": "¢"
104
- },
105
- "description": "62.5 cents/mile as per IRS guidelines"
106
- },
107
- "is_month_end_email_in_draft": false,
108
- "meeting_url": "https://calendly.com/zeni-cfo-plan/cfo-discovery-call",
109
- "taxes_due_date": null,
110
- "company_id": "c_1ad773dc-2395-4fa7-9fbc-3f1c5f06a333",
111
- "controller_user_ids": [
112
- "u_4f8f233e-9740-4511-8d1b-3fbb8311f42d",
113
- "u_67e6a6a4-fab3-4e5b-a467-79a35147a0ff"
114
- ],
115
- "customer_success_manager_user_ids": [
116
- "u_4f8f233e-9740-4511-8d1b-3fbb8311f42d",
117
- "u_67e6a6a4-fab3-4e5b-a467-79a35147a0ff"
118
- ],
119
- "preparer_user_ids": [
120
- "u_4f8f233e-9740-4511-8d1b-3fbb8311f42d",
121
- "u_dc6565f1-f079-4f47-a579-0374dc713536"
122
- ],
123
- "ap_analyst_user_ids": [],
124
- "receiver_emails": ["fingo@zeni.ai", "abhijeet@zeni.ai"],
125
- "create_time": "2020-01-27T19:24:55.432000",
126
- "company_payment_processors": ["Stripe"],
127
- "is_multi_currency_enabled": false,
128
- "note_last_updated_user_id": null,
129
- "company_finance_management_type": "We manage it ourselves",
130
- "company_credit_cards": ["Brex"],
131
- "is_qbo_multi_currency_enabled": false,
132
- "company_inc_type": "C Corporation",
133
- "connected_account_provider": "stripe",
134
- "last_report_sent_date": null,
135
- "last_report_sent_business_day": null,
136
- "company_contact_user_id": null,
137
- "taxes_filed_years": [2021, 2020],
138
- "sic_code": null,
139
- "note": "Hello world",
140
- "company_inc_country_code": null,
141
- "tax_lead_user_ids": [],
142
- "note_last_update_time": null,
143
- "company_status_code": "live1",
144
- "company_inc_state_code": null,
145
- "company_industry": "construction",
146
- "company_legal_name": "Fingo Inc.",
147
- "update_time": "2021-11-24T08:14:09.590788",
148
- "reviewer_user_ids": [],
149
- "naics_code": null,
150
- "referrer_name": null,
151
- "bookkeeping_software_used": "Quickbooks Online",
152
- "services_requested": [
153
- "Yearly Taxes",
154
- "Bookkeeping & Accounting",
155
- "Financial Budgeting & Projections"
156
- ],
157
- "payroll_provider": "Trinet",
158
- "company_monthly_expenses_max": 100000,
159
- "phone": "+1 (732) 497-2351",
160
- "company_address_id": "a_8a1498b2-ab42-4c46-bda1-3bd946ec3cc3",
161
- "company_group": {
162
- "id": "z4",
163
- "name": null
164
- },
165
- "taxes_filed_date": "2021-08-24",
166
- "company_inc_date": null,
167
- "company_size_max": 20,
168
- "company_money_raised_min": 400000,
169
- "tax_id": "833464357",
170
- "company_monthly_expenses_min": 0,
171
- "company_size_min": 1,
172
- "company_officer_user_ids": [
173
- "u_3890bff3-191c-4528-867f-5869518b8078",
174
- "u_964c3270-25f7-42f3-a6fc-7ef040e6d0f1",
175
- "u_7def9138-9ee1-44bf-8fbb-da72d13ed720",
176
- "u_50c92aa7-821e-4d50-aa30-5420e6bc2e6c",
177
- "u_a50aacd8-0f74-40c3-b539-e25228c44cab",
178
- "u_70dedfef-a40b-4e01-970b-b07d04b227c6",
179
- "u_31d1bb27-1039-4a23-9de0-ae409d594371"
180
- ],
181
- "name": "fingo_.ai",
182
- "company_business_model": null,
183
- "company_inc_country": null,
184
- "primary_email_domain": "fingo.ai",
185
- "company_inc_state": "Delaware",
186
- "business_banks": ["Silicon Valley Bank"],
187
- "tax_status": {
188
- "code": "filed",
189
- "name": null
190
- },
191
- "referrer_type": null,
192
- "primary_contact_user_id": "u_7def9138-9ee1-44bf-8fbb-da72d13ed720",
193
- "duns_id": null,
194
- "company_group_code": "Z2",
195
- "currency_code": "USD",
196
- "company_finance_management_firm_name": null,
197
- "is_unit_migration_tos_required": false,
198
- "is_new_company_industry_verified": true,
199
- "is_unit_migration_required": false
200
- }
201
- ],
202
- "addresses": [
203
- {
204
- "city": "San francisco",
205
- "update_time": "2021-11-24T15:06:13.400611",
206
- "country": "USA",
207
- "address_id": "a_72f1f8a4-1251-4445-8709-c1fd2f6effe7",
208
- "longitude": null,
209
- "state": "California",
210
- "street": ["503 Bryant St", "Suite 224"],
211
- "create_time": "2021-11-24T15:06:13.400603",
212
- "country_code": null,
213
- "latitude": null,
214
- "postal_code": "96204"
215
- }
216
- ]
217
- }
218
- }
@@ -1,345 +0,0 @@
1
- {
2
- "status": {
3
- "message": "Successful",
4
- "code": 200
5
- },
6
- "data": {
7
- "user_roles": [
8
- {
9
- "invite_accept_time": "2020-11-18T04:52:24.237160",
10
- "address_id": "a_dacb87ff-91b8-4649-9201-804cba767929",
11
- "is_preparer": false,
12
- "is_ap_analyst": false,
13
- "is_reviewer": false,
14
- "is_bookkeeping_admin": false,
15
- "is_company_officer": false,
16
- "is_invite_accepted": true,
17
- "inviter_email": "mohan@zeni.ai",
18
- "user_id": "u_c8488936-ba06-4533-89a5-d40d12b36071",
19
- "user_last_check_in_time_into_tenant": "2021-12-08T12:05:50.399411",
20
- "user_email_domain": "zeni.ai",
21
- "company_id": "c_1ad773dc-2395-4fa7-9fbc-3f1c5f06a333",
22
- "is_invited": true,
23
- "is_bookkeeping_user": false,
24
- "invite_updater_id": null,
25
- "invite_update_time": null,
26
- "tenant_email_domain": "fingo.ai",
27
- "is_tax_lead": false,
28
- "update_time": "2021-12-16T10:15:02.615038",
29
- "inviter_id": "u_70221b69-51a0-4b48-a634-f59391365805",
30
- "is_admin": true,
31
- "user_role_id": "ur_003da742-26c2-441a-bd2c-77d91f3762a6",
32
- "is_investor_or_banker": false,
33
- "is_deleted": false,
34
- "tenant_id": "tenant_cc2926db-168c-4d27-844e-932090dd66fc",
35
- "is_zeni": true,
36
- "create_time": "2020-09-03T07:14:07.711552",
37
- "invite_create_time": "2020-09-03T07:14:07.168188",
38
- "user_email": "nikunj@zeni.ai",
39
- "is_controller": false,
40
- "is_customer_success_manager": false,
41
- "is_bill_pay_admin": false,
42
- "is_bill_pay_user": false,
43
- "is_charge_card_admin": false,
44
- "is_charge_card_user": false,
45
- "is_deposit_accounts_admin": false,
46
- "is_deposit_accounts_user": false,
47
- "is_reimbursements_admin": false,
48
- "is_reimbursements_user": false,
49
- "accounting_class_ids": [],
50
- "manager_user_id": null,
51
- "is_banker": false,
52
- "title_at_company": null,
53
- "additional_document_types_requested_for_verification": null,
54
- "additional_submitted_documents_for_verification_file_ids": null,
55
- "are_additional_documents_requested_for_verification": false,
56
- "are_additional_documents_submitted_for_verification": false,
57
- "user_verification_status": {
58
- "code": "not_started",
59
- "name": "Not Started"
60
- },
61
- "reimbursement_info": {
62
- "reimbursement_tos_acceptance_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
63
- "reimbursement_tos_acceptance_time": "2022-08-12T06:08:24.590000",
64
- "is_reimbursement_tos_accepted": true,
65
- "reimbursement_tos_acceptance_ip": "43.250.156.219",
66
- "primary_funding_account": {
67
- "account_id": "pay_acc_f700239b-bab3-4abc-b482-6aa733a12d0d",
68
- "account_type": "payment_account"
69
- }
70
- },
71
- "deposit_accounts_info": {
72
- "is_deposit_accounts_enabled": true,
73
- "deposit_accounts_tos_acceptance_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
74
- "deposit_accounts_tos_acceptance_time": "2022-08-12T06:08:24.590000",
75
- "deposit_accounts_tos_acceptance_user_id": "u_c8488936-ba06-4533-89a5-d40d12b36071",
76
- "is_deposit_accounts_tos_accepted": true,
77
- "deposit_accounts_tos_acceptance_ip": "43.250.156.219"
78
- },
79
- "charge_cards_info": {
80
- "charge_cards_tos_acceptance_time": "2023-12-18T08:07:26.864486",
81
- "charge_cards_tos_acceptance_user_id": "u_1c176a71-77f9-428c-bf32-f90396024326",
82
- "charge_cards_tos_acceptance_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
83
- "charge_cards_tos_acceptance_ip": "219.91.160.34",
84
- "is_charge_cards_tos_accepted": true,
85
- "is_charge_cards_enabled": false
86
- }
87
- }
88
- ],
89
- "companies": [
90
- {
91
- "status": {
92
- "code": "onboarding",
93
- "name": null
94
- },
95
- "company_money_raised_max": 50000,
96
- "company_description": null,
97
- "company_url": "fingo.ai",
98
- "is_bill_pay_feature_enabled": false,
99
- "is_reimbursement_feature_enabled": true,
100
- "is_deposit_accounts_feature_enabled": true,
101
- "is_feature_vendor_listing_enabled": true,
102
- "onboarding_user_ids": [],
103
- "book_close_date": null,
104
- "is_zeni_coa_in_use": true,
105
- "is_subsidiary": false,
106
- "is_onboarding_completed": false,
107
- "is_onboarding_company_details_step_completed": false,
108
- "parent_company_id": null,
109
- "bill_pay_info": {
110
- "bill_pay_tos_acceptance_user_id": null,
111
- "bill_pay_tos_acceptance_user_agent": null,
112
- "bill_pay_tos_acceptance_time": null,
113
- "bill_pay_tos_acceptance_ip": null,
114
- "is_bill_pay_tos_accepted": false,
115
- "is_bill_pay_enabled": false,
116
- "is_business_verified": false,
117
- "is_ready_for_verification": false,
118
- "is_international_wire_enabled": false,
119
- "is_vendor_magic_link_feature_enabled": false,
120
- "business_verification_status": {
121
- "code": "in_progress",
122
- "name": "In Progress"
123
- },
124
- "company_verification_status": {
125
- "code": "in_progress",
126
- "name": "In Progress"
127
- },
128
- "is_bill_payment_account_setup": false,
129
- "bill_payment_account_ids": ["3f3181d2-76de-40c2-8f3b-152d2c6726d7"],
130
- "users_for_verification": ["u_e1fb3ecf-83a4-4477-8930-ad60bb010044"],
131
- "is_bill_pay_approval_enabled": true,
132
- "schedule_pay_now_cutoff_time_by_payment_method": {
133
- "ach": "2022-08-26T20:00:00+00:00"
134
- },
135
- "primary_funding_account": {
136
- "account_id": null,
137
- "account_type": null
138
- }
139
- },
140
- "reimbursement_info": {
141
- "is_reimbursement_enabled": true,
142
- "reimbursement_tos_acceptance_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
143
- "reimbursement_tos_acceptance_time": "2022-08-12T06:08:24.590000",
144
- "reimbursement_tos_acceptance_user_id": "u_c8488936-ba06-4533-89a5-d40d12b36071",
145
- "is_reimbursement_tos_accepted": true,
146
- "reimbursement_tos_acceptance_ip": "43.250.156.219",
147
- "primary_funding_account": {
148
- "account_id": "pay_acc_f700239b-bab3-4abc-b482-6aa733a12d0d",
149
- "account_type": "payment_account"
150
- }
151
- },
152
- "deposit_accounts_info": {
153
- "is_deposit_accounts_enabled": true,
154
- "deposit_accounts_tos_acceptance_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
155
- "deposit_accounts_tos_acceptance_time": "2022-08-12T06:08:24.590000",
156
- "deposit_accounts_tos_acceptance_user_id": "u_c8488936-ba06-4533-89a5-d40d12b36071",
157
- "is_deposit_accounts_tos_accepted": true,
158
- "deposit_accounts_tos_acceptance_ip": "43.250.156.219",
159
- "primary_funding_account": {
160
- "account_id": null,
161
- "account_type": null
162
- }
163
- },
164
- "charge_cards_info": {
165
- "charge_cards_tos_acceptance_time": "2023-12-18T08:07:26.864486",
166
- "charge_cards_tos_acceptance_user_id": "u_1c176a71-77f9-428c-bf32-f90396024326",
167
- "charge_cards_tos_acceptance_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
168
- "charge_cards_tos_acceptance_ip": "219.91.160.34",
169
- "is_charge_cards_tos_accepted": true,
170
- "is_charge_cards_enabled": false,
171
- "primary_funding_account": {
172
- "account_id": null,
173
- "account_type": null
174
- }
175
- },
176
- "mileage_rate_config": {
177
- "default_mileage_unit_amount": 0.67,
178
- "mileage_unit_amount": 0.655,
179
- "mileage_unit": "mile",
180
- "mileage_currency_code": "USD",
181
- "mileage_currency_symbol": "$",
182
- "denomination_conversions": {
183
- "amount": 65.5,
184
- "denomination": "cents",
185
- "denomination_symbol": "¢"
186
- },
187
- "description": "62.5 cents/mile as per IRS guidelines"
188
- },
189
- "is_month_end_email_in_draft": false,
190
- "meeting_url": "https://calendly.com/zeni-cfo-plan/cfo-discovery-call",
191
- "taxes_due_date": null,
192
- "company_id": "c_1ad773dc-2395-4fa7-9fbc-3f1c5f06a333",
193
- "controller_user_ids": [
194
- "u_4f8f233e-9740-4511-8d1b-3fbb8311f42d",
195
- "u_67e6a6a4-fab3-4e5b-a467-79a35147a0ff"
196
- ],
197
- "customer_success_manager_user_ids": [
198
- "u_4f8f233e-9740-4511-8d1b-3fbb8311f42d",
199
- "u_67e6a6a4-fab3-4e5b-a467-79a35147a0ff"
200
- ],
201
- "preparer_user_ids": [
202
- "u_4f8f233e-9740-4511-8d1b-3fbb8311f42d",
203
- "u_dc6565f1-f079-4f47-a579-0374dc713536"
204
- ],
205
- "ap_analyst_user_ids": [],
206
- "receiver_emails": ["fingo@zeni.ai", "abhijeet@zeni.ai"],
207
- "create_time": "2020-01-27T19:24:55.432000",
208
- "company_payment_processors": ["Stripe"],
209
- "is_multi_currency_enabled": false,
210
- "note_last_updated_user_id": null,
211
- "company_finance_management_type": "We manage it ourselves",
212
- "company_credit_cards": ["Brex"],
213
- "is_qbo_multi_currency_enabled": false,
214
- "company_inc_type": "C Corporation",
215
- "connected_account_provider": "stripe",
216
- "last_report_sent_date": null,
217
- "last_report_sent_business_day": null,
218
- "company_contact_user_id": null,
219
- "taxes_filed_years": [2021, 2020],
220
- "sic_code": null,
221
- "note": "Hello world",
222
- "company_inc_country_code": null,
223
- "tax_lead_user_ids": [],
224
- "note_last_update_time": null,
225
- "company_status_code": "live1",
226
- "company_inc_state_code": null,
227
- "company_industry": "construction",
228
- "company_legal_name": "Fingo Inc.",
229
- "update_time": "2021-11-24T08:14:09.590788",
230
- "reviewer_user_ids": [],
231
- "naics_code": null,
232
- "referrer_name": null,
233
- "bookkeeping_software_used": "Quickbooks Online",
234
- "services_requested": [
235
- "Yearly Taxes",
236
- "Bookkeeping & Accounting",
237
- "Financial Budgeting & Projections"
238
- ],
239
- "payroll_provider": "Trinet",
240
- "company_monthly_expenses_max": 100000,
241
- "phone": "+1 (732) 497-2351",
242
- "company_address_id": "a_8a1498b2-ab42-4c46-bda1-3bd946ec3cc3",
243
- "company_group": {
244
- "id": "z4",
245
- "name": null
246
- },
247
- "taxes_filed_date": "2021-08-24",
248
- "company_inc_date": null,
249
- "company_size_max": 20,
250
- "company_money_raised_min": 400000,
251
- "tax_id": "833464357",
252
- "company_monthly_expenses_min": 0,
253
- "company_size_min": 1,
254
- "company_officer_user_ids": [
255
- "u_3890bff3-191c-4528-867f-5869518b8078",
256
- "u_964c3270-25f7-42f3-a6fc-7ef040e6d0f1",
257
- "u_7def9138-9ee1-44bf-8fbb-da72d13ed720",
258
- "u_50c92aa7-821e-4d50-aa30-5420e6bc2e6c",
259
- "u_a50aacd8-0f74-40c3-b539-e25228c44cab",
260
- "u_70dedfef-a40b-4e01-970b-b07d04b227c6",
261
- "u_31d1bb27-1039-4a23-9de0-ae409d594371"
262
- ],
263
- "name": "fingo_.ai",
264
- "company_business_model": null,
265
- "company_inc_country": null,
266
- "primary_email_domain": "fingo.ai",
267
- "company_inc_state": "Delaware",
268
- "business_banks": ["Silicon Valley Bank"],
269
- "tax_status": {
270
- "code": "filed",
271
- "name": null
272
- },
273
- "referrer_type": null,
274
- "primary_contact_user_id": "u_7def9138-9ee1-44bf-8fbb-da72d13ed720",
275
- "duns_id": null,
276
- "company_group_code": "Z2",
277
- "currency_code": "USD",
278
- "company_finance_management_firm_name": null,
279
- "is_unit_migration_tos_required": false,
280
- "is_new_company_industry_verified": true,
281
- "is_unit_migration_required": false
282
- }
283
- ],
284
- "addresses": [
285
- {
286
- "city": "San francisco",
287
- "update_time": "2021-11-08T12:02:58.380658",
288
- "country": "USA",
289
- "address_id": "a_72f1f8a4-1251-4445-8709-c1fd2f6effe7",
290
- "longitude": null,
291
- "state": "California",
292
- "street": ["503 Bryant St", "Suite 224"],
293
- "create_time": "2021-11-08T12:02:58.380652",
294
- "country_code": null,
295
- "latitude": null,
296
- "postal_code": "96204"
297
- }
298
- ],
299
- "users": [
300
- {
301
- "microsoft_oauth_info_web": null,
302
- "address_id": null,
303
- "last_name": "Dalsaniya",
304
- "google_oauth_disabled": false,
305
- "photo": {
306
- "original": "https://lh3.googleusercontent.com/a-/AOh14Gh8H_iXVbPLWE5OBbWqR4mLop8__gksY7t6w5nT=s96-c"
307
- },
308
- "last_seen_time": null,
309
- "last_locale": null,
310
- "last_country": null,
311
- "is_onboarding_successful": false,
312
- "role_at_company": null,
313
- "country_code": null,
314
- "gender": null,
315
- "external_metadata": null,
316
- "last_state": null,
317
- "city": null,
318
- "first_name": "Nikunj",
319
- "is_pre_onboarding_successful": false,
320
- "middle_name": null,
321
- "last_auth_provider": "google",
322
- "last_location": null,
323
- "company_id": null,
324
- "is_potential_fraud": false,
325
- "state": null,
326
- "email": "nikunj@zeni.ai",
327
- "mixpanel_alias": null,
328
- "birthday": null,
329
- "update_time": "2021-12-08T08:35:49.584591",
330
- "phone": null,
331
- "ssn": null,
332
- "address": null,
333
- "user_id": "u_c8488936-ba06-4533-89a5-d40d12b36071",
334
- "is_deleted": false,
335
- "zipcode": null,
336
- "time_zone": null,
337
- "last_time_zone": null,
338
- "create_time": "2020-09-03T07:14:06.899663",
339
- "last_city": null,
340
- "country": null,
341
- "external_id": []
342
- }
343
- ]
344
- }
345
- }
@@ -1,24 +0,0 @@
1
- {
2
- "status": {
3
- "message": "Successful",
4
- "code": 200
5
- },
6
- "data": {
7
- "addresses": [
8
- {
9
- "city": "San francisco",
10
- "update_time": "2022-01-10T17:18:56.269034",
11
- "country": "USA",
12
- "address_id": "a_0bd3a94a-482c-430e-b5f2-10c16d3cee5c",
13
- "longitude": -122.3898194,
14
- "state": "California",
15
- "street": ["129 Bryant St", "Suite 204"],
16
- "create_time": "2021-12-08T18:44:54.971860",
17
- "country_code": null,
18
- "latitude": 37.786175,
19
- "postal_code": "94105",
20
- "hash_value": "57bcd83923ac258877664fb1cc142af1f3febfdbcaab6913ac6eab2c3fb15ed1"
21
- }
22
- ]
23
- }
24
- }
@@ -1,24 +0,0 @@
1
- {
2
- "status": {
3
- "message": "Successful",
4
- "code": 200
5
- },
6
- "data": {
7
- "addresses": [
8
- {
9
- "city": "San francisco",
10
- "update_time": "2022-01-10T17:18:56.269034",
11
- "country": "USA",
12
- "address_id": "a_0bd3a94a-482c-430e-b5f2-10c16d3cee5c",
13
- "longitude": -122.3898194,
14
- "state": "California",
15
- "street": ["129 Bryant St", "Suite 204"],
16
- "create_time": "2021-12-08T18:44:54.971860",
17
- "country_code": null,
18
- "latitude": 37.786175,
19
- "postal_code": "94105",
20
- "hash_value": "57bcd83923ac258877664fb1cc142af1f3febfdbcaab6913ac6eab2c3fb15ed1"
21
- }
22
- ]
23
- }
24
- }
@@ -1,9 +0,0 @@
1
- import { ActionsObservable, StateObservable } from 'redux-observable';
2
- import { Observable } from 'rxjs';
3
- import { RootState } from '../../../../reducer';
4
- import { ZeniAPI } from '../../../../zeniAPI';
5
- import { fetchPaymentAccountBalance, updatePaymentAccountList, updatePaymentAccountBalanceStatus } from './paymentAccountListReducer';
6
- import { updateAccounts } from '../../../../entity/account/accountReducer';
7
- import { updatePaymentAccounts } from '../../../../entity/paymentAccount/paymentAccountReducer';
8
- export declare type ActionType = ReturnType<typeof fetchPaymentAccountBalance> | ReturnType<typeof updatePaymentAccountList> | ReturnType<typeof updatePaymentAccountBalanceStatus> | ReturnType<typeof updateAccounts> | ReturnType<typeof updatePaymentAccounts>;
9
- export declare const fetchPaymentAccountBalanceEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;