@zeniai/client-epic-state 4.12.63 → 4.12.65

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 (74) hide show
  1. package/lib/entity/tenant/clearAllEpic.d.ts +1 -1
  2. package/lib/entity/tenant/clearAllEpic.js +1 -1
  3. package/lib/entity/vendor/__mocks__/vendorStateMocks.js +1 -6
  4. package/lib/entity/vendor/vendorPayload.d.ts +1 -2
  5. package/lib/entity/vendor/vendorPayload.js +4 -6
  6. package/lib/entity/vendor/vendorState.d.ts +0 -1
  7. package/lib/entity/vendor/vendorType.d.ts +1 -2
  8. package/lib/epic.d.ts +2 -4
  9. package/lib/epic.js +2 -4
  10. package/lib/index.d.ts +8 -15
  11. package/lib/index.js +16 -31
  12. package/lib/reducer.d.ts +1 -4
  13. package/lib/reducer.js +1 -4
  14. package/lib/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.js +2 -2
  15. package/lib/view/commonVendorView/vendorView/vendorViewPayload.d.ts +0 -6
  16. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.d.ts +1 -2
  17. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.js +1 -6
  18. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.d.ts +2 -3
  19. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.js +2 -4
  20. package/lib/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.js +1 -1
  21. package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.d.ts +1 -3
  22. package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.js +3 -14
  23. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.d.ts +0 -5
  24. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.js +1 -35
  25. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.d.ts +2 -7
  26. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.js +3 -23
  27. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.d.ts +1 -16
  28. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +7 -24
  29. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewState.d.ts +0 -16
  30. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewState.js +0 -3
  31. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +1 -1
  32. package/lib/view/spendManagement/chargeCards/chargeCardList/issueChargeCardEpic.js +9 -4
  33. package/lib/view/twoFactorAuthentication/sendOtpEpic.js +6 -9
  34. package/lib/view/{vendorFiling1099 → vendorFiling1099List}/__mock__/json/vendorFiling1099ListSuccess.json +1 -1
  35. package/lib/view/{vendorFiling1099 → vendorFiling1099List}/__mock__/vendorFiling1099ListMock.d.ts +3 -3
  36. package/lib/view/{vendorFiling1099 → vendorFiling1099List}/__mock__/vendorFiling1099ListMock.js +3 -17
  37. package/lib/view/{vendorFiling1099 → vendorFiling1099List}/__mock__/vendorFiling1099ListSelectorMock.d.ts +1 -1
  38. package/lib/view/{vendorFiling1099 → vendorFiling1099List}/__mock__/vendorFiling1099ListSelectorMock.js +1 -10
  39. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/fetchVendorsFiling1099ListEpic.d.ts +5 -5
  40. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/fetchVendorsFiling1099ListEpic.js +6 -6
  41. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListPayload.d.ts +3 -3
  42. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListReducer.d.ts +4 -8
  43. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListReducer.js +5 -18
  44. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListSelector.d.ts +6 -6
  45. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListSelector.js +3 -8
  46. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListState.d.ts +3 -3
  47. package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListState.js +1 -1
  48. package/lib/view/vendorTabView/fetchVendorTabViewEpic.d.ts +1 -1
  49. package/lib/view/vendorTabView/fetchVendorTabViewEpic.js +2 -2
  50. package/package.json +1 -2
  51. package/lib/entity/vendor/__mocks__/vendorMock.d.ts +0 -7
  52. package/lib/entity/vendor/__mocks__/vendorMock.js +0 -339
  53. package/lib/view/addressView/__mocks__/addressViewMocks.d.ts +0 -34
  54. package/lib/view/addressView/__mocks__/addressViewMocks.js +0 -223
  55. package/lib/view/addressView/__mocks__/json/createAddressResponse.json +0 -23
  56. package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +0 -218
  57. package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +0 -345
  58. package/lib/view/addressView/__mocks__/json/fetchAddressResponse.json +0 -24
  59. package/lib/view/addressView/__mocks__/json/updateAddressResponse.json +0 -24
  60. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.d.ts +0 -132
  61. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.js +0 -146
  62. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.d.ts +0 -8
  63. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.js +0 -30
  64. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsPayload.d.ts +0 -20
  65. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsPayload.js +0 -48
  66. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.d.ts +0 -25
  67. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +0 -180
  68. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSaveEpic.d.ts +0 -11
  69. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSaveEpic.js +0 -58
  70. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSelector.d.ts +0 -14
  71. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSelector.js +0 -17
  72. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsState.d.ts +0 -26
  73. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsState.js +0 -2
  74. /package/lib/view/{vendorFiling1099/vendorFiling1099List → vendorFiling1099List}/vendorFiling1099ListPayload.js +0 -0
@@ -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,132 +0,0 @@
1
- import { RootState } from '../../../reducer';
2
- import { VendorFiling1099UploadDetailsState } from '../vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsState';
3
- export declare const vendorFiling1099UploadDetailsSuccessResponse: {
4
- data: {
5
- filter: null;
6
- query: {
7
- end_date: string;
8
- group_by: string;
9
- sort_order: string;
10
- source_account_type: string;
11
- start_date: string;
12
- };
13
- query_definitions: {};
14
- report: {
15
- currency: {
16
- currency_code: null;
17
- currency_symbol: null;
18
- };
19
- is_vendor_1099_populated: boolean;
20
- report_id: string;
21
- report_title: string;
22
- status: {
23
- code: number;
24
- description: string;
25
- is_filtered_report: boolean;
26
- last_refresh_attempt_time: string;
27
- last_refresh_success_time: string;
28
- message: string;
29
- };
30
- vendors: {
31
- vendor_id: string;
32
- qbo_id: string;
33
- vendor_name: string;
34
- title: string;
35
- suffix: string;
36
- first_name: string;
37
- middle_name: string;
38
- last_name: string;
39
- vendor_type: string;
40
- logo: {
41
- url: string;
42
- base64: string;
43
- };
44
- owner: null;
45
- balance: number;
46
- is_deleted: boolean;
47
- qbo_create_time: string;
48
- qbo_update_time: string;
49
- create_time: string;
50
- update_time: string;
51
- email: string;
52
- phone: string;
53
- website_url: string;
54
- currency_code: string;
55
- currency_symbol: string;
56
- country_code: string;
57
- billing_address_id: string;
58
- billing_address: {
59
- address_id: string;
60
- city: string;
61
- country: string;
62
- country_code: null;
63
- create_time: string;
64
- hash_value: string;
65
- latitude: null;
66
- longitude: null;
67
- postal_code: string;
68
- state: string;
69
- street: string[];
70
- update_time: string;
71
- };
72
- documents: never[];
73
- vendor_currency_code: string;
74
- vendor_currency_symbol: string;
75
- tin: {
76
- type: string;
77
- value: string;
78
- };
79
- vendor_1099_status: string;
80
- vendor_1099_ytd_total: number;
81
- w9_documents: never[];
82
- }[];
83
- version: string;
84
- };
85
- };
86
- status: {
87
- code: number;
88
- message: string;
89
- };
90
- };
91
- export declare const vendorFiling1099UploadDetailsFailureResponse: {
92
- status: {
93
- message: string;
94
- code: number;
95
- };
96
- };
97
- export declare const vendorFiling1099UploadDetailsInProgressState: VendorFiling1099UploadDetailsState;
98
- export declare const vendorFiling1099UploadDetailsInProgressInitialState: VendorFiling1099UploadDetailsState;
99
- export declare const vendorFiling1099UploadDetailsSuccessState: VendorFiling1099UploadDetailsState;
100
- export declare const w9FormFile: {
101
- checksum: string;
102
- company_id: string;
103
- content_type: string;
104
- create_time: string;
105
- create_userid: string;
106
- document_side: string;
107
- document_type: string;
108
- extension: string;
109
- file_id: string;
110
- file_location: string;
111
- file_name: string;
112
- file_size: number;
113
- file_size_unit: string;
114
- image_file_ids: string[];
115
- image_files: {
116
- create_time: string;
117
- file_location: string;
118
- height: number;
119
- image_format: string;
120
- image_size_type: string;
121
- signed_url: string;
122
- update_time: string;
123
- width: number;
124
- }[];
125
- index: string;
126
- purpose_id: string;
127
- signed_url: string;
128
- update_time: string;
129
- update_userid: string;
130
- user_id: string;
131
- };
132
- export declare const rootStateWithVendorFiling1099UploadDetails: RootState;
@@ -1,146 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.rootStateWithVendorFiling1099UploadDetails = exports.w9FormFile = exports.vendorFiling1099UploadDetailsSuccessState = exports.vendorFiling1099UploadDetailsInProgressInitialState = exports.vendorFiling1099UploadDetailsInProgressState = exports.vendorFiling1099UploadDetailsFailureResponse = exports.vendorFiling1099UploadDetailsSuccessResponse = void 0;
7
- const reducer_1 = require("../../../reducer");
8
- const vendorMock_1 = require("../../../entity/vendor/__mocks__/vendorMock");
9
- const addressViewMocks_1 = require("../../addressView/__mocks__/addressViewMocks");
10
- const vendorFiling1099ListSuccess_json_1 = __importDefault(require("./json/vendorFiling1099ListSuccess.json"));
11
- const apiFailure_json_1 = __importDefault(require("../../../__testHelpers__/apiFailure.json"));
12
- exports.vendorFiling1099UploadDetailsSuccessResponse = vendorFiling1099ListSuccess_json_1.default;
13
- exports.vendorFiling1099UploadDetailsFailureResponse = apiFailure_json_1.default;
14
- exports.vendorFiling1099UploadDetailsInProgressState = {
15
- fetchState: 'In-Progress',
16
- hasValidState() {
17
- return this.fetchState == 'Completed';
18
- },
19
- error: undefined,
20
- w9FormUploadStatus: {
21
- fetchState: 'Not-Started',
22
- error: undefined,
23
- },
24
- vendor1099DetailsLocalData: {
25
- vendorId: '123',
26
- w9Documents: [],
27
- legalName: '',
28
- email: '',
29
- phone: '',
30
- taxClassification: '',
31
- tin: {
32
- type: null,
33
- value: '',
34
- },
35
- },
36
- vendor1099DetailsSaveStatus: {
37
- fetchState: 'Not-Started',
38
- error: undefined,
39
- },
40
- };
41
- exports.vendorFiling1099UploadDetailsInProgressInitialState = {
42
- fetchState: 'Not-Started',
43
- hasValidState() {
44
- return this.fetchState == 'Completed';
45
- },
46
- error: undefined,
47
- w9FormUploadStatus: {
48
- fetchState: 'Not-Started',
49
- error: undefined,
50
- },
51
- vendor1099DetailsLocalData: {
52
- vendorId: '123',
53
- w9Documents: [],
54
- legalName: '',
55
- email: '',
56
- phone: '',
57
- taxClassification: '',
58
- tin: {
59
- type: null,
60
- value: '',
61
- },
62
- },
63
- vendor1099DetailsSaveStatus: {
64
- fetchState: 'Not-Started',
65
- error: undefined,
66
- },
67
- };
68
- exports.vendorFiling1099UploadDetailsSuccessState = {
69
- fetchState: 'Completed',
70
- hasValidState() {
71
- return this.fetchState == 'Completed';
72
- },
73
- error: undefined,
74
- w9FormUploadStatus: {
75
- fetchState: 'Completed',
76
- error: undefined,
77
- },
78
- vendor1099DetailsLocalData: {
79
- vendorId: '123',
80
- w9Documents: [],
81
- legalName: '',
82
- email: '',
83
- phone: '',
84
- taxClassification: '',
85
- tin: {
86
- type: null,
87
- value: '',
88
- },
89
- },
90
- vendor1099DetailsSaveStatus: {
91
- fetchState: 'Not-Started',
92
- error: undefined,
93
- },
94
- };
95
- exports.w9FormFile = {
96
- checksum: 'd41d8cd98f00b204e9800998ecf8427e',
97
- company_id: 'c_c98ead41-e255-4f55-bde5-98725b21cadd',
98
- content_type: 'application/pdf',
99
- create_time: '2024-11-29T09:00:55.219692',
100
- create_userid: 'u_f65e9b38-94fb-4a94-a2ab-27469df90bce',
101
- document_side: 'front',
102
- document_type: 'w9',
103
- extension: '.pdf',
104
- file_id: 'file_a1c42d17-e638-485a-adbc-489522132157',
105
- file_location: '/duolingo3-dot-ai-b452e138-af1d-4da0-8eb5-eb6bd233cfcc/files/2024-11-29/file_a1c42d17-e638-485a-adbc-489522132157/file_a1c42d17-e638-485a-adbc-489522132157.pdf',
106
- file_name: 'w9_embarc_advisors_llc__2_ (1).pdf',
107
- file_size: 81400,
108
- file_size_unit: 'bytes',
109
- image_file_ids: ['image_file_c07dbdb6-1ae8-41ee-a5ad-7b0525f3165f'],
110
- image_files: [
111
- {
112
- create_time: '2024-11-29T09:01:01.356171',
113
- file_location: '/duolingo3-dot-ai-b452e138-af1d-4da0-8eb5-eb6bd233cfcc/files/2024-11-29/file_a1c42d17-e638-485a-adbc-489522132157/image_file_c07dbdb6-1ae8-41ee-a5ad-7b0525f3165f.jpg',
114
- height: 0,
115
- image_format: 'jpg',
116
- image_size_type: 'thumbnail',
117
- signed_url: 'https://storage.googleapis.com/duolingo3-dot-ai-b452e138-af1d-4da0-8eb5-eb6bd233cfcc/files/2024-11-29/file_a1c42d17-e638-485a-adbc-489522132157/image_file_c07dbdb6-1ae8-41ee-a5ad-7b0525f3165f.jpg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=zeni-apis-dev%40appspot.gserviceaccount.com%2F20241129%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20241129T090101Z&X-Goog-Expires=86400&X-Goog-SignedHeaders=host&X-Goog-Signature=450342aac90b181c8e306fe938829e3f4f994fdea94dbf65689aaab497aa8b172227fdf94a411fbb77df2d2ec9d53e32d970000c719a63c05b654bf1a32f91f5a184579c1c8f85f96fad9eae4bd229db4bf788e5d118a2549a253e61050e1c20b4af5225ee7ada3b20d9dadaf283793c1482e4706adc52ef5cfedb4bf55cb649e881da2ebbd5011bf22a203ada1e5f9c859072693f393c412f738a2c179f0c10fe30dcb7d792b4b9de2753fbeb6c1eaceb05e9835d3aefb5719a9568cbc5705ff77324049349196aa36394e8a9f7aa661c50fdc34e4943900f63b9e8f42bbec1bf94a19b6dfd76182633ca03c64aadecca7fc10bf7186cb930fea78b17a210ec',
118
- update_time: '2024-11-29T09:01:01.356179',
119
- width: 0,
120
- },
121
- ],
122
- index: '0',
123
- purpose_id: 'w9_form',
124
- signed_url: 'https://storage.googleapis.com/duolingo3-dot-ai-b452e138-af1d-4da0-8eb5-eb6bd233cfcc/files/2024-11-29/file_a1c42d17-e638-485a-adbc-489522132157/file_a1c42d17-e638-485a-adbc-489522132157.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=zeni-apis-dev%40appspot.gserviceaccount.com%2F20241129%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20241129T090101Z&X-Goog-Expires=86400&X-Goog-SignedHeaders=host&X-Goog-Signature=2995e9bd18daec10482324370b012a724cf769960355f4fe48b358d8198c6256d25d47c9de6b8f9056a23d872a540c41b105979f8d9b5c3182d647c392e33f16b327983ccc3771a34e6b3923414db8f86b97f65b5ec970daa65d0686281194bd0e5bbcceb3daac4bcb14a571ee821b5886582c6b8920eb83955eee115c3ab073fd781bde9bc346c8f2d5be10dbc5ea09b5a666f3477772bbbeb2413f1374188ceb4862b2aba7ea2088df8a2d1f0830fdb0ee88fd028f8b3475403222d5fa81ebdc756f66e981369463b2b03fdc281aa5a8f5ff09a93cdb3c28651de630d41b3b42801510a601721a74ac5eecec9f4f8d5ecee2d842a7f209b199734233cc4232',
125
- update_time: '2024-11-29T09:01:01.438348',
126
- update_userid: 'u_f65e9b38-94fb-4a94-a2ab-27469df90bce',
127
- user_id: 'u_f65e9b38-94fb-4a94-a2ab-27469df90bce',
128
- };
129
- exports.rootStateWithVendorFiling1099UploadDetails = Object.assign({}, reducer_1.initialRootState, {
130
- vendorState: vendorMock_1.vendorStateWithVendors,
131
- vendorFiling1099UploadDetailsState: exports.vendorFiling1099UploadDetailsSuccessState,
132
- vendorTypeListState: {
133
- vendorTypes: [],
134
- },
135
- addressViewState: {
136
- newAddressState: {
137
- vendor_address: {
138
- addressToCreate: addressViewMocks_1.createAddressData,
139
- addressType: 'vendor_address',
140
- parentEntityId: undefined,
141
- status: { fetchState: 'Not-Started', error: undefined },
142
- newAddressId: undefined,
143
- },
144
- },
145
- },
146
- });