@zeniai/client-epic-state 4.11.79 → 4.11.80

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.
@@ -73,11 +73,9 @@ export interface CompanyBillPayInfoDataPayload {
73
73
  bill_pay_tos_acceptance_user_agent: string | null;
74
74
  bill_pay_tos_acceptance_time: string | null;
75
75
  bill_pay_tos_acceptance_ip: string | null;
76
- bill_payment_account_ids: string[];
77
76
  is_bill_pay_tos_accepted: boolean;
78
77
  is_bill_pay_enabled: boolean;
79
78
  is_business_verified: boolean;
80
- is_bill_payment_account_setup: boolean;
81
79
  is_bill_pay_approval_enabled: boolean;
82
80
  is_vendor_magic_link_feature_enabled: boolean;
83
81
  is_international_wires_verified?: boolean | null;
@@ -130,11 +130,9 @@ const toCompanyBillPayInfo = (payload) => {
130
130
  ? (0, zeniDayJS_1.date)(payload.bill_pay_tos_acceptance_time)
131
131
  : undefined,
132
132
  billPayTOSAcceptanceIp: (_c = payload.bill_pay_tos_acceptance_ip) !== null && _c !== void 0 ? _c : undefined,
133
- billPaymentAccountIds: payload.bill_payment_account_ids,
134
133
  isBillPayTOSAccepted: payload.is_bill_pay_tos_accepted,
135
134
  isBillPayEnabled: payload.is_bill_pay_enabled,
136
135
  isBusinessVerified: payload.is_business_verified,
137
- isBillPaymentAccountSetup: payload.is_bill_payment_account_setup,
138
136
  isInternationalWiresVerified: payload.is_international_wires_verified != null
139
137
  ? payload.is_international_wires_verified
140
138
  : false,
@@ -155,11 +155,9 @@ export interface CompanyBillPayInfo {
155
155
  billPayTOSAcceptanceUserAgent?: string;
156
156
  billPayTOSAcceptanceTime?: ZeniDate;
157
157
  billPayTOSAcceptanceIp?: string;
158
- billPaymentAccountIds: ID[];
159
158
  isBillPayTOSAccepted: boolean;
160
159
  isBillPayEnabled: boolean;
161
160
  isBusinessVerified?: boolean;
162
- isBillPaymentAccountSetup?: boolean;
163
161
  isBillPayApprovalEnabled?: boolean;
164
162
  usersSelectedForVerification: ID[];
165
163
  isInternationalWiresVerified: boolean;
@@ -37,7 +37,6 @@ export interface PaymentAccountPayload {
37
37
  currency_code: string;
38
38
  last_refresh_success_time: string | null;
39
39
  };
40
- is_verified: boolean;
41
40
  zeni_mapped_account_id: string | null;
42
41
  bank_account_id?: string | null;
43
42
  is_login_required: boolean | null;
@@ -38,7 +38,6 @@ const toPaymentAccount = (payload) => {
38
38
  : undefined,
39
39
  }
40
40
  : undefined,
41
- isVerified: payload.is_verified,
42
41
  zeniAccountId: (_a = payload.zeni_mapped_account_id) !== null && _a !== void 0 ? _a : '',
43
42
  bankAccountId: (_b = payload.bank_account_id) !== null && _b !== void 0 ? _b : undefined,
44
43
  updateTime: (0, zeniDayJS_1.date)(payload.update_time),
@@ -26,7 +26,6 @@ export interface PaymentAccount {
26
26
  current?: Amount;
27
27
  lastRefreshTime?: ZeniDate;
28
28
  };
29
- isVerified: boolean;
30
29
  isLoginRequired: boolean;
31
30
  isPrimaryForOnboarding: boolean;
32
31
  isPrimaryForBillPay: boolean;
@@ -477,7 +477,7 @@ const sortAndFilterCompanies = (sortKey, sortOrder, filterText, filters, compani
477
477
  ? Infinity
478
478
  : (_b = (_a = company.companyHealthMetric.runway) === null || _a === void 0 ? void 0 : _a.runwayMonths) !== null && _b !== void 0 ? _b : 0;
479
479
  case 'lastReportSent':
480
- return ((_c = company.managegmentInfo.lastReportSentDate) !== null && _c !== void 0 ? _c : DEFAULT_DATE);
480
+ return (_c = company.managegmentInfo.lastReportSentDate) !== null && _c !== void 0 ? _c : DEFAULT_DATE;
481
481
  case 'renewalDate':
482
482
  return ((_d = company.companyHealthMetric.subscriptionRenewalDate) !== null && _d !== void 0 ? _d : DEFAULT_DATE);
483
483
  case 'subscriptionDate':
@@ -221,7 +221,6 @@ const mapPaymentAccToFundingAccount = (paymentAcc) => {
221
221
  institutionDetails: paymentAcc.institutionDetails,
222
222
  accountSubType: paymentAcc.accountSubType,
223
223
  isLoginRequired: paymentAcc.isLoginRequired,
224
- isVerified: paymentAcc.isVerified,
225
224
  providerAccountId: paymentAcc.providerAccountId,
226
225
  providerVerificationStatus: paymentAcc.providerVerificationStatus,
227
226
  label: Boolean(paymentAcc.institutionDetails.institutionName) === true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.11.79",
3
+ "version": "4.11.80",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",