{user.email}
+{user.name}
+{user.displayName}
++ {new Date(user.createdAt).toLocaleDateString()} +
++ Permanently delete your account and all associated data. + This action cannot be undone. +
++ This action cannot be undone. This will + permanently delete your account and remove all your data from + our servers. +
+- Manage your subscription, usage, and billing history -
-- {usageSummary.credits.percentageUsed}% used this period -
-- Resets on{" "} - {new Date(usageSummary.billingCycle.end).toLocaleDateString()} -
-- You've used {usageSummary.credits.overage} additional credits - beyond your monthly allocation. - {usageSummary.overage.enabled && - usageSummary.overage.pricePerCredit && ( - <> - {" "} - This will cost $ - {( - usageSummary.credits.overage * - usageSummary.overage.pricePerCredit - ).toFixed(2)}{" "} - extra this month. - > - )} +
+ {usageSummary.credits.percentageUsed}% used this period
-- {usageSummary.credits.monthly} credits/month - {usageSummary.overage.enabled && ( - <> + ${usageSummary.overage.pricePerCredit}/credit overage> - )} -
- {subscription?.status === "CANCELED" && - subscription.planType !== "FREE" && ( -- Downgrading to FREE plan on{" "} - - {new Date( - subscription.currentPeriodEnd, - ).toLocaleDateString()} - - . Your current credits and plan will remain active until - then. -
+ {/* Usage Breakdown */} ++ Resets on{" "} + {new Date(usageSummary.billingCycle.end).toLocaleDateString()} +
+No invoices yet
-- {new Date(invoice.periodStart).toLocaleDateString()} -{" "} - {new Date(invoice.periodEnd).toLocaleDateString()} +
+ You've used {usageSummary.credits.overage} additional + credits beyond your monthly allocation. + {usageSummary.overage.enabled && + usageSummary.overage.pricePerCredit && ( + <> + {" "} + This will cost $ + {( + usageSummary.credits.overage * + usageSummary.overage.pricePerCredit + ).toFixed(2)}{" "} + extra this month. + > + )}
- ${invoice.totalAmount.toFixed(2)} -
++ {usageSummary.credits.monthly} credits/month + {usageSummary.overage.enabled && ( + <> + {" "} + + ${usageSummary.overage.pricePerCredit}/credit overage + > + )} +
+ {subscription?.status === "CANCELED" && + subscription.planType !== "FREE" && ( ++ Downgrading to FREE plan on{" "} + + {new Date( + subscription.currentPeriodEnd, + ).toLocaleDateString()} + + . Your current credits and plan will remain active + until then. +
++ No invoices yet +
++ {new Date(invoice.periodStart).toLocaleDateString()} -{" "} + {new Date(invoice.periodEnd).toLocaleDateString()} +
++ ${invoice.totalAmount.toFixed(2)} +
+