@zeniai/client-epic-state 4.10.70 → 4.10.71

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.
@@ -199,6 +199,12 @@ const mapPaymentAccToFundingAccount = (paymentAcc) => {
199
199
  accType: 'paymentAccount',
200
200
  maskedAccountNumber: paymentAcc.maskedAccountNumber,
201
201
  zeniAccountId: paymentAcc.zeniAccountId,
202
+ institutionDetails: paymentAcc.institutionDetails,
203
+ accountSubType: paymentAcc.accountSubType,
204
+ isLoginRequired: paymentAcc.isLoginRequired,
205
+ isVerified: paymentAcc.isVerified,
206
+ providerAccountId: paymentAcc.providerAccountId,
207
+ providerVerificationStatus: paymentAcc.providerVerificationStatus,
202
208
  label: Boolean(paymentAcc.institutionDetails.institutionName) === true
203
209
  ? paymentAcc.institutionDetails.institutionName
204
210
  : (0, depositAccountPayload_1.getZeniAccountFallbackName)(paymentAcc.maskedAccountNumber, (_a = paymentAcc.accountSubType) === null || _a === void 0 ? void 0 : _a.name),
@@ -23,6 +23,9 @@ const establishPlaidConnectionEpic = (actions$, state, zeniAPI) => actions$.pipe
23
23
  if (setupViewType == null) {
24
24
  requestPayload.is_user_account = true;
25
25
  }
26
+ else if (plaidAccountKeyType === 'reimbursement_setup') {
27
+ requestPayload.is_primary_for_reimbursements = true;
28
+ }
26
29
  else {
27
30
  requestPayload.is_primary_for_bill_pay = true;
28
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.10.70",
3
+ "version": "4.10.71",
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",