@burdenoff/microfe-billing 2026.1030.1 → 2026.1101.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/billing/BillingAdminRoutes.d.ts +6 -0
- package/dist/billing/BillingAdminRoutes.d.ts.map +1 -0
- package/dist/billing/BillingRoot.d.ts +36 -0
- package/dist/billing/BillingRoot.d.ts.map +1 -0
- package/dist/billing/BillingUserRoutes.d.ts +7 -0
- package/dist/billing/BillingUserRoutes.d.ts.map +1 -0
- package/dist/billing/hooks/useBillingAccountSelection.d.ts +36 -0
- package/dist/billing/hooks/useBillingAccountSelection.d.ts.map +1 -0
- package/dist/billing/hooks/useBillingEventEmitter.d.ts +7 -0
- package/dist/billing/hooks/useBillingEventEmitter.d.ts.map +1 -0
- package/dist/billing/hooks/useBillingNavigate.d.ts +30 -0
- package/dist/billing/hooks/useBillingNavigate.d.ts.map +1 -0
- package/dist/billing/hooks/useBillingPermissions.d.ts +106 -0
- package/dist/billing/hooks/useBillingPermissions.d.ts.map +1 -0
- package/dist/billing/hooks/useDefaultBillingCurrency.d.ts +14 -0
- package/dist/billing/hooks/useDefaultBillingCurrency.d.ts.map +1 -0
- package/dist/billing/hooks/useProducts.d.ts +18 -0
- package/dist/billing/hooks/useProducts.d.ts.map +1 -0
- package/dist/billing/index.d.ts +31 -0
- package/dist/billing/index.d.ts.map +1 -0
- package/dist/billing/lib/native-purchases.d.ts +10 -0
- package/dist/billing/lib/native-purchases.d.ts.map +1 -0
- package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts +3 -0
- package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts.map +1 -0
- package/dist/billing/modules/addons/hooks/index.d.ts +8 -0
- package/dist/billing/modules/addons/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.d.ts +23 -0
- package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.d.ts.map +1 -0
- package/dist/billing/modules/addons/hooks/useAddons.d.ts +54 -0
- package/dist/billing/modules/addons/hooks/useAddons.d.ts.map +1 -0
- package/dist/billing/modules/addons/index.d.ts +7 -0
- package/dist/billing/modules/addons/index.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts +3 -0
- package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts +3 -0
- package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts +3 -0
- package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/AddonEditPage.d.ts +3 -0
- package/dist/billing/modules/addons/pages/AddonEditPage.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts +3 -0
- package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/AddonsListPage.d.ts +3 -0
- package/dist/billing/modules/addons/pages/AddonsListPage.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/index.d.ts +11 -0
- package/dist/billing/modules/addons/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/addons/store/addonCartStore.d.ts +37 -0
- package/dist/billing/modules/addons/store/addonCartStore.d.ts.map +1 -0
- package/dist/billing/modules/affiliate/api.d.ts +101 -0
- package/dist/billing/modules/affiliate/api.d.ts.map +1 -0
- package/dist/billing/modules/affiliate/index.d.ts +2 -0
- package/dist/billing/modules/affiliate/index.d.ts.map +1 -0
- package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts +3 -0
- package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts.map +1 -0
- package/dist/billing/modules/analytics/index.d.ts +5 -0
- package/dist/billing/modules/analytics/index.d.ts.map +1 -0
- package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts +3 -0
- package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts.map +1 -0
- package/dist/billing/modules/analytics/pages/index.d.ts +5 -0
- package/dist/billing/modules/analytics/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/billing/hooks/index.d.ts +12 -0
- package/dist/billing/modules/billing/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/billing/hooks/useInvoices.d.ts +76 -0
- package/dist/billing/modules/billing/hooks/useInvoices.d.ts.map +1 -0
- package/dist/billing/modules/billing/hooks/useOrderCallbacks.d.ts +57 -0
- package/dist/billing/modules/billing/hooks/useOrderCallbacks.d.ts.map +1 -0
- package/dist/billing/modules/billing/hooks/usePayments.d.ts +61 -0
- package/dist/billing/modules/billing/hooks/usePayments.d.ts.map +1 -0
- package/dist/billing/modules/billing/hooks/useRefunds.d.ts +216 -0
- package/dist/billing/modules/billing/hooks/useRefunds.d.ts.map +1 -0
- package/dist/billing/modules/billing/hooks/useTransactions.d.ts +40 -0
- package/dist/billing/modules/billing/hooks/useTransactions.d.ts.map +1 -0
- package/dist/billing/modules/billing/index.d.ts +7 -0
- package/dist/billing/modules/billing/index.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/RefundIssueLogsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/RefundIssueLogsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/RefundsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/RefundsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/TransactionsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/TransactionsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/UserRefundsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/UserRefundsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/index.d.ts +14 -0
- package/dist/billing/modules/billing/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts +13 -0
- package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts +13 -0
- package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts +13 -0
- package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.d.ts +23 -0
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts +13 -0
- package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts +15 -0
- package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/CurrencySelector.d.ts +18 -0
- package/dist/billing/modules/checkout/components/CurrencySelector.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts +13 -0
- package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/OrderSummary.d.ts +36 -0
- package/dist/billing/modules/checkout/components/OrderSummary.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts +18 -0
- package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts +18 -0
- package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts +34 -0
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts +12 -0
- package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts +12 -0
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/StoreShippingSection.d.ts +17 -0
- package/dist/billing/modules/checkout/components/StoreShippingSection.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts +15 -0
- package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts +25 -0
- package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts +28 -0
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.d.ts +11 -0
- package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.d.ts +30 -0
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/index.d.ts +24 -0
- package/dist/billing/modules/checkout/components/index.d.ts.map +1 -0
- package/dist/billing/modules/checkout/hooks/index.d.ts +9 -0
- package/dist/billing/modules/checkout/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/checkout/hooks/useCheckout.d.ts +78 -0
- package/dist/billing/modules/checkout/hooks/useCheckout.d.ts.map +1 -0
- package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts +25 -0
- package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts.map +1 -0
- package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts +19 -0
- package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts.map +1 -0
- package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts +59 -0
- package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts.map +1 -0
- package/dist/billing/modules/checkout/hooks/useStoreShipping.d.ts +122 -0
- package/dist/billing/modules/checkout/hooks/useStoreShipping.d.ts.map +1 -0
- package/dist/billing/modules/checkout/index.d.ts +24 -0
- package/dist/billing/modules/checkout/index.d.ts.map +1 -0
- package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts +3 -0
- package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts.map +1 -0
- package/dist/billing/modules/checkout/pages/index.d.ts +5 -0
- package/dist/billing/modules/checkout/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/checkout/types/index.d.ts +279 -0
- package/dist/billing/modules/checkout/types/index.d.ts.map +1 -0
- package/dist/billing/modules/checkout/utils/storeOrder.d.ts +19 -0
- package/dist/billing/modules/checkout/utils/storeOrder.d.ts.map +1 -0
- package/dist/billing/modules/coupons/index.d.ts +5 -0
- package/dist/billing/modules/coupons/index.d.ts.map +1 -0
- package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts +3 -0
- package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts +3 -0
- package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts.map +1 -0
- package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts +3 -0
- package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts.map +1 -0
- package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts +3 -0
- package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts.map +1 -0
- package/dist/billing/modules/coupons/pages/index.d.ts +8 -0
- package/dist/billing/modules/coupons/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/credits/hooks/index.d.ts +5 -0
- package/dist/billing/modules/credits/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/credits/hooks/useCredits.d.ts +74 -0
- package/dist/billing/modules/credits/hooks/useCredits.d.ts.map +1 -0
- package/dist/billing/modules/credits/index.d.ts +6 -0
- package/dist/billing/modules/credits/index.d.ts.map +1 -0
- package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts +3 -0
- package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts.map +1 -0
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts +3 -0
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts.map +1 -0
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts +3 -0
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts.map +1 -0
- package/dist/billing/modules/credits/pages/CreditsPage.d.ts +3 -0
- package/dist/billing/modules/credits/pages/CreditsPage.d.ts.map +1 -0
- package/dist/billing/modules/credits/pages/index.d.ts +8 -0
- package/dist/billing/modules/credits/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts +15 -0
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts +71 -0
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts +17 -0
- package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts +12 -0
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts +16 -0
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts +28 -0
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/index.d.ts +10 -0
- package/dist/billing/modules/dashboard/components/index.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/hooks/index.d.ts +6 -0
- package/dist/billing/modules/dashboard/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts +16 -0
- package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts +144 -0
- package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/index.d.ts +8 -0
- package/dist/billing/modules/dashboard/index.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts +3 -0
- package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/pages/index.d.ts +5 -0
- package/dist/billing/modules/dashboard/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/discounts/index.d.ts +6 -0
- package/dist/billing/modules/discounts/index.d.ts.map +1 -0
- package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts +3 -0
- package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts.map +1 -0
- package/dist/billing/modules/discounts/pages/index.d.ts +6 -0
- package/dist/billing/modules/discounts/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/earnings/api.d.ts +226 -0
- package/dist/billing/modules/earnings/api.d.ts.map +1 -0
- package/dist/billing/modules/earnings/index.d.ts +6 -0
- package/dist/billing/modules/earnings/index.d.ts.map +1 -0
- package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.d.ts +3 -0
- package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.d.ts.map +1 -0
- package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.d.ts +3 -0
- package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/earnings/pages/EarningsPage.d.ts +3 -0
- package/dist/billing/modules/earnings/pages/EarningsPage.d.ts.map +1 -0
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts +3 -0
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts.map +1 -0
- package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts +3 -0
- package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts.map +1 -0
- package/dist/billing/modules/plans/constants/enterprise.d.ts +20 -0
- package/dist/billing/modules/plans/constants/enterprise.d.ts.map +1 -0
- package/dist/billing/modules/plans/constants/featuredQuotas.d.ts +10 -0
- package/dist/billing/modules/plans/constants/featuredQuotas.d.ts.map +1 -0
- package/dist/billing/modules/plans/hooks/index.d.ts +7 -0
- package/dist/billing/modules/plans/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/plans/hooks/usePlans.d.ts +45 -0
- package/dist/billing/modules/plans/hooks/usePlans.d.ts.map +1 -0
- package/dist/billing/modules/plans/hooks/useQuotas.d.ts +26 -0
- package/dist/billing/modules/plans/hooks/useQuotas.d.ts.map +1 -0
- package/dist/billing/modules/plans/index.d.ts +7 -0
- package/dist/billing/modules/plans/index.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlanEditPage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlanEditPage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlanEditPage.js +90 -92
- package/dist/billing/modules/plans/pages/PlanEditPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlansListPage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlansListPage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/index.d.ts +12 -0
- package/dist/billing/modules/plans/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/plans/utils/currencyPriceOverrides.d.ts +3 -0
- package/dist/billing/modules/plans/utils/currencyPriceOverrides.d.ts.map +1 -0
- package/dist/billing/modules/plans/utils/planSelector.d.ts +3 -0
- package/dist/billing/modules/plans/utils/planSelector.d.ts.map +1 -0
- package/dist/billing/modules/promotions/index.d.ts +2 -0
- package/dist/billing/modules/promotions/index.d.ts.map +1 -0
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.d.ts +3 -0
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.d.ts.map +1 -0
- package/dist/billing/modules/promotions/pages/PromotionsListPage.d.ts +3 -0
- package/dist/billing/modules/promotions/pages/PromotionsListPage.d.ts.map +1 -0
- package/dist/billing/modules/promotions/pages/index.d.ts +3 -0
- package/dist/billing/modules/promotions/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/quota/hooks/index.d.ts +6 -0
- package/dist/billing/modules/quota/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/quota/hooks/useQuota.d.ts +132 -0
- package/dist/billing/modules/quota/hooks/useQuota.d.ts.map +1 -0
- package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts +38 -0
- package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts.map +1 -0
- package/dist/billing/modules/quota/index.d.ts +6 -0
- package/dist/billing/modules/quota/index.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/QuotaAssignFreePage.d.ts +3 -0
- package/dist/billing/modules/quota/pages/QuotaAssignFreePage.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/QuotaPage.d.ts +3 -0
- package/dist/billing/modules/quota/pages/QuotaPage.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts +3 -0
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts +3 -0
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts +3 -0
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts +3 -0
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/index.d.ts +10 -0
- package/dist/billing/modules/quota/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/quota/utils/quotaSelector.d.ts +4 -0
- package/dist/billing/modules/quota/utils/quotaSelector.d.ts.map +1 -0
- package/dist/billing/modules/settings/index.d.ts +5 -0
- package/dist/billing/modules/settings/index.d.ts.map +1 -0
- package/dist/billing/modules/settings/pages/SettingsPage.d.ts +3 -0
- package/dist/billing/modules/settings/pages/SettingsPage.d.ts.map +1 -0
- package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts +3 -0
- package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts.map +1 -0
- package/dist/billing/modules/settings/pages/index.d.ts +6 -0
- package/dist/billing/modules/settings/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/store/graphql/index.d.ts +6 -0
- package/dist/billing/modules/store/graphql/index.d.ts.map +1 -0
- package/dist/billing/modules/store/index.d.ts +6 -0
- package/dist/billing/modules/store/index.d.ts.map +1 -0
- package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts +10 -0
- package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts +11 -0
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/hooks/index.d.ts +6 -0
- package/dist/billing/modules/subscriptions/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts +91 -0
- package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/index.d.ts +7 -0
- package/dist/billing/modules/subscriptions/index.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts +3 -0
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts +3 -0
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts +3 -0
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/pages/index.d.ts +8 -0
- package/dist/billing/modules/subscriptions/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.d.ts +7 -0
- package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.d.ts.map +1 -0
- package/dist/billing/modules/usage/hooks/index.d.ts +6 -0
- package/dist/billing/modules/usage/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/usage/hooks/useUsage.d.ts +316 -0
- package/dist/billing/modules/usage/hooks/useUsage.d.ts.map +1 -0
- package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.d.ts +13 -0
- package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.d.ts.map +1 -0
- package/dist/billing/modules/usage/index.d.ts +6 -0
- package/dist/billing/modules/usage/index.d.ts.map +1 -0
- package/dist/billing/modules/usage/pages/UsagePage.d.ts +3 -0
- package/dist/billing/modules/usage/pages/UsagePage.d.ts.map +1 -0
- package/dist/billing/modules/usage/pages/index.d.ts +5 -0
- package/dist/billing/modules/usage/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/usage/utils/aiSpend.d.ts +71 -0
- package/dist/billing/modules/usage/utils/aiSpend.d.ts.map +1 -0
- package/dist/billing/providers/BillingProvider.d.ts +20 -0
- package/dist/billing/providers/BillingProvider.d.ts.map +1 -0
- package/dist/billing/shared/components/AccessDenied.d.ts +7 -0
- package/dist/billing/shared/components/AccessDenied.d.ts.map +1 -0
- package/dist/billing/shared/components/ActorIdentity.d.ts +9 -0
- package/dist/billing/shared/components/ActorIdentity.d.ts.map +1 -0
- package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts +10 -0
- package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts.map +1 -0
- package/dist/billing/shared/components/EmptyState.d.ts +10 -0
- package/dist/billing/shared/components/EmptyState.d.ts.map +1 -0
- package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts +10 -0
- package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts.map +1 -0
- package/dist/billing/shared/components/PageHeader.d.ts +10 -0
- package/dist/billing/shared/components/PageHeader.d.ts.map +1 -0
- package/dist/billing/shared/components/PushPermissionNudge.d.ts +7 -0
- package/dist/billing/shared/components/PushPermissionNudge.d.ts.map +1 -0
- package/dist/billing/shared/components/ServerError.d.ts +10 -0
- package/dist/billing/shared/components/ServerError.d.ts.map +1 -0
- package/dist/billing/shared/components/StatCard.d.ts +14 -0
- package/dist/billing/shared/components/StatCard.d.ts.map +1 -0
- package/dist/billing/shared/components/index.d.ts +13 -0
- package/dist/billing/shared/components/index.d.ts.map +1 -0
- package/dist/billing/shared/hooks/index.d.ts +4 -0
- package/dist/billing/shared/hooks/index.d.ts.map +1 -0
- package/dist/billing/shared/hooks/useActorProfiles.d.ts +17 -0
- package/dist/billing/shared/hooks/useActorProfiles.d.ts.map +1 -0
- package/dist/billing/shared/hooks/useTr.d.ts +17 -0
- package/dist/billing/shared/hooks/useTr.d.ts.map +1 -0
- package/dist/billing/shared/index.d.ts +9 -0
- package/dist/billing/shared/index.d.ts.map +1 -0
- package/dist/billing/shared/types/graphql.d.ts +946 -0
- package/dist/billing/shared/types/graphql.d.ts.map +1 -0
- package/dist/billing/shared/types/index.d.ts +101 -0
- package/dist/billing/shared/types/index.d.ts.map +1 -0
- package/dist/billing/shared/ui/Card.d.ts +17 -0
- package/dist/billing/shared/ui/Card.d.ts.map +1 -0
- package/dist/billing/shared/ui/MetricCard.d.ts +20 -0
- package/dist/billing/shared/ui/MetricCard.d.ts.map +1 -0
- package/dist/billing/shared/ui/ProgressBar.d.ts +15 -0
- package/dist/billing/shared/ui/ProgressBar.d.ts.map +1 -0
- package/dist/billing/shared/ui/SectionHeader.d.ts +15 -0
- package/dist/billing/shared/ui/SectionHeader.d.ts.map +1 -0
- package/dist/billing/shared/ui/StatusPill.d.ts +14 -0
- package/dist/billing/shared/ui/StatusPill.d.ts.map +1 -0
- package/dist/billing/shared/ui/index.d.ts +13 -0
- package/dist/billing/shared/ui/index.d.ts.map +1 -0
- package/dist/billing/shared/utils/directActivityGraphql.d.ts +12 -0
- package/dist/billing/shared/utils/directActivityGraphql.d.ts.map +1 -0
- package/dist/billing/shared/utils/directBillingGraphql.d.ts +12 -0
- package/dist/billing/shared/utils/directBillingGraphql.d.ts.map +1 -0
- package/dist/billing/shared/utils/error.d.ts +30 -0
- package/dist/billing/shared/utils/error.d.ts.map +1 -0
- package/dist/billing/shared/utils/format.d.ts +33 -0
- package/dist/billing/shared/utils/format.d.ts.map +1 -0
- package/dist/billing/shared/utils/gatewayGraphql.d.ts +14 -0
- package/dist/billing/shared/utils/gatewayGraphql.d.ts.map +1 -0
- package/dist/billing/shared/utils/index.d.ts +14 -0
- package/dist/billing/shared/utils/index.d.ts.map +1 -0
- package/dist/billing/shared/utils/navigation.d.ts +2 -0
- package/dist/billing/shared/utils/navigation.d.ts.map +1 -0
- package/dist/billing/shared/utils/paymentTheme.d.ts +18 -0
- package/dist/billing/shared/utils/paymentTheme.d.ts.map +1 -0
- package/dist/billing/shared/utils/planFeatureQuantity.d.ts +40 -0
- package/dist/billing/shared/utils/planFeatureQuantity.d.ts.map +1 -0
- package/dist/billing/shared/utils/status.d.ts +27 -0
- package/dist/billing/shared/utils/status.d.ts.map +1 -0
- package/dist/billing/shared/utils/tokens.d.ts +156 -0
- package/dist/billing/shared/utils/tokens.d.ts.map +1 -0
- package/dist/billing/translations/en.d.ts +534 -0
- package/dist/billing/translations/en.d.ts.map +1 -0
- package/dist/billing/types/index.d.ts +275 -0
- package/dist/billing/types/index.d.ts.map +1 -0
- package/dist/dev/main.d.ts +1 -0
- package/dist/dev/main.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +10856 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +26958 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +261 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +49193 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CreateBillingAccountInput, SetBillingAddressInput } from '../../../shared/types';
|
|
3
|
+
interface CreateBillingAccountModalProps {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onSubmit: (input: CreateBillingAccountInput, address?: Omit<SetBillingAddressInput, 'billingAccountId'>) => Promise<void>;
|
|
7
|
+
isSubmitting?: boolean;
|
|
8
|
+
error?: string | null;
|
|
9
|
+
}
|
|
10
|
+
export declare const CreateBillingAccountModal: FC<CreateBillingAccountModalProps>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=CreateBillingAccountModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateBillingAccountModal.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/components/CreateBillingAccountModal.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAqD,MAAM,OAAO,CAAC;AAanF,OAAO,KAAK,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAG/F,UAAU,8BAA8B;IACtC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CACR,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,KACvD,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAoKD,eAAO,MAAM,yBAAyB,EAAE,EAAE,CAAC,8BAA8B,CA8sBxE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { PaymentMethod } from '../../../shared/types';
|
|
3
|
+
interface PaymentMethodsSectionProps {
|
|
4
|
+
paymentMethods: PaymentMethod[];
|
|
5
|
+
billingAccountId: string;
|
|
6
|
+
onAddPaymentMethod: () => void;
|
|
7
|
+
onSetDefault: (id: string) => Promise<void>;
|
|
8
|
+
onDelete: (id: string) => Promise<void>;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
/** Optional tour anchor applied to the section root (for onboarding tours). */
|
|
12
|
+
dataTour?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const PaymentMethodsSection: FC<PaymentMethodsSectionProps>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=PaymentMethodsSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentMethodsSection.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/components/PaymentMethodsSection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,aAAa,EAAqB,MAAM,uBAAuB,CAAC;AAI9E,UAAU,0BAA0B;IAClC,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAqPD,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CAyEhE,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { Addon } from '../../../shared/types';
|
|
3
|
+
interface RecommendedAddonsSectionProps {
|
|
4
|
+
addons: Addon[];
|
|
5
|
+
hasSubscription: boolean;
|
|
6
|
+
onViewAddon: (addonId: string) => void;
|
|
7
|
+
onPurchaseAddon: (addonId: string) => void;
|
|
8
|
+
onViewAllAddons: () => void;
|
|
9
|
+
/** Handler for adding addon to cart */
|
|
10
|
+
onAddToCart?: (addon: Addon) => void;
|
|
11
|
+
/** Check if addon is in cart */
|
|
12
|
+
isInCart?: (addonId: string) => boolean;
|
|
13
|
+
/** Get cart quantity for addon */
|
|
14
|
+
getCartQuantity?: (addonId: string) => number;
|
|
15
|
+
/** Update quantity in cart */
|
|
16
|
+
onUpdateQuantity?: (addonId: string, quantity: number) => void;
|
|
17
|
+
/** Remove from cart */
|
|
18
|
+
onRemoveFromCart?: (addonId: string) => void;
|
|
19
|
+
/** Maximum number of addons to show (default: 3) */
|
|
20
|
+
maxAddons?: number;
|
|
21
|
+
isLoading?: boolean;
|
|
22
|
+
className?: string;
|
|
23
|
+
/** Optional tour anchor applied to the section root (for onboarding tours). */
|
|
24
|
+
dataTour?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const RecommendedAddonsSection: FC<RecommendedAddonsSectionProps>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=RecommendedAddonsSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecommendedAddonsSection.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/components/RecommendedAddonsSection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAqB,MAAM,OAAO,CAAC;AAanD,OAAO,KAAK,EAAE,KAAK,EAAsC,MAAM,uBAAuB,CAAC;AAyCvF,UAAU,6BAA6B;IACrC,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,uCAAuC;IACvC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACrC,gCAAgC;IAChC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IACxC,kCAAkC;IAClC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;IAC9C,8BAA8B;IAC9B,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/D,uBAAuB;IACvB,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAqKD,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,6BAA6B,CA4GtE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard Module - Components Exports
|
|
3
|
+
*/
|
|
4
|
+
export { BillingAccountCard } from './BillingAccountCard';
|
|
5
|
+
export { PaymentMethodsSection } from './PaymentMethodsSection';
|
|
6
|
+
export { ActiveSubscriptionCard } from './ActiveSubscriptionCard';
|
|
7
|
+
export { RecommendedAddonsSection } from './RecommendedAddonsSection';
|
|
8
|
+
export { CreateBillingAccountModal } from './CreateBillingAccountModal';
|
|
9
|
+
export { AddPaymentMethodModal } from './AddPaymentMethodModal';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/components/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Addon, BillingAccount, BillingAddress, BillingSubscription, PaymentMethod } from '../../../shared/types';
|
|
2
|
+
interface BillingOverviewDataResult {
|
|
3
|
+
billingAccounts: BillingAccount[];
|
|
4
|
+
currentAccount: BillingAccount | null;
|
|
5
|
+
paymentMethods: PaymentMethod[];
|
|
6
|
+
billingAddresses: BillingAddress[];
|
|
7
|
+
activeSubscriptions: BillingSubscription[];
|
|
8
|
+
hasActiveSubscription: boolean;
|
|
9
|
+
recommendedAddons: Addon[];
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
error: Error | undefined;
|
|
12
|
+
refetchAll: () => Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
export declare function useBillingOverviewData(selectedAccountId?: string | null, productId?: string | null): BillingOverviewDataResult;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=useBillingOverviewData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBillingOverviewData.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/hooks/useBillingOverviewData.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,KAAK,EACL,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,aAAa,EACd,MAAM,uBAAuB,CAAC;AAE/B,UAAU,yBAAyB;IACjC,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,gBAAgB,EAAE,cAAc,EAAE,CAAC;IACnC,mBAAmB,EAAE,mBAAmB,EAAE,CAAC;IAC3C,qBAAqB,EAAE,OAAO,CAAC;IAC/B,iBAAiB,EAAE,KAAK,EAAE,CAAC;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACjC;AAID,wBAAgB,sBAAsB,CACpC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,EACjC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GACxB,yBAAyB,CAiG3B"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { BillingAccount, BillingSubscription, PaymentMethod, BillingAddress, CreditTransaction, Addon, Plan, CreateBillingAccountInput, UpdateBillingAccountInput, CreatePaymentMethodInput, SetBillingAddressInput, InitiatePaymentInput, InitiatePaymentResponse, SpendCreditsInput, VerifyPaymentMethodInput, VerifyPaymentMethodResponse } from '../../../shared/types';
|
|
2
|
+
interface UseBillingAccountsResult {
|
|
3
|
+
billingAccounts: BillingAccount[];
|
|
4
|
+
isLoading: boolean;
|
|
5
|
+
error: Error | undefined;
|
|
6
|
+
refetch: () => Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
interface UseDashboardAccountResult {
|
|
9
|
+
billingAccount: BillingAccount | null;
|
|
10
|
+
paymentMethods: PaymentMethod[];
|
|
11
|
+
billingAddresses: BillingAddress[];
|
|
12
|
+
activeSubscriptions: BillingSubscription[];
|
|
13
|
+
hasActiveSubscription: boolean;
|
|
14
|
+
isLoading: boolean;
|
|
15
|
+
error: Error | undefined;
|
|
16
|
+
refetch: () => Promise<void>;
|
|
17
|
+
}
|
|
18
|
+
interface UseActiveSubscriptionsResult {
|
|
19
|
+
activeSubscriptions: BillingSubscription[];
|
|
20
|
+
hasActiveSubscription: boolean;
|
|
21
|
+
isLoading: boolean;
|
|
22
|
+
error: Error | undefined;
|
|
23
|
+
refetch: () => Promise<void>;
|
|
24
|
+
}
|
|
25
|
+
interface UsePaymentMethodsResult {
|
|
26
|
+
paymentMethods: PaymentMethod[];
|
|
27
|
+
defaultPaymentMethod: PaymentMethod | null;
|
|
28
|
+
isLoading: boolean;
|
|
29
|
+
error: Error | undefined;
|
|
30
|
+
refetch: () => Promise<void>;
|
|
31
|
+
}
|
|
32
|
+
interface UseCreditTransactionsResult {
|
|
33
|
+
creditTransactions: CreditTransaction[];
|
|
34
|
+
totalCount: number;
|
|
35
|
+
hasMore: boolean;
|
|
36
|
+
isLoading: boolean;
|
|
37
|
+
error: Error | undefined;
|
|
38
|
+
refetch: () => Promise<void>;
|
|
39
|
+
}
|
|
40
|
+
interface UseRecommendedAddonsResult {
|
|
41
|
+
addons: Addon[];
|
|
42
|
+
recommendedAddons: Addon[];
|
|
43
|
+
isLoading: boolean;
|
|
44
|
+
error: Error | undefined;
|
|
45
|
+
}
|
|
46
|
+
interface UseAvailablePlansResult {
|
|
47
|
+
plans: Plan[];
|
|
48
|
+
activePlans: Plan[];
|
|
49
|
+
isLoading: boolean;
|
|
50
|
+
error: Error | undefined;
|
|
51
|
+
}
|
|
52
|
+
interface UseDashboardMutationsResult {
|
|
53
|
+
createBillingAccount: (input: CreateBillingAccountInput) => Promise<BillingAccount>;
|
|
54
|
+
updateBillingAccount: (input: UpdateBillingAccountInput) => Promise<BillingAccount>;
|
|
55
|
+
setDefaultBillingAccount: (id: string) => Promise<BillingAccount>;
|
|
56
|
+
isCreatingAccount: boolean;
|
|
57
|
+
isUpdatingAccount: boolean;
|
|
58
|
+
isSettingDefaultAccount: boolean;
|
|
59
|
+
addPaymentMethod: (input: CreatePaymentMethodInput) => Promise<PaymentMethod>;
|
|
60
|
+
setDefaultPaymentMethod: (id: string, billingAccountId: string) => Promise<PaymentMethod>;
|
|
61
|
+
deletePaymentMethod: (id: string, billingAccountId: string) => Promise<boolean>;
|
|
62
|
+
isAddingPaymentMethod: boolean;
|
|
63
|
+
isUpdatingPaymentMethod: boolean;
|
|
64
|
+
isDeletingPaymentMethod: boolean;
|
|
65
|
+
setBillingAddress: (input: SetBillingAddressInput) => Promise<BillingAddress>;
|
|
66
|
+
isSettingAddress: boolean;
|
|
67
|
+
initiatePayment: (input: InitiatePaymentInput) => Promise<InitiatePaymentResponse>;
|
|
68
|
+
spendCredits: (input: SpendCreditsInput) => Promise<{
|
|
69
|
+
creditTransactionID: string;
|
|
70
|
+
}>;
|
|
71
|
+
verifyPaymentMethod: (input: VerifyPaymentMethodInput) => Promise<VerifyPaymentMethodResponse>;
|
|
72
|
+
isInitiatingPayment: boolean;
|
|
73
|
+
isSpendingCredits: boolean;
|
|
74
|
+
isVerifyingPaymentMethod: boolean;
|
|
75
|
+
}
|
|
76
|
+
interface PaymentProviderConfig {
|
|
77
|
+
stripeEnabled: boolean;
|
|
78
|
+
stripePublishableKey: string | null;
|
|
79
|
+
razorpayEnabled: boolean;
|
|
80
|
+
razorpayKeyId: string | null;
|
|
81
|
+
}
|
|
82
|
+
interface UsePaymentProviderConfigResult {
|
|
83
|
+
config: PaymentProviderConfig | null;
|
|
84
|
+
stripeEnabled: boolean;
|
|
85
|
+
stripePublishableKey: string | null;
|
|
86
|
+
razorpayEnabled: boolean;
|
|
87
|
+
razorpayKeyId: string | null;
|
|
88
|
+
isLoading: boolean;
|
|
89
|
+
error: Error | undefined;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Hook for fetching payment provider configuration from backend
|
|
93
|
+
* @param skip - Skip the query (useful for modals that only need data when open)
|
|
94
|
+
*/
|
|
95
|
+
export declare function usePaymentProviderConfig(skip?: boolean): UsePaymentProviderConfigResult;
|
|
96
|
+
/**
|
|
97
|
+
* Hook for fetching all billing accounts for an org
|
|
98
|
+
*/
|
|
99
|
+
export declare function useBillingAccounts(): UseBillingAccountsResult;
|
|
100
|
+
/**
|
|
101
|
+
* Hook for fetching active subscriptions for a billing account (optimized - only active status)
|
|
102
|
+
*/
|
|
103
|
+
export declare function useActiveSubscriptions(billingAccountId: string | undefined): UseActiveSubscriptionsResult;
|
|
104
|
+
/**
|
|
105
|
+
* Hook for fetching default billing account with dashboard details
|
|
106
|
+
* Note: Subscriptions are NOT included - use useActiveSubscriptions separately
|
|
107
|
+
*/
|
|
108
|
+
export declare function useDefaultDashboardAccount(): Omit<UseDashboardAccountResult, 'activeSubscriptions' | 'hasActiveSubscription'>;
|
|
109
|
+
/**
|
|
110
|
+
* Hook for fetching billing account by ID with dashboard details
|
|
111
|
+
* Note: Subscriptions are NOT included - use useActiveSubscriptions separately
|
|
112
|
+
*/
|
|
113
|
+
export declare function useDashboardAccount(id: string | undefined): Omit<UseDashboardAccountResult, 'activeSubscriptions' | 'hasActiveSubscription'>;
|
|
114
|
+
/**
|
|
115
|
+
* Hook for fetching payment methods for a billing account
|
|
116
|
+
*/
|
|
117
|
+
export declare function usePaymentMethods(billingAccountId: string | undefined): UsePaymentMethodsResult;
|
|
118
|
+
/**
|
|
119
|
+
* Hook for fetching billing address
|
|
120
|
+
*/
|
|
121
|
+
export declare function useBillingAddress(billingAccountId: string | undefined): {
|
|
122
|
+
billingAddress: any;
|
|
123
|
+
isLoading: boolean;
|
|
124
|
+
error: Error | undefined;
|
|
125
|
+
refetch: () => Promise<void>;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Hook for fetching credit transactions summary
|
|
129
|
+
*/
|
|
130
|
+
export declare function useCreditTransactionsSummary(billingAccountId: string | undefined, days?: number, page?: number, pageSize?: number): UseCreditTransactionsResult;
|
|
131
|
+
/**
|
|
132
|
+
* Hook for fetching recommended addons (limited to 3 at backend level)
|
|
133
|
+
*/
|
|
134
|
+
export declare function useRecommendedAddons(): UseRecommendedAddonsResult;
|
|
135
|
+
/**
|
|
136
|
+
* Hook for fetching available plans
|
|
137
|
+
*/
|
|
138
|
+
export declare function useAvailablePlans(): UseAvailablePlansResult;
|
|
139
|
+
/**
|
|
140
|
+
* Hook for dashboard mutations
|
|
141
|
+
*/
|
|
142
|
+
export declare function useDashboardMutations(): UseDashboardMutationsResult;
|
|
143
|
+
export {};
|
|
144
|
+
//# sourceMappingURL=useDashboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDashboard.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/hooks/useDashboard.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA8BH,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,KAAK,EACL,IAAI,EACJ,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,uBAAuB,CAAC;AAM/B,UAAU,wBAAwB;IAChC,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,UAAU,yBAAyB;IACjC,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,gBAAgB,EAAE,cAAc,EAAE,CAAC;IACnC,mBAAmB,EAAE,mBAAmB,EAAE,CAAC;IAC3C,qBAAqB,EAAE,OAAO,CAAC;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAA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;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,uBAAuB,CAiB3D;AAED;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,2BAA2B,CAoPnE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/billing/modules/dashboard/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OverviewPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/pages/OverviewPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAoC,MAAM,OAAO,CAAC;AA0DlE,eAAO,MAAM,YAAY,EAAE,EAkvB1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/pages/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/billing/modules/discounts/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscountsListPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/discounts/pages/DiscountsListPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAqB,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AAuFnE,eAAO,MAAM,iBAAiB,EAAE,EA45B/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/discounts/pages/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
export interface EarningsSummary {
|
|
2
|
+
totalLifetimeAmount: number;
|
|
3
|
+
availableAmount: number;
|
|
4
|
+
reservedAmount: number;
|
|
5
|
+
paidAmount: number;
|
|
6
|
+
pendingAmount: number;
|
|
7
|
+
moneyAmount: number;
|
|
8
|
+
creditsAmount: number;
|
|
9
|
+
categoryBreakdown?: Array<{
|
|
10
|
+
category: 'AFFILIATE' | 'STORE' | 'OTHER';
|
|
11
|
+
amount: number;
|
|
12
|
+
count: number;
|
|
13
|
+
}>;
|
|
14
|
+
}
|
|
15
|
+
export interface EarningsEntry {
|
|
16
|
+
id: string;
|
|
17
|
+
sourceCategory: 'AFFILIATE' | 'STORE' | 'OTHER';
|
|
18
|
+
sourceSubcategory?: string | null;
|
|
19
|
+
description?: string | null;
|
|
20
|
+
unitType: 'MONEY' | 'CREDITS';
|
|
21
|
+
amount: number;
|
|
22
|
+
currency: string;
|
|
23
|
+
status: 'AVAILABLE' | 'RESERVED' | 'PAID' | 'REVERSED';
|
|
24
|
+
createdAt: string;
|
|
25
|
+
}
|
|
26
|
+
export interface PayoutAccount {
|
|
27
|
+
id: string;
|
|
28
|
+
label: string;
|
|
29
|
+
type: 'BANK_ACCOUNT' | 'UPI' | 'WALLET';
|
|
30
|
+
providerPreference: 'AUTO' | 'STRIPE' | 'RAZORPAY' | 'MANUAL';
|
|
31
|
+
status: 'PENDING_VERIFICATION' | 'ACTIVE' | 'FAILED_VERIFICATION' | 'ARCHIVED';
|
|
32
|
+
displayName?: string | null;
|
|
33
|
+
accountLast4?: string | null;
|
|
34
|
+
country?: string | null;
|
|
35
|
+
currency: string;
|
|
36
|
+
isDefault: boolean;
|
|
37
|
+
accountDetails?: Record<string, unknown> | null;
|
|
38
|
+
}
|
|
39
|
+
export interface PayoutRequest {
|
|
40
|
+
id: string;
|
|
41
|
+
billingAccountId?: string | null;
|
|
42
|
+
requesterUserId?: string | null;
|
|
43
|
+
requestedAmount: number;
|
|
44
|
+
approvedAmount?: number | null;
|
|
45
|
+
currency: string;
|
|
46
|
+
provider: 'AUTO' | 'STRIPE' | 'RAZORPAY' | 'MANUAL';
|
|
47
|
+
status: 'REQUESTED' | 'APPROVED' | 'REJECTED' | 'PROCESSING' | 'PAID' | 'FAILED' | 'CANCELED';
|
|
48
|
+
/** See PayoutRequestKind on the backend — what approving this request actually does. */
|
|
49
|
+
requestKind: 'CREDIT_CONVERSION' | 'CASH_PAYOUT';
|
|
50
|
+
externalReference?: string | null;
|
|
51
|
+
failureReason?: string | null;
|
|
52
|
+
internalNotes?: string | null;
|
|
53
|
+
userNotes?: string | null;
|
|
54
|
+
createdAt: string;
|
|
55
|
+
processedAt?: string | null;
|
|
56
|
+
paidAt?: string | null;
|
|
57
|
+
payoutAccount?: PayoutAccount | null;
|
|
58
|
+
}
|
|
59
|
+
export interface PayoutAdminSummary {
|
|
60
|
+
totalRequestedAmount: number;
|
|
61
|
+
totalProcessingAmount: number;
|
|
62
|
+
totalPaidAmount: number;
|
|
63
|
+
pendingCount: number;
|
|
64
|
+
failedCount: number;
|
|
65
|
+
statusBreakdown?: Array<{
|
|
66
|
+
status: string;
|
|
67
|
+
count: number;
|
|
68
|
+
totalAmount: number;
|
|
69
|
+
}>;
|
|
70
|
+
providerBreakdown?: Array<{
|
|
71
|
+
provider: string;
|
|
72
|
+
count: number;
|
|
73
|
+
totalAmount: number;
|
|
74
|
+
}>;
|
|
75
|
+
}
|
|
76
|
+
export interface AdminPayoutRequestsPage {
|
|
77
|
+
items: PayoutRequest[];
|
|
78
|
+
totalCount: number;
|
|
79
|
+
hasMore: boolean;
|
|
80
|
+
}
|
|
81
|
+
export interface PayoutRequestFilter {
|
|
82
|
+
billingAccountId?: string;
|
|
83
|
+
provider?: PayoutRequest['provider'];
|
|
84
|
+
status?: PayoutRequest['status'];
|
|
85
|
+
startDate?: string;
|
|
86
|
+
endDate?: string;
|
|
87
|
+
}
|
|
88
|
+
export interface CreditBalanceByType {
|
|
89
|
+
purchased: number;
|
|
90
|
+
earned: number;
|
|
91
|
+
granted: number;
|
|
92
|
+
withdrawable: number;
|
|
93
|
+
total: number;
|
|
94
|
+
}
|
|
95
|
+
export interface DeveloperOrgMonthlyRevenuePoint {
|
|
96
|
+
month: string;
|
|
97
|
+
grossRevenue: number;
|
|
98
|
+
platformFees: number;
|
|
99
|
+
netRevenue: number;
|
|
100
|
+
refunds: number;
|
|
101
|
+
salesCount: number;
|
|
102
|
+
}
|
|
103
|
+
export interface DeveloperPortalRevenueSummary {
|
|
104
|
+
currency: string;
|
|
105
|
+
totalGrossRevenue: number;
|
|
106
|
+
totalNetRevenue: number;
|
|
107
|
+
totalPlatformFees: number;
|
|
108
|
+
totalRefunds: number;
|
|
109
|
+
totalRefundsCount: number;
|
|
110
|
+
totalSales: number;
|
|
111
|
+
pendingBalance: number;
|
|
112
|
+
nextPayoutDate?: string | null;
|
|
113
|
+
nextPayoutAmount?: number | null;
|
|
114
|
+
}
|
|
115
|
+
export interface DeveloperPortalRevenueSale {
|
|
116
|
+
id: string;
|
|
117
|
+
grossAmount: number;
|
|
118
|
+
netAmount: number;
|
|
119
|
+
currency: string;
|
|
120
|
+
pricingModel: string;
|
|
121
|
+
status: string;
|
|
122
|
+
billingCreditSyncStatus?: string | null;
|
|
123
|
+
billingCreditSyncError?: string | null;
|
|
124
|
+
billingCreditSyncedAt?: string | null;
|
|
125
|
+
purchasedAt: string;
|
|
126
|
+
application?: {
|
|
127
|
+
id: string;
|
|
128
|
+
name: string;
|
|
129
|
+
slug: string;
|
|
130
|
+
} | null;
|
|
131
|
+
}
|
|
132
|
+
export interface DeveloperPortalRevenuePayout {
|
|
133
|
+
id: string;
|
|
134
|
+
periodLabel?: string | null;
|
|
135
|
+
netAmount: number;
|
|
136
|
+
currency: string;
|
|
137
|
+
status: string;
|
|
138
|
+
scheduledAt?: string | null;
|
|
139
|
+
completedAt?: string | null;
|
|
140
|
+
}
|
|
141
|
+
export interface DeveloperPortalRevenueDashboard {
|
|
142
|
+
summary: DeveloperPortalRevenueSummary | null;
|
|
143
|
+
sales: DeveloperPortalRevenueSale[];
|
|
144
|
+
payouts: DeveloperPortalRevenuePayout[];
|
|
145
|
+
}
|
|
146
|
+
export interface AdminDeveloperRevenueOrg {
|
|
147
|
+
id: string;
|
|
148
|
+
name: string;
|
|
149
|
+
slug: string;
|
|
150
|
+
billingAccountId?: string | null;
|
|
151
|
+
isVerified: boolean;
|
|
152
|
+
totalApps: number;
|
|
153
|
+
publishedApps: number;
|
|
154
|
+
totalInstalls: number;
|
|
155
|
+
activeInstalls: number;
|
|
156
|
+
averageRating?: number | null;
|
|
157
|
+
totalRevenue: number;
|
|
158
|
+
totalPlatformFees: number;
|
|
159
|
+
totalPayouts: number;
|
|
160
|
+
pendingBalance: number;
|
|
161
|
+
lifetimeRevenue: number;
|
|
162
|
+
platformFeeRate: number;
|
|
163
|
+
createdAt: string;
|
|
164
|
+
updatedAt: string;
|
|
165
|
+
}
|
|
166
|
+
export interface AdminDeveloperRevenueOrgDetail {
|
|
167
|
+
summary: DeveloperPortalRevenueSummary | null;
|
|
168
|
+
unpaidSales: {
|
|
169
|
+
totalCount: number;
|
|
170
|
+
items: DeveloperPortalRevenueSale[];
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
interface GatewayContext {
|
|
174
|
+
apiGatewayUrl?: string;
|
|
175
|
+
authToken?: string;
|
|
176
|
+
orgId?: string;
|
|
177
|
+
}
|
|
178
|
+
export declare function fetchDeveloperPortalRevenueDashboard(organizationId: string, context: GatewayContext): Promise<DeveloperPortalRevenueDashboard>;
|
|
179
|
+
export declare function fetchEarningsSummary(billingAccountId: string, context: GatewayContext): Promise<EarningsSummary>;
|
|
180
|
+
export declare function fetchEarningsEntries(billingAccountId: string, context: GatewayContext): Promise<EarningsEntry[]>;
|
|
181
|
+
export declare function fetchPayoutAccounts(billingAccountId: string, context: GatewayContext): Promise<PayoutAccount[]>;
|
|
182
|
+
export declare function fetchPayoutRequests(billingAccountId: string, context: GatewayContext): Promise<PayoutRequest[]>;
|
|
183
|
+
export declare function addPayoutAccount(input: Record<string, unknown>, context: GatewayContext): Promise<void>;
|
|
184
|
+
export declare function updatePayoutAccount(id: string, input: Record<string, unknown>, context: GatewayContext): Promise<void>;
|
|
185
|
+
export declare function setDefaultPayoutAccount(id: string, context: GatewayContext): Promise<void>;
|
|
186
|
+
export declare function archivePayoutAccount(id: string, context: GatewayContext): Promise<void>;
|
|
187
|
+
export declare function requestPayout(_input: Record<string, unknown>, _context: GatewayContext): Promise<void>;
|
|
188
|
+
export declare function fetchAdminPayoutSummary(context: GatewayContext): Promise<PayoutAdminSummary>;
|
|
189
|
+
export declare function fetchAdminPayoutRequests(context: GatewayContext, pagination?: {
|
|
190
|
+
limit?: number;
|
|
191
|
+
offset?: number;
|
|
192
|
+
filter?: PayoutRequestFilter;
|
|
193
|
+
}): Promise<AdminPayoutRequestsPage>;
|
|
194
|
+
export declare function fetchAdminDeveloperRevenueOrgs(context: GatewayContext): Promise<AdminDeveloperRevenueOrg[]>;
|
|
195
|
+
export declare function fetchAdminDeveloperRevenueOrg(organizationId: string, context: GatewayContext): Promise<AdminDeveloperRevenueOrg | null>;
|
|
196
|
+
export declare function fetchAdminDeveloperRevenueOrgDetail(organizationId: string, context: GatewayContext, range?: {
|
|
197
|
+
startDate?: string;
|
|
198
|
+
endDate?: string;
|
|
199
|
+
}): Promise<{
|
|
200
|
+
summary: DeveloperPortalRevenueSummary | null;
|
|
201
|
+
unpaidSales: {
|
|
202
|
+
totalCount: number;
|
|
203
|
+
items: DeveloperPortalRevenueSale[];
|
|
204
|
+
};
|
|
205
|
+
}>;
|
|
206
|
+
/**
|
|
207
|
+
* Estimated fiat cost of a raw credit amount at the current global credit
|
|
208
|
+
* rate (1 credit = $0.01 by default). Credit-balance figures from
|
|
209
|
+
* getCreditBalanceByType are raw credit units, NOT currency — never format
|
|
210
|
+
* them with formatCurrency directly.
|
|
211
|
+
*/
|
|
212
|
+
export declare function fetchCreditCost(creditAmount: number, currency: string, context: GatewayContext): Promise<number>;
|
|
213
|
+
export declare function fetchAdminDeveloperRevenueOrgMonthly(organizationId: string, context: GatewayContext, months?: number): Promise<DeveloperOrgMonthlyRevenuePoint[]>;
|
|
214
|
+
/**
|
|
215
|
+
* Current credit balance for a devorg's linked billing account. Callable for
|
|
216
|
+
* any billingAccountId as a billing admin — getCreditBalanceByType's
|
|
217
|
+
* `scopeType: "billing"` RBAC bypasses org ownership for super_admin actors.
|
|
218
|
+
*/
|
|
219
|
+
export declare function fetchBillingAccountCreditBalance(billingAccountId: string, context: GatewayContext): Promise<CreditBalanceByType>;
|
|
220
|
+
export declare function retrySaleCreditSync(saleId: string, context: GatewayContext): Promise<Pick<DeveloperPortalRevenueSale, "id" | "billingCreditSyncStatus" | "billingCreditSyncError" | "billingCreditSyncedAt">>;
|
|
221
|
+
export declare function approvePayoutRequest(id: string, notes: string | null, context: GatewayContext): Promise<void>;
|
|
222
|
+
export declare function rejectPayoutRequest(id: string, reason: string, context: GatewayContext): Promise<void>;
|
|
223
|
+
export declare function processPayoutRequest(id: string, context: GatewayContext): Promise<void>;
|
|
224
|
+
export declare function markPayoutPaid(id: string, externalReference: string | null, notes: string | null, context: GatewayContext): Promise<void>;
|
|
225
|
+
export {};
|
|
226
|
+
//# sourceMappingURL=api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/billing/modules/earnings/api.ts"],"names":[],"mappings":"AA2BA,MAAM,WAAW,eAAe;IAC9B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IAC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B,EAAE,MAAM,EACxB,OAAO,EAAE,cAAc,gCAYxB;AAED,wBAAsB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,oIAgBhF;AAED,wBAAsB,oBAAoB,CACxC,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,OAAO,EAAE,cAAc,iBAYxB;AAED,wBAAsB,mBAAmB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,iBAW5F;AAED,wBAAsB,oBAAoB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,iBAW7E;AAED,wBAAsB,cAAc,CAClC,EAAE,EAAE,MAAM,EACV,iBAAiB,EAAE,MAAM,GAAG,IAAI,EAChC,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,OAAO,EAAE,cAAc,iBAUxB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { EarningsPage } from './pages/EarningsPage';
|
|
2
|
+
export { DeveloperRevenueAdminPage } from './pages/DeveloperRevenueAdminPage';
|
|
3
|
+
export { DeveloperRevenueOrgDetailPage } from './pages/DeveloperRevenueOrgDetailPage';
|
|
4
|
+
export { PayoutsPage } from './pages/PayoutsPage';
|
|
5
|
+
export { PayoutAdminPage } from './pages/PayoutAdminPage';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/billing/modules/earnings/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeveloperRevenueAdminPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/earnings/pages/DeveloperRevenueAdminPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA8D3E,eAAO,MAAM,yBAAyB,EAAE,EAkLvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeveloperRevenueOrgDetailPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAyN3E,eAAO,MAAM,6BAA6B,EAAE,EAmX3C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EarningsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/earnings/pages/EarningsPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA0H3E,eAAO,MAAM,YAAY,EAAE,EAyV1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PayoutAdminPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/earnings/pages/PayoutAdminPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA2e3E,eAAO,MAAM,eAAe,EAAE,EA6W7B,CAAC"}
|