Type Alias PremiumFunctionsInput<T, I>
PremiumFunctionsInput<T, I>: { changePremiumData: { auth: string; body: UpdatePremiumData<T>; id: string; type: T; }; createCheckoutSession: { auth: string; body: CreateCheckoutSessionBody<T>; type: T; }; createOneTimePaymentUrl: { auth: string; body: OneTimePaymentUrlBody; }; createPremiumPlan: { auth: string; plan: { cents: number; name: string; type: T; }; }; createSubscriptionManagePortalUrl: { auth: string; data: PortalData; }; deletePremiumPlan: { auth: string; planId: string; }; getPremiumPlan: { includeFreeConnectionsDefault?: I; planId: string; }; getPremiumPlans: { refreshCache?: boolean; }; getPremumData: { auth: string; id: string; type: T; }; updatePremiumPlan: { auth: string; plan: DeepPartial<PremiumPlan<false>, true>; planId: string; }; } Type Parameters
- T extends "guild" | "user" = never
- I extends boolean = never