Current File : /home/bravrvjk/itiministry.org/wp-content/plugins/give/src/Subscriptions/resources//types.ts
type Gateway = {
enabled: boolean;
id: string;
label: string;
supportsRefund: boolean;
supportsSubscriptions: boolean;
};
/**
* @since 4.8.0
*/
export type GiveSubscriptionOptions = {
isAdmin: boolean;
adminUrl: string;
pluginUrl: string;
apiRoot: string;
legacyApiRoot: string;
apiNonce: string;
syncSubscriptionNonce: string;
subscriptionsAdminUrl: string;
currency: string;
isRecurringEnabled: boolean;
isFeeRecoveryEnabled: boolean;
subscriptionStatuses: { [statusCode: string]: string };
mode: 'test' | 'live';
gateways: Gateway[];
}