@burdenoff/microfe-billing 2026.523.1 → 2026.526.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 (355) hide show
  1. package/package.json +1 -1
  2. package/dist/billing/BillingAdminRoutes.d.ts +0 -6
  3. package/dist/billing/BillingAdminRoutes.d.ts.map +0 -1
  4. package/dist/billing/BillingRoot.d.ts +0 -37
  5. package/dist/billing/BillingRoot.d.ts.map +0 -1
  6. package/dist/billing/BillingUserRoutes.d.ts +0 -7
  7. package/dist/billing/BillingUserRoutes.d.ts.map +0 -1
  8. package/dist/billing/constants/permissions.d.ts +0 -18
  9. package/dist/billing/constants/permissions.d.ts.map +0 -1
  10. package/dist/billing/hooks/useBillingAccountSelection.d.ts +0 -36
  11. package/dist/billing/hooks/useBillingAccountSelection.d.ts.map +0 -1
  12. package/dist/billing/hooks/useBillingEventEmitter.d.ts +0 -8
  13. package/dist/billing/hooks/useBillingEventEmitter.d.ts.map +0 -1
  14. package/dist/billing/hooks/useBillingNavigate.d.ts +0 -30
  15. package/dist/billing/hooks/useBillingNavigate.d.ts.map +0 -1
  16. package/dist/billing/hooks/useBillingPermissions.d.ts +0 -106
  17. package/dist/billing/hooks/useBillingPermissions.d.ts.map +0 -1
  18. package/dist/billing/hooks/useDefaultBillingCurrency.d.ts +0 -14
  19. package/dist/billing/hooks/useDefaultBillingCurrency.d.ts.map +0 -1
  20. package/dist/billing/index.d.ts +0 -31
  21. package/dist/billing/index.d.ts.map +0 -1
  22. package/dist/billing/lib/native-purchases.d.ts +0 -51
  23. package/dist/billing/lib/native-purchases.d.ts.map +0 -1
  24. package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts +0 -4
  25. package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts.map +0 -1
  26. package/dist/billing/modules/addons/components/index.d.ts +0 -5
  27. package/dist/billing/modules/addons/components/index.d.ts.map +0 -1
  28. package/dist/billing/modules/addons/hooks/index.d.ts +0 -6
  29. package/dist/billing/modules/addons/hooks/index.d.ts.map +0 -1
  30. package/dist/billing/modules/addons/hooks/useAddons.d.ts +0 -55
  31. package/dist/billing/modules/addons/hooks/useAddons.d.ts.map +0 -1
  32. package/dist/billing/modules/addons/index.d.ts +0 -7
  33. package/dist/billing/modules/addons/index.d.ts.map +0 -1
  34. package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts +0 -4
  35. package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts.map +0 -1
  36. package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts +0 -4
  37. package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts.map +0 -1
  38. package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts +0 -4
  39. package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts.map +0 -1
  40. package/dist/billing/modules/addons/pages/AddonEditPage.d.ts +0 -4
  41. package/dist/billing/modules/addons/pages/AddonEditPage.d.ts.map +0 -1
  42. package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts +0 -4
  43. package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts.map +0 -1
  44. package/dist/billing/modules/addons/pages/AddonsListPage.d.ts +0 -4
  45. package/dist/billing/modules/addons/pages/AddonsListPage.d.ts.map +0 -1
  46. package/dist/billing/modules/addons/pages/index.d.ts +0 -11
  47. package/dist/billing/modules/addons/pages/index.d.ts.map +0 -1
  48. package/dist/billing/modules/addons/store/addonCartStore.d.ts +0 -38
  49. package/dist/billing/modules/addons/store/addonCartStore.d.ts.map +0 -1
  50. package/dist/billing/modules/affiliate/api.d.ts +0 -101
  51. package/dist/billing/modules/affiliate/api.d.ts.map +0 -1
  52. package/dist/billing/modules/affiliate/index.d.ts +0 -2
  53. package/dist/billing/modules/affiliate/index.d.ts.map +0 -1
  54. package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts +0 -4
  55. package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts.map +0 -1
  56. package/dist/billing/modules/analytics/index.d.ts +0 -5
  57. package/dist/billing/modules/analytics/index.d.ts.map +0 -1
  58. package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts +0 -4
  59. package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts.map +0 -1
  60. package/dist/billing/modules/analytics/pages/index.d.ts +0 -5
  61. package/dist/billing/modules/analytics/pages/index.d.ts.map +0 -1
  62. package/dist/billing/modules/billing/hooks/index.d.ts +0 -10
  63. package/dist/billing/modules/billing/hooks/index.d.ts.map +0 -1
  64. package/dist/billing/modules/billing/hooks/useInvoices.d.ts +0 -68
  65. package/dist/billing/modules/billing/hooks/useInvoices.d.ts.map +0 -1
  66. package/dist/billing/modules/billing/hooks/usePayments.d.ts +0 -62
  67. package/dist/billing/modules/billing/hooks/usePayments.d.ts.map +0 -1
  68. package/dist/billing/modules/billing/hooks/useRefunds.d.ts +0 -191
  69. package/dist/billing/modules/billing/hooks/useRefunds.d.ts.map +0 -1
  70. package/dist/billing/modules/billing/hooks/useTransactions.d.ts +0 -41
  71. package/dist/billing/modules/billing/hooks/useTransactions.d.ts.map +0 -1
  72. package/dist/billing/modules/billing/index.d.ts +0 -7
  73. package/dist/billing/modules/billing/index.d.ts.map +0 -1
  74. package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts +0 -4
  75. package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts.map +0 -1
  76. package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts +0 -4
  77. package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts.map +0 -1
  78. package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts +0 -4
  79. package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts.map +0 -1
  80. package/dist/billing/modules/billing/pages/RefundsPage.d.ts +0 -4
  81. package/dist/billing/modules/billing/pages/RefundsPage.d.ts.map +0 -1
  82. package/dist/billing/modules/billing/pages/TransactionsPage.d.ts +0 -4
  83. package/dist/billing/modules/billing/pages/TransactionsPage.d.ts.map +0 -1
  84. package/dist/billing/modules/billing/pages/index.d.ts +0 -10
  85. package/dist/billing/modules/billing/pages/index.d.ts.map +0 -1
  86. package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts +0 -14
  87. package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts.map +0 -1
  88. package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts +0 -14
  89. package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts.map +0 -1
  90. package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts +0 -14
  91. package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts.map +0 -1
  92. package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts +0 -14
  93. package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts.map +0 -1
  94. package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts +0 -16
  95. package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts.map +0 -1
  96. package/dist/billing/modules/checkout/components/CurrencySelector.d.ts +0 -19
  97. package/dist/billing/modules/checkout/components/CurrencySelector.d.ts.map +0 -1
  98. package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts +0 -14
  99. package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts.map +0 -1
  100. package/dist/billing/modules/checkout/components/OrderSummary.d.ts +0 -22
  101. package/dist/billing/modules/checkout/components/OrderSummary.d.ts.map +0 -1
  102. package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts +0 -19
  103. package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts.map +0 -1
  104. package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts +0 -19
  105. package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts.map +0 -1
  106. package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts +0 -25
  107. package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts.map +0 -1
  108. package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts +0 -13
  109. package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts.map +0 -1
  110. package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts +0 -13
  111. package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts.map +0 -1
  112. package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts +0 -16
  113. package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts.map +0 -1
  114. package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts +0 -26
  115. package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts.map +0 -1
  116. package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts +0 -23
  117. package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts.map +0 -1
  118. package/dist/billing/modules/checkout/components/index.d.ts +0 -20
  119. package/dist/billing/modules/checkout/components/index.d.ts.map +0 -1
  120. package/dist/billing/modules/checkout/graphql/index.d.ts +0 -6
  121. package/dist/billing/modules/checkout/graphql/index.d.ts.map +0 -1
  122. package/dist/billing/modules/checkout/hooks/index.d.ts +0 -9
  123. package/dist/billing/modules/checkout/hooks/index.d.ts.map +0 -1
  124. package/dist/billing/modules/checkout/hooks/useCheckout.d.ts +0 -69
  125. package/dist/billing/modules/checkout/hooks/useCheckout.d.ts.map +0 -1
  126. package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts +0 -26
  127. package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts.map +0 -1
  128. package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts +0 -19
  129. package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts.map +0 -1
  130. package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts +0 -59
  131. package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts.map +0 -1
  132. package/dist/billing/modules/checkout/index.d.ts +0 -24
  133. package/dist/billing/modules/checkout/index.d.ts.map +0 -1
  134. package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts +0 -4
  135. package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts.map +0 -1
  136. package/dist/billing/modules/checkout/pages/index.d.ts +0 -5
  137. package/dist/billing/modules/checkout/pages/index.d.ts.map +0 -1
  138. package/dist/billing/modules/checkout/types/index.d.ts +0 -270
  139. package/dist/billing/modules/checkout/types/index.d.ts.map +0 -1
  140. package/dist/billing/modules/checkout/utils/storeOrder.d.ts +0 -20
  141. package/dist/billing/modules/checkout/utils/storeOrder.d.ts.map +0 -1
  142. package/dist/billing/modules/coupons/index.d.ts +0 -5
  143. package/dist/billing/modules/coupons/index.d.ts.map +0 -1
  144. package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts +0 -4
  145. package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts.map +0 -1
  146. package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts +0 -4
  147. package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts.map +0 -1
  148. package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts +0 -4
  149. package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts.map +0 -1
  150. package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts +0 -4
  151. package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts.map +0 -1
  152. package/dist/billing/modules/coupons/pages/index.d.ts +0 -8
  153. package/dist/billing/modules/coupons/pages/index.d.ts.map +0 -1
  154. package/dist/billing/modules/credits/hooks/index.d.ts +0 -5
  155. package/dist/billing/modules/credits/hooks/index.d.ts.map +0 -1
  156. package/dist/billing/modules/credits/hooks/useCredits.d.ts +0 -75
  157. package/dist/billing/modules/credits/hooks/useCredits.d.ts.map +0 -1
  158. package/dist/billing/modules/credits/index.d.ts +0 -6
  159. package/dist/billing/modules/credits/index.d.ts.map +0 -1
  160. package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts +0 -4
  161. package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts.map +0 -1
  162. package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts +0 -4
  163. package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts.map +0 -1
  164. package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts +0 -4
  165. package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts.map +0 -1
  166. package/dist/billing/modules/credits/pages/CreditsPage.d.ts +0 -4
  167. package/dist/billing/modules/credits/pages/CreditsPage.d.ts.map +0 -1
  168. package/dist/billing/modules/credits/pages/index.d.ts +0 -8
  169. package/dist/billing/modules/credits/pages/index.d.ts.map +0 -1
  170. package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts +0 -14
  171. package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts.map +0 -1
  172. package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts +0 -111
  173. package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts.map +0 -1
  174. package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts +0 -16
  175. package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts.map +0 -1
  176. package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts +0 -13
  177. package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts.map +0 -1
  178. package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts +0 -15
  179. package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts.map +0 -1
  180. package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts +0 -27
  181. package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts.map +0 -1
  182. package/dist/billing/modules/dashboard/components/index.d.ts +0 -10
  183. package/dist/billing/modules/dashboard/components/index.d.ts.map +0 -1
  184. package/dist/billing/modules/dashboard/hooks/index.d.ts +0 -6
  185. package/dist/billing/modules/dashboard/hooks/index.d.ts.map +0 -1
  186. package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts +0 -17
  187. package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts.map +0 -1
  188. package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts +0 -145
  189. package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts.map +0 -1
  190. package/dist/billing/modules/dashboard/index.d.ts +0 -8
  191. package/dist/billing/modules/dashboard/index.d.ts.map +0 -1
  192. package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts +0 -4
  193. package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts.map +0 -1
  194. package/dist/billing/modules/dashboard/pages/index.d.ts +0 -5
  195. package/dist/billing/modules/dashboard/pages/index.d.ts.map +0 -1
  196. package/dist/billing/modules/discounts/index.d.ts +0 -6
  197. package/dist/billing/modules/discounts/index.d.ts.map +0 -1
  198. package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts +0 -4
  199. package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts.map +0 -1
  200. package/dist/billing/modules/discounts/pages/index.d.ts +0 -6
  201. package/dist/billing/modules/discounts/pages/index.d.ts.map +0 -1
  202. package/dist/billing/modules/earnings/api.d.ts +0 -135
  203. package/dist/billing/modules/earnings/api.d.ts.map +0 -1
  204. package/dist/billing/modules/earnings/index.d.ts +0 -4
  205. package/dist/billing/modules/earnings/index.d.ts.map +0 -1
  206. package/dist/billing/modules/earnings/pages/EarningsPage.d.ts +0 -4
  207. package/dist/billing/modules/earnings/pages/EarningsPage.d.ts.map +0 -1
  208. package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts +0 -4
  209. package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts.map +0 -1
  210. package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts +0 -4
  211. package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts.map +0 -1
  212. package/dist/billing/modules/plans/hooks/index.d.ts +0 -7
  213. package/dist/billing/modules/plans/hooks/index.d.ts.map +0 -1
  214. package/dist/billing/modules/plans/hooks/usePlans.d.ts +0 -46
  215. package/dist/billing/modules/plans/hooks/usePlans.d.ts.map +0 -1
  216. package/dist/billing/modules/plans/hooks/useQuotas.d.ts +0 -27
  217. package/dist/billing/modules/plans/hooks/useQuotas.d.ts.map +0 -1
  218. package/dist/billing/modules/plans/index.d.ts +0 -7
  219. package/dist/billing/modules/plans/index.d.ts.map +0 -1
  220. package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts +0 -4
  221. package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts.map +0 -1
  222. package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts +0 -4
  223. package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts.map +0 -1
  224. package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts +0 -4
  225. package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts.map +0 -1
  226. package/dist/billing/modules/plans/pages/PlanEditPage.d.ts +0 -4
  227. package/dist/billing/modules/plans/pages/PlanEditPage.d.ts.map +0 -1
  228. package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts +0 -4
  229. package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts.map +0 -1
  230. package/dist/billing/modules/plans/pages/PlansListPage.d.ts +0 -4
  231. package/dist/billing/modules/plans/pages/PlansListPage.d.ts.map +0 -1
  232. package/dist/billing/modules/plans/pages/index.d.ts +0 -11
  233. package/dist/billing/modules/plans/pages/index.d.ts.map +0 -1
  234. package/dist/billing/modules/quota/hooks/index.d.ts +0 -6
  235. package/dist/billing/modules/quota/hooks/index.d.ts.map +0 -1
  236. package/dist/billing/modules/quota/hooks/useQuota.d.ts +0 -102
  237. package/dist/billing/modules/quota/hooks/useQuota.d.ts.map +0 -1
  238. package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts +0 -39
  239. package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts.map +0 -1
  240. package/dist/billing/modules/quota/index.d.ts +0 -6
  241. package/dist/billing/modules/quota/index.d.ts.map +0 -1
  242. package/dist/billing/modules/quota/pages/QuotaPage.d.ts +0 -4
  243. package/dist/billing/modules/quota/pages/QuotaPage.d.ts.map +0 -1
  244. package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts +0 -4
  245. package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts.map +0 -1
  246. package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts +0 -4
  247. package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts.map +0 -1
  248. package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts +0 -4
  249. package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts.map +0 -1
  250. package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts +0 -4
  251. package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts.map +0 -1
  252. package/dist/billing/modules/quota/pages/index.d.ts +0 -9
  253. package/dist/billing/modules/quota/pages/index.d.ts.map +0 -1
  254. package/dist/billing/modules/settings/index.d.ts +0 -5
  255. package/dist/billing/modules/settings/index.d.ts.map +0 -1
  256. package/dist/billing/modules/settings/pages/SettingsPage.d.ts +0 -4
  257. package/dist/billing/modules/settings/pages/SettingsPage.d.ts.map +0 -1
  258. package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts +0 -4
  259. package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts.map +0 -1
  260. package/dist/billing/modules/settings/pages/index.d.ts +0 -6
  261. package/dist/billing/modules/settings/pages/index.d.ts.map +0 -1
  262. package/dist/billing/modules/store/graphql/index.d.ts +0 -6
  263. package/dist/billing/modules/store/graphql/index.d.ts.map +0 -1
  264. package/dist/billing/modules/store/index.d.ts +0 -6
  265. package/dist/billing/modules/store/index.d.ts.map +0 -1
  266. package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts +0 -11
  267. package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts.map +0 -1
  268. package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts +0 -12
  269. package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts.map +0 -1
  270. package/dist/billing/modules/subscriptions/hooks/index.d.ts +0 -6
  271. package/dist/billing/modules/subscriptions/hooks/index.d.ts.map +0 -1
  272. package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts +0 -92
  273. package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts.map +0 -1
  274. package/dist/billing/modules/subscriptions/index.d.ts +0 -7
  275. package/dist/billing/modules/subscriptions/index.d.ts.map +0 -1
  276. package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts +0 -4
  277. package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts.map +0 -1
  278. package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts +0 -4
  279. package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts.map +0 -1
  280. package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts +0 -4
  281. package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts.map +0 -1
  282. package/dist/billing/modules/subscriptions/pages/index.d.ts +0 -8
  283. package/dist/billing/modules/subscriptions/pages/index.d.ts.map +0 -1
  284. package/dist/billing/modules/usage/hooks/index.d.ts +0 -6
  285. package/dist/billing/modules/usage/hooks/index.d.ts.map +0 -1
  286. package/dist/billing/modules/usage/hooks/useUsage.d.ts +0 -241
  287. package/dist/billing/modules/usage/hooks/useUsage.d.ts.map +0 -1
  288. package/dist/billing/modules/usage/index.d.ts +0 -6
  289. package/dist/billing/modules/usage/index.d.ts.map +0 -1
  290. package/dist/billing/modules/usage/pages/UsagePage.d.ts +0 -4
  291. package/dist/billing/modules/usage/pages/UsagePage.d.ts.map +0 -1
  292. package/dist/billing/modules/usage/pages/index.d.ts +0 -5
  293. package/dist/billing/modules/usage/pages/index.d.ts.map +0 -1
  294. package/dist/billing/providers/BillingProvider.d.ts +0 -16
  295. package/dist/billing/providers/BillingProvider.d.ts.map +0 -1
  296. package/dist/billing/shared/components/AccessDenied.d.ts +0 -8
  297. package/dist/billing/shared/components/AccessDenied.d.ts.map +0 -1
  298. package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts +0 -11
  299. package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts.map +0 -1
  300. package/dist/billing/shared/components/EmptyState.d.ts +0 -11
  301. package/dist/billing/shared/components/EmptyState.d.ts.map +0 -1
  302. package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts +0 -11
  303. package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts.map +0 -1
  304. package/dist/billing/shared/components/PageHeader.d.ts +0 -11
  305. package/dist/billing/shared/components/PageHeader.d.ts.map +0 -1
  306. package/dist/billing/shared/components/ServerError.d.ts +0 -11
  307. package/dist/billing/shared/components/ServerError.d.ts.map +0 -1
  308. package/dist/billing/shared/components/StatCard.d.ts +0 -15
  309. package/dist/billing/shared/components/StatCard.d.ts.map +0 -1
  310. package/dist/billing/shared/components/index.d.ts +0 -11
  311. package/dist/billing/shared/components/index.d.ts.map +0 -1
  312. package/dist/billing/shared/index.d.ts +0 -8
  313. package/dist/billing/shared/index.d.ts.map +0 -1
  314. package/dist/billing/shared/types/graphql.d.ts +0 -928
  315. package/dist/billing/shared/types/graphql.d.ts.map +0 -1
  316. package/dist/billing/shared/types/index.d.ts +0 -96
  317. package/dist/billing/shared/types/index.d.ts.map +0 -1
  318. package/dist/billing/shared/utils/directActivityGraphql.d.ts +0 -13
  319. package/dist/billing/shared/utils/directActivityGraphql.d.ts.map +0 -1
  320. package/dist/billing/shared/utils/directBillingGraphql.d.ts +0 -13
  321. package/dist/billing/shared/utils/directBillingGraphql.d.ts.map +0 -1
  322. package/dist/billing/shared/utils/error.d.ts +0 -30
  323. package/dist/billing/shared/utils/error.d.ts.map +0 -1
  324. package/dist/billing/shared/utils/format.d.ts +0 -28
  325. package/dist/billing/shared/utils/format.d.ts.map +0 -1
  326. package/dist/billing/shared/utils/gatewayGraphql.d.ts +0 -15
  327. package/dist/billing/shared/utils/gatewayGraphql.d.ts.map +0 -1
  328. package/dist/billing/shared/utils/index.d.ts +0 -13
  329. package/dist/billing/shared/utils/index.d.ts.map +0 -1
  330. package/dist/billing/shared/utils/navigation.d.ts +0 -2
  331. package/dist/billing/shared/utils/navigation.d.ts.map +0 -1
  332. package/dist/billing/shared/utils/paymentTheme.d.ts +0 -18
  333. package/dist/billing/shared/utils/paymentTheme.d.ts.map +0 -1
  334. package/dist/billing/shared/utils/status.d.ts +0 -28
  335. package/dist/billing/shared/utils/status.d.ts.map +0 -1
  336. package/dist/billing/shared/utils/tokens.d.ts +0 -156
  337. package/dist/billing/shared/utils/tokens.d.ts.map +0 -1
  338. package/dist/billing/types/index.d.ts +0 -268
  339. package/dist/billing/types/index.d.ts.map +0 -1
  340. package/dist/billing/utils/index.d.ts +0 -128
  341. package/dist/billing/utils/index.d.ts.map +0 -1
  342. package/dist/dev/main.d.ts +0 -2
  343. package/dist/dev/main.d.ts.map +0 -1
  344. package/dist/generated/global-operations.d.ts +0 -9595
  345. package/dist/generated/global-operations.d.ts.map +0 -1
  346. package/dist/generated/global-types.d.ts +0 -22485
  347. package/dist/generated/global-types.d.ts.map +0 -1
  348. package/dist/generated/wspace-operations.d.ts +0 -61
  349. package/dist/generated/wspace-operations.d.ts.map +0 -1
  350. package/dist/generated/wspace-types.d.ts +0 -49106
  351. package/dist/generated/wspace-types.d.ts.map +0 -1
  352. package/dist/index.d.ts +0 -8
  353. package/dist/index.d.ts.map +0 -1
  354. package/dist/utils/nativeBridge.d.ts +0 -3
  355. package/dist/utils/nativeBridge.d.ts.map +0 -1
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- export declare const RefundsPage: FC;
4
- //# sourceMappingURL=RefundsPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RefundsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/billing/pages/RefundsPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAqD,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAwxBnF,eAAO,MAAM,WAAW,EAAE,EA2hBzB,CAAC"}
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- export declare const TransactionsPage: FC;
4
- //# sourceMappingURL=TransactionsPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TransactionsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/billing/pages/TransactionsPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAA+B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAwZ7D,eAAO,MAAM,gBAAgB,EAAE,EAuY9B,CAAC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * Billing Module - Pages
3
- * Re-exports all page components
4
- */
5
- export { InvoicesListPage } from './InvoicesListPage';
6
- export { InvoiceDetailPage } from './InvoiceDetailPage';
7
- export { TransactionsPage } from './TransactionsPage';
8
- export { PaymentMethodsPage } from './PaymentMethodsPage';
9
- export { RefundsPage } from './RefundsPage';
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/billing/pages/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -1,14 +0,0 @@
1
- import { FC } from 'react';
2
- import { SavedPaymentMethod } from '../types';
3
-
4
- interface AutoPayToggleProps {
5
- enabled: boolean;
6
- onToggle: (enabled: boolean) => void;
7
- selectedPaymentMethodId: string | null;
8
- savedPaymentMethods: SavedPaymentMethod[];
9
- onSelectPaymentMethod: (paymentMethodId: string) => void;
10
- disabled?: boolean;
11
- }
12
- export declare const AutoPayToggle: FC<AutoPayToggleProps>;
13
- export {};
14
- //# sourceMappingURL=AutoPayToggle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AutoPayToggle.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/AutoPayToggle.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGnD,UAAU,kBAAkB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;IAC1C,qBAAqB,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAYD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAyIhD,CAAC"}
@@ -1,14 +0,0 @@
1
- import { FC } from 'react';
2
- import { CheckoutBillingAccount } from '../types';
3
-
4
- interface BillingAccountSelectorProps {
5
- accounts: CheckoutBillingAccount[];
6
- selectedAccountId: string | null;
7
- onSelect: (account: CheckoutBillingAccount) => void;
8
- isLoading?: boolean;
9
- disabled?: boolean;
10
- disabledMessage?: string;
11
- }
12
- export declare const BillingAccountSelector: FC<BillingAccountSelectorProps>;
13
- export {};
14
- //# sourceMappingURL=BillingAccountSelector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BillingAccountSelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/BillingAccountSelector.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAA+B,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAIvD,UAAU,2BAA2B;IACnC,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IACnC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACpD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CA4LlE,CAAC"}
@@ -1,14 +0,0 @@
1
- import { FC } from 'react';
2
- import { SavedPaymentMethod } from '../types';
3
-
4
- interface CompactAutoPayToggleProps {
5
- enabled: boolean;
6
- onToggle: (enabled: boolean) => void;
7
- selectedPaymentMethodId: string | null;
8
- savedPaymentMethods: SavedPaymentMethod[];
9
- onSelectPaymentMethod: (paymentMethodId: string) => void;
10
- onSelectForCurrentPayment?: (paymentMethodId: string) => void;
11
- }
12
- export declare const CompactAutoPayToggle: FC<CompactAutoPayToggleProps>;
13
- export {};
14
- //# sourceMappingURL=CompactAutoPayToggle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CompactAutoPayToggle.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/CompactAutoPayToggle.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAoC,MAAM,OAAO,CAAC;AAElE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGnD,UAAU,yBAAyB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;IAC1C,qBAAqB,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IAEzD,yBAAyB,CAAC,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/D;AAQD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAwM9D,CAAC"}
@@ -1,14 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- interface CreditsAmountInputProps {
4
- value: number;
5
- onChange: (value: number) => void;
6
- minAmount?: number;
7
- maxAmount?: number;
8
- costPerCredit?: number;
9
- currency?: string;
10
- disabled?: boolean;
11
- }
12
- export declare const CreditsAmountInput: FC<CreditsAmountInputProps>;
13
- export {};
14
- //# sourceMappingURL=CreditsAmountInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreditsAmountInput.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/CreditsAmountInput.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAyB,MAAM,OAAO,CAAC;AAKvD,UAAU,uBAAuB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAID,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAwJ1D,CAAC"}
@@ -1,16 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- interface CreditsPaymentOptionProps {
4
- enabled: boolean;
5
- onToggle: (enabled: boolean) => void;
6
- creditsToUse: number;
7
- onCreditsChange: (amount: number) => void;
8
- availableCredits: number;
9
- maxCreditsUsable: number;
10
- totalAmount: number;
11
- disabled?: boolean;
12
- disabledReason?: string;
13
- }
14
- export declare const CreditsPaymentOption: FC<CreditsPaymentOptionProps>;
15
- export {};
16
- //# sourceMappingURL=CreditsPaymentOption.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreditsPaymentOption.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/CreditsPaymentOption.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAe,MAAM,OAAO,CAAC;AAM7C,UAAU,yBAAyB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA+N9D,CAAC"}
@@ -1,19 +0,0 @@
1
- import { FC } from 'react';
2
- import { Currency, PaymentProvider } from '../types';
3
-
4
- interface CurrencySelectorProps {
5
- selectedCurrency: Currency;
6
- onSelect: (currency: Currency) => void;
7
- selectedProvider: PaymentProvider;
8
- baseAmount: number;
9
- convertedAmount: number | null;
10
- conversionRate: number;
11
- isConverting?: boolean;
12
- /** Billing address country code (e.g., 'IN', 'US') - used to restrict currencies */
13
- billingCountry?: string;
14
- /** Billing account's default currency - used for auto-selection */
15
- billingAccountCurrency?: string;
16
- }
17
- export declare const CurrencySelector: FC<CurrencySelectorProps>;
18
- export {};
19
- //# sourceMappingURL=CurrencySelector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CurrencySelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/CurrencySelector.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAwC,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI1D,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,QAAQ,CAAC;IAC3B,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IACvC,gBAAgB,EAAE,eAAe,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oFAAoF;IACpF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mEAAmE;IACnE,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAsED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA2PtD,CAAC"}
@@ -1,14 +0,0 @@
1
- import { FC } from 'react';
2
- import { useNativeCheckout } from '../hooks/useNativeCheckout';
3
- import { PurchaseType } from '../types';
4
-
5
- interface NativeCheckoutViewProps {
6
- purchaseType: PurchaseType;
7
- productId?: string;
8
- billingAccountId?: string;
9
- nativeCheckout: ReturnType<typeof useNativeCheckout>;
10
- onBack: () => void;
11
- }
12
- export declare const NativeCheckoutView: FC<NativeCheckoutViewProps>;
13
- export {};
14
- //# sourceMappingURL=NativeCheckoutView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NativeCheckoutView.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/NativeCheckoutView.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAuB,MAAM,OAAO,CAAC;AAgBrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,UAAU,uBAAuB;IAC/B,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;IACrD,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAsPD,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAuJ1D,CAAC"}
@@ -1,22 +0,0 @@
1
- import { FC } from 'react';
2
- import { CheckoutItem, Currency } from '../types';
3
-
4
- interface OrderSummaryProps {
5
- items: CheckoutItem[];
6
- subtotal: number;
7
- discountAmount: number;
8
- taxAmount: number;
9
- taxRate: number;
10
- taxType?: string;
11
- total: number;
12
- currency: Currency;
13
- showInCredits?: boolean;
14
- /** Whether tax is being calculated */
15
- isCalculatingTax?: boolean;
16
- onUpdateQuantity?: (itemId: string, quantity: number) => void;
17
- onRemoveItem?: (itemId: string) => void;
18
- isEditable?: boolean;
19
- }
20
- export declare const OrderSummary: FC<OrderSummaryProps>;
21
- export {};
22
- //# sourceMappingURL=OrderSummary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OrderSummary.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/OrderSummary.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAC;AAkBzC,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAmB,MAAM,UAAU,CAAC;AAWxE,UAAU,iBAAiB;IACzB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,QAAQ,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,sCAAsC;IACtC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9D,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAuW9C,CAAC"}
@@ -1,19 +0,0 @@
1
- import { FC } from 'react';
2
- import { PaymentProvider, Currency } from '../types';
3
-
4
- interface PaymentProviderSelectorProps {
5
- selectedProvider: PaymentProvider;
6
- onSelect: (provider: PaymentProvider) => void;
7
- selectedCurrency: Currency;
8
- stripeEnabled: boolean;
9
- razorpayEnabled: boolean;
10
- canPayWithCredits: boolean;
11
- availableCredits: number;
12
- totalAmount: number;
13
- isLoading?: boolean;
14
- /** Billing address country code (e.g., 'IN', 'US') - used to restrict payment providers */
15
- billingCountry?: string;
16
- }
17
- export declare const PaymentProviderSelector: FC<PaymentProviderSelectorProps>;
18
- export {};
19
- //# sourceMappingURL=PaymentProviderSelector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaymentProviderSelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/PaymentProviderSelector.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAS1D,UAAU,4BAA4B;IACpC,gBAAgB,EAAE,eAAe,CAAC;IAClC,QAAQ,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,IAAI,CAAC;IAC9C,gBAAgB,EAAE,QAAQ,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2FAA2F;IAC3F,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAYD,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA6LpE,CAAC"}
@@ -1,19 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- interface PromoCodeInputProps {
4
- value: string;
5
- onChange: (value: string) => void;
6
- onValidate: () => Promise<{
7
- valid: boolean;
8
- error?: string;
9
- }>;
10
- onClear: () => void;
11
- isApplied: boolean;
12
- discountValue?: number;
13
- discountType?: 'PERCENTAGE' | 'FIXED';
14
- isValidating?: boolean;
15
- error?: string;
16
- }
17
- export declare const PromoCodeInput: FC<PromoCodeInputProps>;
18
- export {};
19
- //# sourceMappingURL=PromoCodeInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PromoCodeInput.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/PromoCodeInput.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAyB,MAAM,OAAO,CAAC;AAKvD,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,OAAO,CAAC;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC;IACtC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA4IlD,CAAC"}
@@ -1,25 +0,0 @@
1
- import { FC } from 'react';
2
- import { RazorpaySuccessResponse } from '../types';
3
-
4
- interface RazorpayPaymentButtonProps {
5
- orderId: string;
6
- keyId: string;
7
- amount: number;
8
- currency: string;
9
- name?: string;
10
- description?: string;
11
- customerId?: string;
12
- prefill?: {
13
- name?: string;
14
- email?: string;
15
- contact?: string;
16
- };
17
- notes?: Record<string, string>;
18
- onSuccess: (response: RazorpaySuccessResponse) => void;
19
- onError: (error: string) => void;
20
- onCancel?: () => void;
21
- disabled?: boolean;
22
- }
23
- export declare const RazorpayPaymentButton: FC<RazorpayPaymentButtonProps>;
24
- export {};
25
- //# sourceMappingURL=RazorpayPaymentButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RazorpayPaymentButton.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/RazorpayPaymentButton.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAoC,MAAM,OAAO,CAAC;AAGlE,OAAO,KAAK,EACV,uBAAuB,EAGxB,MAAM,UAAU,CAAC;AASlB,UAAU,0BAA0B;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,SAAS,EAAE,CAAC,QAAQ,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACvD,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAID,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CAkOhE,CAAC"}
@@ -1,13 +0,0 @@
1
- import { FC } from 'react';
2
- import { SavedPaymentMethod } from '../types';
3
-
4
- interface SavedCardSelectorProps {
5
- savedCards: SavedPaymentMethod[];
6
- selectedCardId: string | null;
7
- onSelectCard: (cardId: string | null) => void;
8
- onRemoveCard?: (cardId: string) => void;
9
- isLoading?: boolean;
10
- }
11
- export declare const SavedCardSelector: FC<SavedCardSelectorProps>;
12
- export {};
13
- //# sourceMappingURL=SavedCardSelector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SavedCardSelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/SavedCardSelector.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAW1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGnD,UAAU,sBAAsB;IAC9B,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAoGD,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA4KxD,CAAC"}
@@ -1,13 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- interface SimpleAutoPayToggleProps {
4
- enabled: boolean;
5
- onToggle: (enabled: boolean) => void;
6
- hasPaymentMethodSelected: boolean;
7
- selectedPaymentMethodDisplay?: string;
8
- isNewCard?: boolean;
9
- disabled?: boolean;
10
- }
11
- export declare const SimpleAutoPayToggle: FC<SimpleAutoPayToggleProps>;
12
- export {};
13
- //# sourceMappingURL=SimpleAutoPayToggle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleAutoPayToggle.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/SimpleAutoPayToggle.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAI1C,UAAU,wBAAwB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,wBAAwB,EAAE,OAAO,CAAC;IAClC,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAiG5D,CAAC"}
@@ -1,16 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- interface StripePaymentFormProps {
4
- clientSecret: string;
5
- publishableKey: string;
6
- amount: number;
7
- currency: string;
8
- onSuccess: (paymentIntentId: string) => void;
9
- onError: (error: string) => void;
10
- onCancel?: () => void;
11
- disabled?: boolean;
12
- isCompletingExistingPayment?: boolean;
13
- }
14
- export declare const StripePaymentForm: FC<StripePaymentFormProps>;
15
- export {};
16
- //# sourceMappingURL=StripePaymentForm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StripePaymentForm.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/StripePaymentForm.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAA4C,MAAM,OAAO,CAAC;AAgD1E,UAAU,sBAAsB;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAmCD,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAwXxD,CAAC"}
@@ -1,26 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- interface Subscription {
4
- id: string;
5
- status: string;
6
- startDate: string;
7
- endDate: string;
8
- plan?: {
9
- id: string;
10
- name: string;
11
- productID?: string;
12
- product?: {
13
- id: string;
14
- name: string;
15
- } | null;
16
- } | null;
17
- }
18
- interface SubscriptionSelectorProps {
19
- subscriptions: Subscription[];
20
- selectedSubscriptionId: string | null;
21
- onSelect: (subscriptionId: string | null) => void;
22
- isLoading?: boolean;
23
- }
24
- export declare const SubscriptionSelector: FC<SubscriptionSelectorProps>;
25
- export {};
26
- //# sourceMappingURL=SubscriptionSelector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubscriptionSelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/SubscriptionSelector.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,EAA+B,MAAM,OAAO,CAAC;AAK7D,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE;QACL,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE;YACR,EAAE,EAAE,MAAM,CAAC;YACX,IAAI,EAAE,MAAM,CAAC;SACd,GAAG,IAAI,CAAC;KACV,GAAG,IAAI,CAAC;CACV;AAED,UAAU,yBAAyB;IACjC,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,QAAQ,EAAE,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAClD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAuI9D,CAAC"}
@@ -1,23 +0,0 @@
1
- import { FC } from 'react';
2
- import { SavedPaymentMethod } from '../types';
3
-
4
- interface UnifiedPaymentMethodSelectorProps {
5
- savedPaymentMethods: SavedPaymentMethod[];
6
- selectedPaymentMethodId: string | null;
7
- onSelectSavedCard: (id: string | null) => void;
8
- selectedProvider: 'CREDITS' | 'STRIPE' | 'RAZORPAY' | 'AUTO';
9
- onSelectProvider: (provider: 'CREDITS' | 'STRIPE' | 'RAZORPAY') => void;
10
- stripeEnabled: boolean;
11
- razorpayEnabled: boolean;
12
- canPayWithCredits: boolean;
13
- availableCredits: number;
14
- totalAmount: number;
15
- billingCountry?: string;
16
- saveCard: boolean;
17
- onSaveCardChange: (save: boolean) => void;
18
- autoRenewEnabled?: boolean;
19
- isLoading?: boolean;
20
- }
21
- export declare const UnifiedPaymentMethodSelector: FC<UnifiedPaymentMethodSelectorProps>;
22
- export {};
23
- //# sourceMappingURL=UnifiedPaymentMethodSelector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UnifiedPaymentMethodSelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/UnifiedPaymentMethodSelector.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGnD,UAAU,iCAAiC;IAEzC,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;IAC1C,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAG/C,gBAAgB,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC;IAC7D,gBAAgB,EAAE,CAAC,QAAQ,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,KAAK,IAAI,CAAC;IAGxE,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAG1C,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAeD,eAAO,MAAM,4BAA4B,EAAE,EAAE,CAAC,iCAAiC,CAkU9E,CAAC"}
@@ -1,20 +0,0 @@
1
- /**
2
- * Checkout Module Components
3
- */
4
- export { BillingAccountSelector } from './BillingAccountSelector';
5
- export { NativeCheckoutView } from './NativeCheckoutView';
6
- export { PaymentProviderSelector } from './PaymentProviderSelector';
7
- export { SavedCardSelector } from './SavedCardSelector';
8
- export { CurrencySelector } from './CurrencySelector';
9
- export { OrderSummary } from './OrderSummary';
10
- export { PromoCodeInput } from './PromoCodeInput';
11
- export { CreditsPaymentOption } from './CreditsPaymentOption';
12
- export { CreditsAmountInput } from './CreditsAmountInput';
13
- export { StripePaymentForm } from './StripePaymentForm';
14
- export { RazorpayPaymentButton } from './RazorpayPaymentButton';
15
- export { SubscriptionSelector } from './SubscriptionSelector';
16
- export { AutoPayToggle } from './AutoPayToggle';
17
- export { CompactAutoPayToggle } from './CompactAutoPayToggle';
18
- export { SimpleAutoPayToggle } from './SimpleAutoPayToggle';
19
- export { UnifiedPaymentMethodSelector } from './UnifiedPaymentMethodSelector';
20
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Checkout Module GraphQL Operations
3
- * Re-exports typed documents from generated operations
4
- */
5
- export { GetPaymentProviderConfigCheckoutDocument as GET_PAYMENT_PROVIDER_CONFIG, GetBillingAccountsCheckoutDocument as GET_BILLING_ACCOUNTS, GetDefaultBillingAccountCheckoutDocument as GET_DEFAULT_BILLING_ACCOUNT, GetPlanCheckoutDocument as GET_PLAN, GetSelectedAddonCheckoutDocument as GET_ADDON, GetCostOfCreditsCheckoutDocument as GET_COST_OF_CREDITS, ConvertCurrencyDocument as CONVERT_CURRENCY, GetDiscountByCodeDocument as GET_DISCOUNT_BY_CODE, InitiatePaymentCheckoutDocument as INITIATE_PAYMENT, GetPaymentMethodsCheckoutDocument as GET_PAYMENT_METHODS, SpendCreditsCheckoutDocument as SPEND_CREDITS, GetPaymentStatusDocument as GET_PAYMENT_STATUS, GetCreditTransactionStatusDocument as GET_CREDIT_TRANSACTION_STATUS, GetActiveSubscriptionsDocument as GET_ACTIVE_SUBSCRIPTIONS, CalculateTaxDocument as CALCULATE_TAX, GetStoreOrderDocument as GET_STORE_ORDER, } from '../../../../generated/global-operations';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/graphql/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,wCAAwC,IAAI,2BAA2B,EACvE,kCAAkC,IAAI,oBAAoB,EAC1D,wCAAwC,IAAI,2BAA2B,EACvE,uBAAuB,IAAI,QAAQ,EACnC,gCAAgC,IAAI,SAAS,EAC7C,gCAAgC,IAAI,mBAAmB,EACvD,uBAAuB,IAAI,gBAAgB,EAC3C,yBAAyB,IAAI,oBAAoB,EACjD,+BAA+B,IAAI,gBAAgB,EACnD,iCAAiC,IAAI,mBAAmB,EACxD,4BAA4B,IAAI,aAAa,EAC7C,wBAAwB,IAAI,kBAAkB,EAC9C,kCAAkC,IAAI,6BAA6B,EACnE,8BAA8B,IAAI,wBAAwB,EAC1D,oBAAoB,IAAI,aAAa,EACrC,qBAAqB,IAAI,eAAe,GACzC,MAAM,yCAAyC,CAAC"}
@@ -1,9 +0,0 @@
1
- /**
2
- * Checkout Module Hooks
3
- */
4
- export { useCheckout } from './useCheckout';
5
- export { useNativeCheckout } from './useNativeCheckout';
6
- export { usePaymentProviders } from './usePaymentProviders';
7
- export { usePaymentStatusPolling } from './usePaymentStatusPolling';
8
- export type { PaymentStatus, CreditTransactionStatus, UnifiedPaymentStatus, PaymentStatusResult, UsePaymentStatusPollingOptions, UsePaymentStatusPollingResult, } from './usePaymentStatusPolling';
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,YAAY,EACV,aAAa,EACb,uBAAuB,EACvB,oBAAoB,EACpB,mBAAmB,EACnB,8BAA8B,EAC9B,6BAA6B,GAC9B,MAAM,2BAA2B,CAAC"}
@@ -1,69 +0,0 @@
1
- import { CheckoutItem, CheckoutBillingAccount, PaymentProvider, Currency, CheckoutState, PaymentInitResponse, PromoCodeResult } from '../types';
2
-
3
- interface UseCheckoutOptions {
4
- billingAccountId?: string;
5
- defaultCurrency?: Currency;
6
- defaultSaveCard?: boolean;
7
- upgradeFromSubscriptionId?: string;
8
- /** For plan downgrades — old sub auto-renewal cancelled, runs to natural expiry */
9
- downgradeFromSubscriptionId?: string;
10
- /** For addon purchases - pre-selected subscription ID */
11
- defaultSubscriptionId?: string;
12
- }
13
- interface UseCheckoutResult {
14
- items: CheckoutItem[];
15
- billingAccount: CheckoutBillingAccount | null;
16
- selectedProvider: PaymentProvider;
17
- selectedCurrency: Currency;
18
- promoCode: string;
19
- promoDiscount: number;
20
- promoDiscountType: 'PERCENTAGE' | 'FIXED';
21
- useCredits: boolean;
22
- creditsToUse: number;
23
- checkoutState: CheckoutState;
24
- error: string | null;
25
- selectedPaymentMethodId: string | null;
26
- saveCard: boolean;
27
- autoRenew: boolean;
28
- autoRenewPaymentMethodId: string | null;
29
- selectedSubscriptionId: string | null;
30
- subtotal: number;
31
- subtotalUSD: number;
32
- discountAmount: number;
33
- taxAmount: number;
34
- taxRate: number;
35
- taxType: string;
36
- total: number;
37
- totalInSelectedCurrency: number;
38
- availableCredits: number;
39
- hasEnoughCredits: boolean;
40
- canPayWithCredits: boolean;
41
- isLoading: boolean;
42
- isProcessing: boolean;
43
- isCalculatingTax: boolean;
44
- conversionRate: number;
45
- convertedAmount: number | null;
46
- addItem: (item: CheckoutItem) => void;
47
- removeItem: (itemId: string) => void;
48
- updateItemQuantity: (itemId: string, quantity: number) => void;
49
- updateItemPrice: (itemId: string, price: number, currency?: Currency) => void;
50
- clearItems: () => void;
51
- setBillingAccount: (account: CheckoutBillingAccount | null) => void;
52
- setPaymentProvider: (provider: PaymentProvider) => void;
53
- setCurrency: (currency: Currency) => void;
54
- setPromoCode: (code: string) => void;
55
- validatePromoCode: () => Promise<PromoCodeResult>;
56
- clearPromoCode: () => void;
57
- setUseCredits: (use: boolean) => void;
58
- setCreditsToUse: (amount: number) => void;
59
- setSelectedPaymentMethodId: (id: string | null) => void;
60
- setSaveCard: (save: boolean) => void;
61
- setAutoRenew: (enabled: boolean) => void;
62
- setAutoRenewPaymentMethodId: (id: string | null) => void;
63
- setSelectedSubscriptionId: (id: string | null) => void;
64
- initiatePayment: () => Promise<PaymentInitResponse>;
65
- reset: () => void;
66
- }
67
- export declare function useCheckout(options?: UseCheckoutOptions): UseCheckoutResult;
68
- export {};
69
- //# sourceMappingURL=useCheckout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCheckout.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/hooks/useCheckout.ts"],"names":[],"mappings":"AAAA;;GAEG;AASH,OAAO,KAAK,EACV,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,QAAQ,EACR,aAAa,EACb,mBAAmB,EACnB,eAAe,EAEhB,MAAM,UAAU,CAAC;AAQlB,UAAU,kBAAkB;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,QAAQ,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,mFAAmF;IACnF,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,yDAAyD;IACzD,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,UAAU,iBAAiB;IAEzB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,cAAc,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAC9C,gBAAgB,EAAE,eAAe,CAAC;IAClC,gBAAgB,EAAE,QAAQ,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,YAAY,GAAG,OAAO,CAAC;IAC1C,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,QAAQ,EAAE,OAAO,CAAC;IAGlB,SAAS,EAAE,OAAO,CAAC;IACnB,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxC,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB,EAAE,MAAM,CAAC;IAChC,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,EAAE,OAAO,CAAC;IAG1B,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAG/B,OAAO,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IACtC,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,kBAAkB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/D,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC9E,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,iBAAiB,EAAE,CAAC,OAAO,EAAE,sBAAsB,GAAG,IAAI,KAAK,IAAI,CAAC;IACpE,kBAAkB,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,IAAI,CAAC;IACxD,WAAW,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC1C,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,iBAAiB,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC;IAClD,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,0BAA0B,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACxD,WAAW,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,YAAY,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,2BAA2B,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACzD,yBAAyB,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACvD,eAAe,EAAE,MAAM,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACpD,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,wBAAgB,WAAW,CAAC,OAAO,GAAE,kBAAuB,GAAG,iBAAiB,CA2uB/E"}
@@ -1,26 +0,0 @@
1
- import { Product, Transaction } from '@capgo/native-purchases';
2
- import { CheckoutState, PurchaseType } from '../types';
3
-
4
- export type { Product, Transaction };
5
- interface UseNativeCheckoutOptions {
6
- billingAccountId?: string;
7
- purchaseType?: PurchaseType;
8
- /** Store product identifier — passed to getProducts to load the specific product. */
9
- productId?: string;
10
- }
11
- interface UseNativeCheckoutResult {
12
- isAvailable: boolean;
13
- products: Product[];
14
- checkoutState: CheckoutState;
15
- error: string | null;
16
- isLoading: boolean;
17
- loadProducts: (productIdentifiers?: string[]) => Promise<void>;
18
- purchaseProduct: (product: Product) => Promise<{
19
- success: boolean;
20
- }>;
21
- restorePurchases: () => Promise<{
22
- success: boolean;
23
- }>;
24
- }
25
- export declare function useNativeCheckout({ billingAccountId, purchaseType, productId, }?: UseNativeCheckoutOptions): UseNativeCheckoutResult;
26
- //# sourceMappingURL=useNativeCheckout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useNativeCheckout.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/hooks/useNativeCheckout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAWH,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAiB,MAAM,yBAAyB,CAAC;AACnF,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG5D,YAAY,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;AAErC,UAAU,wBAAwB;IAChC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,uBAAuB;IAC/B,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,CAAC,kBAAkB,CAAC,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/D,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IACrE,gBAAgB,EAAE,MAAM,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CACvD;AAED,wBAAgB,iBAAiB,CAAC,EAChC,gBAAgB,EAChB,YAAY,EACZ,SAAS,GACV,GAAE,wBAA6B,GAAG,uBAAuB,CA+HzD"}
@@ -1,19 +0,0 @@
1
- /**
2
- * Hook for getting payment provider configuration
3
- */
4
- interface PaymentProviderConfig {
5
- stripeEnabled: boolean;
6
- stripePublishableKey: string | null;
7
- razorpayEnabled: boolean;
8
- razorpayKeyId: string | null;
9
- }
10
- interface UsePaymentProvidersResult {
11
- config: PaymentProviderConfig | null;
12
- isLoading: boolean;
13
- error: Error | null;
14
- stripeEnabled: boolean;
15
- razorpayEnabled: boolean;
16
- }
17
- export declare function usePaymentProviders(): UsePaymentProvidersResult;
18
- export {};
19
- //# sourceMappingURL=usePaymentProviders.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePaymentProviders.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/hooks/usePaymentProviders.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,UAAU,qBAAqB;IAC7B,aAAa,EAAE,OAAO,CAAC;IACvB,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,eAAe,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,UAAU,yBAAyB;IACjC,MAAM,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,mBAAmB,IAAI,yBAAyB,CAc/D"}