Type Alias CreateCheckoutSessionBody<T>
CreateCheckoutSessionBody<T>: T extends "guild" ? { annual?: boolean; email: string; guildId: string; subscriptionTierId: string; targetEmail?: string; targetUserId?: string; trialDays?: number; userId: string; } & DeepNonNullable<ListOfDefaultItems> : T extends "user" ? { annual?: boolean; email: string; subscriptionTierId: string; targetEmail?: string; targetUserId?: string; trialDays?: number; userId: string; } : never Type Parameters
- T extends "guild" | "user"