UNPKG

@selfcommunity/types

Version:

Types to integrate a community created with SelfCommunity.

40 lines (39 loc) 1.59 kB
export var SCPaymentProductTemplateType; (function (SCPaymentProductTemplateType) { SCPaymentProductTemplateType["DETAIL"] = "detail"; })(SCPaymentProductTemplateType || (SCPaymentProductTemplateType = {})); export var SCPaymentRecurringInterval; (function (SCPaymentRecurringInterval) { SCPaymentRecurringInterval["WEEK"] = "week"; SCPaymentRecurringInterval["MONTH"] = "month"; SCPaymentRecurringInterval["YEAR"] = "year"; })(SCPaymentRecurringInterval || (SCPaymentRecurringInterval = {})); /** * SCCurrencyPriceType enum */ export var SCPaymentPriceCurrencyType; (function (SCPaymentPriceCurrencyType) { SCPaymentPriceCurrencyType["EUR"] = "EUR"; })(SCPaymentPriceCurrencyType || (SCPaymentPriceCurrencyType = {})); /** * Paywalls Content types */ export var SCContentType; (function (SCContentType) { SCContentType["ALL"] = "all"; SCContentType["EVENT"] = "event"; SCContentType["COURSE"] = "course"; SCContentType["CATEGORY"] = "category"; SCContentType["GROUP"] = "group"; SCContentType["COMMUNITY"] = "community"; })(SCContentType || (SCContentType = {})); export var SCCheckoutSessionStatus; (function (SCCheckoutSessionStatus) { SCCheckoutSessionStatus["COMPLETE"] = "complete"; SCCheckoutSessionStatus["OPEN"] = "open"; })(SCCheckoutSessionStatus || (SCCheckoutSessionStatus = {})); export var SCCheckoutSessionUIMode; (function (SCCheckoutSessionUIMode) { SCCheckoutSessionUIMode["HOSTED"] = "hosted"; SCCheckoutSessionUIMode["EMBEDDED"] = "embedded"; })(SCCheckoutSessionUIMode || (SCCheckoutSessionUIMode = {}));