@burdenoff/microfe-billing 2026.1031.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.
Files changed (429) hide show
  1. package/dist/billing/BillingAdminRoutes.d.ts +6 -0
  2. package/dist/billing/BillingAdminRoutes.d.ts.map +1 -0
  3. package/dist/billing/BillingRoot.d.ts +36 -0
  4. package/dist/billing/BillingRoot.d.ts.map +1 -0
  5. package/dist/billing/BillingUserRoutes.d.ts +7 -0
  6. package/dist/billing/BillingUserRoutes.d.ts.map +1 -0
  7. package/dist/billing/hooks/useBillingAccountSelection.d.ts +36 -0
  8. package/dist/billing/hooks/useBillingAccountSelection.d.ts.map +1 -0
  9. package/dist/billing/hooks/useBillingEventEmitter.d.ts +7 -0
  10. package/dist/billing/hooks/useBillingEventEmitter.d.ts.map +1 -0
  11. package/dist/billing/hooks/useBillingNavigate.d.ts +30 -0
  12. package/dist/billing/hooks/useBillingNavigate.d.ts.map +1 -0
  13. package/dist/billing/hooks/useBillingPermissions.d.ts +106 -0
  14. package/dist/billing/hooks/useBillingPermissions.d.ts.map +1 -0
  15. package/dist/billing/hooks/useDefaultBillingCurrency.d.ts +14 -0
  16. package/dist/billing/hooks/useDefaultBillingCurrency.d.ts.map +1 -0
  17. package/dist/billing/hooks/useProducts.d.ts +18 -0
  18. package/dist/billing/hooks/useProducts.d.ts.map +1 -0
  19. package/dist/billing/index.d.ts +31 -0
  20. package/dist/billing/index.d.ts.map +1 -0
  21. package/dist/billing/lib/native-purchases.d.ts +10 -0
  22. package/dist/billing/lib/native-purchases.d.ts.map +1 -0
  23. package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts +3 -0
  24. package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts.map +1 -0
  25. package/dist/billing/modules/addons/hooks/index.d.ts +8 -0
  26. package/dist/billing/modules/addons/hooks/index.d.ts.map +1 -0
  27. package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.d.ts +23 -0
  28. package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.d.ts.map +1 -0
  29. package/dist/billing/modules/addons/hooks/useAddons.d.ts +54 -0
  30. package/dist/billing/modules/addons/hooks/useAddons.d.ts.map +1 -0
  31. package/dist/billing/modules/addons/index.d.ts +7 -0
  32. package/dist/billing/modules/addons/index.d.ts.map +1 -0
  33. package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts +3 -0
  34. package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts.map +1 -0
  35. package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts +3 -0
  36. package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts.map +1 -0
  37. package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts +3 -0
  38. package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts.map +1 -0
  39. package/dist/billing/modules/addons/pages/AddonEditPage.d.ts +3 -0
  40. package/dist/billing/modules/addons/pages/AddonEditPage.d.ts.map +1 -0
  41. package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts +3 -0
  42. package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts.map +1 -0
  43. package/dist/billing/modules/addons/pages/AddonsListPage.d.ts +3 -0
  44. package/dist/billing/modules/addons/pages/AddonsListPage.d.ts.map +1 -0
  45. package/dist/billing/modules/addons/pages/index.d.ts +11 -0
  46. package/dist/billing/modules/addons/pages/index.d.ts.map +1 -0
  47. package/dist/billing/modules/addons/store/addonCartStore.d.ts +37 -0
  48. package/dist/billing/modules/addons/store/addonCartStore.d.ts.map +1 -0
  49. package/dist/billing/modules/affiliate/api.d.ts +101 -0
  50. package/dist/billing/modules/affiliate/api.d.ts.map +1 -0
  51. package/dist/billing/modules/affiliate/index.d.ts +2 -0
  52. package/dist/billing/modules/affiliate/index.d.ts.map +1 -0
  53. package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts +3 -0
  54. package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts.map +1 -0
  55. package/dist/billing/modules/analytics/index.d.ts +5 -0
  56. package/dist/billing/modules/analytics/index.d.ts.map +1 -0
  57. package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts +3 -0
  58. package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts.map +1 -0
  59. package/dist/billing/modules/analytics/pages/index.d.ts +5 -0
  60. package/dist/billing/modules/analytics/pages/index.d.ts.map +1 -0
  61. package/dist/billing/modules/billing/hooks/index.d.ts +12 -0
  62. package/dist/billing/modules/billing/hooks/index.d.ts.map +1 -0
  63. package/dist/billing/modules/billing/hooks/useInvoices.d.ts +76 -0
  64. package/dist/billing/modules/billing/hooks/useInvoices.d.ts.map +1 -0
  65. package/dist/billing/modules/billing/hooks/useOrderCallbacks.d.ts +57 -0
  66. package/dist/billing/modules/billing/hooks/useOrderCallbacks.d.ts.map +1 -0
  67. package/dist/billing/modules/billing/hooks/usePayments.d.ts +61 -0
  68. package/dist/billing/modules/billing/hooks/usePayments.d.ts.map +1 -0
  69. package/dist/billing/modules/billing/hooks/useRefunds.d.ts +216 -0
  70. package/dist/billing/modules/billing/hooks/useRefunds.d.ts.map +1 -0
  71. package/dist/billing/modules/billing/hooks/useTransactions.d.ts +40 -0
  72. package/dist/billing/modules/billing/hooks/useTransactions.d.ts.map +1 -0
  73. package/dist/billing/modules/billing/index.d.ts +7 -0
  74. package/dist/billing/modules/billing/index.d.ts.map +1 -0
  75. package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.d.ts +3 -0
  76. package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.d.ts.map +1 -0
  77. package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts +3 -0
  78. package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts.map +1 -0
  79. package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts +3 -0
  80. package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts.map +1 -0
  81. package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.d.ts +3 -0
  82. package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.d.ts.map +1 -0
  83. package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts +3 -0
  84. package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts.map +1 -0
  85. package/dist/billing/modules/billing/pages/RefundIssueLogsPage.d.ts +3 -0
  86. package/dist/billing/modules/billing/pages/RefundIssueLogsPage.d.ts.map +1 -0
  87. package/dist/billing/modules/billing/pages/RefundsPage.d.ts +3 -0
  88. package/dist/billing/modules/billing/pages/RefundsPage.d.ts.map +1 -0
  89. package/dist/billing/modules/billing/pages/TransactionsPage.d.ts +3 -0
  90. package/dist/billing/modules/billing/pages/TransactionsPage.d.ts.map +1 -0
  91. package/dist/billing/modules/billing/pages/UserRefundsPage.d.ts +3 -0
  92. package/dist/billing/modules/billing/pages/UserRefundsPage.d.ts.map +1 -0
  93. package/dist/billing/modules/billing/pages/index.d.ts +14 -0
  94. package/dist/billing/modules/billing/pages/index.d.ts.map +1 -0
  95. package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts +13 -0
  96. package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts.map +1 -0
  97. package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts +13 -0
  98. package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts.map +1 -0
  99. package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts +13 -0
  100. package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts.map +1 -0
  101. package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.d.ts +23 -0
  102. package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.d.ts.map +1 -0
  103. package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts +13 -0
  104. package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts.map +1 -0
  105. package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts +15 -0
  106. package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts.map +1 -0
  107. package/dist/billing/modules/checkout/components/CurrencySelector.d.ts +18 -0
  108. package/dist/billing/modules/checkout/components/CurrencySelector.d.ts.map +1 -0
  109. package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts +13 -0
  110. package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts.map +1 -0
  111. package/dist/billing/modules/checkout/components/OrderSummary.d.ts +36 -0
  112. package/dist/billing/modules/checkout/components/OrderSummary.d.ts.map +1 -0
  113. package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts +18 -0
  114. package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts.map +1 -0
  115. package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts +18 -0
  116. package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts.map +1 -0
  117. package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts +34 -0
  118. package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts.map +1 -0
  119. package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts +12 -0
  120. package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts.map +1 -0
  121. package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts +12 -0
  122. package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts.map +1 -0
  123. package/dist/billing/modules/checkout/components/StoreShippingSection.d.ts +17 -0
  124. package/dist/billing/modules/checkout/components/StoreShippingSection.d.ts.map +1 -0
  125. package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts +15 -0
  126. package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts.map +1 -0
  127. package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts +25 -0
  128. package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts.map +1 -0
  129. package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts +28 -0
  130. package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts.map +1 -0
  131. package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.d.ts +11 -0
  132. package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.d.ts.map +1 -0
  133. package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.d.ts +30 -0
  134. package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.d.ts.map +1 -0
  135. package/dist/billing/modules/checkout/components/index.d.ts +24 -0
  136. package/dist/billing/modules/checkout/components/index.d.ts.map +1 -0
  137. package/dist/billing/modules/checkout/hooks/index.d.ts +9 -0
  138. package/dist/billing/modules/checkout/hooks/index.d.ts.map +1 -0
  139. package/dist/billing/modules/checkout/hooks/useCheckout.d.ts +78 -0
  140. package/dist/billing/modules/checkout/hooks/useCheckout.d.ts.map +1 -0
  141. package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts +25 -0
  142. package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts.map +1 -0
  143. package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts +19 -0
  144. package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts.map +1 -0
  145. package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts +59 -0
  146. package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts.map +1 -0
  147. package/dist/billing/modules/checkout/hooks/useStoreShipping.d.ts +122 -0
  148. package/dist/billing/modules/checkout/hooks/useStoreShipping.d.ts.map +1 -0
  149. package/dist/billing/modules/checkout/index.d.ts +24 -0
  150. package/dist/billing/modules/checkout/index.d.ts.map +1 -0
  151. package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts +3 -0
  152. package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts.map +1 -0
  153. package/dist/billing/modules/checkout/pages/index.d.ts +5 -0
  154. package/dist/billing/modules/checkout/pages/index.d.ts.map +1 -0
  155. package/dist/billing/modules/checkout/types/index.d.ts +279 -0
  156. package/dist/billing/modules/checkout/types/index.d.ts.map +1 -0
  157. package/dist/billing/modules/checkout/utils/storeOrder.d.ts +19 -0
  158. package/dist/billing/modules/checkout/utils/storeOrder.d.ts.map +1 -0
  159. package/dist/billing/modules/coupons/index.d.ts +5 -0
  160. package/dist/billing/modules/coupons/index.d.ts.map +1 -0
  161. package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts +3 -0
  162. package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts.map +1 -0
  163. package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts +3 -0
  164. package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts.map +1 -0
  165. package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts +3 -0
  166. package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts.map +1 -0
  167. package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts +3 -0
  168. package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts.map +1 -0
  169. package/dist/billing/modules/coupons/pages/index.d.ts +8 -0
  170. package/dist/billing/modules/coupons/pages/index.d.ts.map +1 -0
  171. package/dist/billing/modules/credits/hooks/index.d.ts +5 -0
  172. package/dist/billing/modules/credits/hooks/index.d.ts.map +1 -0
  173. package/dist/billing/modules/credits/hooks/useCredits.d.ts +74 -0
  174. package/dist/billing/modules/credits/hooks/useCredits.d.ts.map +1 -0
  175. package/dist/billing/modules/credits/index.d.ts +6 -0
  176. package/dist/billing/modules/credits/index.d.ts.map +1 -0
  177. package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts +3 -0
  178. package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts.map +1 -0
  179. package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts +3 -0
  180. package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts.map +1 -0
  181. package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts +3 -0
  182. package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts.map +1 -0
  183. package/dist/billing/modules/credits/pages/CreditsPage.d.ts +3 -0
  184. package/dist/billing/modules/credits/pages/CreditsPage.d.ts.map +1 -0
  185. package/dist/billing/modules/credits/pages/index.d.ts +8 -0
  186. package/dist/billing/modules/credits/pages/index.d.ts.map +1 -0
  187. package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts +15 -0
  188. package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts.map +1 -0
  189. package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts +71 -0
  190. package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts.map +1 -0
  191. package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts +17 -0
  192. package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts.map +1 -0
  193. package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts +12 -0
  194. package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts.map +1 -0
  195. package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts +16 -0
  196. package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts.map +1 -0
  197. package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts +28 -0
  198. package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts.map +1 -0
  199. package/dist/billing/modules/dashboard/components/index.d.ts +10 -0
  200. package/dist/billing/modules/dashboard/components/index.d.ts.map +1 -0
  201. package/dist/billing/modules/dashboard/hooks/index.d.ts +6 -0
  202. package/dist/billing/modules/dashboard/hooks/index.d.ts.map +1 -0
  203. package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts +16 -0
  204. package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts.map +1 -0
  205. package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts +144 -0
  206. package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts.map +1 -0
  207. package/dist/billing/modules/dashboard/index.d.ts +8 -0
  208. package/dist/billing/modules/dashboard/index.d.ts.map +1 -0
  209. package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts +3 -0
  210. package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts.map +1 -0
  211. package/dist/billing/modules/dashboard/pages/index.d.ts +5 -0
  212. package/dist/billing/modules/dashboard/pages/index.d.ts.map +1 -0
  213. package/dist/billing/modules/discounts/index.d.ts +6 -0
  214. package/dist/billing/modules/discounts/index.d.ts.map +1 -0
  215. package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts +3 -0
  216. package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts.map +1 -0
  217. package/dist/billing/modules/discounts/pages/index.d.ts +6 -0
  218. package/dist/billing/modules/discounts/pages/index.d.ts.map +1 -0
  219. package/dist/billing/modules/earnings/api.d.ts +226 -0
  220. package/dist/billing/modules/earnings/api.d.ts.map +1 -0
  221. package/dist/billing/modules/earnings/index.d.ts +6 -0
  222. package/dist/billing/modules/earnings/index.d.ts.map +1 -0
  223. package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.d.ts +3 -0
  224. package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.d.ts.map +1 -0
  225. package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.d.ts +3 -0
  226. package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.d.ts.map +1 -0
  227. package/dist/billing/modules/earnings/pages/EarningsPage.d.ts +3 -0
  228. package/dist/billing/modules/earnings/pages/EarningsPage.d.ts.map +1 -0
  229. package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts +3 -0
  230. package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts.map +1 -0
  231. package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts +3 -0
  232. package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts.map +1 -0
  233. package/dist/billing/modules/plans/constants/enterprise.d.ts +20 -0
  234. package/dist/billing/modules/plans/constants/enterprise.d.ts.map +1 -0
  235. package/dist/billing/modules/plans/constants/featuredQuotas.d.ts +10 -0
  236. package/dist/billing/modules/plans/constants/featuredQuotas.d.ts.map +1 -0
  237. package/dist/billing/modules/plans/hooks/index.d.ts +7 -0
  238. package/dist/billing/modules/plans/hooks/index.d.ts.map +1 -0
  239. package/dist/billing/modules/plans/hooks/usePlans.d.ts +45 -0
  240. package/dist/billing/modules/plans/hooks/usePlans.d.ts.map +1 -0
  241. package/dist/billing/modules/plans/hooks/useQuotas.d.ts +26 -0
  242. package/dist/billing/modules/plans/hooks/useQuotas.d.ts.map +1 -0
  243. package/dist/billing/modules/plans/index.d.ts +7 -0
  244. package/dist/billing/modules/plans/index.d.ts.map +1 -0
  245. package/dist/billing/modules/plans/pages/PlanAssignFreePage.d.ts +3 -0
  246. package/dist/billing/modules/plans/pages/PlanAssignFreePage.d.ts.map +1 -0
  247. package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts +3 -0
  248. package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts.map +1 -0
  249. package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts +3 -0
  250. package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts.map +1 -0
  251. package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts +3 -0
  252. package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts.map +1 -0
  253. package/dist/billing/modules/plans/pages/PlanEditPage.d.ts +3 -0
  254. package/dist/billing/modules/plans/pages/PlanEditPage.d.ts.map +1 -0
  255. package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts +3 -0
  256. package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts.map +1 -0
  257. package/dist/billing/modules/plans/pages/PlansListPage.d.ts +3 -0
  258. package/dist/billing/modules/plans/pages/PlansListPage.d.ts.map +1 -0
  259. package/dist/billing/modules/plans/pages/index.d.ts +12 -0
  260. package/dist/billing/modules/plans/pages/index.d.ts.map +1 -0
  261. package/dist/billing/modules/plans/utils/currencyPriceOverrides.d.ts +3 -0
  262. package/dist/billing/modules/plans/utils/currencyPriceOverrides.d.ts.map +1 -0
  263. package/dist/billing/modules/plans/utils/planSelector.d.ts +3 -0
  264. package/dist/billing/modules/plans/utils/planSelector.d.ts.map +1 -0
  265. package/dist/billing/modules/promotions/index.d.ts +2 -0
  266. package/dist/billing/modules/promotions/index.d.ts.map +1 -0
  267. package/dist/billing/modules/promotions/pages/CreatePromotionPage.d.ts +3 -0
  268. package/dist/billing/modules/promotions/pages/CreatePromotionPage.d.ts.map +1 -0
  269. package/dist/billing/modules/promotions/pages/PromotionsListPage.d.ts +3 -0
  270. package/dist/billing/modules/promotions/pages/PromotionsListPage.d.ts.map +1 -0
  271. package/dist/billing/modules/promotions/pages/index.d.ts +3 -0
  272. package/dist/billing/modules/promotions/pages/index.d.ts.map +1 -0
  273. package/dist/billing/modules/quota/hooks/index.d.ts +6 -0
  274. package/dist/billing/modules/quota/hooks/index.d.ts.map +1 -0
  275. package/dist/billing/modules/quota/hooks/useQuota.d.ts +132 -0
  276. package/dist/billing/modules/quota/hooks/useQuota.d.ts.map +1 -0
  277. package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts +38 -0
  278. package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts.map +1 -0
  279. package/dist/billing/modules/quota/index.d.ts +6 -0
  280. package/dist/billing/modules/quota/index.d.ts.map +1 -0
  281. package/dist/billing/modules/quota/pages/QuotaAssignFreePage.d.ts +3 -0
  282. package/dist/billing/modules/quota/pages/QuotaAssignFreePage.d.ts.map +1 -0
  283. package/dist/billing/modules/quota/pages/QuotaPage.d.ts +3 -0
  284. package/dist/billing/modules/quota/pages/QuotaPage.d.ts.map +1 -0
  285. package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts +3 -0
  286. package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts.map +1 -0
  287. package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts +3 -0
  288. package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts.map +1 -0
  289. package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts +3 -0
  290. package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts.map +1 -0
  291. package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts +3 -0
  292. package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts.map +1 -0
  293. package/dist/billing/modules/quota/pages/index.d.ts +10 -0
  294. package/dist/billing/modules/quota/pages/index.d.ts.map +1 -0
  295. package/dist/billing/modules/quota/utils/quotaSelector.d.ts +4 -0
  296. package/dist/billing/modules/quota/utils/quotaSelector.d.ts.map +1 -0
  297. package/dist/billing/modules/settings/index.d.ts +5 -0
  298. package/dist/billing/modules/settings/index.d.ts.map +1 -0
  299. package/dist/billing/modules/settings/pages/SettingsPage.d.ts +3 -0
  300. package/dist/billing/modules/settings/pages/SettingsPage.d.ts.map +1 -0
  301. package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts +3 -0
  302. package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts.map +1 -0
  303. package/dist/billing/modules/settings/pages/index.d.ts +6 -0
  304. package/dist/billing/modules/settings/pages/index.d.ts.map +1 -0
  305. package/dist/billing/modules/store/graphql/index.d.ts +6 -0
  306. package/dist/billing/modules/store/graphql/index.d.ts.map +1 -0
  307. package/dist/billing/modules/store/index.d.ts +6 -0
  308. package/dist/billing/modules/store/index.d.ts.map +1 -0
  309. package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts +10 -0
  310. package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts.map +1 -0
  311. package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts +11 -0
  312. package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts.map +1 -0
  313. package/dist/billing/modules/subscriptions/hooks/index.d.ts +6 -0
  314. package/dist/billing/modules/subscriptions/hooks/index.d.ts.map +1 -0
  315. package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts +91 -0
  316. package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts.map +1 -0
  317. package/dist/billing/modules/subscriptions/index.d.ts +7 -0
  318. package/dist/billing/modules/subscriptions/index.d.ts.map +1 -0
  319. package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts +3 -0
  320. package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts.map +1 -0
  321. package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts +3 -0
  322. package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts.map +1 -0
  323. package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts +3 -0
  324. package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts.map +1 -0
  325. package/dist/billing/modules/subscriptions/pages/index.d.ts +8 -0
  326. package/dist/billing/modules/subscriptions/pages/index.d.ts.map +1 -0
  327. package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.d.ts +7 -0
  328. package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.d.ts.map +1 -0
  329. package/dist/billing/modules/usage/hooks/index.d.ts +6 -0
  330. package/dist/billing/modules/usage/hooks/index.d.ts.map +1 -0
  331. package/dist/billing/modules/usage/hooks/useUsage.d.ts +316 -0
  332. package/dist/billing/modules/usage/hooks/useUsage.d.ts.map +1 -0
  333. package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.d.ts +13 -0
  334. package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.d.ts.map +1 -0
  335. package/dist/billing/modules/usage/index.d.ts +6 -0
  336. package/dist/billing/modules/usage/index.d.ts.map +1 -0
  337. package/dist/billing/modules/usage/pages/UsagePage.d.ts +3 -0
  338. package/dist/billing/modules/usage/pages/UsagePage.d.ts.map +1 -0
  339. package/dist/billing/modules/usage/pages/index.d.ts +5 -0
  340. package/dist/billing/modules/usage/pages/index.d.ts.map +1 -0
  341. package/dist/billing/modules/usage/utils/aiSpend.d.ts +71 -0
  342. package/dist/billing/modules/usage/utils/aiSpend.d.ts.map +1 -0
  343. package/dist/billing/providers/BillingProvider.d.ts +20 -0
  344. package/dist/billing/providers/BillingProvider.d.ts.map +1 -0
  345. package/dist/billing/shared/components/AccessDenied.d.ts +7 -0
  346. package/dist/billing/shared/components/AccessDenied.d.ts.map +1 -0
  347. package/dist/billing/shared/components/ActorIdentity.d.ts +9 -0
  348. package/dist/billing/shared/components/ActorIdentity.d.ts.map +1 -0
  349. package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts +10 -0
  350. package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts.map +1 -0
  351. package/dist/billing/shared/components/EmptyState.d.ts +10 -0
  352. package/dist/billing/shared/components/EmptyState.d.ts.map +1 -0
  353. package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts +10 -0
  354. package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts.map +1 -0
  355. package/dist/billing/shared/components/PageHeader.d.ts +10 -0
  356. package/dist/billing/shared/components/PageHeader.d.ts.map +1 -0
  357. package/dist/billing/shared/components/PushPermissionNudge.d.ts +7 -0
  358. package/dist/billing/shared/components/PushPermissionNudge.d.ts.map +1 -0
  359. package/dist/billing/shared/components/ServerError.d.ts +10 -0
  360. package/dist/billing/shared/components/ServerError.d.ts.map +1 -0
  361. package/dist/billing/shared/components/StatCard.d.ts +14 -0
  362. package/dist/billing/shared/components/StatCard.d.ts.map +1 -0
  363. package/dist/billing/shared/components/index.d.ts +13 -0
  364. package/dist/billing/shared/components/index.d.ts.map +1 -0
  365. package/dist/billing/shared/hooks/index.d.ts +4 -0
  366. package/dist/billing/shared/hooks/index.d.ts.map +1 -0
  367. package/dist/billing/shared/hooks/useActorProfiles.d.ts +17 -0
  368. package/dist/billing/shared/hooks/useActorProfiles.d.ts.map +1 -0
  369. package/dist/billing/shared/hooks/useTr.d.ts +17 -0
  370. package/dist/billing/shared/hooks/useTr.d.ts.map +1 -0
  371. package/dist/billing/shared/index.d.ts +9 -0
  372. package/dist/billing/shared/index.d.ts.map +1 -0
  373. package/dist/billing/shared/types/graphql.d.ts +946 -0
  374. package/dist/billing/shared/types/graphql.d.ts.map +1 -0
  375. package/dist/billing/shared/types/index.d.ts +101 -0
  376. package/dist/billing/shared/types/index.d.ts.map +1 -0
  377. package/dist/billing/shared/ui/Card.d.ts +17 -0
  378. package/dist/billing/shared/ui/Card.d.ts.map +1 -0
  379. package/dist/billing/shared/ui/MetricCard.d.ts +20 -0
  380. package/dist/billing/shared/ui/MetricCard.d.ts.map +1 -0
  381. package/dist/billing/shared/ui/ProgressBar.d.ts +15 -0
  382. package/dist/billing/shared/ui/ProgressBar.d.ts.map +1 -0
  383. package/dist/billing/shared/ui/SectionHeader.d.ts +15 -0
  384. package/dist/billing/shared/ui/SectionHeader.d.ts.map +1 -0
  385. package/dist/billing/shared/ui/StatusPill.d.ts +14 -0
  386. package/dist/billing/shared/ui/StatusPill.d.ts.map +1 -0
  387. package/dist/billing/shared/ui/index.d.ts +13 -0
  388. package/dist/billing/shared/ui/index.d.ts.map +1 -0
  389. package/dist/billing/shared/utils/directActivityGraphql.d.ts +12 -0
  390. package/dist/billing/shared/utils/directActivityGraphql.d.ts.map +1 -0
  391. package/dist/billing/shared/utils/directBillingGraphql.d.ts +12 -0
  392. package/dist/billing/shared/utils/directBillingGraphql.d.ts.map +1 -0
  393. package/dist/billing/shared/utils/error.d.ts +30 -0
  394. package/dist/billing/shared/utils/error.d.ts.map +1 -0
  395. package/dist/billing/shared/utils/format.d.ts +33 -0
  396. package/dist/billing/shared/utils/format.d.ts.map +1 -0
  397. package/dist/billing/shared/utils/gatewayGraphql.d.ts +14 -0
  398. package/dist/billing/shared/utils/gatewayGraphql.d.ts.map +1 -0
  399. package/dist/billing/shared/utils/index.d.ts +14 -0
  400. package/dist/billing/shared/utils/index.d.ts.map +1 -0
  401. package/dist/billing/shared/utils/navigation.d.ts +2 -0
  402. package/dist/billing/shared/utils/navigation.d.ts.map +1 -0
  403. package/dist/billing/shared/utils/paymentTheme.d.ts +18 -0
  404. package/dist/billing/shared/utils/paymentTheme.d.ts.map +1 -0
  405. package/dist/billing/shared/utils/planFeatureQuantity.d.ts +40 -0
  406. package/dist/billing/shared/utils/planFeatureQuantity.d.ts.map +1 -0
  407. package/dist/billing/shared/utils/status.d.ts +27 -0
  408. package/dist/billing/shared/utils/status.d.ts.map +1 -0
  409. package/dist/billing/shared/utils/tokens.d.ts +156 -0
  410. package/dist/billing/shared/utils/tokens.d.ts.map +1 -0
  411. package/dist/billing/translations/en.d.ts +534 -0
  412. package/dist/billing/translations/en.d.ts.map +1 -0
  413. package/dist/billing/types/index.d.ts +275 -0
  414. package/dist/billing/types/index.d.ts.map +1 -0
  415. package/dist/dev/main.d.ts +1 -0
  416. package/dist/dev/main.d.ts.map +1 -0
  417. package/dist/generated/global-operations.d.ts +10856 -0
  418. package/dist/generated/global-operations.d.ts.map +1 -0
  419. package/dist/generated/global-types.d.ts +26958 -0
  420. package/dist/generated/global-types.d.ts.map +1 -0
  421. package/dist/generated/wspace-operations.d.ts +261 -0
  422. package/dist/generated/wspace-operations.d.ts.map +1 -0
  423. package/dist/generated/wspace-types.d.ts +49193 -0
  424. package/dist/generated/wspace-types.d.ts.map +1 -0
  425. package/dist/index.d.ts +8 -0
  426. package/dist/index.d.ts.map +1 -0
  427. package/dist/utils/nativeBridge.d.ts +3 -0
  428. package/dist/utils/nativeBridge.d.ts.map +1 -0
  429. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PayoutsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/earnings/pages/PayoutsPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA2D3E,eAAO,MAAM,WAAW,EAAE,EAsezB,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Enterprise "Contact Us" copy for the plans browse page.
3
+ *
4
+ * Enterprise is contact-sales in every product and has no backend plan
5
+ * record, so its card is static. The highlights are product-specific and must
6
+ * match the product website's Enterprise card, so a FluidGrids shell never
7
+ * shows VibeControls wording (and vice versa). Products without curated copy
8
+ * fall back to product-neutral highlights.
9
+ */
10
+ export interface EnterpriseOffer {
11
+ /** Bullet points on the grid card, in display order. */
12
+ highlights: readonly string[];
13
+ /** One-line summary for the compact list row. */
14
+ summary: string;
15
+ /** Sales inbox the Contact Us button opens. */
16
+ contactEmail: string;
17
+ }
18
+ export declare function getEnterpriseOffer(productId: string | null | undefined): EnterpriseOffer;
19
+ export declare function enterpriseMailto(offer: EnterpriseOffer): string;
20
+ //# sourceMappingURL=enterprise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enterprise.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/constants/enterprise.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,WAAW,eAAe;IAC9B,wDAAwD;IACxD,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9B,iDAAiD;IACjD,OAAO,EAAE,MAAM,CAAC;IAChB,+CAA+C;IAC/C,YAAY,EAAE,MAAM,CAAC;CACtB;AAqID,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,eAAe,CAMxF;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,CAE/D"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The subset of quotas shown prominently on plan cards.
3
+ * Order here determines display order. All other quotas are shown only on
4
+ * the plan detail page.
5
+ */
6
+ export declare const FEATURED_QUOTA_NAMES: readonly ["vibecontrols.agents.count", "vibecontrols.sessions.active", "vibecontrols.vibes.count", "vibecontrols.sandbox.runtime_hours", "vibecontrols.tunnels.custom_domains", "vibecontrols.audit.retention_days", "vibecontrols.actions.count", "vibecontrols.vibedeck.boards", "vibecontrols.scheduler.executions", "vibecontrols.security.vaults", "vibecontrols.catalogs.count", "vibecontrols.docs.compilations", "vibecontrols.organizations.count"];
7
+ export declare const FEATURED_QUOTA_LABELS: Record<string, string>;
8
+ /** Format a featured quota value for display (e.g. hours → minutes, days suffix). */
9
+ export declare function formatFeaturedQuotaValue(name: string, value: number): string;
10
+ //# sourceMappingURL=featuredQuotas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"featuredQuotas.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/constants/featuredQuotas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,8bAcvB,CAAC;AAEX,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAcxD,CAAC;AAEF,qFAAqF;AACrF,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAS5E"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Plans Module - Hooks
3
+ * Re-exports all hooks for the Plans module
4
+ */
5
+ export { usePlans, usePlan, usePlanMutations } from './usePlans';
6
+ export { useQuotas, useQuotaMutations } from './useQuotas';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/hooks/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { Plan, CreatePlanInput, UpdatePlanInput } from '../../../shared/types';
2
+ interface UsePlansOptions {
3
+ onlyActive?: boolean;
4
+ /** Filter by product ID — pushed to backend query, not client-side. */
5
+ productId?: string;
6
+ /**
7
+ * When false, free plans (price = 0) are excluded at the backend.
8
+ * Use false on user-facing browse pages; omit or set true for admin pages.
9
+ */
10
+ includeFree?: boolean;
11
+ }
12
+ interface UsePlansResult {
13
+ plans: Plan[];
14
+ isLoading: boolean;
15
+ error: Error | undefined;
16
+ refetch: () => Promise<void>;
17
+ }
18
+ interface UsePlanResult {
19
+ plan: Plan | null;
20
+ isLoading: boolean;
21
+ error: Error | undefined;
22
+ refetch: () => Promise<void>;
23
+ }
24
+ interface UsePlanMutationsResult {
25
+ createPlan: (input: CreatePlanInput) => Promise<boolean>;
26
+ updatePlan: (input: UpdatePlanInput) => Promise<boolean>;
27
+ togglePlan: (planId: string, status: boolean) => Promise<boolean>;
28
+ isCreating: boolean;
29
+ isUpdating: boolean;
30
+ isToggling: boolean;
31
+ }
32
+ /**
33
+ * Hook for fetching all plans
34
+ */
35
+ export declare function usePlans(options?: UsePlansOptions): UsePlansResult;
36
+ /**
37
+ * Hook for fetching a single plan by ID
38
+ */
39
+ export declare function usePlan(id: string | undefined): UsePlanResult;
40
+ /**
41
+ * Hook for plan mutations (create, update, toggle)
42
+ */
43
+ export declare function usePlanMutations(): UsePlanMutationsResult;
44
+ export {};
45
+ //# sourceMappingURL=usePlans.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePlans.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/hooks/usePlans.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAYH,OAAO,KAAK,EAAE,IAAI,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAEpF,UAAU,eAAe;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,UAAU,cAAc;IACtB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,UAAU,aAAa;IACrB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,UAAU,sBAAsB;IAC9B,UAAU,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACzD,UAAU,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACzD,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAClE,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG,cAAc,CA6BtE;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,aAAa,CAiB7D;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,sBAAsB,CA0EzD"}
@@ -0,0 +1,26 @@
1
+ import { Quota, CreateQuotaInput, UpdateQuotaInput } from '../../../shared/types';
2
+ interface UseQuotasOptions {
3
+ onlyActive?: boolean;
4
+ }
5
+ interface UseQuotasResult {
6
+ quotas: Quota[];
7
+ isLoading: boolean;
8
+ error: Error | undefined;
9
+ refetch: () => Promise<void>;
10
+ }
11
+ interface UseQuotaMutationsResult {
12
+ createQuota: (input: CreateQuotaInput) => Promise<boolean>;
13
+ updateQuota: (input: UpdateQuotaInput) => Promise<boolean>;
14
+ isCreating: boolean;
15
+ isUpdating: boolean;
16
+ }
17
+ /**
18
+ * Hook for fetching all quotas
19
+ */
20
+ export declare function useQuotas(options?: UseQuotasOptions): UseQuotasResult;
21
+ /**
22
+ * Hook for quota mutations (create, update)
23
+ */
24
+ export declare function useQuotaMutations(): UseQuotaMutationsResult;
25
+ export {};
26
+ //# sourceMappingURL=useQuotas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useQuotas.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/hooks/useQuotas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAUH,OAAO,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEvF,UAAU,gBAAgB;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,UAAU,uBAAuB;IAC/B,WAAW,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3D,WAAW,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3D,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,OAAO,GAAE,gBAAqB,GAAG,eAAe,CAwBzE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,uBAAuB,CA8C3D"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Plans Module
3
+ * Provides plan management functionality including listing, viewing, and managing plans
4
+ */
5
+ export * from './pages';
6
+ export * from './hooks';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/billing/modules/plans/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const PlanAssignFreePage: FC;
3
+ //# sourceMappingURL=PlanAssignFreePage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlanAssignFreePage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/pages/PlanAssignFreePage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAqB,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AAoBnE,eAAO,MAAM,kBAAkB,EAAE,EAyUhC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const PlanBrowseDetailPage: FC;
3
+ //# sourceMappingURL=PlanBrowseDetailPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlanBrowseDetailPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/pages/PlanBrowseDetailPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAC;AAiEzC,eAAO,MAAM,oBAAoB,EAAE,EAwRlC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const PlanCreatePage: FC;
3
+ //# sourceMappingURL=PlanCreatePage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlanCreatePage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/pages/PlanCreatePage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAY,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AAkB1D,eAAO,MAAM,cAAc,EAAE,EA2b5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const PlanDetailPage: FC;
3
+ //# sourceMappingURL=PlanDetailPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlanDetailPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/pages/PlanDetailPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAC;AAmEzC,eAAO,MAAM,cAAc,EAAE,EAgX5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const PlanEditPage: FC;
3
+ //# sourceMappingURL=PlanEditPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlanEditPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/pages/PlanEditPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAuB,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AA0BrE,eAAO,MAAM,YAAY,EAAE,EAqgB1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const PlansBrowsePage: FC;
3
+ //# sourceMappingURL=PlansBrowsePage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlansBrowsePage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/pages/PlansBrowsePage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAsE1C,eAAO,MAAM,eAAe,EAAE,EAqL7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const PlansListPage: FC;
3
+ //# sourceMappingURL=PlansListPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlansListPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/pages/PlansListPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAqB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA2DnD,eAAO,MAAM,aAAa,EAAE,EAwT3B,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Plans Module - Pages
3
+ * Re-exports all page components
4
+ */
5
+ export { PlansListPage } from './PlansListPage';
6
+ export { PlanDetailPage } from './PlanDetailPage';
7
+ export { PlanEditPage } from './PlanEditPage';
8
+ export { PlanCreatePage } from './PlanCreatePage';
9
+ export { PlansBrowsePage } from './PlansBrowsePage';
10
+ export { PlanBrowseDetailPage } from './PlanBrowseDetailPage';
11
+ export { PlanAssignFreePage } from './PlanAssignFreePage';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/pages/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { CurrencyPriceOverrideInput } from '../../../shared/types';
2
+ export declare function getChangedCurrencyPriceOverrides(initial: CurrencyPriceOverrideInput[], current: CurrencyPriceOverrideInput[]): CurrencyPriceOverrideInput[];
3
+ //# sourceMappingURL=currencyPriceOverrides.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"currencyPriceOverrides.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/utils/currencyPriceOverrides.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAExE,wBAAgB,gCAAgC,CAC9C,OAAO,EAAE,0BAA0B,EAAE,EACrC,OAAO,EAAE,0BAA0B,EAAE,GACpC,0BAA0B,EAAE,CAM9B"}
@@ -0,0 +1,3 @@
1
+ import { Plan } from '../../../shared/types';
2
+ export declare function filterPlans(plans: readonly Plan[], search: string): Plan[];
3
+ //# sourceMappingURL=planSelector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"planSelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/plans/utils/planSelector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAIlD,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,EAAE,CAY1E"}
@@ -0,0 +1,2 @@
1
+ export * from './pages';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/billing/modules/promotions/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const CreatePromotionPage: FC;
3
+ //# sourceMappingURL=CreatePromotionPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatePromotionPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/promotions/pages/CreatePromotionPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAqB1C,eAAO,MAAM,mBAAmB,EAAE,EAkSjC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const PromotionsListPage: FC;
3
+ //# sourceMappingURL=PromotionsListPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PromotionsListPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/promotions/pages/PromotionsListPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAY1C,eAAO,MAAM,kBAAkB,EAAE,EAqKhC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { PromotionsListPage } from './PromotionsListPage';
2
+ export { CreatePromotionPage } from './CreatePromotionPage';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/promotions/pages/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Quota Module - Hooks
3
+ */
4
+ export { useQuotaTemplates, useQuotaTemplate, useQuotaTemplateMutations, } from './useQuotaTemplates';
5
+ export { useQuotaAssignments, useQuotaAssignmentsWithAnalytics, useQuotaAnalytics, useBillingAccountQuotasSummary, useQuotaCheck, useQuotaMutations, } from './useQuota';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/quota/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,mBAAmB,EACnB,gCAAgC,EAChC,iBAAiB,EACjB,8BAA8B,EAC9B,aAAa,EACb,iBAAiB,GAClB,MAAM,YAAY,CAAC"}
@@ -0,0 +1,132 @@
1
+ import { QuotaAssignment, QuotaAssignmentWithAnalytics, QuotaUsageAnalytics, QuotaStatus, AnalyticsPeriod, BillingAccountQuotasSummary } from '../../../shared/types';
2
+ interface UseQuotaAssignmentsOptions {
3
+ billingAccountId: string;
4
+ page?: number;
5
+ pageSize?: number;
6
+ searchQuery?: string;
7
+ status?: QuotaStatus[];
8
+ fromDate?: string;
9
+ toDate?: string;
10
+ sortBy?: string;
11
+ sortOrder?: 'ASC' | 'DESC';
12
+ }
13
+ interface UseQuotaAssignmentsResult {
14
+ quotaAssignments: QuotaAssignment[];
15
+ pagination: {
16
+ page: number;
17
+ pageSize: number;
18
+ totalCount: number;
19
+ totalPages: number;
20
+ };
21
+ isLoading: boolean;
22
+ error: Error | undefined;
23
+ refetch: () => Promise<void>;
24
+ }
25
+ interface UseQuotaAssignmentsWithAnalyticsResult {
26
+ quotaAssignments: QuotaAssignmentWithAnalytics[];
27
+ pagination: {
28
+ page: number;
29
+ pageSize: number;
30
+ totalCount: number;
31
+ totalPages: number;
32
+ };
33
+ isLoading: boolean;
34
+ error: Error | undefined;
35
+ refetch: () => Promise<void>;
36
+ }
37
+ /**
38
+ * Hook for fetching quota assignments
39
+ */
40
+ export declare function useQuotaAssignments(options: UseQuotaAssignmentsOptions): UseQuotaAssignmentsResult;
41
+ /**
42
+ * Hook for fetching quota assignments with analytics
43
+ */
44
+ export declare function useQuotaAssignmentsWithAnalytics(options: UseQuotaAssignmentsOptions): UseQuotaAssignmentsWithAnalyticsResult;
45
+ /**
46
+ * Hook for fetching quota analytics
47
+ */
48
+ export declare function useQuotaAnalytics(quotaAssignmentId: string | undefined, period?: AnalyticsPeriod): {
49
+ analytics: QuotaUsageAnalytics | null;
50
+ isLoading: boolean;
51
+ error: Error | undefined;
52
+ refetch: () => Promise<void>;
53
+ };
54
+ /**
55
+ * Hook for fetching billing account quotas summary
56
+ */
57
+ export declare function useBillingAccountQuotasSummary(billingAccountId: string | undefined, productId?: string): {
58
+ summary: BillingAccountQuotasSummary | null;
59
+ isLoading: boolean;
60
+ error: Error | undefined;
61
+ refetch: () => Promise<void>;
62
+ };
63
+ export interface QuotaCheckState {
64
+ /** Remaining allowance. Meaningless unless `assigned` is true. */
65
+ limitLeft: number;
66
+ /** True when the quota is explicitly unlimited. */
67
+ noLimit: boolean;
68
+ /**
69
+ * False when the billing account has NO QuotaAssignment for this quota, and
70
+ * while the query is loading or has errored. `limitLeft` / `noLimit` /
71
+ * `isExhausted` are only meaningful when this is true.
72
+ */
73
+ assigned: boolean;
74
+ /** True ONLY for a provisioned quota whose allowance is genuinely used up. */
75
+ isExhausted: boolean;
76
+ isLoading: boolean;
77
+ error: Error | undefined;
78
+ }
79
+ /**
80
+ * Hook for checking quota exhaustion.
81
+ *
82
+ * BOFF-6343: this used to collapse every non-success state — loading, network
83
+ * error, skipped, and "the account simply isn't metered for this quota" — into
84
+ * `{ limitLeft: 0, noLimit: false }`. That is indistinguishable from a real
85
+ * exhausted quota, so a consumer rendering off `limitLeft` would tell a user
86
+ * they were out of allowance when in fact nothing had been provisioned or the
87
+ * request had merely failed.
88
+ *
89
+ * The backend now answers that case explicitly: `checkQuotaExhausted` returns
90
+ * `assigned: false` (with `noLimit: true, limitLeft: 0`) instead of throwing.
91
+ * Callers must branch on `assigned` and must never infer exhaustion from
92
+ * `limitLeft` alone.
93
+ */
94
+ export declare function useQuotaCheck(billingAccountId: string, quotaName: string, productId?: string): QuotaCheckState;
95
+ /**
96
+ * Pure state derivation for `useQuotaCheck`, split out so the branching that
97
+ * separates "unprovisioned" from "exhausted" is directly testable.
98
+ */
99
+ export declare function deriveQuotaCheckState(result: {
100
+ assigned?: boolean;
101
+ limitLeft?: number;
102
+ noLimit?: boolean;
103
+ } | null | undefined, loading: boolean, error: Error | undefined): QuotaCheckState;
104
+ /**
105
+ * Hook for quota mutations
106
+ */
107
+ export declare function useQuotaMutations(): {
108
+ addUsage: (params: {
109
+ billingAccountId: string;
110
+ quotaName: string;
111
+ value: number;
112
+ description: string;
113
+ userId?: string;
114
+ productId?: string;
115
+ hash?: string;
116
+ tags?: Record<string, unknown>;
117
+ }) => Promise<boolean>;
118
+ freeUpUsage: (params: {
119
+ billingAccountId: string;
120
+ quotaName: string;
121
+ value: number;
122
+ description?: string;
123
+ userId?: string;
124
+ productId?: string;
125
+ hash?: string;
126
+ tags?: Record<string, unknown>;
127
+ }) => Promise<boolean>;
128
+ isAdding: boolean;
129
+ isFreeing: boolean;
130
+ };
131
+ export {};
132
+ //# sourceMappingURL=useQuota.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useQuota.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/quota/hooks/useQuota.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,38 @@
1
+ import { Quota, CreateQuotaInput, UpdateQuotaInput } from '../../../shared/types';
2
+ interface UseQuotaTemplatesOptions {
3
+ onlyActive?: boolean;
4
+ }
5
+ interface UseQuotaTemplatesResult {
6
+ quotas: Quota[];
7
+ isLoading: boolean;
8
+ error: Error | undefined;
9
+ refetch: () => Promise<void>;
10
+ }
11
+ interface UseQuotaTemplateResult {
12
+ quota: Quota | null;
13
+ isLoading: boolean;
14
+ error: Error | undefined;
15
+ refetch: () => Promise<void>;
16
+ }
17
+ interface UseQuotaTemplateMutationsResult {
18
+ createQuota: (input: CreateQuotaInput) => Promise<boolean>;
19
+ updateQuota: (input: UpdateQuotaInput) => Promise<boolean>;
20
+ toggleQuota: (id: string, isActive: boolean) => Promise<boolean>;
21
+ isCreating: boolean;
22
+ isUpdating: boolean;
23
+ isToggling: boolean;
24
+ }
25
+ /**
26
+ * Hook for fetching all quota templates
27
+ */
28
+ export declare function useQuotaTemplates(options?: UseQuotaTemplatesOptions): UseQuotaTemplatesResult;
29
+ /**
30
+ * Hook for fetching a single quota template by ID
31
+ */
32
+ export declare function useQuotaTemplate(quotaId: string | undefined): UseQuotaTemplateResult;
33
+ /**
34
+ * Hook for quota template mutations (create, update, toggle)
35
+ */
36
+ export declare function useQuotaTemplateMutations(): UseQuotaTemplateMutationsResult;
37
+ export {};
38
+ //# sourceMappingURL=useQuotaTemplates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useQuotaTemplates.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/quota/hooks/useQuotaTemplates.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAUH,OAAO,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEvF,UAAU,wBAAwB;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,uBAAuB;IAC/B,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,UAAU,sBAAsB;IAC9B,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,UAAU,+BAA+B;IACvC,WAAW,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3D,WAAW,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3D,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACjE,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,wBAA6B,GAAG,uBAAuB,CAwBjG;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,sBAAsB,CAkBpF;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,+BAA+B,CAoE3E"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Quota Module
3
+ */
4
+ export * from './pages';
5
+ export * from './hooks';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/billing/modules/quota/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const QuotaAssignFreePage: FC;
3
+ //# sourceMappingURL=QuotaAssignFreePage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuotaAssignFreePage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/quota/pages/QuotaAssignFreePage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAqB,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AAoBnE,eAAO,MAAM,mBAAmB,EAAE,EAwYjC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const QuotaPage: FC;
3
+ //# sourceMappingURL=QuotaPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuotaPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/quota/pages/QuotaPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAyB1C,eAAO,MAAM,SAAS,EAAE,EAmQvB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const QuotaTemplateCreatePage: FC;
3
+ //# sourceMappingURL=QuotaTemplateCreatePage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuotaTemplateCreatePage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/quota/pages/QuotaTemplateCreatePage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAY,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AAS1D,eAAO,MAAM,uBAAuB,EAAE,EAsUrC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const QuotaTemplateDetailPage: FC;
3
+ //# sourceMappingURL=QuotaTemplateDetailPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuotaTemplateDetailPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/quota/pages/QuotaTemplateDetailPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAWhC,eAAO,MAAM,uBAAuB,EAAE,EAkSrC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const QuotaTemplateEditPage: FC;
3
+ //# sourceMappingURL=QuotaTemplateEditPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuotaTemplateEditPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/quota/pages/QuotaTemplateEditPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAuB,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AAWrE,eAAO,MAAM,qBAAqB,EAAE,EA+YnC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const QuotaTemplatesListPage: FC;
3
+ //# sourceMappingURL=QuotaTemplatesListPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuotaTemplatesListPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/quota/pages/QuotaTemplatesListPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAY1C,eAAO,MAAM,sBAAsB,EAAE,EAgSpC,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Quota Module - Pages
3
+ */
4
+ export { QuotaPage } from './QuotaPage';
5
+ export { QuotaTemplatesListPage } from './QuotaTemplatesListPage';
6
+ export { QuotaTemplateDetailPage } from './QuotaTemplateDetailPage';
7
+ export { QuotaTemplateCreatePage } from './QuotaTemplateCreatePage';
8
+ export { QuotaTemplateEditPage } from './QuotaTemplateEditPage';
9
+ export { QuotaAssignFreePage } from './QuotaAssignFreePage';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/quota/pages/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { Quota } from '../../../shared/types';
2
+ export declare const getQuotaScopeLabel: (quota: Pick<Quota, "scope">) => string;
3
+ export declare function filterQuotas(quotas: readonly Quota[], search: string): Quota[];
4
+ //# sourceMappingURL=quotaSelector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quotaSelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/quota/utils/quotaSelector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAInD,eAAO,MAAM,kBAAkB,GAAI,OAAO,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,KAAG,MACrC,CAAC;AAE7B,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,KAAK,EAAE,CAY9E"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Settings Module
3
+ */
4
+ export * from './pages';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/billing/modules/settings/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const SettingsPage: FC;
3
+ //# sourceMappingURL=SettingsPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SettingsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/settings/pages/SettingsPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAA6C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAoC3E,eAAO,MAAM,YAAY,EAAE,EAu4B1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const TeamPermissionsPage: FC;
3
+ //# sourceMappingURL=TeamPermissionsPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TeamPermissionsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/settings/pages/TeamPermissionsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAA6C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAoG3E,eAAO,MAAM,mBAAmB,EAAE,EAwXjC,CAAC"}