export type Plugin = { id: string name: string overview: string price: number isPaid: boolean icon: string storageDate: string author: { id: number name: string email: string logo: string isActive: boolean } installedBotsNumber?: number installedBotsNumberAllContracts?: number subscription?: { status: string } tags: Array chargeType: string imageUrl: string } export type DetailedPlugin = Plugin & { description?: string documentation?: string } export type PluginBilling = { billingId: number currency: string description: string featuresIncluded: string isRecommended?: boolean language: string name: string price: number additionalDescription?: string } export type PluginSubscription = DetailedPlugin & { /** All possible billings for the plugin */ billings: Array subscription: NonNullable & { /** The active billing plans, usually the length is 0 or 1 */ billings: Array chargeType: string price: number } }