@burdenoff/microfe-billing 2026.1101.1 → 2026.1108.2

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 (768) hide show
  1. package/dist/billing/BillingAdminRoutes.d.ts +1 -2
  2. package/dist/billing/BillingAdminRoutes.js +11 -12
  3. package/dist/billing/BillingAdminRoutes.js.map +1 -1
  4. package/dist/billing/BillingRoot.d.ts +0 -1
  5. package/dist/billing/BillingRoot.js +10 -9
  6. package/dist/billing/BillingRoot.js.map +1 -1
  7. package/dist/billing/BillingUserRoutes.d.ts +1 -2
  8. package/dist/billing/BillingUserRoutes.js +13 -14
  9. package/dist/billing/BillingUserRoutes.js.map +1 -1
  10. package/dist/billing/hooks/useBillingAccountSelection.d.ts +0 -1
  11. package/dist/billing/hooks/useBillingAccountSelection.js +7 -5
  12. package/dist/billing/hooks/useBillingAccountSelection.js.map +1 -1
  13. package/dist/billing/hooks/useBillingEventEmitter.d.ts +0 -1
  14. package/dist/billing/hooks/useBillingEventEmitter.js +1 -2
  15. package/dist/billing/hooks/useBillingEventEmitter.js.map +1 -1
  16. package/dist/billing/hooks/useBillingNavigate.d.ts +0 -1
  17. package/dist/billing/hooks/useBillingNavigate.js +1 -2
  18. package/dist/billing/hooks/useBillingNavigate.js.map +1 -1
  19. package/dist/billing/hooks/useBillingPermissions.d.ts +0 -1
  20. package/dist/billing/hooks/useBillingPermissions.js +2 -3
  21. package/dist/billing/hooks/useBillingPermissions.js.map +1 -1
  22. package/dist/billing/hooks/useDefaultBillingCurrency.d.ts +0 -1
  23. package/dist/billing/hooks/useDefaultBillingCurrency.js +1 -2
  24. package/dist/billing/hooks/useDefaultBillingCurrency.js.map +1 -1
  25. package/dist/billing/hooks/useProducts.d.ts +0 -1
  26. package/dist/billing/hooks/useProducts.js +1 -2
  27. package/dist/billing/hooks/useProducts.js.map +1 -1
  28. package/dist/billing/index.d.ts +0 -1
  29. package/dist/billing/lib/native-purchases.d.ts +0 -1
  30. package/dist/billing/lib/native-purchases.js +1 -2
  31. package/dist/billing/lib/native-purchases.js.map +1 -1
  32. package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts +0 -1
  33. package/dist/billing/modules/addons/components/FloatingCartDrawer.js +4 -5
  34. package/dist/billing/modules/addons/components/FloatingCartDrawer.js.map +1 -1
  35. package/dist/billing/modules/addons/hooks/index.d.ts +0 -1
  36. package/dist/billing/modules/addons/hooks/index.js +3 -2
  37. package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.d.ts +0 -1
  38. package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.js +1 -2
  39. package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.js.map +1 -1
  40. package/dist/billing/modules/addons/hooks/useAddons.d.ts +0 -1
  41. package/dist/billing/modules/addons/hooks/useAddons.js +1 -2
  42. package/dist/billing/modules/addons/hooks/useAddons.js.map +1 -1
  43. package/dist/billing/modules/addons/index.d.ts +0 -1
  44. package/dist/billing/modules/addons/index.js +10 -10
  45. package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts +0 -1
  46. package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.js +15 -16
  47. package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.js.map +1 -1
  48. package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts +0 -1
  49. package/dist/billing/modules/addons/pages/AddonCreatePage.js +11 -12
  50. package/dist/billing/modules/addons/pages/AddonCreatePage.js.map +1 -1
  51. package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts +0 -1
  52. package/dist/billing/modules/addons/pages/AddonDetailPage.js +16 -17
  53. package/dist/billing/modules/addons/pages/AddonDetailPage.js.map +1 -1
  54. package/dist/billing/modules/addons/pages/AddonEditPage.d.ts +0 -1
  55. package/dist/billing/modules/addons/pages/AddonEditPage.js +16 -17
  56. package/dist/billing/modules/addons/pages/AddonEditPage.js.map +1 -1
  57. package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts +0 -1
  58. package/dist/billing/modules/addons/pages/AddonsBrowsePage.js +111 -106
  59. package/dist/billing/modules/addons/pages/AddonsBrowsePage.js.map +1 -1
  60. package/dist/billing/modules/addons/pages/AddonsListPage.d.ts +0 -1
  61. package/dist/billing/modules/addons/pages/AddonsListPage.js +105 -100
  62. package/dist/billing/modules/addons/pages/AddonsListPage.js.map +1 -1
  63. package/dist/billing/modules/addons/pages/index.d.ts +0 -1
  64. package/dist/billing/modules/addons/pages/index.js +7 -6
  65. package/dist/billing/modules/addons/store/addonCartStore.d.ts +0 -1
  66. package/dist/billing/modules/addons/store/addonCartStore.js +2 -7
  67. package/dist/billing/modules/addons/store/addonCartStore.js.map +1 -1
  68. package/dist/billing/modules/affiliate/api.d.ts +0 -1
  69. package/dist/billing/modules/affiliate/api.js +1 -2
  70. package/dist/billing/modules/affiliate/api.js.map +1 -1
  71. package/dist/billing/modules/affiliate/index.d.ts +0 -1
  72. package/dist/billing/modules/affiliate/index.js +1 -2
  73. package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts +0 -1
  74. package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.js +29 -28
  75. package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.js.map +1 -1
  76. package/dist/billing/modules/analytics/index.d.ts +0 -1
  77. package/dist/billing/modules/analytics/index.js +1 -2
  78. package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts +0 -1
  79. package/dist/billing/modules/analytics/pages/AnalyticsPage.js +8 -9
  80. package/dist/billing/modules/analytics/pages/AnalyticsPage.js.map +1 -1
  81. package/dist/billing/modules/analytics/pages/index.d.ts +0 -1
  82. package/dist/billing/modules/analytics/pages/index.js +1 -1
  83. package/dist/billing/modules/billing/hooks/index.d.ts +0 -1
  84. package/dist/billing/modules/billing/hooks/index.js +5 -4
  85. package/dist/billing/modules/billing/hooks/useInvoices.d.ts +0 -1
  86. package/dist/billing/modules/billing/hooks/useInvoices.js +1 -2
  87. package/dist/billing/modules/billing/hooks/useInvoices.js.map +1 -1
  88. package/dist/billing/modules/billing/hooks/useOrderCallbacks.d.ts +0 -1
  89. package/dist/billing/modules/billing/hooks/useOrderCallbacks.js +1 -2
  90. package/dist/billing/modules/billing/hooks/useOrderCallbacks.js.map +1 -1
  91. package/dist/billing/modules/billing/hooks/usePayments.d.ts +0 -1
  92. package/dist/billing/modules/billing/hooks/useRefunds.d.ts +0 -1
  93. package/dist/billing/modules/billing/hooks/useRefunds.js +1 -2
  94. package/dist/billing/modules/billing/hooks/useRefunds.js.map +1 -1
  95. package/dist/billing/modules/billing/hooks/useTransactions.d.ts +0 -1
  96. package/dist/billing/modules/billing/hooks/useTransactions.js +30 -31
  97. package/dist/billing/modules/billing/hooks/useTransactions.js.map +1 -1
  98. package/dist/billing/modules/billing/index.d.ts +0 -1
  99. package/dist/billing/modules/billing/index.js +15 -15
  100. package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.d.ts +0 -1
  101. package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.js +11 -12
  102. package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.js.map +1 -1
  103. package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts +0 -1
  104. package/dist/billing/modules/billing/pages/InvoiceDetailPage.js +53 -59
  105. package/dist/billing/modules/billing/pages/InvoiceDetailPage.js.map +1 -1
  106. package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts +0 -1
  107. package/dist/billing/modules/billing/pages/InvoicesListPage.js +81 -87
  108. package/dist/billing/modules/billing/pages/InvoicesListPage.js.map +1 -1
  109. package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.d.ts +0 -1
  110. package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.js +11 -12
  111. package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.js.map +1 -1
  112. package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts +0 -1
  113. package/dist/billing/modules/billing/pages/PaymentMethodsPage.js +51 -54
  114. package/dist/billing/modules/billing/pages/PaymentMethodsPage.js.map +1 -1
  115. package/dist/billing/modules/billing/pages/RefundIssueLogsPage.d.ts +0 -1
  116. package/dist/billing/modules/billing/pages/RefundIssueLogsPage.js +33 -34
  117. package/dist/billing/modules/billing/pages/RefundIssueLogsPage.js.map +1 -1
  118. package/dist/billing/modules/billing/pages/RefundsPage.d.ts +0 -1
  119. package/dist/billing/modules/billing/pages/RefundsPage.js +92 -93
  120. package/dist/billing/modules/billing/pages/RefundsPage.js.map +1 -1
  121. package/dist/billing/modules/billing/pages/TransactionsPage.d.ts +0 -1
  122. package/dist/billing/modules/billing/pages/TransactionsPage.js +38 -39
  123. package/dist/billing/modules/billing/pages/TransactionsPage.js.map +1 -1
  124. package/dist/billing/modules/billing/pages/UserRefundsPage.d.ts +0 -1
  125. package/dist/billing/modules/billing/pages/UserRefundsPage.js +24 -30
  126. package/dist/billing/modules/billing/pages/UserRefundsPage.js.map +1 -1
  127. package/dist/billing/modules/billing/pages/index.d.ts +0 -1
  128. package/dist/billing/modules/billing/pages/index.js +10 -9
  129. package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts +0 -1
  130. package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts +0 -1
  131. package/dist/billing/modules/checkout/components/BillingAccountSelector.js +1 -2
  132. package/dist/billing/modules/checkout/components/BillingAccountSelector.js.map +1 -1
  133. package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts +0 -1
  134. package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.d.ts +0 -1
  135. package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js +1 -2
  136. package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js.map +1 -1
  137. package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts +0 -1
  138. package/dist/billing/modules/checkout/components/CreditsAmountInput.js +1 -2
  139. package/dist/billing/modules/checkout/components/CreditsAmountInput.js.map +1 -1
  140. package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts +0 -1
  141. package/dist/billing/modules/checkout/components/CurrencySelector.d.ts +0 -1
  142. package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts +0 -1
  143. package/dist/billing/modules/checkout/components/NativeCheckoutView.js +1 -2
  144. package/dist/billing/modules/checkout/components/NativeCheckoutView.js.map +1 -1
  145. package/dist/billing/modules/checkout/components/OrderSummary.d.ts +0 -1
  146. package/dist/billing/modules/checkout/components/OrderSummary.js +35 -32
  147. package/dist/billing/modules/checkout/components/OrderSummary.js.map +1 -1
  148. package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts +0 -1
  149. package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts +0 -1
  150. package/dist/billing/modules/checkout/components/PromoCodeInput.js +1 -2
  151. package/dist/billing/modules/checkout/components/PromoCodeInput.js.map +1 -1
  152. package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts +0 -1
  153. package/dist/billing/modules/checkout/components/RazorpayPaymentButton.js +1 -2
  154. package/dist/billing/modules/checkout/components/RazorpayPaymentButton.js.map +1 -1
  155. package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts +0 -1
  156. package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts +0 -1
  157. package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.js +1 -2
  158. package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.js.map +1 -1
  159. package/dist/billing/modules/checkout/components/StoreShippingSection.d.ts +0 -1
  160. package/dist/billing/modules/checkout/components/StoreShippingSection.js +5 -3
  161. package/dist/billing/modules/checkout/components/StoreShippingSection.js.map +1 -1
  162. package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts +0 -1
  163. package/dist/billing/modules/checkout/components/StripePaymentForm.js +35 -41
  164. package/dist/billing/modules/checkout/components/StripePaymentForm.js.map +1 -1
  165. package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts +0 -1
  166. package/dist/billing/modules/checkout/components/SubscriptionSelector.js +1 -2
  167. package/dist/billing/modules/checkout/components/SubscriptionSelector.js.map +1 -1
  168. package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts +0 -1
  169. package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.js +1 -2
  170. package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.js.map +1 -1
  171. package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.d.ts +0 -1
  172. package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.js +5 -6
  173. package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.js.map +1 -1
  174. package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.d.ts +0 -1
  175. package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js +7 -8
  176. package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js.map +1 -1
  177. package/dist/billing/modules/checkout/components/index.d.ts +0 -1
  178. package/dist/billing/modules/checkout/components/index.js +12 -11
  179. package/dist/billing/modules/checkout/hooks/index.d.ts +0 -1
  180. package/dist/billing/modules/checkout/hooks/index.js +5 -4
  181. package/dist/billing/modules/checkout/hooks/useCheckout.d.ts +0 -1
  182. package/dist/billing/modules/checkout/hooks/useCheckout.js +182 -195
  183. package/dist/billing/modules/checkout/hooks/useCheckout.js.map +1 -1
  184. package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts +0 -1
  185. package/dist/billing/modules/checkout/hooks/useNativeCheckout.js +33 -32
  186. package/dist/billing/modules/checkout/hooks/useNativeCheckout.js.map +1 -1
  187. package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts +0 -1
  188. package/dist/billing/modules/checkout/hooks/usePaymentProviders.js +1 -2
  189. package/dist/billing/modules/checkout/hooks/usePaymentProviders.js.map +1 -1
  190. package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts +0 -1
  191. package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.js +1 -2
  192. package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.js.map +1 -1
  193. package/dist/billing/modules/checkout/hooks/useStoreShipping.d.ts +4 -8
  194. package/dist/billing/modules/checkout/hooks/useStoreShipping.js +1 -2
  195. package/dist/billing/modules/checkout/hooks/useStoreShipping.js.map +1 -1
  196. package/dist/billing/modules/checkout/index.d.ts +0 -1
  197. package/dist/billing/modules/checkout/index.js +19 -19
  198. package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts +0 -1
  199. package/dist/billing/modules/checkout/pages/CheckoutPage.js +730 -732
  200. package/dist/billing/modules/checkout/pages/CheckoutPage.js.map +1 -1
  201. package/dist/billing/modules/checkout/pages/index.d.ts +0 -1
  202. package/dist/billing/modules/checkout/pages/index.js +1 -1
  203. package/dist/billing/modules/checkout/types/index.d.ts +0 -1
  204. package/dist/billing/modules/checkout/utils/storeOrder.d.ts +0 -1
  205. package/dist/billing/modules/checkout/utils/storeOrder.js +0 -1
  206. package/dist/billing/modules/checkout/utils/storeOrder.js.map +1 -1
  207. package/dist/billing/modules/coupons/index.d.ts +0 -1
  208. package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts +0 -1
  209. package/dist/billing/modules/coupons/pages/CouponDetailPage.js +5 -6
  210. package/dist/billing/modules/coupons/pages/CouponDetailPage.js.map +1 -1
  211. package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts +0 -1
  212. package/dist/billing/modules/coupons/pages/CouponsListPage.js +15 -13
  213. package/dist/billing/modules/coupons/pages/CouponsListPage.js.map +1 -1
  214. package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts +0 -1
  215. package/dist/billing/modules/coupons/pages/CreateCouponPage.js +12 -10
  216. package/dist/billing/modules/coupons/pages/CreateCouponPage.js.map +1 -1
  217. package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts +0 -1
  218. package/dist/billing/modules/coupons/pages/EditCouponPage.js +7 -11
  219. package/dist/billing/modules/coupons/pages/EditCouponPage.js.map +1 -1
  220. package/dist/billing/modules/coupons/pages/index.d.ts +0 -1
  221. package/dist/billing/modules/coupons/pages/index.js +5 -4
  222. package/dist/billing/modules/credits/hooks/index.d.ts +0 -1
  223. package/dist/billing/modules/credits/hooks/useCredits.d.ts +0 -1
  224. package/dist/billing/modules/credits/hooks/useCredits.js +20 -21
  225. package/dist/billing/modules/credits/hooks/useCredits.js.map +1 -1
  226. package/dist/billing/modules/credits/index.d.ts +0 -1
  227. package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts +0 -1
  228. package/dist/billing/modules/credits/pages/AdminCreditsPage.js +19 -24
  229. package/dist/billing/modules/credits/pages/AdminCreditsPage.js.map +1 -1
  230. package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts +0 -1
  231. package/dist/billing/modules/credits/pages/CreditTransactionsPage.js +26 -27
  232. package/dist/billing/modules/credits/pages/CreditTransactionsPage.js.map +1 -1
  233. package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts +0 -1
  234. package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js +54 -52
  235. package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js.map +1 -1
  236. package/dist/billing/modules/credits/pages/CreditsPage.d.ts +0 -1
  237. package/dist/billing/modules/credits/pages/CreditsPage.js +37 -38
  238. package/dist/billing/modules/credits/pages/CreditsPage.js.map +1 -1
  239. package/dist/billing/modules/credits/pages/index.d.ts +0 -1
  240. package/dist/billing/modules/credits/pages/index.js +5 -4
  241. package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts +0 -1
  242. package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.js +2 -3
  243. package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.js.map +1 -1
  244. package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts +0 -1
  245. package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.js +35 -43
  246. package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.js.map +1 -1
  247. package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts +0 -1
  248. package/dist/billing/modules/dashboard/components/BillingAccountCard.js +1 -2
  249. package/dist/billing/modules/dashboard/components/BillingAccountCard.js.map +1 -1
  250. package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts +0 -1
  251. package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js +1 -2
  252. package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js.map +1 -1
  253. package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts +0 -1
  254. package/dist/billing/modules/dashboard/components/PaymentMethodsSection.js +2 -5
  255. package/dist/billing/modules/dashboard/components/PaymentMethodsSection.js.map +1 -1
  256. package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts +0 -1
  257. package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js +1 -2
  258. package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js.map +1 -1
  259. package/dist/billing/modules/dashboard/components/index.d.ts +0 -1
  260. package/dist/billing/modules/dashboard/components/index.js +7 -6
  261. package/dist/billing/modules/dashboard/hooks/index.d.ts +0 -1
  262. package/dist/billing/modules/dashboard/hooks/index.js +3 -2
  263. package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts +0 -1
  264. package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.js +2 -3
  265. package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.js.map +1 -1
  266. package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts +0 -1
  267. package/dist/billing/modules/dashboard/hooks/useDashboard.js +2 -3
  268. package/dist/billing/modules/dashboard/hooks/useDashboard.js.map +1 -1
  269. package/dist/billing/modules/dashboard/index.d.ts +0 -1
  270. package/dist/billing/modules/dashboard/index.js +11 -10
  271. package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts +0 -1
  272. package/dist/billing/modules/dashboard/pages/OverviewPage.js +266 -264
  273. package/dist/billing/modules/dashboard/pages/OverviewPage.js.map +1 -1
  274. package/dist/billing/modules/dashboard/pages/index.d.ts +0 -1
  275. package/dist/billing/modules/dashboard/pages/index.js +1 -1
  276. package/dist/billing/modules/discounts/index.d.ts +0 -1
  277. package/dist/billing/modules/discounts/index.js +1 -2
  278. package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts +0 -1
  279. package/dist/billing/modules/discounts/pages/DiscountsListPage.js +169 -176
  280. package/dist/billing/modules/discounts/pages/DiscountsListPage.js.map +1 -1
  281. package/dist/billing/modules/discounts/pages/index.d.ts +0 -1
  282. package/dist/billing/modules/discounts/pages/index.js +1 -1
  283. package/dist/billing/modules/earnings/api.d.ts +1 -2
  284. package/dist/billing/modules/earnings/api.js +67 -68
  285. package/dist/billing/modules/earnings/api.js.map +1 -1
  286. package/dist/billing/modules/earnings/index.d.ts +0 -1
  287. package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.d.ts +0 -1
  288. package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.js +17 -17
  289. package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.js.map +1 -1
  290. package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.d.ts +0 -1
  291. package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.js +188 -189
  292. package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.js.map +1 -1
  293. package/dist/billing/modules/earnings/pages/EarningsPage.d.ts +0 -1
  294. package/dist/billing/modules/earnings/pages/EarningsPage.js +111 -111
  295. package/dist/billing/modules/earnings/pages/EarningsPage.js.map +1 -1
  296. package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts +0 -1
  297. package/dist/billing/modules/earnings/pages/PayoutAdminPage.js +29 -30
  298. package/dist/billing/modules/earnings/pages/PayoutAdminPage.js.map +1 -1
  299. package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts +0 -1
  300. package/dist/billing/modules/earnings/pages/PayoutsPage.js +203 -166
  301. package/dist/billing/modules/earnings/pages/PayoutsPage.js.map +1 -1
  302. package/dist/billing/modules/earnings/payoutAccountStatus.d.ts +27 -0
  303. package/dist/billing/modules/earnings/payoutAccountStatus.js +46 -0
  304. package/dist/billing/modules/earnings/payoutAccountStatus.js.map +1 -0
  305. package/dist/billing/modules/plans/constants/enterprise.d.ts +0 -1
  306. package/dist/billing/modules/plans/constants/enterprise.js +1 -2
  307. package/dist/billing/modules/plans/constants/enterprise.js.map +1 -1
  308. package/dist/billing/modules/plans/constants/featuredQuotas.d.ts +0 -1
  309. package/dist/billing/modules/plans/constants/featuredQuotas.js +1 -2
  310. package/dist/billing/modules/plans/constants/featuredQuotas.js.map +1 -1
  311. package/dist/billing/modules/plans/hooks/index.d.ts +0 -1
  312. package/dist/billing/modules/plans/hooks/index.js +3 -2
  313. package/dist/billing/modules/plans/hooks/usePlans.d.ts +0 -1
  314. package/dist/billing/modules/plans/hooks/usePlans.js +1 -2
  315. package/dist/billing/modules/plans/hooks/usePlans.js.map +1 -1
  316. package/dist/billing/modules/plans/hooks/useQuotas.d.ts +0 -1
  317. package/dist/billing/modules/plans/hooks/useQuotas.js +1 -2
  318. package/dist/billing/modules/plans/hooks/useQuotas.js.map +1 -1
  319. package/dist/billing/modules/plans/index.d.ts +0 -1
  320. package/dist/billing/modules/plans/index.js +11 -11
  321. package/dist/billing/modules/plans/pages/PlanAssignFreePage.d.ts +0 -1
  322. package/dist/billing/modules/plans/pages/PlanAssignFreePage.js +12 -15
  323. package/dist/billing/modules/plans/pages/PlanAssignFreePage.js.map +1 -1
  324. package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts +0 -1
  325. package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js +38 -39
  326. package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js.map +1 -1
  327. package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts +0 -1
  328. package/dist/billing/modules/plans/pages/PlanCreatePage.js +10 -11
  329. package/dist/billing/modules/plans/pages/PlanCreatePage.js.map +1 -1
  330. package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts +0 -1
  331. package/dist/billing/modules/plans/pages/PlanDetailPage.js +40 -41
  332. package/dist/billing/modules/plans/pages/PlanDetailPage.js.map +1 -1
  333. package/dist/billing/modules/plans/pages/PlanEditPage.d.ts +0 -1
  334. package/dist/billing/modules/plans/pages/PlanEditPage.js +15 -16
  335. package/dist/billing/modules/plans/pages/PlanEditPage.js.map +1 -1
  336. package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts +0 -1
  337. package/dist/billing/modules/plans/pages/PlansBrowsePage.js +18 -19
  338. package/dist/billing/modules/plans/pages/PlansBrowsePage.js.map +1 -1
  339. package/dist/billing/modules/plans/pages/PlansListPage.d.ts +0 -1
  340. package/dist/billing/modules/plans/pages/PlansListPage.js +100 -101
  341. package/dist/billing/modules/plans/pages/PlansListPage.js.map +1 -1
  342. package/dist/billing/modules/plans/pages/index.d.ts +0 -1
  343. package/dist/billing/modules/plans/pages/index.js +8 -7
  344. package/dist/billing/modules/plans/utils/currencyPriceOverrides.d.ts +0 -1
  345. package/dist/billing/modules/plans/utils/currencyPriceOverrides.js +1 -2
  346. package/dist/billing/modules/plans/utils/currencyPriceOverrides.js.map +1 -1
  347. package/dist/billing/modules/plans/utils/planSelector.d.ts +0 -1
  348. package/dist/billing/modules/plans/utils/planSelector.js +1 -2
  349. package/dist/billing/modules/plans/utils/planSelector.js.map +1 -1
  350. package/dist/billing/modules/promotions/index.d.ts +0 -1
  351. package/dist/billing/modules/promotions/pages/CreatePromotionPage.d.ts +0 -1
  352. package/dist/billing/modules/promotions/pages/CreatePromotionPage.js +5 -6
  353. package/dist/billing/modules/promotions/pages/CreatePromotionPage.js.map +1 -1
  354. package/dist/billing/modules/promotions/pages/PromotionsListPage.d.ts +0 -1
  355. package/dist/billing/modules/promotions/pages/PromotionsListPage.js +5 -6
  356. package/dist/billing/modules/promotions/pages/PromotionsListPage.js.map +1 -1
  357. package/dist/billing/modules/promotions/pages/index.d.ts +0 -1
  358. package/dist/billing/modules/promotions/pages/index.js +3 -2
  359. package/dist/billing/modules/quota/hooks/index.d.ts +0 -1
  360. package/dist/billing/modules/quota/hooks/index.js +1 -1
  361. package/dist/billing/modules/quota/hooks/useQuota.d.ts +0 -1
  362. package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts +0 -1
  363. package/dist/billing/modules/quota/hooks/useQuotaTemplates.js +1 -2
  364. package/dist/billing/modules/quota/hooks/useQuotaTemplates.js.map +1 -1
  365. package/dist/billing/modules/quota/index.d.ts +0 -1
  366. package/dist/billing/modules/quota/index.js +8 -8
  367. package/dist/billing/modules/quota/pages/QuotaAssignFreePage.d.ts +0 -1
  368. package/dist/billing/modules/quota/pages/QuotaAssignFreePage.js +12 -15
  369. package/dist/billing/modules/quota/pages/QuotaAssignFreePage.js.map +1 -1
  370. package/dist/billing/modules/quota/pages/QuotaPage.d.ts +0 -1
  371. package/dist/billing/modules/quota/pages/QuotaPage.js +3 -3
  372. package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts +0 -1
  373. package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js +13 -14
  374. package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js.map +1 -1
  375. package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts +0 -1
  376. package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js +9 -10
  377. package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js.map +1 -1
  378. package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts +0 -1
  379. package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js +12 -13
  380. package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js.map +1 -1
  381. package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts +0 -1
  382. package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js +16 -17
  383. package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js.map +1 -1
  384. package/dist/billing/modules/quota/pages/index.d.ts +0 -1
  385. package/dist/billing/modules/quota/pages/index.js +6 -5
  386. package/dist/billing/modules/quota/utils/quotaSelector.d.ts +0 -1
  387. package/dist/billing/modules/quota/utils/quotaSelector.js +1 -2
  388. package/dist/billing/modules/quota/utils/quotaSelector.js.map +1 -1
  389. package/dist/billing/modules/settings/index.d.ts +0 -1
  390. package/dist/billing/modules/settings/pages/SettingsPage.d.ts +0 -1
  391. package/dist/billing/modules/settings/pages/SettingsPage.js +12 -13
  392. package/dist/billing/modules/settings/pages/SettingsPage.js.map +1 -1
  393. package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts +0 -1
  394. package/dist/billing/modules/settings/pages/TeamPermissionsPage.js +32 -32
  395. package/dist/billing/modules/settings/pages/TeamPermissionsPage.js.map +1 -1
  396. package/dist/billing/modules/settings/pages/index.d.ts +0 -1
  397. package/dist/billing/modules/settings/pages/index.js +3 -2
  398. package/dist/billing/modules/store/graphql/index.d.ts +0 -1
  399. package/dist/billing/modules/store/index.d.ts +0 -1
  400. package/dist/billing/modules/store/index.js +1 -2
  401. package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts +0 -1
  402. package/dist/billing/modules/store/pages/StoreCheckoutPage.js +1 -2
  403. package/dist/billing/modules/store/pages/StoreCheckoutPage.js.map +1 -1
  404. package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts +0 -1
  405. package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js +9 -11
  406. package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js.map +1 -1
  407. package/dist/billing/modules/subscriptions/hooks/index.d.ts +0 -1
  408. package/dist/billing/modules/subscriptions/hooks/index.js +1 -1
  409. package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts +0 -1
  410. package/dist/billing/modules/subscriptions/hooks/useSubscriptions.js +1 -2
  411. package/dist/billing/modules/subscriptions/hooks/useSubscriptions.js.map +1 -1
  412. package/dist/billing/modules/subscriptions/index.d.ts +0 -1
  413. package/dist/billing/modules/subscriptions/index.js +6 -6
  414. package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts +0 -1
  415. package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js +311 -312
  416. package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js.map +1 -1
  417. package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts +0 -1
  418. package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js +61 -62
  419. package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js.map +1 -1
  420. package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts +0 -1
  421. package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js +30 -31
  422. package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js.map +1 -1
  423. package/dist/billing/modules/subscriptions/pages/index.d.ts +0 -1
  424. package/dist/billing/modules/subscriptions/pages/index.js +4 -3
  425. package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.d.ts +0 -1
  426. package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.js +17 -18
  427. package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.js.map +1 -1
  428. package/dist/billing/modules/usage/hooks/index.d.ts +0 -1
  429. package/dist/billing/modules/usage/hooks/useUsage.d.ts +0 -1
  430. package/dist/billing/modules/usage/hooks/useUsage.js +72 -73
  431. package/dist/billing/modules/usage/hooks/useUsage.js.map +1 -1
  432. package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.d.ts +0 -1
  433. package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.js +12 -13
  434. package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.js.map +1 -1
  435. package/dist/billing/modules/usage/index.d.ts +0 -1
  436. package/dist/billing/modules/usage/index.js +1 -2
  437. package/dist/billing/modules/usage/pages/UsagePage.d.ts +0 -1
  438. package/dist/billing/modules/usage/pages/UsagePage.js +229 -227
  439. package/dist/billing/modules/usage/pages/UsagePage.js.map +1 -1
  440. package/dist/billing/modules/usage/pages/index.d.ts +0 -1
  441. package/dist/billing/modules/usage/pages/index.js +1 -1
  442. package/dist/billing/modules/usage/utils/aiSpend.d.ts +0 -1
  443. package/dist/billing/modules/usage/utils/aiSpend.js +2 -3
  444. package/dist/billing/modules/usage/utils/aiSpend.js.map +1 -1
  445. package/dist/billing/providers/BillingProvider.d.ts +0 -1
  446. package/dist/billing/providers/BillingProvider.js +3 -4
  447. package/dist/billing/providers/BillingProvider.js.map +1 -1
  448. package/dist/billing/shared/components/AccessDenied.d.ts +0 -1
  449. package/dist/billing/shared/components/AccessDenied.js +1 -2
  450. package/dist/billing/shared/components/AccessDenied.js.map +1 -1
  451. package/dist/billing/shared/components/ActorIdentity.d.ts +0 -1
  452. package/dist/billing/shared/components/ActorIdentity.js +2 -3
  453. package/dist/billing/shared/components/ActorIdentity.js.map +1 -1
  454. package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts +0 -1
  455. package/dist/billing/shared/components/CurrencyPriceOverridesEditor.js +1 -2
  456. package/dist/billing/shared/components/CurrencyPriceOverridesEditor.js.map +1 -1
  457. package/dist/billing/shared/components/EmptyState.d.ts +0 -1
  458. package/dist/billing/shared/components/EmptyState.js +1 -2
  459. package/dist/billing/shared/components/EmptyState.js.map +1 -1
  460. package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts +0 -1
  461. package/dist/billing/shared/components/PageHeader.d.ts +0 -1
  462. package/dist/billing/shared/components/PageHeader.js +1 -2
  463. package/dist/billing/shared/components/PageHeader.js.map +1 -1
  464. package/dist/billing/shared/components/PushPermissionNudge.d.ts +0 -1
  465. package/dist/billing/shared/components/PushPermissionNudge.js +2 -3
  466. package/dist/billing/shared/components/PushPermissionNudge.js.map +1 -1
  467. package/dist/billing/shared/components/ServerError.d.ts +0 -1
  468. package/dist/billing/shared/components/ServerError.js +1 -2
  469. package/dist/billing/shared/components/ServerError.js.map +1 -1
  470. package/dist/billing/shared/components/StatCard.d.ts +0 -1
  471. package/dist/billing/shared/components/StatCard.js +1 -2
  472. package/dist/billing/shared/components/StatCard.js.map +1 -1
  473. package/dist/billing/shared/components/index.d.ts +0 -1
  474. package/dist/billing/shared/components/index.js +8 -7
  475. package/dist/billing/shared/hooks/index.d.ts +0 -1
  476. package/dist/billing/shared/hooks/index.js +1 -1
  477. package/dist/billing/shared/hooks/useActorProfiles.d.ts +0 -1
  478. package/dist/billing/shared/hooks/useActorProfiles.js +4 -8
  479. package/dist/billing/shared/hooks/useActorProfiles.js.map +1 -1
  480. package/dist/billing/shared/hooks/useTr.d.ts +0 -1
  481. package/dist/billing/shared/hooks/useTr.js +1 -2
  482. package/dist/billing/shared/hooks/useTr.js.map +1 -1
  483. package/dist/billing/shared/index.d.ts +0 -1
  484. package/dist/billing/shared/types/graphql.d.ts +0 -1
  485. package/dist/billing/shared/types/graphql.js +1 -2
  486. package/dist/billing/shared/types/graphql.js.map +1 -1
  487. package/dist/billing/shared/types/index.d.ts +0 -1
  488. package/dist/billing/shared/ui/Card.d.ts +1 -2
  489. package/dist/billing/shared/ui/Card.js +1 -2
  490. package/dist/billing/shared/ui/Card.js.map +1 -1
  491. package/dist/billing/shared/ui/MetricCard.d.ts +1 -2
  492. package/dist/billing/shared/ui/MetricCard.js +1 -2
  493. package/dist/billing/shared/ui/MetricCard.js.map +1 -1
  494. package/dist/billing/shared/ui/ProgressBar.d.ts +1 -2
  495. package/dist/billing/shared/ui/ProgressBar.js +1 -2
  496. package/dist/billing/shared/ui/ProgressBar.js.map +1 -1
  497. package/dist/billing/shared/ui/SectionHeader.d.ts +1 -2
  498. package/dist/billing/shared/ui/StatusPill.d.ts +1 -2
  499. package/dist/billing/shared/ui/StatusPill.js +1 -2
  500. package/dist/billing/shared/ui/StatusPill.js.map +1 -1
  501. package/dist/billing/shared/ui/index.d.ts +0 -1
  502. package/dist/billing/shared/ui/index.js +5 -4
  503. package/dist/billing/shared/utils/directActivityGraphql.d.ts +0 -1
  504. package/dist/billing/shared/utils/directBillingGraphql.d.ts +0 -1
  505. package/dist/billing/shared/utils/directBillingGraphql.js +1 -2
  506. package/dist/billing/shared/utils/directBillingGraphql.js.map +1 -1
  507. package/dist/billing/shared/utils/error.d.ts +0 -1
  508. package/dist/billing/shared/utils/error.js +1 -2
  509. package/dist/billing/shared/utils/error.js.map +1 -1
  510. package/dist/billing/shared/utils/format.d.ts +0 -1
  511. package/dist/billing/shared/utils/format.js +1 -2
  512. package/dist/billing/shared/utils/format.js.map +1 -1
  513. package/dist/billing/shared/utils/gatewayGraphql.d.ts +0 -1
  514. package/dist/billing/shared/utils/gatewayGraphql.js +2 -3
  515. package/dist/billing/shared/utils/gatewayGraphql.js.map +1 -1
  516. package/dist/billing/shared/utils/index.d.ts +0 -1
  517. package/dist/billing/shared/utils/index.js +9 -8
  518. package/dist/billing/shared/utils/navigation.d.ts +0 -1
  519. package/dist/billing/shared/utils/navigation.js +1 -2
  520. package/dist/billing/shared/utils/navigation.js.map +1 -1
  521. package/dist/billing/shared/utils/paymentTheme.d.ts +0 -1
  522. package/dist/billing/shared/utils/paymentTheme.js +2 -3
  523. package/dist/billing/shared/utils/paymentTheme.js.map +1 -1
  524. package/dist/billing/shared/utils/planFeatureQuantity.d.ts +0 -1
  525. package/dist/billing/shared/utils/planFeatureQuantity.js +2 -3
  526. package/dist/billing/shared/utils/planFeatureQuantity.js.map +1 -1
  527. package/dist/billing/shared/utils/status.d.ts +0 -1
  528. package/dist/billing/shared/utils/status.js +24 -25
  529. package/dist/billing/shared/utils/status.js.map +1 -1
  530. package/dist/billing/shared/utils/tokens.d.ts +0 -1
  531. package/dist/billing/shared/utils/tokens.js +1 -2
  532. package/dist/billing/shared/utils/tokens.js.map +1 -1
  533. package/dist/billing/translations/en.d.ts +0 -1
  534. package/dist/billing/types/index.d.ts +0 -1
  535. package/dist/dev/main.d.ts +0 -1
  536. package/dist/generated/global-operations.d.ts +3253 -3206
  537. package/dist/generated/global-operations.js +446 -422
  538. package/dist/generated/global-operations.js.map +1 -1
  539. package/dist/generated/global-types.d.ts +2 -22
  540. package/dist/generated/global-types.js +1 -2
  541. package/dist/generated/global-types.js.map +1 -1
  542. package/dist/generated/wspace-operations.d.ts +76 -47
  543. package/dist/generated/wspace-operations.js +2 -3
  544. package/dist/generated/wspace-operations.js.map +1 -1
  545. package/dist/generated/wspace-types.d.ts +4 -24
  546. package/dist/index.d.ts +0 -1
  547. package/dist/index.js +1 -2
  548. package/dist/node_modules/@capacitor/core/dist/index.js +12 -14
  549. package/dist/node_modules/@capacitor/core/dist/index.js.map +1 -1
  550. package/dist/node_modules/sonner/dist/index.js +75 -69
  551. package/dist/node_modules/sonner/dist/index.js.map +1 -1
  552. package/dist/utils/nativeBridge.d.ts +0 -1
  553. package/dist/utils/nativeBridge.js +1 -2
  554. package/package.json +65 -54
  555. package/dist/billing/BillingAdminRoutes.d.ts.map +0 -1
  556. package/dist/billing/BillingRoot.d.ts.map +0 -1
  557. package/dist/billing/BillingUserRoutes.d.ts.map +0 -1
  558. package/dist/billing/hooks/useBillingAccountSelection.d.ts.map +0 -1
  559. package/dist/billing/hooks/useBillingEventEmitter.d.ts.map +0 -1
  560. package/dist/billing/hooks/useBillingNavigate.d.ts.map +0 -1
  561. package/dist/billing/hooks/useBillingPermissions.d.ts.map +0 -1
  562. package/dist/billing/hooks/useDefaultBillingCurrency.d.ts.map +0 -1
  563. package/dist/billing/hooks/useProducts.d.ts.map +0 -1
  564. package/dist/billing/index.d.ts.map +0 -1
  565. package/dist/billing/lib/native-purchases.d.ts.map +0 -1
  566. package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts.map +0 -1
  567. package/dist/billing/modules/addons/hooks/index.d.ts.map +0 -1
  568. package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.d.ts.map +0 -1
  569. package/dist/billing/modules/addons/hooks/useAddons.d.ts.map +0 -1
  570. package/dist/billing/modules/addons/index.d.ts.map +0 -1
  571. package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts.map +0 -1
  572. package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts.map +0 -1
  573. package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts.map +0 -1
  574. package/dist/billing/modules/addons/pages/AddonEditPage.d.ts.map +0 -1
  575. package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts.map +0 -1
  576. package/dist/billing/modules/addons/pages/AddonsListPage.d.ts.map +0 -1
  577. package/dist/billing/modules/addons/pages/index.d.ts.map +0 -1
  578. package/dist/billing/modules/addons/store/addonCartStore.d.ts.map +0 -1
  579. package/dist/billing/modules/affiliate/api.d.ts.map +0 -1
  580. package/dist/billing/modules/affiliate/index.d.ts.map +0 -1
  581. package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts.map +0 -1
  582. package/dist/billing/modules/analytics/index.d.ts.map +0 -1
  583. package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts.map +0 -1
  584. package/dist/billing/modules/analytics/pages/index.d.ts.map +0 -1
  585. package/dist/billing/modules/billing/hooks/index.d.ts.map +0 -1
  586. package/dist/billing/modules/billing/hooks/useInvoices.d.ts.map +0 -1
  587. package/dist/billing/modules/billing/hooks/useOrderCallbacks.d.ts.map +0 -1
  588. package/dist/billing/modules/billing/hooks/usePayments.d.ts.map +0 -1
  589. package/dist/billing/modules/billing/hooks/useRefunds.d.ts.map +0 -1
  590. package/dist/billing/modules/billing/hooks/useTransactions.d.ts.map +0 -1
  591. package/dist/billing/modules/billing/index.d.ts.map +0 -1
  592. package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.d.ts.map +0 -1
  593. package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts.map +0 -1
  594. package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts.map +0 -1
  595. package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.d.ts.map +0 -1
  596. package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts.map +0 -1
  597. package/dist/billing/modules/billing/pages/RefundIssueLogsPage.d.ts.map +0 -1
  598. package/dist/billing/modules/billing/pages/RefundsPage.d.ts.map +0 -1
  599. package/dist/billing/modules/billing/pages/TransactionsPage.d.ts.map +0 -1
  600. package/dist/billing/modules/billing/pages/UserRefundsPage.d.ts.map +0 -1
  601. package/dist/billing/modules/billing/pages/index.d.ts.map +0 -1
  602. package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts.map +0 -1
  603. package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts.map +0 -1
  604. package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts.map +0 -1
  605. package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.d.ts.map +0 -1
  606. package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts.map +0 -1
  607. package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts.map +0 -1
  608. package/dist/billing/modules/checkout/components/CurrencySelector.d.ts.map +0 -1
  609. package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts.map +0 -1
  610. package/dist/billing/modules/checkout/components/OrderSummary.d.ts.map +0 -1
  611. package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts.map +0 -1
  612. package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts.map +0 -1
  613. package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts.map +0 -1
  614. package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts.map +0 -1
  615. package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts.map +0 -1
  616. package/dist/billing/modules/checkout/components/StoreShippingSection.d.ts.map +0 -1
  617. package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts.map +0 -1
  618. package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts.map +0 -1
  619. package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts.map +0 -1
  620. package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.d.ts.map +0 -1
  621. package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.d.ts.map +0 -1
  622. package/dist/billing/modules/checkout/components/index.d.ts.map +0 -1
  623. package/dist/billing/modules/checkout/hooks/index.d.ts.map +0 -1
  624. package/dist/billing/modules/checkout/hooks/useCheckout.d.ts.map +0 -1
  625. package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts.map +0 -1
  626. package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts.map +0 -1
  627. package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts.map +0 -1
  628. package/dist/billing/modules/checkout/hooks/useStoreShipping.d.ts.map +0 -1
  629. package/dist/billing/modules/checkout/index.d.ts.map +0 -1
  630. package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts.map +0 -1
  631. package/dist/billing/modules/checkout/pages/index.d.ts.map +0 -1
  632. package/dist/billing/modules/checkout/types/index.d.ts.map +0 -1
  633. package/dist/billing/modules/checkout/utils/storeOrder.d.ts.map +0 -1
  634. package/dist/billing/modules/coupons/index.d.ts.map +0 -1
  635. package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts.map +0 -1
  636. package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts.map +0 -1
  637. package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts.map +0 -1
  638. package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts.map +0 -1
  639. package/dist/billing/modules/coupons/pages/index.d.ts.map +0 -1
  640. package/dist/billing/modules/credits/hooks/index.d.ts.map +0 -1
  641. package/dist/billing/modules/credits/hooks/useCredits.d.ts.map +0 -1
  642. package/dist/billing/modules/credits/index.d.ts.map +0 -1
  643. package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts.map +0 -1
  644. package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts.map +0 -1
  645. package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts.map +0 -1
  646. package/dist/billing/modules/credits/pages/CreditsPage.d.ts.map +0 -1
  647. package/dist/billing/modules/credits/pages/index.d.ts.map +0 -1
  648. package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts.map +0 -1
  649. package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts.map +0 -1
  650. package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts.map +0 -1
  651. package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts.map +0 -1
  652. package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts.map +0 -1
  653. package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts.map +0 -1
  654. package/dist/billing/modules/dashboard/components/index.d.ts.map +0 -1
  655. package/dist/billing/modules/dashboard/hooks/index.d.ts.map +0 -1
  656. package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts.map +0 -1
  657. package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts.map +0 -1
  658. package/dist/billing/modules/dashboard/index.d.ts.map +0 -1
  659. package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts.map +0 -1
  660. package/dist/billing/modules/dashboard/pages/index.d.ts.map +0 -1
  661. package/dist/billing/modules/discounts/index.d.ts.map +0 -1
  662. package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts.map +0 -1
  663. package/dist/billing/modules/discounts/pages/index.d.ts.map +0 -1
  664. package/dist/billing/modules/earnings/api.d.ts.map +0 -1
  665. package/dist/billing/modules/earnings/index.d.ts.map +0 -1
  666. package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.d.ts.map +0 -1
  667. package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.d.ts.map +0 -1
  668. package/dist/billing/modules/earnings/pages/EarningsPage.d.ts.map +0 -1
  669. package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts.map +0 -1
  670. package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts.map +0 -1
  671. package/dist/billing/modules/plans/constants/enterprise.d.ts.map +0 -1
  672. package/dist/billing/modules/plans/constants/featuredQuotas.d.ts.map +0 -1
  673. package/dist/billing/modules/plans/hooks/index.d.ts.map +0 -1
  674. package/dist/billing/modules/plans/hooks/usePlans.d.ts.map +0 -1
  675. package/dist/billing/modules/plans/hooks/useQuotas.d.ts.map +0 -1
  676. package/dist/billing/modules/plans/index.d.ts.map +0 -1
  677. package/dist/billing/modules/plans/pages/PlanAssignFreePage.d.ts.map +0 -1
  678. package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts.map +0 -1
  679. package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts.map +0 -1
  680. package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts.map +0 -1
  681. package/dist/billing/modules/plans/pages/PlanEditPage.d.ts.map +0 -1
  682. package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts.map +0 -1
  683. package/dist/billing/modules/plans/pages/PlansListPage.d.ts.map +0 -1
  684. package/dist/billing/modules/plans/pages/index.d.ts.map +0 -1
  685. package/dist/billing/modules/plans/utils/currencyPriceOverrides.d.ts.map +0 -1
  686. package/dist/billing/modules/plans/utils/planSelector.d.ts.map +0 -1
  687. package/dist/billing/modules/promotions/index.d.ts.map +0 -1
  688. package/dist/billing/modules/promotions/pages/CreatePromotionPage.d.ts.map +0 -1
  689. package/dist/billing/modules/promotions/pages/PromotionsListPage.d.ts.map +0 -1
  690. package/dist/billing/modules/promotions/pages/index.d.ts.map +0 -1
  691. package/dist/billing/modules/quota/hooks/index.d.ts.map +0 -1
  692. package/dist/billing/modules/quota/hooks/useQuota.d.ts.map +0 -1
  693. package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts.map +0 -1
  694. package/dist/billing/modules/quota/index.d.ts.map +0 -1
  695. package/dist/billing/modules/quota/pages/QuotaAssignFreePage.d.ts.map +0 -1
  696. package/dist/billing/modules/quota/pages/QuotaPage.d.ts.map +0 -1
  697. package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts.map +0 -1
  698. package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts.map +0 -1
  699. package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts.map +0 -1
  700. package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts.map +0 -1
  701. package/dist/billing/modules/quota/pages/index.d.ts.map +0 -1
  702. package/dist/billing/modules/quota/utils/quotaSelector.d.ts.map +0 -1
  703. package/dist/billing/modules/settings/index.d.ts.map +0 -1
  704. package/dist/billing/modules/settings/pages/SettingsPage.d.ts.map +0 -1
  705. package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts.map +0 -1
  706. package/dist/billing/modules/settings/pages/index.d.ts.map +0 -1
  707. package/dist/billing/modules/store/graphql/index.d.ts.map +0 -1
  708. package/dist/billing/modules/store/index.d.ts.map +0 -1
  709. package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts.map +0 -1
  710. package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts.map +0 -1
  711. package/dist/billing/modules/subscriptions/hooks/index.d.ts.map +0 -1
  712. package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts.map +0 -1
  713. package/dist/billing/modules/subscriptions/index.d.ts.map +0 -1
  714. package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts.map +0 -1
  715. package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts.map +0 -1
  716. package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts.map +0 -1
  717. package/dist/billing/modules/subscriptions/pages/index.d.ts.map +0 -1
  718. package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.d.ts.map +0 -1
  719. package/dist/billing/modules/usage/hooks/index.d.ts.map +0 -1
  720. package/dist/billing/modules/usage/hooks/useUsage.d.ts.map +0 -1
  721. package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.d.ts.map +0 -1
  722. package/dist/billing/modules/usage/index.d.ts.map +0 -1
  723. package/dist/billing/modules/usage/pages/UsagePage.d.ts.map +0 -1
  724. package/dist/billing/modules/usage/pages/index.d.ts.map +0 -1
  725. package/dist/billing/modules/usage/utils/aiSpend.d.ts.map +0 -1
  726. package/dist/billing/providers/BillingProvider.d.ts.map +0 -1
  727. package/dist/billing/shared/components/AccessDenied.d.ts.map +0 -1
  728. package/dist/billing/shared/components/ActorIdentity.d.ts.map +0 -1
  729. package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts.map +0 -1
  730. package/dist/billing/shared/components/EmptyState.d.ts.map +0 -1
  731. package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts.map +0 -1
  732. package/dist/billing/shared/components/PageHeader.d.ts.map +0 -1
  733. package/dist/billing/shared/components/PushPermissionNudge.d.ts.map +0 -1
  734. package/dist/billing/shared/components/ServerError.d.ts.map +0 -1
  735. package/dist/billing/shared/components/StatCard.d.ts.map +0 -1
  736. package/dist/billing/shared/components/index.d.ts.map +0 -1
  737. package/dist/billing/shared/hooks/index.d.ts.map +0 -1
  738. package/dist/billing/shared/hooks/useActorProfiles.d.ts.map +0 -1
  739. package/dist/billing/shared/hooks/useTr.d.ts.map +0 -1
  740. package/dist/billing/shared/index.d.ts.map +0 -1
  741. package/dist/billing/shared/types/graphql.d.ts.map +0 -1
  742. package/dist/billing/shared/types/index.d.ts.map +0 -1
  743. package/dist/billing/shared/ui/Card.d.ts.map +0 -1
  744. package/dist/billing/shared/ui/MetricCard.d.ts.map +0 -1
  745. package/dist/billing/shared/ui/ProgressBar.d.ts.map +0 -1
  746. package/dist/billing/shared/ui/SectionHeader.d.ts.map +0 -1
  747. package/dist/billing/shared/ui/StatusPill.d.ts.map +0 -1
  748. package/dist/billing/shared/ui/index.d.ts.map +0 -1
  749. package/dist/billing/shared/utils/directActivityGraphql.d.ts.map +0 -1
  750. package/dist/billing/shared/utils/directBillingGraphql.d.ts.map +0 -1
  751. package/dist/billing/shared/utils/error.d.ts.map +0 -1
  752. package/dist/billing/shared/utils/format.d.ts.map +0 -1
  753. package/dist/billing/shared/utils/gatewayGraphql.d.ts.map +0 -1
  754. package/dist/billing/shared/utils/index.d.ts.map +0 -1
  755. package/dist/billing/shared/utils/navigation.d.ts.map +0 -1
  756. package/dist/billing/shared/utils/paymentTheme.d.ts.map +0 -1
  757. package/dist/billing/shared/utils/planFeatureQuantity.d.ts.map +0 -1
  758. package/dist/billing/shared/utils/status.d.ts.map +0 -1
  759. package/dist/billing/shared/utils/tokens.d.ts.map +0 -1
  760. package/dist/billing/translations/en.d.ts.map +0 -1
  761. package/dist/billing/types/index.d.ts.map +0 -1
  762. package/dist/dev/main.d.ts.map +0 -1
  763. package/dist/generated/global-operations.d.ts.map +0 -1
  764. package/dist/generated/global-types.d.ts.map +0 -1
  765. package/dist/generated/wspace-operations.d.ts.map +0 -1
  766. package/dist/generated/wspace-types.d.ts.map +0 -1
  767. package/dist/index.d.ts.map +0 -1
  768. package/dist/utils/nativeBridge.d.ts.map +0 -1
@@ -1,21 +1,60 @@
1
+ /** Internal type. DO NOT USE DIRECTLY. */
2
+ type Exact<T extends {
3
+ [key: string]: unknown;
4
+ }> = {
5
+ [K in keyof T]: T[K];
6
+ };
7
+ /** Internal type. DO NOT USE DIRECTLY. */
8
+ export type Incremental<T> = T | {
9
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
10
+ };
1
11
  import * as Types from './wspace-types';
2
12
  import * as Apollo from '@apollo/client';
3
13
  import * as ApolloReactHooks from '@apollo/client/react';
4
- export type AssignWorkspaceQuotaMutationVariables = Types.Exact<{
14
+ export type AssignWorkspaceQuotaInput = {
15
+ billingAccountId?: string | number | null | undefined;
16
+ limit?: number | null | undefined;
17
+ metadata?: Record<string, unknown> | null | undefined;
18
+ noLimit?: boolean | null | undefined;
19
+ productId: string;
20
+ quotaMode?: WorkspaceQuotaMode | null | undefined;
21
+ quotaName: string;
22
+ resetPeriod?: string | null | undefined;
23
+ subscriptionId?: string | number | null | undefined;
24
+ workspaceId: string | number;
25
+ };
26
+ /** Usage query filters */
27
+ export type UsageFilters = {
28
+ billingAccountId?: string | number | null | undefined;
29
+ endDate?: string | null | undefined;
30
+ productId?: string | null | undefined;
31
+ quotaAssignmentId?: string | number | null | undefined;
32
+ quotaName?: string | null | undefined;
33
+ startDate?: string | null | undefined;
34
+ userId?: string | number | null | undefined;
35
+ workspaceId?: string | number | null | undefined;
36
+ };
37
+ /** Cursor-based pagination input for usage records. Pass `cursor` from the previous page's `nextCursor` to fetch the next page. */
38
+ export type UsageRecordPaginationInput = {
39
+ /** Opaque cursor (record ID) from the previous page's nextCursor. Omit for the first page. */
40
+ cursor?: string | number | null | undefined;
41
+ /** Maximum records to return per page. Defaults to 50, capped at 200. */
42
+ limit?: number | null | undefined;
43
+ };
44
+ export type WorkspaceQuotaMode = 'dedicated' | 'pooled';
45
+ export type AssignWorkspaceQuotaMutationVariables = Exact<{
5
46
  input: Types.AssignWorkspaceQuotaInput;
6
47
  }>;
7
48
  export type AssignWorkspaceQuotaMutation = {
8
- __typename?: 'Mutation';
9
49
  assignWorkspaceQuota: {
10
- __typename?: 'WorkspaceQuotaAssignment';
11
50
  id: string;
12
51
  workspaceId: string;
13
52
  quotaName: string;
14
53
  productId: string;
15
54
  quotaMode: Types.WorkspaceQuotaMode;
16
- billingAccountId?: string | null;
17
- subscriptionId?: string | null;
18
- limit?: number | null;
55
+ billingAccountId: string | null;
56
+ subscriptionId: string | null;
57
+ limit: number | null;
19
58
  used: number;
20
59
  noLimit: boolean;
21
60
  resetPeriod: string;
@@ -23,98 +62,88 @@ export type AssignWorkspaceQuotaMutation = {
23
62
  createdAt: string;
24
63
  };
25
64
  };
26
- export type UnassignWorkspaceQuotaMutationVariables = Types.Exact<{
27
- id: Types.Scalars['ID']['input'];
28
- workspaceId: Types.Scalars['ID']['input'];
65
+ export type UnassignWorkspaceQuotaMutationVariables = Exact<{
66
+ id: string | number;
67
+ workspaceId: string | number;
29
68
  }>;
30
69
  export type UnassignWorkspaceQuotaMutation = {
31
- __typename?: 'Mutation';
32
70
  unassignWorkspaceQuota: boolean;
33
71
  };
34
- export type GetUsageRecordsQueryVariables = Types.Exact<{
72
+ export type GetUsageRecordsQueryVariables = Exact<{
35
73
  filters: Types.UsageFilters;
36
- pagination?: Types.InputMaybe<Types.UsageRecordPaginationInput>;
74
+ pagination?: Types.UsageRecordPaginationInput | null | undefined;
37
75
  }>;
38
76
  export type GetUsageRecordsQuery = {
39
- __typename?: 'Query';
40
77
  getUsageRecords: {
41
- __typename?: 'UsageRecordsPage';
42
78
  hasNextPage: boolean;
43
- nextCursor?: string | null;
79
+ nextCursor: string | null;
44
80
  items: Array<{
45
- __typename?: 'UsageRecord';
46
81
  id: string;
47
82
  quotaAssignmentId: string;
48
83
  quotaName: string;
49
84
  productId: string;
50
85
  amount: number;
51
86
  description: string;
52
- workspaceId?: string | null;
53
- userId?: string | null;
54
- metadata?: Record<string, unknown> | null;
87
+ workspaceId: string | null;
88
+ userId: string | null;
89
+ metadata: Record<string, unknown> | null;
55
90
  createdAt: string;
56
91
  createdBy: string;
57
92
  }>;
58
93
  };
59
94
  };
60
- export type GetWorkspaceQuotaAssignmentsQueryVariables = Types.Exact<{
61
- workspaceId: Types.Scalars['ID']['input'];
95
+ export type GetWorkspaceQuotaAssignmentsQueryVariables = Exact<{
96
+ workspaceId: string | number;
62
97
  }>;
63
98
  export type GetWorkspaceQuotaAssignmentsQuery = {
64
- __typename?: 'Query';
65
99
  workspaceQuotaAssignments: Array<{
66
- __typename?: 'WorkspaceQuotaAssignment';
67
100
  id: string;
68
101
  workspaceId: string;
69
102
  quotaName: string;
70
103
  productId: string;
71
104
  quotaMode: Types.WorkspaceQuotaMode;
72
- billingAccountId?: string | null;
73
- subscriptionId?: string | null;
74
- limit?: number | null;
105
+ billingAccountId: string | null;
106
+ subscriptionId: string | null;
107
+ limit: number | null;
75
108
  used: number;
76
109
  noLimit: boolean;
77
110
  resetPeriod: string;
78
- lastResetAt?: string | null;
111
+ lastResetAt: string | null;
79
112
  isActive: boolean;
80
113
  createdAt: string;
81
114
  updatedAt: string;
82
115
  }>;
83
116
  };
84
- export type GetWorkspaceQuotaOverviewQueryVariables = Types.Exact<{
85
- workspaceId: Types.Scalars['ID']['input'];
117
+ export type GetWorkspaceQuotaOverviewQueryVariables = Exact<{
118
+ workspaceId: string | number;
86
119
  }>;
87
120
  export type GetWorkspaceQuotaOverviewQuery = {
88
- __typename?: 'Query';
89
121
  workspaceQuotaOverview: Array<{
90
- __typename?: 'WorkspaceQuotaOverview';
91
122
  effectiveUsed: number;
92
- remaining?: number | null;
123
+ remaining: number | null;
93
124
  usagePercentage: number;
94
125
  assignment: {
95
- __typename?: 'WorkspaceQuotaAssignment';
96
126
  id: string;
97
127
  workspaceId: string;
98
128
  quotaName: string;
99
129
  productId: string;
100
130
  quotaMode: Types.WorkspaceQuotaMode;
101
- billingAccountId?: string | null;
102
- subscriptionId?: string | null;
103
- limit?: number | null;
131
+ billingAccountId: string | null;
132
+ subscriptionId: string | null;
133
+ limit: number | null;
104
134
  used: number;
105
135
  noLimit: boolean;
106
136
  resetPeriod: string;
107
- lastResetAt?: string | null;
137
+ lastResetAt: string | null;
108
138
  isActive: boolean;
109
139
  createdAt: string;
110
140
  };
111
- liveStatus?: {
112
- __typename?: 'WorkspaceQuotaStatus';
141
+ liveStatus: {
113
142
  workspaceId: string;
114
143
  quotaName: string;
115
144
  productId: string;
116
145
  currentValue: number;
117
- limit?: number | null;
146
+ limit: number | null;
118
147
  noLimit: boolean;
119
148
  scrapedAt: string;
120
149
  } | null;
@@ -190,8 +219,8 @@ export declare function useGetUsageRecordsQuery(baseOptions: ApolloReactHooks.Qu
190
219
  skip?: boolean;
191
220
  } | {
192
221
  skip: boolean;
193
- })): ApolloReactHooks.useQuery.Result<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables, "empty" | "complete" | "streaming", Types.GetUsageRecordsQueryVariables>;
194
- export declare function useGetUsageRecordsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables, "empty" | "complete" | "streaming">;
222
+ })): ApolloReactHooks.useQuery.Result<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables, "empty" | "complete" | "streaming", Types.GetUsageRecordsQueryVariables, undefined>;
223
+ export declare function useGetUsageRecordsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables, "empty" | "complete" | "streaming", undefined>;
195
224
  export declare function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>;
196
225
  export declare function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUsageRecordsQuery | undefined, Types.GetUsageRecordsQueryVariables>;
197
226
  export type GetUsageRecordsQueryHookResult = ReturnType<typeof useGetUsageRecordsQuery>;
@@ -220,8 +249,8 @@ export declare function useGetWorkspaceQuotaAssignmentsQuery(baseOptions: Apollo
220
249
  skip?: boolean;
221
250
  } | {
222
251
  skip: boolean;
223
- })): ApolloReactHooks.useQuery.Result<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables, "empty" | "complete" | "streaming", Types.GetWorkspaceQuotaAssignmentsQueryVariables>;
224
- export declare function useGetWorkspaceQuotaAssignmentsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables, "empty" | "complete" | "streaming">;
252
+ })): ApolloReactHooks.useQuery.Result<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables, "empty" | "complete" | "streaming", Types.GetWorkspaceQuotaAssignmentsQueryVariables, undefined>;
253
+ export declare function useGetWorkspaceQuotaAssignmentsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables, "empty" | "complete" | "streaming", undefined>;
225
254
  export declare function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;
226
255
  export declare function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaAssignmentsQuery | undefined, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;
227
256
  export type GetWorkspaceQuotaAssignmentsQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsQuery>;
@@ -250,12 +279,12 @@ export declare function useGetWorkspaceQuotaOverviewQuery(baseOptions: ApolloRea
250
279
  skip?: boolean;
251
280
  } | {
252
281
  skip: boolean;
253
- })): ApolloReactHooks.useQuery.Result<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables, "empty" | "complete" | "streaming", Types.GetWorkspaceQuotaOverviewQueryVariables>;
254
- export declare function useGetWorkspaceQuotaOverviewLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables, "empty" | "complete" | "streaming">;
282
+ })): ApolloReactHooks.useQuery.Result<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables, "empty" | "complete" | "streaming", Types.GetWorkspaceQuotaOverviewQueryVariables, undefined>;
283
+ export declare function useGetWorkspaceQuotaOverviewLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables, "empty" | "complete" | "streaming", undefined>;
255
284
  export declare function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>;
256
285
  export declare function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaOverviewQuery | undefined, Types.GetWorkspaceQuotaOverviewQueryVariables>;
257
286
  export type GetWorkspaceQuotaOverviewQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewQuery>;
258
287
  export type GetWorkspaceQuotaOverviewLazyQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewLazyQuery>;
259
288
  export type GetWorkspaceQuotaOverviewSuspenseQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewSuspenseQuery>;
260
289
  export type GetWorkspaceQuotaOverviewQueryResult = Apollo.QueryResult<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>;
261
- //# sourceMappingURL=wspace-operations.d.ts.map
290
+ export {};
@@ -1,6 +1,6 @@
1
1
  import * as e from "@apollo/client/react";
2
2
  import { gql as t } from "@apollo/client";
3
- //#region src/generated/wspace-operations.ts
3
+ // src/generated/wspace-operations.ts
4
4
  var n = {};
5
5
  t`
6
6
  mutation AssignWorkspaceQuota($input: AssignWorkspaceQuotaInput!) {
@@ -107,7 +107,6 @@ t`
107
107
  }
108
108
  }
109
109
  `;
110
- //#endregion
111
- export { i as useGetUsageRecordsQuery };
110
+ export { r as GetUsageRecordsDocument, i as useGetUsageRecordsQuery };
112
111
 
113
112
  //# sourceMappingURL=wspace-operations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"wspace-operations.js","names":[],"sources":["../../src/generated/wspace-operations.ts"],"sourcesContent":["// @ts-nocheck\nimport * as Types from './wspace-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type AssignWorkspaceQuotaMutationVariables = Types.Exact<{\n input: Types.AssignWorkspaceQuotaInput;\n}>;\n\n\nexport type AssignWorkspaceQuotaMutation = { __typename?: 'Mutation', assignWorkspaceQuota: { __typename?: 'WorkspaceQuotaAssignment', id: string, workspaceId: string, quotaName: string, productId: string, quotaMode: Types.WorkspaceQuotaMode, billingAccountId?: string | null, subscriptionId?: string | null, limit?: number | null, used: number, noLimit: boolean, resetPeriod: string, isActive: boolean, createdAt: string } };\n\nexport type UnassignWorkspaceQuotaMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n workspaceId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type UnassignWorkspaceQuotaMutation = { __typename?: 'Mutation', unassignWorkspaceQuota: boolean };\n\nexport type GetUsageRecordsQueryVariables = Types.Exact<{\n filters: Types.UsageFilters;\n pagination?: Types.InputMaybe<Types.UsageRecordPaginationInput>;\n}>;\n\n\nexport type GetUsageRecordsQuery = { __typename?: 'Query', getUsageRecords: { __typename?: 'UsageRecordsPage', hasNextPage: boolean, nextCursor?: string | null, items: Array<{ __typename?: 'UsageRecord', id: string, quotaAssignmentId: string, quotaName: string, productId: string, amount: number, description: string, workspaceId?: string | null, userId?: string | null, metadata?: Record<string, unknown> | null, createdAt: string, createdBy: string }> } };\n\nexport type GetWorkspaceQuotaAssignmentsQueryVariables = Types.Exact<{\n workspaceId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetWorkspaceQuotaAssignmentsQuery = { __typename?: 'Query', workspaceQuotaAssignments: Array<{ __typename?: 'WorkspaceQuotaAssignment', id: string, workspaceId: string, quotaName: string, productId: string, quotaMode: Types.WorkspaceQuotaMode, billingAccountId?: string | null, subscriptionId?: string | null, limit?: number | null, used: number, noLimit: boolean, resetPeriod: string, lastResetAt?: string | null, isActive: boolean, createdAt: string, updatedAt: string }> };\n\nexport type GetWorkspaceQuotaOverviewQueryVariables = Types.Exact<{\n workspaceId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetWorkspaceQuotaOverviewQuery = { __typename?: 'Query', workspaceQuotaOverview: Array<{ __typename?: 'WorkspaceQuotaOverview', effectiveUsed: number, remaining?: number | null, usagePercentage: number, assignment: { __typename?: 'WorkspaceQuotaAssignment', id: string, workspaceId: string, quotaName: string, productId: string, quotaMode: Types.WorkspaceQuotaMode, billingAccountId?: string | null, subscriptionId?: string | null, limit?: number | null, used: number, noLimit: boolean, resetPeriod: string, lastResetAt?: string | null, isActive: boolean, createdAt: string }, liveStatus?: { __typename?: 'WorkspaceQuotaStatus', workspaceId: string, quotaName: string, productId: string, currentValue: number, limit?: number | null, noLimit: boolean, scrapedAt: string } | null }> };\n\n\nexport const AssignWorkspaceQuotaDocument = gql`\n mutation AssignWorkspaceQuota($input: AssignWorkspaceQuotaInput!) {\n assignWorkspaceQuota(input: $input) {\n id\n workspaceId\n quotaName\n productId\n quotaMode\n billingAccountId\n subscriptionId\n limit\n used\n noLimit\n resetPeriod\n isActive\n createdAt\n }\n}\n `;\nexport type AssignWorkspaceQuotaMutationFn = Apollo.MutationFunction<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>;\n\n/**\n * __useAssignWorkspaceQuotaMutation__\n *\n * To run a mutation, you first call `useAssignWorkspaceQuotaMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useAssignWorkspaceQuotaMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [assignWorkspaceQuotaMutation, { data, loading, error }] = useAssignWorkspaceQuotaMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useAssignWorkspaceQuotaMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>(AssignWorkspaceQuotaDocument, options);\n }\nexport type AssignWorkspaceQuotaMutationHookResult = ReturnType<typeof useAssignWorkspaceQuotaMutation>;\nexport type AssignWorkspaceQuotaMutationResult = Apollo.MutationResult<Types.AssignWorkspaceQuotaMutation>;\nexport type AssignWorkspaceQuotaMutationOptions = Apollo.BaseMutationOptions<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>;\nexport const UnassignWorkspaceQuotaDocument = gql`\n mutation UnassignWorkspaceQuota($id: ID!, $workspaceId: ID!) {\n unassignWorkspaceQuota(id: $id, workspaceId: $workspaceId)\n}\n `;\nexport type UnassignWorkspaceQuotaMutationFn = Apollo.MutationFunction<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>;\n\n/**\n * __useUnassignWorkspaceQuotaMutation__\n *\n * To run a mutation, you first call `useUnassignWorkspaceQuotaMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnassignWorkspaceQuotaMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unassignWorkspaceQuotaMutation, { data, loading, error }] = useUnassignWorkspaceQuotaMutation({\n * variables: {\n * id: // value for 'id'\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useUnassignWorkspaceQuotaMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>(UnassignWorkspaceQuotaDocument, options);\n }\nexport type UnassignWorkspaceQuotaMutationHookResult = ReturnType<typeof useUnassignWorkspaceQuotaMutation>;\nexport type UnassignWorkspaceQuotaMutationResult = Apollo.MutationResult<Types.UnassignWorkspaceQuotaMutation>;\nexport type UnassignWorkspaceQuotaMutationOptions = Apollo.BaseMutationOptions<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>;\nexport const GetUsageRecordsDocument = gql`\n query GetUsageRecords($filters: UsageFilters!, $pagination: UsageRecordPaginationInput) {\n getUsageRecords(filters: $filters, pagination: $pagination) {\n items {\n id\n quotaAssignmentId\n quotaName\n productId\n amount\n description\n workspaceId\n userId\n metadata\n createdAt\n createdBy\n }\n hasNextPage\n nextCursor\n }\n}\n `;\n\n/**\n * __useGetUsageRecordsQuery__\n *\n * To run a query within a React component, call `useGetUsageRecordsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetUsageRecordsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetUsageRecordsQuery({\n * variables: {\n * filters: // value for 'filters'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetUsageRecordsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables> & ({ variables: Types.GetUsageRecordsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>(GetUsageRecordsDocument, options);\n }\nexport function useGetUsageRecordsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>(GetUsageRecordsDocument, options);\n }\n// @ts-ignore\nexport function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>;\nexport function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUsageRecordsQuery | undefined, Types.GetUsageRecordsQueryVariables>;\nexport function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>(GetUsageRecordsDocument, options);\n }\nexport type GetUsageRecordsQueryHookResult = ReturnType<typeof useGetUsageRecordsQuery>;\nexport type GetUsageRecordsLazyQueryHookResult = ReturnType<typeof useGetUsageRecordsLazyQuery>;\nexport type GetUsageRecordsSuspenseQueryHookResult = ReturnType<typeof useGetUsageRecordsSuspenseQuery>;\nexport type GetUsageRecordsQueryResult = Apollo.QueryResult<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>;\nexport const GetWorkspaceQuotaAssignmentsDocument = gql`\n query GetWorkspaceQuotaAssignments($workspaceId: ID!) {\n workspaceQuotaAssignments(workspaceId: $workspaceId) {\n id\n workspaceId\n quotaName\n productId\n quotaMode\n billingAccountId\n subscriptionId\n limit\n used\n noLimit\n resetPeriod\n lastResetAt\n isActive\n createdAt\n updatedAt\n }\n}\n `;\n\n/**\n * __useGetWorkspaceQuotaAssignmentsQuery__\n *\n * To run a query within a React component, call `useGetWorkspaceQuotaAssignmentsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetWorkspaceQuotaAssignmentsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetWorkspaceQuotaAssignmentsQuery({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useGetWorkspaceQuotaAssignmentsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables> & ({ variables: Types.GetWorkspaceQuotaAssignmentsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>(GetWorkspaceQuotaAssignmentsDocument, options);\n }\nexport function useGetWorkspaceQuotaAssignmentsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>(GetWorkspaceQuotaAssignmentsDocument, options);\n }\n// @ts-ignore\nexport function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;\nexport function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaAssignmentsQuery | undefined, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;\nexport function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>(GetWorkspaceQuotaAssignmentsDocument, options);\n }\nexport type GetWorkspaceQuotaAssignmentsQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsQuery>;\nexport type GetWorkspaceQuotaAssignmentsLazyQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsLazyQuery>;\nexport type GetWorkspaceQuotaAssignmentsSuspenseQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsSuspenseQuery>;\nexport type GetWorkspaceQuotaAssignmentsQueryResult = Apollo.QueryResult<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;\nexport const GetWorkspaceQuotaOverviewDocument = gql`\n query GetWorkspaceQuotaOverview($workspaceId: ID!) {\n workspaceQuotaOverview(workspaceId: $workspaceId) {\n assignment {\n id\n workspaceId\n quotaName\n productId\n quotaMode\n billingAccountId\n subscriptionId\n limit\n used\n noLimit\n resetPeriod\n lastResetAt\n isActive\n createdAt\n }\n liveStatus {\n workspaceId\n quotaName\n productId\n currentValue\n limit\n noLimit\n scrapedAt\n }\n effectiveUsed\n remaining\n usagePercentage\n }\n}\n `;\n\n/**\n * __useGetWorkspaceQuotaOverviewQuery__\n *\n * To run a query within a React component, call `useGetWorkspaceQuotaOverviewQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetWorkspaceQuotaOverviewQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetWorkspaceQuotaOverviewQuery({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useGetWorkspaceQuotaOverviewQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables> & ({ variables: Types.GetWorkspaceQuotaOverviewQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>(GetWorkspaceQuotaOverviewDocument, options);\n }\nexport function useGetWorkspaceQuotaOverviewLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>(GetWorkspaceQuotaOverviewDocument, options);\n }\n// @ts-ignore\nexport function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>;\nexport function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaOverviewQuery | undefined, Types.GetWorkspaceQuotaOverviewQueryVariables>;\nexport function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>(GetWorkspaceQuotaOverviewDocument, options);\n }\nexport type GetWorkspaceQuotaOverviewQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewQuery>;\nexport type GetWorkspaceQuotaOverviewLazyQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewLazyQuery>;\nexport type GetWorkspaceQuotaOverviewSuspenseQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewSuspenseQuery>;\nexport type GetWorkspaceQuotaOverviewQueryResult = Apollo.QueryResult<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>;"],"mappings":";;;AAMA,IAAM,IAAiB,CAAC;AAuCoB,CAAG;;;;;;;;;;;;;;;;;;OA6CD,CAAG;;;;;AAgCjD,IAAa,IAA0B,CAAG;;;;;;;;;;;;;;;;;;;;;AAuC1C,SAAgB,EAAwB,GAA+M;CAC/O,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;CAAW;CAClD,OAAO,EAAiB,SAA0E,GAAyB,CAAO;AACpI;AAgB8C,CAAG;;;;;;;;;;;;;;;;;;;;OAyDN,CAAG"}
1
+ {"version":3,"file":"wspace-operations.js","names":["ApolloReactHooks","defaultOptions","GetUsageRecordsDocument","useGetUsageRecordsQuery","options","baseOptions"],"sources":["../../src/generated/wspace-operations.ts"],"sourcesContent":["// @ts-nocheck\n/** Internal type. DO NOT USE DIRECTLY. */\ntype Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\n/** Internal type. DO NOT USE DIRECTLY. */\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\nimport * as Types from './wspace-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type AssignWorkspaceQuotaInput = {\n billingAccountId?: string | number | null | undefined;\n limit?: number | null | undefined;\n metadata?: Record<string, unknown> | null | undefined;\n noLimit?: boolean | null | undefined;\n productId: string;\n quotaMode?: WorkspaceQuotaMode | null | undefined;\n quotaName: string;\n resetPeriod?: string | null | undefined;\n subscriptionId?: string | number | null | undefined;\n workspaceId: string | number;\n};\n\n/** Usage query filters */\nexport type UsageFilters = {\n billingAccountId?: string | number | null | undefined;\n endDate?: string | null | undefined;\n productId?: string | null | undefined;\n quotaAssignmentId?: string | number | null | undefined;\n quotaName?: string | null | undefined;\n startDate?: string | null | undefined;\n userId?: string | number | null | undefined;\n workspaceId?: string | number | null | undefined;\n};\n\n/** Cursor-based pagination input for usage records. Pass `cursor` from the previous page's `nextCursor` to fetch the next page. */\nexport type UsageRecordPaginationInput = {\n /** Opaque cursor (record ID) from the previous page's nextCursor. Omit for the first page. */\n cursor?: string | number | null | undefined;\n /** Maximum records to return per page. Defaults to 50, capped at 200. */\n limit?: number | null | undefined;\n};\n\nexport type WorkspaceQuotaMode =\n | 'dedicated'\n | 'pooled';\n\nexport type AssignWorkspaceQuotaMutationVariables = Exact<{\n input: Types.AssignWorkspaceQuotaInput;\n}>;\n\n\nexport type AssignWorkspaceQuotaMutation = { assignWorkspaceQuota: { id: string, workspaceId: string, quotaName: string, productId: string, quotaMode: Types.WorkspaceQuotaMode, billingAccountId: string | null, subscriptionId: string | null, limit: number | null, used: number, noLimit: boolean, resetPeriod: string, isActive: boolean, createdAt: string } };\n\nexport type UnassignWorkspaceQuotaMutationVariables = Exact<{\n id: string | number;\n workspaceId: string | number;\n}>;\n\n\nexport type UnassignWorkspaceQuotaMutation = { unassignWorkspaceQuota: boolean };\n\nexport type GetUsageRecordsQueryVariables = Exact<{\n filters: Types.UsageFilters;\n pagination?: Types.UsageRecordPaginationInput | null | undefined;\n}>;\n\n\nexport type GetUsageRecordsQuery = { getUsageRecords: { hasNextPage: boolean, nextCursor: string | null, items: Array<{ id: string, quotaAssignmentId: string, quotaName: string, productId: string, amount: number, description: string, workspaceId: string | null, userId: string | null, metadata: Record<string, unknown> | null, createdAt: string, createdBy: string }> } };\n\nexport type GetWorkspaceQuotaAssignmentsQueryVariables = Exact<{\n workspaceId: string | number;\n}>;\n\n\nexport type GetWorkspaceQuotaAssignmentsQuery = { workspaceQuotaAssignments: Array<{ id: string, workspaceId: string, quotaName: string, productId: string, quotaMode: Types.WorkspaceQuotaMode, billingAccountId: string | null, subscriptionId: string | null, limit: number | null, used: number, noLimit: boolean, resetPeriod: string, lastResetAt: string | null, isActive: boolean, createdAt: string, updatedAt: string }> };\n\nexport type GetWorkspaceQuotaOverviewQueryVariables = Exact<{\n workspaceId: string | number;\n}>;\n\n\nexport type GetWorkspaceQuotaOverviewQuery = { workspaceQuotaOverview: Array<{ effectiveUsed: number, remaining: number | null, usagePercentage: number, assignment: { id: string, workspaceId: string, quotaName: string, productId: string, quotaMode: Types.WorkspaceQuotaMode, billingAccountId: string | null, subscriptionId: string | null, limit: number | null, used: number, noLimit: boolean, resetPeriod: string, lastResetAt: string | null, isActive: boolean, createdAt: string }, liveStatus: { workspaceId: string, quotaName: string, productId: string, currentValue: number, limit: number | null, noLimit: boolean, scrapedAt: string } | null }> };\n\n\nexport const AssignWorkspaceQuotaDocument = gql`\n mutation AssignWorkspaceQuota($input: AssignWorkspaceQuotaInput!) {\n assignWorkspaceQuota(input: $input) {\n id\n workspaceId\n quotaName\n productId\n quotaMode\n billingAccountId\n subscriptionId\n limit\n used\n noLimit\n resetPeriod\n isActive\n createdAt\n }\n}\n `;\nexport type AssignWorkspaceQuotaMutationFn = Apollo.MutationFunction<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>;\n\n/**\n * __useAssignWorkspaceQuotaMutation__\n *\n * To run a mutation, you first call `useAssignWorkspaceQuotaMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useAssignWorkspaceQuotaMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [assignWorkspaceQuotaMutation, { data, loading, error }] = useAssignWorkspaceQuotaMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useAssignWorkspaceQuotaMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>(AssignWorkspaceQuotaDocument, options);\n }\nexport type AssignWorkspaceQuotaMutationHookResult = ReturnType<typeof useAssignWorkspaceQuotaMutation>;\nexport type AssignWorkspaceQuotaMutationResult = Apollo.MutationResult<Types.AssignWorkspaceQuotaMutation>;\nexport type AssignWorkspaceQuotaMutationOptions = Apollo.BaseMutationOptions<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>;\nexport const UnassignWorkspaceQuotaDocument = gql`\n mutation UnassignWorkspaceQuota($id: ID!, $workspaceId: ID!) {\n unassignWorkspaceQuota(id: $id, workspaceId: $workspaceId)\n}\n `;\nexport type UnassignWorkspaceQuotaMutationFn = Apollo.MutationFunction<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>;\n\n/**\n * __useUnassignWorkspaceQuotaMutation__\n *\n * To run a mutation, you first call `useUnassignWorkspaceQuotaMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnassignWorkspaceQuotaMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unassignWorkspaceQuotaMutation, { data, loading, error }] = useUnassignWorkspaceQuotaMutation({\n * variables: {\n * id: // value for 'id'\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useUnassignWorkspaceQuotaMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>(UnassignWorkspaceQuotaDocument, options);\n }\nexport type UnassignWorkspaceQuotaMutationHookResult = ReturnType<typeof useUnassignWorkspaceQuotaMutation>;\nexport type UnassignWorkspaceQuotaMutationResult = Apollo.MutationResult<Types.UnassignWorkspaceQuotaMutation>;\nexport type UnassignWorkspaceQuotaMutationOptions = Apollo.BaseMutationOptions<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>;\nexport const GetUsageRecordsDocument = gql`\n query GetUsageRecords($filters: UsageFilters!, $pagination: UsageRecordPaginationInput) {\n getUsageRecords(filters: $filters, pagination: $pagination) {\n items {\n id\n quotaAssignmentId\n quotaName\n productId\n amount\n description\n workspaceId\n userId\n metadata\n createdAt\n createdBy\n }\n hasNextPage\n nextCursor\n }\n}\n `;\n\n/**\n * __useGetUsageRecordsQuery__\n *\n * To run a query within a React component, call `useGetUsageRecordsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetUsageRecordsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetUsageRecordsQuery({\n * variables: {\n * filters: // value for 'filters'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetUsageRecordsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables> & ({ variables: Types.GetUsageRecordsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>(GetUsageRecordsDocument, options);\n }\nexport function useGetUsageRecordsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>(GetUsageRecordsDocument, options);\n }\n// @ts-ignore\nexport function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>;\nexport function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUsageRecordsQuery | undefined, Types.GetUsageRecordsQueryVariables>;\nexport function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>(GetUsageRecordsDocument, options);\n }\nexport type GetUsageRecordsQueryHookResult = ReturnType<typeof useGetUsageRecordsQuery>;\nexport type GetUsageRecordsLazyQueryHookResult = ReturnType<typeof useGetUsageRecordsLazyQuery>;\nexport type GetUsageRecordsSuspenseQueryHookResult = ReturnType<typeof useGetUsageRecordsSuspenseQuery>;\nexport type GetUsageRecordsQueryResult = Apollo.QueryResult<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>;\nexport const GetWorkspaceQuotaAssignmentsDocument = gql`\n query GetWorkspaceQuotaAssignments($workspaceId: ID!) {\n workspaceQuotaAssignments(workspaceId: $workspaceId) {\n id\n workspaceId\n quotaName\n productId\n quotaMode\n billingAccountId\n subscriptionId\n limit\n used\n noLimit\n resetPeriod\n lastResetAt\n isActive\n createdAt\n updatedAt\n }\n}\n `;\n\n/**\n * __useGetWorkspaceQuotaAssignmentsQuery__\n *\n * To run a query within a React component, call `useGetWorkspaceQuotaAssignmentsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetWorkspaceQuotaAssignmentsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetWorkspaceQuotaAssignmentsQuery({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useGetWorkspaceQuotaAssignmentsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables> & ({ variables: Types.GetWorkspaceQuotaAssignmentsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>(GetWorkspaceQuotaAssignmentsDocument, options);\n }\nexport function useGetWorkspaceQuotaAssignmentsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>(GetWorkspaceQuotaAssignmentsDocument, options);\n }\n// @ts-ignore\nexport function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;\nexport function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaAssignmentsQuery | undefined, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;\nexport function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>(GetWorkspaceQuotaAssignmentsDocument, options);\n }\nexport type GetWorkspaceQuotaAssignmentsQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsQuery>;\nexport type GetWorkspaceQuotaAssignmentsLazyQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsLazyQuery>;\nexport type GetWorkspaceQuotaAssignmentsSuspenseQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsSuspenseQuery>;\nexport type GetWorkspaceQuotaAssignmentsQueryResult = Apollo.QueryResult<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;\nexport const GetWorkspaceQuotaOverviewDocument = gql`\n query GetWorkspaceQuotaOverview($workspaceId: ID!) {\n workspaceQuotaOverview(workspaceId: $workspaceId) {\n assignment {\n id\n workspaceId\n quotaName\n productId\n quotaMode\n billingAccountId\n subscriptionId\n limit\n used\n noLimit\n resetPeriod\n lastResetAt\n isActive\n createdAt\n }\n liveStatus {\n workspaceId\n quotaName\n productId\n currentValue\n limit\n noLimit\n scrapedAt\n }\n effectiveUsed\n remaining\n usagePercentage\n }\n}\n `;\n\n/**\n * __useGetWorkspaceQuotaOverviewQuery__\n *\n * To run a query within a React component, call `useGetWorkspaceQuotaOverviewQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetWorkspaceQuotaOverviewQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetWorkspaceQuotaOverviewQuery({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useGetWorkspaceQuotaOverviewQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables> & ({ variables: Types.GetWorkspaceQuotaOverviewQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>(GetWorkspaceQuotaOverviewDocument, options);\n }\nexport function useGetWorkspaceQuotaOverviewLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>(GetWorkspaceQuotaOverviewDocument, options);\n }\n// @ts-ignore\nexport function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>;\nexport function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaOverviewQuery | undefined, Types.GetWorkspaceQuotaOverviewQueryVariables>;\nexport function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>(GetWorkspaceQuotaOverviewDocument, options);\n }\nexport type GetWorkspaceQuotaOverviewQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewQuery>;\nexport type GetWorkspaceQuotaOverviewLazyQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewLazyQuery>;\nexport type GetWorkspaceQuotaOverviewSuspenseQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewSuspenseQuery>;\nexport type GetWorkspaceQuotaOverviewQueryResult = Apollo.QueryResult<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>;"],"mappings":";;;AAUA,IAAMC,IAAiB,CAAC;AA4EoB,CAAG;;;;;;;;;;;;;;;;;;OA6CD,CAAG;;;;;AAgCjD,IAAaC,IAA0B,CAAG;;;;;;;;;;;;;;;;;;;;;AAuC1C,SAAgBC,EAAwB,GAA+M;CAC/O,IAAMC,IAAU;EAAC,GAAGH;EAAgB,GAAGI;CAAW;CAClD,OAAOL,EAAiB,SAA0EE,GAAyBE,CAAO;AACpI;AAgB8C,CAAG;;;;;;;;;;;;;;;;;;;;OAyDN,CAAG"}
@@ -1,24 +1,5 @@
1
1
  export type Maybe<T> = T | null;
2
2
  export type InputMaybe<T> = Maybe<T>;
3
- export type Exact<T extends {
4
- [key: string]: unknown;
5
- }> = {
6
- [K in keyof T]: T[K];
7
- };
8
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
9
- [SubKey in K]?: Maybe<T[SubKey]>;
10
- };
11
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
12
- [SubKey in K]: Maybe<T[SubKey]>;
13
- };
14
- export type MakeEmpty<T extends {
15
- [key: string]: unknown;
16
- }, K extends keyof T> = {
17
- [_ in K]?: never;
18
- };
19
- export type Incremental<T> = T | {
20
- [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
21
- };
22
3
  /** All built-in and custom scalars, mapped to their actual values */
23
4
  export type Scalars = {
24
5
  ID: {
@@ -72,12 +53,12 @@ export type Scalars = {
72
53
  output: File;
73
54
  };
74
55
  _ScalarsPlaceholder: {
75
- input: any;
76
- output: any;
56
+ input: unknown;
57
+ output: unknown;
77
58
  };
78
59
  _SecurityMainPlaceholder: {
79
- input: any;
80
- output: any;
60
+ input: unknown;
61
+ output: unknown;
81
62
  };
82
63
  };
83
64
  export type A2AConnection = {
@@ -49190,4 +49171,3 @@ export type YieldTrendPoint = {
49190
49171
  peppers: Scalars['Float']['output'];
49191
49172
  tomatoes: Scalars['Float']['output'];
49192
49173
  };
49193
- //# sourceMappingURL=wspace-types.d.ts.map
package/dist/index.d.ts CHANGED
@@ -5,4 +5,3 @@
5
5
  */
6
6
  export { BillingRoot } from './billing/BillingRoot';
7
7
  export type { BillingRootProps } from './billing/types';
8
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,2 +1 @@
1
- import { BillingRoot as e } from "./billing/BillingRoot.js";
2
- export { e as BillingRoot };
1
+ export { BillingRoot } from "./billing/BillingRoot.js";
@@ -1,4 +1,4 @@
1
- //#region node_modules/@capacitor/core/dist/index.js
1
+ // node_modules/@capacitor/core/dist/index.js
2
2
  var e;
3
3
  (function(e) {
4
4
  e.Unimplemented = "UNIMPLEMENTED", e.Unavailable = "UNAVAILABLE";
@@ -26,7 +26,8 @@ var t = class extends Error {
26
26
  if (s) {
27
27
  let e = s(...a);
28
28
  return i = e?.remove, e;
29
- } else throw new t(`"${n}.${r}()" is not implemented on ${l}`, e.Unimplemented);
29
+ }
30
+ throw new t(`"${n}.${r}()" is not implemented on ${l}`, e.Unimplemented);
30
31
  });
31
32
  return r === "addListener" && (o.remove = async () => i()), o;
32
33
  };
@@ -37,9 +38,10 @@ var t = class extends Error {
37
38
  }), a;
38
39
  }, _ = g("addListener"), v = g("removeListener"), y = (e, t) => {
39
40
  let n = _({ eventName: e }, t), r = async () => {
41
+ let r = await n;
40
42
  v({
41
43
  eventName: e,
42
- callbackId: await n
44
+ callbackId: r
43
45
  }, t);
44
46
  }, i = new Promise((e) => n.then(() => e({ remove: r })));
45
47
  return i.remove = async () => {
@@ -57,7 +59,7 @@ var t = class extends Error {
57
59
  return o[n] = b, f.set(n, {
58
60
  name: n,
59
61
  proxy: b,
60
- platforms: new Set([...Object.keys(r), ...d ? [l] : []])
62
+ platforms: /* @__PURE__ */ new Set([...Object.keys(r), ...d ? [l] : []])
61
63
  }), b;
62
64
  }, a.Exception = t, a.DEBUG = !!a.DEBUG, a.isLoggingEnabled = !!a.isLoggingEnabled, a;
63
65
  }, i = /*#__PURE__*/ ((e) => e.Capacitor = r(e))(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}), a = i.registerPlugin, o = class {
@@ -77,14 +79,11 @@ var t = class extends Error {
77
79
  }
78
80
  notifyListeners(e, t, n) {
79
81
  let r = this.listeners[e];
80
- if (!r) {
81
- if (n) {
82
- let n = this.retainedEventArguments[e];
83
- n ||= [], n.push(t), this.retainedEventArguments[e] = n;
84
- }
85
- return;
82
+ if (r) r.forEach((e) => e(t));
83
+ else if (n) {
84
+ let n = this.retainedEventArguments[e];
85
+ n ||= [], n.push(t), this.retainedEventArguments[e] = n;
86
86
  }
87
- r.forEach((e) => e(t));
88
87
  }
89
88
  hasListeners(e) {
90
89
  return !!this.listeners[e]?.length;
@@ -109,7 +108,7 @@ var t = class extends Error {
109
108
  let n = this.listeners[e];
110
109
  if (!n) return;
111
110
  let r = n.indexOf(t);
112
- this.listeners[e].splice(r, 1), this.listeners[e].length || this.removeWindowListener(this.windowListeners[e]);
111
+ r !== -1 && this.listeners[e].splice(r, 1), this.listeners[e].length || this.removeWindowListener(this.windowListeners[e]);
113
112
  }
114
113
  addWindowListener(e) {
115
114
  window.addEventListener(e.windowEventName, e.handler), e.registered = !0;
@@ -264,7 +263,6 @@ var _ = class extends o {
264
263
  }
265
264
  };
266
265
  a("SystemBars", { web: () => new _() });
267
- //#endregion
268
- export { i as Capacitor };
266
+ export { i as Capacitor, t as CapacitorException, e as ExceptionCode, g as SystemBarType, h as SystemBarsStyle, o as WebPlugin, p as buildRequestInit, a as registerPlugin };
269
267
 
270
268
  //# sourceMappingURL=index.js.map