@zeniai/client-epic-state 4.19.19-betaRR0 → 4.19.19

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.
@@ -83,7 +83,7 @@ export declare const isZeniDomainTenant: (currentTenant: TenantView) => boolean;
83
83
  export declare const isTenantUsingZeniCOA: (currentTenant: TenantView) => boolean;
84
84
  export declare const getCurrentTenantExternalConnections: (tenantState: TenantState, companyState: CompanyState) => TenantExternalConnections | undefined;
85
85
  export declare const toTenantCoreDetailsView: (tenantsBaseView: TenantBaseView[]) => TenantCoreDetailsView[];
86
- export declare const isTenantBankingOnly: (isDebitCardFlagEnabled: boolean, tenant: Tenant | undefined) => boolean;
86
+ export declare const isTenantBankingOnly: (tenant: Tenant | undefined) => boolean;
87
87
  export declare const isTenantCardsOnly: (tenant: Tenant | undefined) => boolean;
88
88
  export declare const isTenantBookkeepingEnabled: (tenant: Tenant | undefined) => boolean;
89
89
  export declare const isOtherProductsEnabledForTenant: (tenant: Tenant | undefined) => boolean;
@@ -259,14 +259,12 @@ const toTenantCoreDetailsView = (tenantsBaseView) => {
259
259
  });
260
260
  };
261
261
  exports.toTenantCoreDetailsView = toTenantCoreDetailsView;
262
- const isTenantBankingOnly = (isDebitCardFlagEnabled, tenant) => {
262
+ const isTenantBankingOnly = (tenant) => {
263
263
  // if the tenants API takes time, tenant can be non null with productSettings as null
264
264
  return tenant != null && tenant.productSettings != null
265
- ? //Banking will be enabled if debit card statsig flag is enabled
266
- (tenant.productSettings.isBankingEnabled === true ||
267
- isDebitCardFlagEnabled) &&
268
- tenant.productSettings.isBookkeepingEnabled === false &&
269
- tenant.productSettings.isSpendManagementEnabled === false
265
+ ? tenant.productSettings.isBankingEnabled === true &&
266
+ tenant.productSettings.isBookkeepingEnabled === false &&
267
+ tenant.productSettings.isSpendManagementEnabled === false
270
268
  : false;
271
269
  };
272
270
  exports.isTenantBankingOnly = isTenantBankingOnly;