@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 • 724 B
TypeScript
import { E_InterfacePrePaidPaymentOptions } from '../../backend/enums';
export interface I_PaymentProps {
onlinePaymentLink: string | undefined;
}
export interface I_InterfacePrePaidPaymentConfigKeys {
prepaidOptions?: E_InterfacePrePaidPaymentOptions[];
}
export type T_GatewayObj = {
[key in T_GatewayType]?: string;
};
export type T_OnlinePaymentMethod = {
[key in 'operations' | 'other']: T_GatewayObj;
};
export type T_GatewayType = 'vista' | 'TESS' | 'cbpay' | 'cyberSource' | 'stripe' | 'skipCash' | 'dibsy' | 'my_fatoorah' | 'other';
export type T_OrderPaymentMethod = 'online' | 'cash' | 'paid_at_branch' | 'prepaid' | 'card_machine' | 'apple_pay' | 'google_pay';
//# sourceMappingURL=index.d.ts.map