UNPKG

@coursebuilder/core

Version:

Core package for Course Builder

47 lines (44 loc) 2.47 kB
import { R as RequestInternal, C as Cookie, I as InternalOptions, a as ResponseInternal } from '../../adapters-DK4L3hbS.cjs'; import '@auth/core/adapters'; import '../../schemas/coupon-schema.cjs'; import 'zod'; import '../../schemas/merchant-coupon-schema.cjs'; import '../../schemas/merchant-customer-schema.cjs'; import '../../schemas/merchant-product-schema.cjs'; import '../../schemas/price-schema.cjs'; import '../../schemas/product-schema.cjs'; import '../../schemas/purchase-schema.cjs'; import '../../schemas/purchase-user-transfer-schema.cjs'; import '../../schemas/resource-progress-schema.cjs'; import '../../schemas/user-schema.cjs'; import '../../schemas/video-resource.cjs'; import '../../schemas/upgradable-product-schema.cjs'; import '../../schemas/merchant-charge-schema.cjs'; import '../../schemas/merchant-price-schema.cjs'; import '../../schemas/content-resource-schema.cjs'; import '../../schemas/merchant-account-schema.cjs'; import '../../schemas/merchant-session.cjs'; import '../../schemas/merchant-subscription.cjs'; import '../../schemas/organization-member.cjs'; import '../../schemas/organization-schema.cjs'; import '../../schemas/subscription.cjs'; import '@auth/core'; import '@auth/core/providers/nodemailer'; import 'ai'; import 'cookie'; import 'inngest'; import 'stripe'; import '../utils/logger.cjs'; import '@auth/core/providers'; import '../../schemas/subscriber-schema.cjs'; import '../../providers/partykit.cjs'; import '../../providers/slack.cjs'; import '../../schemas/purchase-info.cjs'; import '../../schemas/subscription-info.cjs'; declare function getUserPurchases(request: RequestInternal, cookies: Cookie[], options: InternalOptions): Promise<ResponseInternal>; declare function getSubscriber(options: InternalOptions<'email-list'>, cookies: Cookie[]): Promise<ResponseInternal<any | null>>; declare function subscribeToList(request: RequestInternal, cookies: Cookie[], options: InternalOptions<'email-list'>): Promise<ResponseInternal<any | null>>; declare function session(options: InternalOptions, cookies: Cookie[]): Promise<ResponseInternal<any | null>>; declare function srt(request: RequestInternal, cookies: Cookie[], options: InternalOptions): Promise<ResponseInternal>; declare function webhook(request: RequestInternal, cookies: Cookie[], options: InternalOptions<'transcription' | 'payment'>): Promise<ResponseInternal>; export { getSubscriber, getUserPurchases, session, srt, subscribeToList, webhook };