UNPKG

@enable-tech/shared-types

Version:

This package represents the single source of truth of the Types being used in the codebase (front-end and back-end) of enable.tech, It is an organization-scoped package. So, all the development teams belonging to it can participate to enhance it.

16 lines 692 B
import { E_PaymentIntegrationType, E_PaymentGateway, E_PaymentMethod } from '../backend/enums'; export type T_PaymentGatewayWithRedirection = E_PaymentGateway.Dibsy | (typeof E_PaymentGateway)['My Fatoorah'] | E_PaymentGateway.TAP; export interface I_CommonPaymentConfiguration { paymentGatewayType: E_PaymentGateway; credential: string; supportReceivingCardDetails: boolean; configuration: { dibsySecretApiKey?: string; tapSecretApiKey?: string; integrationType: E_PaymentIntegrationType; }; } export interface I_AdminPanelPaymentMethodAssociatedComponentsProps { associatedPaymentMehtod: E_PaymentMethod; } //# sourceMappingURL=index.d.ts.map