@zeniai/client-epic-state 5.1.29-beta0ND → 5.1.30
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.
- package/lib/__testHelpers__/apiFailure.json +6 -0
- package/lib/entity/genericEntity/entity.d.ts +1 -1
- package/lib/entity/jeSchedules/jeSchedulesPayload.js +3 -2
- package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +1 -1
- package/lib/entity/jeSchedules/jeSchedulesSelector.js +4 -4
- package/lib/entity/jeSchedules/jeSchedulesState.d.ts +1 -1
- package/lib/entity/vendor/__mocks__/vendorMock.d.ts +7 -0
- package/lib/entity/vendor/__mocks__/vendorMock.js +311 -0
- package/lib/entity/vendor/__mocks__/vendorStateMocks.d.ts +8 -0
- package/lib/entity/vendor/__mocks__/vendorStateMocks.js +415 -0
- package/lib/entity/vendor/vendorPayload.d.ts +4 -2
- package/lib/entity/vendor/vendorPayload.js +3 -1
- package/lib/esm/__testHelpers__/apiFailure.json +6 -0
- package/lib/esm/entity/jeSchedules/jeSchedulesPayload.js +3 -2
- package/lib/esm/entity/jeSchedules/jeSchedulesSelector.js +4 -4
- package/lib/esm/entity/vendor/__mocks__/vendorMock.js +308 -0
- package/lib/esm/entity/vendor/__mocks__/vendorStateMocks.js +412 -0
- package/lib/esm/entity/vendor/vendorPayload.js +3 -1
- package/lib/esm/index.js +2 -2
- package/lib/esm/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +4650 -0
- package/lib/esm/view/addressView/__mocks__/addressViewMocks.js +203 -0
- package/lib/esm/view/addressView/__mocks__/json/createAddressResponse.json +23 -0
- package/lib/esm/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +258 -0
- package/lib/esm/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +418 -0
- package/lib/esm/view/addressView/__mocks__/json/fetchAddressResponse.json +24 -0
- package/lib/esm/view/addressView/__mocks__/json/updateAddressResponse.json +24 -0
- package/lib/esm/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js +11 -6
- package/lib/esm/view/createTransferEntry/epics/createTransferEntryEpic.js +5 -1
- package/lib/esm/view/expenseAutomationView/payload/jeSchedulesPayload.js +4 -1
- package/lib/esm/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +1 -1
- package/lib/esm/view/referralView/referralReducer.js +3 -2
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/epics/deleteScheduleAccruedDetailEpic.js +1 -1
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/epics/fetchRecommendedTransactionRowIndexEpic.js +11 -5
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailPayload.js +4 -1
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +1 -1
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.js +1 -1
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/markAsCompleteScheduleDetailEpic.js +1 -1
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +1 -1
- package/lib/esm/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +12 -3
- package/lib/esm/view/scheduleView/scheduleListView/scheduleListSelector.js +8 -7
- package/lib/esm/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +8 -3
- package/lib/esm/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.js +2 -28
- package/lib/esm/view/transactionDetail/epics/updateTransactionDetailEpic.js +5 -1
- package/lib/esm/view/trendWithTransactions/fetchTrendForEntityEpic.js +3 -1
- package/lib/esm/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +4 -1
- package/lib/esm/view/vendorList/vendorListReducer.js +4 -1
- package/lib/esm/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +9 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +7 -6
- package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.d.ts +11 -0
- package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +4659 -0
- package/lib/view/addressView/__mocks__/addressViewMocks.d.ts +35 -0
- package/lib/view/addressView/__mocks__/addressViewMocks.js +239 -0
- package/lib/view/addressView/__mocks__/json/createAddressResponse.json +23 -0
- package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +258 -0
- package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +418 -0
- package/lib/view/addressView/__mocks__/json/fetchAddressResponse.json +24 -0
- package/lib/view/addressView/__mocks__/json/updateAddressResponse.json +24 -0
- package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js +11 -6
- package/lib/view/createTransferEntry/epics/createTransferEntryEpic.js +5 -1
- package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.js +4 -1
- package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +1 -1
- package/lib/view/referralView/referralReducer.d.ts +1 -0
- package/lib/view/referralView/referralReducer.js +4 -3
- package/lib/view/scheduleView/scheduleAccruedDetailView/epics/deleteScheduleAccruedDetailEpic.js +1 -1
- package/lib/view/scheduleView/scheduleAccruedDetailView/epics/fetchRecommendedTransactionRowIndexEpic.js +11 -5
- package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailPayload.js +4 -1
- package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +1 -1
- package/lib/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.js +1 -1
- package/lib/view/scheduleView/scheduleDetailView/epics/markAsCompleteScheduleDetailEpic.js +1 -1
- package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +1 -1
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +12 -3
- package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +8 -7
- package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +8 -3
- package/lib/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.js +2 -28
- package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +5 -1
- package/lib/view/trendWithTransactions/fetchTrendForEntityEpic.js +3 -1
- package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +4 -1
- package/lib/view/vendorList/vendorListReducer.js +4 -1
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +9 -1
- package/package.json +1 -1
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import apiFailureJSON from '../../../__testHelpers__/apiFailure.json';
|
|
2
|
+
import { initialState } from '../addressViewReducer';
|
|
3
|
+
import postAddressResponse from './json/createAddressResponse.json';
|
|
4
|
+
import postCompanyAddressSuccess from './json/createCompanyAddressSuccess.json';
|
|
5
|
+
import postCompanyUserAddressSuccess from './json/createCompanyUserAddressSuccess.json';
|
|
6
|
+
import fetchAddressResponse from './json/fetchAddressResponse.json';
|
|
7
|
+
import putAddressResponse from './json/updateAddressResponse.json';
|
|
8
|
+
const createAddressSuccessResponse = postAddressResponse;
|
|
9
|
+
const createAddressFailureResponse = apiFailureJSON;
|
|
10
|
+
const updateAddressSuccessResponse = putAddressResponse;
|
|
11
|
+
const updateAddressFailureResponse = apiFailureJSON;
|
|
12
|
+
const createCompanyAddressResponse = postCompanyAddressSuccess;
|
|
13
|
+
const createCompanyAddressResponseFailure = apiFailureJSON;
|
|
14
|
+
const createCompanyUserAddressResponse = postCompanyUserAddressSuccess;
|
|
15
|
+
const createCompanyUserAddressResponseFailure = apiFailureJSON;
|
|
16
|
+
const fetchAddressSuccessResponse = fetchAddressResponse;
|
|
17
|
+
const fetchAddressFailureResponse = apiFailureJSON;
|
|
18
|
+
const createAddressData = {
|
|
19
|
+
city: 'New York',
|
|
20
|
+
country: 'USA',
|
|
21
|
+
state: 'New York',
|
|
22
|
+
street: ['435 W 31st St', 'Suite 123'],
|
|
23
|
+
postalCode: '10001',
|
|
24
|
+
};
|
|
25
|
+
const createAddressChangeOnlyData = Object.assign({}, {
|
|
26
|
+
...createAddressData,
|
|
27
|
+
isChangesInResponseOnly: true,
|
|
28
|
+
});
|
|
29
|
+
const createAddressId = 'a_72f1f8a4-1251-4445-8709-c1fd2f6effe7';
|
|
30
|
+
const companyId = 'c_1ad773dc-2395-4fa7-9fbc-3f1c5f06a333';
|
|
31
|
+
const userId = 'u_c8488936-ba06-4533-89a5-d40d12b36071';
|
|
32
|
+
const fetchAddressId = 'a_8a1498b2-ab42-4c46-bda1-3bd946ec3cc3';
|
|
33
|
+
const updateAddressData = {
|
|
34
|
+
latitude: 37.786175,
|
|
35
|
+
longitude: -122.3898194,
|
|
36
|
+
city: 'San francisco',
|
|
37
|
+
country: 'USA',
|
|
38
|
+
state: 'California',
|
|
39
|
+
street: ['129 Bryant St', 'Suite 204'],
|
|
40
|
+
postalCode: '94105',
|
|
41
|
+
};
|
|
42
|
+
const updateAddressId = 'a_0bd3a94a-482c-430e-b5f2-10c16d3cee5c';
|
|
43
|
+
const fetchAddressInProgressState = Object.assign({}, initialState, {
|
|
44
|
+
fetchAddressState: {
|
|
45
|
+
[fetchAddressId]: {
|
|
46
|
+
fetchState: 'In-Progress',
|
|
47
|
+
error: undefined,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
const fetchAddressSuccessState = Object.assign({}, initialState, {
|
|
52
|
+
fetchAddressState: {
|
|
53
|
+
[fetchAddressId]: {
|
|
54
|
+
fetchState: 'Completed',
|
|
55
|
+
error: undefined,
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
const fetchAddressFailureState = Object.assign({}, initialState, {
|
|
60
|
+
fetchAddressState: {
|
|
61
|
+
[fetchAddressId]: {
|
|
62
|
+
fetchState: 'Error',
|
|
63
|
+
error: fetchAddressFailureResponse.status,
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
});
|
|
67
|
+
const createAddressInLocalStoreState = Object.assign({}, initialState, {
|
|
68
|
+
newAddressState: {
|
|
69
|
+
company_address: {
|
|
70
|
+
addressToCreate: createAddressData,
|
|
71
|
+
addressType: 'company_address',
|
|
72
|
+
parentEntityId: undefined,
|
|
73
|
+
status: { fetchState: 'Not-Started', error: undefined },
|
|
74
|
+
newAddressId: undefined,
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
|
+
const addressesInLocalStoreState = Object.assign({}, initialState, {
|
|
79
|
+
newAddressState: {
|
|
80
|
+
company_address: {
|
|
81
|
+
addressToCreate: createAddressData,
|
|
82
|
+
addressType: 'company_address',
|
|
83
|
+
parentEntityId: undefined,
|
|
84
|
+
status: { fetchState: 'Not-Started', error: undefined },
|
|
85
|
+
newAddressId: undefined,
|
|
86
|
+
},
|
|
87
|
+
user_address: {
|
|
88
|
+
addressToCreate: createAddressData,
|
|
89
|
+
addressType: 'user_address',
|
|
90
|
+
parentEntityId: undefined,
|
|
91
|
+
status: { fetchState: 'Not-Started', error: undefined },
|
|
92
|
+
newAddressId: undefined,
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
});
|
|
96
|
+
const addressesInLocalStoreAfterResetState = Object.assign({}, initialState, {
|
|
97
|
+
newAddressState: {
|
|
98
|
+
company_address: {
|
|
99
|
+
addressToCreate: undefined,
|
|
100
|
+
addressType: 'company_address',
|
|
101
|
+
parentEntityId: undefined,
|
|
102
|
+
status: { fetchState: 'Not-Started', error: undefined },
|
|
103
|
+
newAddressId: undefined,
|
|
104
|
+
},
|
|
105
|
+
officer_1_address: {
|
|
106
|
+
addressToCreate: undefined,
|
|
107
|
+
},
|
|
108
|
+
user_address: {
|
|
109
|
+
addressToCreate: createAddressData,
|
|
110
|
+
addressType: 'user_address',
|
|
111
|
+
parentEntityId: undefined,
|
|
112
|
+
status: { fetchState: 'Not-Started', error: undefined },
|
|
113
|
+
newAddressId: undefined,
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
});
|
|
117
|
+
const createVendorAddressInLocalStoreState = Object.assign({}, initialState, {
|
|
118
|
+
newAddressState: {
|
|
119
|
+
vendor_address: {
|
|
120
|
+
addressToCreate: createAddressData,
|
|
121
|
+
addressType: 'vendor_address',
|
|
122
|
+
parentEntityId: undefined,
|
|
123
|
+
status: { fetchState: 'Not-Started', error: undefined },
|
|
124
|
+
newAddressId: undefined,
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
});
|
|
128
|
+
const createAddressInLocalStoreStateSaveInProgress = Object.assign({}, initialState, {
|
|
129
|
+
newAddressState: {
|
|
130
|
+
company_address: {
|
|
131
|
+
addressToCreate: createAddressData,
|
|
132
|
+
addressType: 'company_address',
|
|
133
|
+
parentEntityId: undefined,
|
|
134
|
+
newAddressId: undefined,
|
|
135
|
+
status: {
|
|
136
|
+
error: undefined,
|
|
137
|
+
fetchState: 'In-Progress',
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
});
|
|
142
|
+
const createOfficial1AddressInLocalStoreState = Object.assign({}, initialState, {
|
|
143
|
+
newAddressState: {
|
|
144
|
+
officer_1_address: {
|
|
145
|
+
addressToCreate: createAddressData,
|
|
146
|
+
addressType: 'officer_1_address',
|
|
147
|
+
parentEntityId: { id: userId, entityType: 'user' },
|
|
148
|
+
status: { fetchState: 'Not-Started', error: undefined },
|
|
149
|
+
newAddressId: undefined,
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
});
|
|
153
|
+
const officer1AddressInLocalStoreStateCompleted = Object.assign({}, initialState, {
|
|
154
|
+
newAddressState: {
|
|
155
|
+
officer_1_address: {
|
|
156
|
+
addressToCreate: createAddressData,
|
|
157
|
+
addressType: 'officer_1_address',
|
|
158
|
+
parentEntityId: { id: userId, entityType: 'user' },
|
|
159
|
+
status: { fetchState: 'Completed', error: undefined },
|
|
160
|
+
newAddressId: 'a_72f1f8a4-1251-4445-8709-c1fd2f6effe7',
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
});
|
|
164
|
+
const createUserAddressInLocalStoreState = Object.assign({}, initialState, {
|
|
165
|
+
newAddressState: {
|
|
166
|
+
user_address: {
|
|
167
|
+
addressToCreate: createAddressData,
|
|
168
|
+
addressType: 'user_address',
|
|
169
|
+
parentEntityId: { id: userId, entityType: 'user' },
|
|
170
|
+
status: { fetchState: 'Not-Started', error: undefined },
|
|
171
|
+
newAddressId: undefined,
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
});
|
|
175
|
+
const addressSelectorNewAddress = {
|
|
176
|
+
addressToCreate: {
|
|
177
|
+
city: 'New York',
|
|
178
|
+
country: 'USA',
|
|
179
|
+
state: 'New York',
|
|
180
|
+
street: ['435 W 31st St', 'Suite 123'],
|
|
181
|
+
postalCode: '10001',
|
|
182
|
+
},
|
|
183
|
+
addressType: 'officer_1_address',
|
|
184
|
+
parentEntityId: {
|
|
185
|
+
id: 'u_c8488936-ba06-4533-89a5-d40d12b36071',
|
|
186
|
+
entityType: 'user',
|
|
187
|
+
},
|
|
188
|
+
newAddressId: 'a_72f1f8a4-1251-4445-8709-c1fd2f6effe7',
|
|
189
|
+
status: { fetchState: 'Completed' },
|
|
190
|
+
};
|
|
191
|
+
const removeNewAddressState = Object.assign({}, initialState, {
|
|
192
|
+
newAddressState: {
|
|
193
|
+
addressToCreate: undefined,
|
|
194
|
+
addressType: 'company_address',
|
|
195
|
+
newAddressId: undefined,
|
|
196
|
+
parentEntityId: undefined,
|
|
197
|
+
status: {
|
|
198
|
+
error: undefined,
|
|
199
|
+
fetchState: 'Not-Started',
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
});
|
|
203
|
+
export { userId, companyId, fetchAddressId, fetchAddressInProgressState, fetchAddressSuccessState, fetchAddressFailureState, fetchAddressSuccessResponse, fetchAddressFailureResponse, createAddressId, createAddressData, createAddressSuccessResponse, createAddressFailureResponse, updateAddressData, updateAddressId, updateAddressSuccessResponse, updateAddressFailureResponse, createAddressChangeOnlyData, createAddressInLocalStoreState, createVendorAddressInLocalStoreState, createCompanyAddressResponse, createCompanyAddressResponseFailure, createCompanyUserAddressResponse, createCompanyUserAddressResponseFailure, createOfficial1AddressInLocalStoreState, createAddressInLocalStoreStateSaveInProgress, addressSelectorNewAddress, officer1AddressInLocalStoreStateCompleted, createUserAddressInLocalStoreState, addressesInLocalStoreState, addressesInLocalStoreAfterResetState, removeNewAddressState, };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": {
|
|
3
|
+
"message": "Successful",
|
|
4
|
+
"code": 200
|
|
5
|
+
},
|
|
6
|
+
"data": {
|
|
7
|
+
"addresses": [
|
|
8
|
+
{
|
|
9
|
+
"city": "New York",
|
|
10
|
+
"update_time": "2022-01-10T17:12:55.270640",
|
|
11
|
+
"country": "USA",
|
|
12
|
+
"address_id": "a_72f1f8a4-1251-4445-8709-c1fd2f6effe7",
|
|
13
|
+
"longitude": null,
|
|
14
|
+
"state": "New York",
|
|
15
|
+
"street": ["435 W 31st St", "Suite 123"],
|
|
16
|
+
"create_time": "2022-01-10T17:12:55.270633",
|
|
17
|
+
"country_code": null,
|
|
18
|
+
"latitude": null,
|
|
19
|
+
"postal_code": "10001"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,258 @@
|
|
|
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
|
+
"subscription_billing_address_id": "a_72f1f8a4-1251-4445-8709-c1fd2f6effe7",
|
|
14
|
+
"company_money_raised_max": 50000,
|
|
15
|
+
"company_description": null,
|
|
16
|
+
"company_url": "fingo.ai",
|
|
17
|
+
"book_close_date": null,
|
|
18
|
+
"is_bill_pay_feature_enabled": false,
|
|
19
|
+
"is_reimbursement_feature_enabled": true,
|
|
20
|
+
"is_deposit_accounts_feature_enabled": true,
|
|
21
|
+
"is_same_day_ach_enabled": true,
|
|
22
|
+
"is_feature_vendor_listing_enabled": true,
|
|
23
|
+
"onboarding_user_ids": [],
|
|
24
|
+
"is_zeni_coa_in_use": true,
|
|
25
|
+
"is_subsidiary": false,
|
|
26
|
+
"is_onboarding_completed": false,
|
|
27
|
+
"is_onboarding_company_details_step_completed": false,
|
|
28
|
+
"parent_company_id": null,
|
|
29
|
+
"bill_pay_info": {
|
|
30
|
+
"bill_pay_tos_acceptance_user_id": null,
|
|
31
|
+
"bill_pay_tos_acceptance_user_agent": null,
|
|
32
|
+
"bill_pay_tos_acceptance_time": null,
|
|
33
|
+
"bill_pay_tos_acceptance_ip": null,
|
|
34
|
+
"is_bill_pay_tos_accepted": false,
|
|
35
|
+
"is_bill_pay_enabled": false,
|
|
36
|
+
"is_business_verified": false,
|
|
37
|
+
"is_ready_for_verification": false,
|
|
38
|
+
"is_international_wire_enabled": false,
|
|
39
|
+
"is_vendor_magic_link_feature_enabled": false,
|
|
40
|
+
"business_verification_status": {
|
|
41
|
+
"code": "in_progress",
|
|
42
|
+
"name": "In Progress"
|
|
43
|
+
},
|
|
44
|
+
"company_verification_status": {
|
|
45
|
+
"code": "in_progress",
|
|
46
|
+
"name": "In Progress"
|
|
47
|
+
},
|
|
48
|
+
"is_bill_payment_account_setup": false,
|
|
49
|
+
"bill_payment_account_ids": ["3f3181d2-76de-40c2-8f3b-152d2c6726d7"],
|
|
50
|
+
"users_for_verification": ["u_e1fb3ecf-83a4-4477-8930-ad60bb010044"],
|
|
51
|
+
"is_bill_pay_approval_enabled": true,
|
|
52
|
+
"schedule_pay_now_cutoff_time_by_payment_method": {
|
|
53
|
+
"ach": "2022-08-26T20:00:00+00:00"
|
|
54
|
+
},
|
|
55
|
+
"primary_funding_account": {
|
|
56
|
+
"account_id": null,
|
|
57
|
+
"account_type": null
|
|
58
|
+
},
|
|
59
|
+
"international_wire_onboarding_status": {
|
|
60
|
+
"code": "verified",
|
|
61
|
+
"name": "Verified"
|
|
62
|
+
},
|
|
63
|
+
"international_wire_onboarding_details": {}
|
|
64
|
+
},
|
|
65
|
+
"reimbursement_info": {
|
|
66
|
+
"is_reimbursement_enabled": true,
|
|
67
|
+
"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",
|
|
68
|
+
"reimbursement_tos_acceptance_time": "2022-08-12T06:08:24.590000",
|
|
69
|
+
"reimbursement_tos_acceptance_user_id": "u_c8488936-ba06-4533-89a5-d40d12b36071",
|
|
70
|
+
"is_reimbursement_tos_accepted": true,
|
|
71
|
+
"reimbursement_tos_acceptance_ip": "43.250.156.219",
|
|
72
|
+
"primary_funding_account": {
|
|
73
|
+
"account_id": "pay_acc_f700239b-bab3-4abc-b482-6aa733a12d0d",
|
|
74
|
+
"account_type": "payment_account"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"deposit_accounts_info": {
|
|
78
|
+
"is_deposit_accounts_enabled": true,
|
|
79
|
+
"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",
|
|
80
|
+
"deposit_accounts_tos_acceptance_time": "2022-08-12T06:08:24.590000",
|
|
81
|
+
"deposit_accounts_tos_acceptance_user_id": "u_c8488936-ba06-4533-89a5-d40d12b36071",
|
|
82
|
+
"is_deposit_accounts_tos_accepted": true,
|
|
83
|
+
"deposit_accounts_tos_acceptance_ip": "43.250.156.219",
|
|
84
|
+
"primary_funding_account": {
|
|
85
|
+
"account_id": null,
|
|
86
|
+
"account_type": null
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"charge_cards_info": {
|
|
90
|
+
"charge_cards_credit_account_limit": 50000,
|
|
91
|
+
"is_company_interested_in_charge_card": true,
|
|
92
|
+
"charge_cards_tos_acceptance_time": "2023-12-18T08:07:26.864486",
|
|
93
|
+
"charge_cards_tos_acceptance_user_id": "u_1c176a71-77f9-428c-bf32-f90396024326",
|
|
94
|
+
"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",
|
|
95
|
+
"charge_cards_tos_acceptance_ip": "219.91.160.34",
|
|
96
|
+
"is_charge_cards_tos_accepted": true,
|
|
97
|
+
"is_charge_cards_enabled": false,
|
|
98
|
+
"primary_funding_account": {
|
|
99
|
+
"account_id": null,
|
|
100
|
+
"account_type": null,
|
|
101
|
+
"is_auto_pay_enabled": false
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"debit_cards_info": {
|
|
105
|
+
"is_debit_cards_tos_accepted": true,
|
|
106
|
+
"is_debit_cards_enabled": true,
|
|
107
|
+
"debit_cards_tos_acceptance_time": "2023-11-18T08:07:26.864486",
|
|
108
|
+
"debit_cards_tos_acceptance_user_id": "u_1c176a71-77f9-428c-bf32-f90396024326",
|
|
109
|
+
"debit_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",
|
|
110
|
+
"debit_cards_tos_acceptance_ip": "219.91.160.34"
|
|
111
|
+
},
|
|
112
|
+
"mileage_rate_config": {
|
|
113
|
+
"default_mileage_unit_amount": 0.67,
|
|
114
|
+
"mileage_unit_amount": 0.655,
|
|
115
|
+
"mileage_unit": "mile",
|
|
116
|
+
"mileage_currency_code": "USD",
|
|
117
|
+
"mileage_currency_symbol": "$",
|
|
118
|
+
"denomination_conversions": {
|
|
119
|
+
"amount": 65.5,
|
|
120
|
+
"denomination": "cents",
|
|
121
|
+
"denomination_symbol": "¢"
|
|
122
|
+
},
|
|
123
|
+
"description": "62.5 cents/mile as per IRS guidelines"
|
|
124
|
+
},
|
|
125
|
+
"treasury_accounts_info": {
|
|
126
|
+
"treasury_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",
|
|
127
|
+
"treasury_accounts_tos_acceptance_time": "2022-08-12T06:08:24.590000",
|
|
128
|
+
"is_treasury_accounts_tos_accepted": true,
|
|
129
|
+
"treasury_accounts_tos_acceptance_ip": "43.250.156.219",
|
|
130
|
+
"treasury_accounts_tos_acceptance_user_id": "u_c8488936-ba06-4533-89a5-d40d12b36071",
|
|
131
|
+
"treasury_business_verification_verified_time": "2023-11-18T08:07:26.864486",
|
|
132
|
+
"primary_funding_account": {
|
|
133
|
+
"account_id": "pay_acc_f700239b-bab3-4abc-b482-6aa733a12d0d",
|
|
134
|
+
"account_type": "payment_account"
|
|
135
|
+
},
|
|
136
|
+
"business_verification_status": {
|
|
137
|
+
"code": "verified",
|
|
138
|
+
"name": "Verified"
|
|
139
|
+
},
|
|
140
|
+
"company_verification_status": {
|
|
141
|
+
"code": "verified",
|
|
142
|
+
"name": "Verified"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"source_of_funds": "alimony",
|
|
146
|
+
"is_month_end_email_in_draft": false,
|
|
147
|
+
"meeting_url": "https://calendly.com/zeni-cfo-plan/cfo-discovery-call",
|
|
148
|
+
"taxes_due_date": null,
|
|
149
|
+
"company_id": "c_1ad773dc-2395-4fa7-9fbc-3f1c5f06a333",
|
|
150
|
+
"controller_user_ids": [
|
|
151
|
+
"u_4f8f233e-9740-4511-8d1b-3fbb8311f42d",
|
|
152
|
+
"u_67e6a6a4-fab3-4e5b-a467-79a35147a0ff"
|
|
153
|
+
],
|
|
154
|
+
"customer_success_manager_user_ids": [
|
|
155
|
+
"u_4f8f233e-9740-4511-8d1b-3fbb8311f42d",
|
|
156
|
+
"u_67e6a6a4-fab3-4e5b-a467-79a35147a0ff"
|
|
157
|
+
],
|
|
158
|
+
"preparer_user_ids": [
|
|
159
|
+
"u_4f8f233e-9740-4511-8d1b-3fbb8311f42d",
|
|
160
|
+
"u_dc6565f1-f079-4f47-a579-0374dc713536"
|
|
161
|
+
],
|
|
162
|
+
"ap_analyst_user_ids": [],
|
|
163
|
+
"receiver_emails": ["fingo@zeni.ai", "abhijeet@zeni.ai"],
|
|
164
|
+
"create_time": "2020-01-27T19:24:55.432000",
|
|
165
|
+
"company_payment_processors": ["Stripe"],
|
|
166
|
+
"is_multi_currency_enabled": false,
|
|
167
|
+
"note_last_updated_user_id": null,
|
|
168
|
+
"company_finance_management_type": "We manage it ourselves",
|
|
169
|
+
"company_credit_cards": ["Brex"],
|
|
170
|
+
"is_qbo_multi_currency_enabled": false,
|
|
171
|
+
"company_inc_type": "C Corporation",
|
|
172
|
+
"connected_account_provider": "stripe",
|
|
173
|
+
"last_report_sent_date": null,
|
|
174
|
+
"last_report_sent_business_day": null,
|
|
175
|
+
"company_contact_user_id": null,
|
|
176
|
+
"taxes_filed_years": [2021, 2020],
|
|
177
|
+
"sic_code": null,
|
|
178
|
+
"note": "Hello world",
|
|
179
|
+
"company_inc_country_code": null,
|
|
180
|
+
"tax_lead_user_ids": [],
|
|
181
|
+
"note_last_update_time": null,
|
|
182
|
+
"company_status_code": "live1",
|
|
183
|
+
"company_inc_state_code": null,
|
|
184
|
+
"company_industry": "construction",
|
|
185
|
+
"company_legal_name": "Fingo Inc.",
|
|
186
|
+
"update_time": "2021-11-24T08:14:09.590788",
|
|
187
|
+
"reviewer_user_ids": [],
|
|
188
|
+
"naics_code": null,
|
|
189
|
+
"referrer_name": null,
|
|
190
|
+
"bookkeeping_software_used": "Quickbooks Online",
|
|
191
|
+
"services_requested": [
|
|
192
|
+
"Yearly Taxes",
|
|
193
|
+
"Bookkeeping & Accounting",
|
|
194
|
+
"Financial Budgeting & Projections"
|
|
195
|
+
],
|
|
196
|
+
"payroll_provider": "Trinet",
|
|
197
|
+
"company_monthly_expenses_max": 100000,
|
|
198
|
+
"phone": "+1 (732) 497-2351",
|
|
199
|
+
"company_address_id": "a_8a1498b2-ab42-4c46-bda1-3bd946ec3cc3",
|
|
200
|
+
"registered_address_id": "a_8a1498b2-ab42-4c46-bda1-3bd946ec3cc3",
|
|
201
|
+
"company_group": {
|
|
202
|
+
"id": "z4",
|
|
203
|
+
"name": null
|
|
204
|
+
},
|
|
205
|
+
"taxes_filed_date": "2021-08-24",
|
|
206
|
+
"company_inc_date": null,
|
|
207
|
+
"company_size_max": 20,
|
|
208
|
+
"company_money_raised_min": 400000,
|
|
209
|
+
"tax_id": "833464357",
|
|
210
|
+
"company_monthly_expenses_min": 0,
|
|
211
|
+
"company_size_min": 1,
|
|
212
|
+
"company_officer_user_ids": [
|
|
213
|
+
"u_3890bff3-191c-4528-867f-5869518b8078",
|
|
214
|
+
"u_964c3270-25f7-42f3-a6fc-7ef040e6d0f1",
|
|
215
|
+
"u_7def9138-9ee1-44bf-8fbb-da72d13ed720",
|
|
216
|
+
"u_50c92aa7-821e-4d50-aa30-5420e6bc2e6c",
|
|
217
|
+
"u_a50aacd8-0f74-40c3-b539-e25228c44cab",
|
|
218
|
+
"u_70dedfef-a40b-4e01-970b-b07d04b227c6",
|
|
219
|
+
"u_31d1bb27-1039-4a23-9de0-ae409d594371"
|
|
220
|
+
],
|
|
221
|
+
"name": "fingo_.ai",
|
|
222
|
+
"company_business_model": null,
|
|
223
|
+
"company_inc_country": null,
|
|
224
|
+
"primary_email_domain": "fingo.ai",
|
|
225
|
+
"company_inc_state": "Delaware",
|
|
226
|
+
"business_banks": ["Silicon Valley Bank"],
|
|
227
|
+
"tax_status": {
|
|
228
|
+
"code": "filed",
|
|
229
|
+
"name": null
|
|
230
|
+
},
|
|
231
|
+
"referrer_type": null,
|
|
232
|
+
"primary_contact_user_id": "u_7def9138-9ee1-44bf-8fbb-da72d13ed720",
|
|
233
|
+
"duns_id": null,
|
|
234
|
+
"company_group_code": "Z2",
|
|
235
|
+
"currency_code": "USD",
|
|
236
|
+
"company_finance_management_firm_name": null,
|
|
237
|
+
"is_unit_migration_tos_required": false,
|
|
238
|
+
"is_new_company_industry_verified": true,
|
|
239
|
+
"is_unit_migration_required": false
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"addresses": [
|
|
243
|
+
{
|
|
244
|
+
"city": "San francisco",
|
|
245
|
+
"update_time": "2021-11-24T15:06:13.400611",
|
|
246
|
+
"country": "USA",
|
|
247
|
+
"address_id": "a_72f1f8a4-1251-4445-8709-c1fd2f6effe7",
|
|
248
|
+
"longitude": null,
|
|
249
|
+
"state": "California",
|
|
250
|
+
"street": ["503 Bryant St", "Suite 224"],
|
|
251
|
+
"create_time": "2021-11-24T15:06:13.400603",
|
|
252
|
+
"country_code": null,
|
|
253
|
+
"latitude": null,
|
|
254
|
+
"postal_code": "96204"
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
}
|