@burdenoff/microfe-billing 2026.530.2 → 2026.530.3

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 (28) hide show
  1. package/dist/billing/BillingAdminRoutes.js +84 -71
  2. package/dist/billing/BillingAdminRoutes.js.map +1 -1
  3. package/dist/billing/BillingUserRoutes.js +103 -90
  4. package/dist/billing/BillingUserRoutes.js.map +1 -1
  5. package/dist/billing/modules/billing/index.js +2 -1
  6. package/dist/billing/modules/billing/pages/InvoicesListPage.js +135 -126
  7. package/dist/billing/modules/billing/pages/InvoicesListPage.js.map +1 -1
  8. package/dist/billing/modules/billing/pages/UserRefundsPage.js +417 -0
  9. package/dist/billing/modules/billing/pages/UserRefundsPage.js.map +1 -0
  10. package/dist/billing/modules/billing/pages/index.js +1 -0
  11. package/dist/billing/modules/plans/constants/featuredQuotas.js +37 -0
  12. package/dist/billing/modules/plans/constants/featuredQuotas.js.map +1 -0
  13. package/dist/billing/modules/plans/index.js +2 -1
  14. package/dist/billing/modules/plans/pages/PlanAssignFreePage.js +205 -0
  15. package/dist/billing/modules/plans/pages/PlanAssignFreePage.js.map +1 -0
  16. package/dist/billing/modules/plans/pages/PlanCreatePage.js +51 -33
  17. package/dist/billing/modules/plans/pages/PlanCreatePage.js.map +1 -1
  18. package/dist/billing/modules/plans/pages/PlanEditPage.js +78 -60
  19. package/dist/billing/modules/plans/pages/PlanEditPage.js.map +1 -1
  20. package/dist/billing/modules/plans/pages/PlansBrowsePage.js +246 -126
  21. package/dist/billing/modules/plans/pages/PlansBrowsePage.js.map +1 -1
  22. package/dist/billing/modules/plans/pages/index.js +1 -0
  23. package/dist/billing/shared/types/graphql.js.map +1 -1
  24. package/dist/generated/global-operations.js +317 -287
  25. package/dist/generated/global-operations.js.map +1 -1
  26. package/dist/generated/global-types.js +3 -1
  27. package/dist/generated/global-types.js.map +1 -1
  28. package/package.json +1 -1
@@ -10,14 +10,14 @@ import { FeatureGate as c } from "@burdenoff/fe-libs/shared/feature-flags";
10
10
  import { Navigate as l, Route as u, Routes as d, useLocation as f, useNavigate as p } from "react-router-dom";
11
11
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
12
12
  //#region src/billing/BillingUserRoutes.tsx
13
- var g = o(() => import("./modules/subscriptions/index.js").then((e) => ({ default: e.SubscriptionsListPage }))), _ = o(() => import("./modules/subscriptions/index.js").then((e) => ({ default: e.SubscriptionDetailPage }))), v = o(() => import("./modules/subscriptions/index.js").then((e) => ({ default: e.UpgradeSubscriptionPage }))), y = o(() => import("./modules/plans/index.js").then((e) => ({ default: e.PlansBrowsePage }))), b = o(() => import("./modules/plans/index.js").then((e) => ({ default: e.PlanBrowseDetailPage }))), x = o(() => import("./modules/addons/index.js").then((e) => ({ default: e.AddonsBrowsePage }))), S = o(() => import("./modules/addons/index.js").then((e) => ({ default: e.AddonBrowseDetailPage }))), C = o(() => import("./modules/billing/index.js").then((e) => ({ default: e.InvoicesListPage }))), w = o(() => import("./modules/billing/index.js").then((e) => ({ default: e.InvoiceDetailPage }))), T = o(() => import("./modules/billing/index.js").then((e) => ({ default: e.TransactionsPage }))), E = o(() => import("./modules/billing/index.js").then((e) => ({ default: e.PaymentMethodsPage }))), D = o(() => import("./modules/credits/index.js").then((e) => ({ default: e.CreditsPage }))), O = o(() => import("./modules/credits/index.js").then((e) => ({ default: e.CreditTransactionsPage }))), k = o(() => import("./modules/credits/index.js").then((e) => ({ default: e.CreditWithdrawalPage }))), A = o(() => import("./modules/quota/index.js").then((e) => ({ default: e.QuotaPage }))), j = o(() => import("./modules/usage/index.js").then((e) => ({ default: e.UsagePage }))), M = o(() => import("./modules/checkout/index.js").then((e) => ({ default: e.CheckoutPage }))), N = o(() => import("./modules/store/index.js").then((e) => ({ default: e.StoreCheckoutPage }))), P = o(() => import("./modules/settings/index.js").then((e) => ({ default: e.SettingsPage }))), F = o(() => import("./modules/settings/index.js").then((e) => ({ default: e.TeamPermissionsPage }))), I = o(() => import("./modules/affiliate/index.js").then((e) => ({ default: e.AffiliateDashboardPage }))), L = o(() => import("./modules/earnings/index.js").then((e) => ({ default: e.EarningsPage }))), R = o(() => import("./modules/earnings/index.js").then((e) => ({ default: e.PayoutsPage })));
14
- function z() {
13
+ var g = o(() => import("./modules/subscriptions/index.js").then((e) => ({ default: e.SubscriptionsListPage }))), _ = o(() => import("./modules/subscriptions/index.js").then((e) => ({ default: e.SubscriptionDetailPage }))), v = o(() => import("./modules/subscriptions/index.js").then((e) => ({ default: e.UpgradeSubscriptionPage }))), y = o(() => import("./modules/plans/index.js").then((e) => ({ default: e.PlansBrowsePage }))), b = o(() => import("./modules/plans/index.js").then((e) => ({ default: e.PlanBrowseDetailPage }))), x = o(() => import("./modules/addons/index.js").then((e) => ({ default: e.AddonsBrowsePage }))), S = o(() => import("./modules/addons/index.js").then((e) => ({ default: e.AddonBrowseDetailPage }))), C = o(() => import("./modules/billing/index.js").then((e) => ({ default: e.InvoicesListPage }))), w = o(() => import("./modules/billing/index.js").then((e) => ({ default: e.InvoiceDetailPage }))), T = o(() => import("./modules/billing/index.js").then((e) => ({ default: e.TransactionsPage }))), E = o(() => import("./modules/billing/index.js").then((e) => ({ default: e.UserRefundsPage }))), D = o(() => import("./modules/billing/index.js").then((e) => ({ default: e.PaymentMethodsPage }))), O = o(() => import("./modules/credits/index.js").then((e) => ({ default: e.CreditsPage }))), k = o(() => import("./modules/credits/index.js").then((e) => ({ default: e.CreditTransactionsPage }))), A = o(() => import("./modules/credits/index.js").then((e) => ({ default: e.CreditWithdrawalPage }))), j = o(() => import("./modules/quota/index.js").then((e) => ({ default: e.QuotaPage }))), M = o(() => import("./modules/usage/index.js").then((e) => ({ default: e.UsagePage }))), N = o(() => import("./modules/checkout/index.js").then((e) => ({ default: e.CheckoutPage }))), P = o(() => import("./modules/store/index.js").then((e) => ({ default: e.StoreCheckoutPage }))), F = o(() => import("./modules/settings/index.js").then((e) => ({ default: e.SettingsPage }))), I = o(() => import("./modules/settings/index.js").then((e) => ({ default: e.TeamPermissionsPage }))), L = o(() => import("./modules/affiliate/index.js").then((e) => ({ default: e.AffiliateDashboardPage }))), R = o(() => import("./modules/earnings/index.js").then((e) => ({ default: e.EarningsPage }))), z = o(() => import("./modules/earnings/index.js").then((e) => ({ default: e.PayoutsPage })));
14
+ function B() {
15
15
  return /* @__PURE__ */ m("div", {
16
16
  className: "flex min-h-[400px] items-center justify-center",
17
17
  children: /* @__PURE__ */ m("div", { className: "size-8 animate-spin rounded-full border-4 border-primary border-t-transparent" })
18
18
  });
19
19
  }
20
- function B() {
20
+ function V() {
21
21
  let { basePath: t } = e(), { search: n } = f(), r = p(), i = t && t !== "/" ? t.replace(/\/$/, "") : "";
22
22
  return s(() => {
23
23
  r(`${i}/overview${n}`, { replace: !0 });
@@ -27,7 +27,7 @@ function B() {
27
27
  n
28
28
  ]), null;
29
29
  }
30
- function V({ title: e, featureFlag: t }) {
30
+ function H({ title: e, featureFlag: t }) {
31
31
  return /* @__PURE__ */ m("div", {
32
32
  className: "flex min-h-[400px] items-center justify-center p-6",
33
33
  children: /* @__PURE__ */ h("div", {
@@ -50,7 +50,7 @@ function V({ title: e, featureFlag: t }) {
50
50
  })
51
51
  });
52
52
  }
53
- function H({ title: e, featureFlag: i, permission: a, eventName: o, children: l }) {
53
+ function U({ title: e, featureFlag: i, permission: a, eventName: o, children: l }) {
54
54
  let u = r(), { emit: d } = n(), f = !!u[a];
55
55
  return s(() => {
56
56
  f && d(o, { source: "BillingUserRoutes" });
@@ -58,20 +58,20 @@ function H({ title: e, featureFlag: i, permission: a, eventName: o, children: l
58
58
  d,
59
59
  o,
60
60
  f
61
- ]), u.isLoading ? /* @__PURE__ */ m(z, {}) : /* @__PURE__ */ m(c, {
61
+ ]), u.isLoading ? /* @__PURE__ */ m(B, {}) : /* @__PURE__ */ m(c, {
62
62
  flag: i,
63
63
  defaultValue: !0,
64
- fallback: /* @__PURE__ */ m(V, {
64
+ fallback: /* @__PURE__ */ m(H, {
65
65
  title: e,
66
66
  featureFlag: i
67
67
  }),
68
68
  children: f ? l : /* @__PURE__ */ m(t, { message: `You don't have permission to access ${e}.` })
69
69
  });
70
70
  }
71
- function U(e) {
72
- return /* @__PURE__ */ m(H, { ...e });
71
+ function W(e) {
72
+ return /* @__PURE__ */ m(U, { ...e });
73
73
  }
74
- function W() {
74
+ function G() {
75
75
  return /* @__PURE__ */ h(d, { children: [
76
76
  /* @__PURE__ */ m(u, {
77
77
  index: !0,
@@ -82,7 +82,7 @@ function W() {
82
82
  }),
83
83
  /* @__PURE__ */ m(u, {
84
84
  path: "overview",
85
- element: U({
85
+ element: W({
86
86
  title: "Billing overview",
87
87
  featureFlag: "billing.overview",
88
88
  permission: "canViewBillingAccount",
@@ -92,388 +92,401 @@ function W() {
92
92
  }),
93
93
  /* @__PURE__ */ m(u, {
94
94
  path: "subscriptions",
95
- element: /* @__PURE__ */ m(H, {
95
+ element: /* @__PURE__ */ m(U, {
96
96
  title: "Subscriptions",
97
97
  featureFlag: "billing.subscriptions",
98
98
  permission: "canViewSubscriptions",
99
99
  eventName: "billing.subscription.viewed",
100
100
  children: /* @__PURE__ */ m(a, {
101
- fallback: /* @__PURE__ */ m(z, {}),
101
+ fallback: /* @__PURE__ */ m(B, {}),
102
102
  children: /* @__PURE__ */ m(g, {})
103
103
  })
104
104
  })
105
105
  }),
106
106
  /* @__PURE__ */ m(u, {
107
107
  path: "subscriptions/:subscriptionId",
108
- element: /* @__PURE__ */ m(H, {
108
+ element: /* @__PURE__ */ m(U, {
109
109
  title: "Subscription details",
110
110
  featureFlag: "billing.subscriptions",
111
111
  permission: "canViewSubscriptions",
112
112
  eventName: "billing.subscription.viewed",
113
113
  children: /* @__PURE__ */ m(a, {
114
- fallback: /* @__PURE__ */ m(z, {}),
114
+ fallback: /* @__PURE__ */ m(B, {}),
115
115
  children: /* @__PURE__ */ m(_, {})
116
116
  })
117
117
  })
118
118
  }),
119
119
  /* @__PURE__ */ m(u, {
120
120
  path: "subscriptions/:subscriptionId/upgrade",
121
- element: /* @__PURE__ */ m(H, {
121
+ element: /* @__PURE__ */ m(U, {
122
122
  title: "Subscription upgrade",
123
123
  featureFlag: "billing.subscriptions.upgrade",
124
124
  permission: "canCreateSubscription",
125
125
  eventName: "billing.subscription.viewed",
126
126
  children: /* @__PURE__ */ m(a, {
127
- fallback: /* @__PURE__ */ m(z, {}),
127
+ fallback: /* @__PURE__ */ m(B, {}),
128
128
  children: /* @__PURE__ */ m(v, {})
129
129
  })
130
130
  })
131
131
  }),
132
132
  /* @__PURE__ */ m(u, {
133
133
  path: "plans",
134
- element: /* @__PURE__ */ m(H, {
134
+ element: /* @__PURE__ */ m(U, {
135
135
  title: "Plans",
136
136
  featureFlag: "billing.plans",
137
137
  permission: "canViewPlans",
138
138
  eventName: "billing.plan.viewed",
139
139
  children: /* @__PURE__ */ m(a, {
140
- fallback: /* @__PURE__ */ m(z, {}),
140
+ fallback: /* @__PURE__ */ m(B, {}),
141
141
  children: /* @__PURE__ */ m(y, {})
142
142
  })
143
143
  })
144
144
  }),
145
145
  /* @__PURE__ */ m(u, {
146
146
  path: "plans/:planId",
147
- element: /* @__PURE__ */ m(H, {
147
+ element: /* @__PURE__ */ m(U, {
148
148
  title: "Plan details",
149
149
  featureFlag: "billing.plans",
150
150
  permission: "canViewPlans",
151
151
  eventName: "billing.plan.viewed",
152
152
  children: /* @__PURE__ */ m(a, {
153
- fallback: /* @__PURE__ */ m(z, {}),
153
+ fallback: /* @__PURE__ */ m(B, {}),
154
154
  children: /* @__PURE__ */ m(b, {})
155
155
  })
156
156
  })
157
157
  }),
158
158
  /* @__PURE__ */ m(u, {
159
159
  path: "addons",
160
- element: /* @__PURE__ */ m(H, {
160
+ element: /* @__PURE__ */ m(U, {
161
161
  title: "Addons",
162
162
  featureFlag: "billing.addons",
163
163
  permission: "canViewAddons",
164
164
  eventName: "billing.addon.viewed",
165
165
  children: /* @__PURE__ */ m(a, {
166
- fallback: /* @__PURE__ */ m(z, {}),
166
+ fallback: /* @__PURE__ */ m(B, {}),
167
167
  children: /* @__PURE__ */ m(x, {})
168
168
  })
169
169
  })
170
170
  }),
171
171
  /* @__PURE__ */ m(u, {
172
172
  path: "addons/:addonId",
173
- element: /* @__PURE__ */ m(H, {
173
+ element: /* @__PURE__ */ m(U, {
174
174
  title: "Addon details",
175
175
  featureFlag: "billing.addons",
176
176
  permission: "canViewAddons",
177
177
  eventName: "billing.addon.viewed",
178
178
  children: /* @__PURE__ */ m(a, {
179
- fallback: /* @__PURE__ */ m(z, {}),
179
+ fallback: /* @__PURE__ */ m(B, {}),
180
180
  children: /* @__PURE__ */ m(S, {})
181
181
  })
182
182
  })
183
183
  }),
184
184
  /* @__PURE__ */ m(u, {
185
185
  path: "checkout",
186
- element: /* @__PURE__ */ m(H, {
186
+ element: /* @__PURE__ */ m(U, {
187
187
  title: "Checkout",
188
188
  featureFlag: "billing.checkout",
189
189
  permission: "canProcessPayment",
190
190
  eventName: "billing.checkout.viewed",
191
191
  children: /* @__PURE__ */ m(a, {
192
- fallback: /* @__PURE__ */ m(z, {}),
193
- children: /* @__PURE__ */ m(M, {})
192
+ fallback: /* @__PURE__ */ m(B, {}),
193
+ children: /* @__PURE__ */ m(N, {})
194
194
  })
195
195
  })
196
196
  }),
197
197
  /* @__PURE__ */ m(u, {
198
198
  path: "checkout/:planId",
199
- element: /* @__PURE__ */ m(H, {
199
+ element: /* @__PURE__ */ m(U, {
200
200
  title: "Plan checkout",
201
201
  featureFlag: "billing.checkout",
202
202
  permission: "canProcessPayment",
203
203
  eventName: "billing.checkout.viewed",
204
204
  children: /* @__PURE__ */ m(a, {
205
- fallback: /* @__PURE__ */ m(z, {}),
206
- children: /* @__PURE__ */ m(M, {})
205
+ fallback: /* @__PURE__ */ m(B, {}),
206
+ children: /* @__PURE__ */ m(N, {})
207
207
  })
208
208
  })
209
209
  }),
210
210
  /* @__PURE__ */ m(u, {
211
211
  path: "checkout/credits",
212
- element: /* @__PURE__ */ m(H, {
212
+ element: /* @__PURE__ */ m(U, {
213
213
  title: "Credits checkout",
214
214
  featureFlag: "billing.checkout.credits",
215
215
  permission: "canProcessPayment",
216
216
  eventName: "billing.checkout.viewed",
217
217
  children: /* @__PURE__ */ m(a, {
218
- fallback: /* @__PURE__ */ m(z, {}),
219
- children: /* @__PURE__ */ m(M, {})
218
+ fallback: /* @__PURE__ */ m(B, {}),
219
+ children: /* @__PURE__ */ m(N, {})
220
220
  })
221
221
  })
222
222
  }),
223
223
  /* @__PURE__ */ m(u, {
224
224
  path: "checkout/addon/:addonId",
225
- element: /* @__PURE__ */ m(H, {
225
+ element: /* @__PURE__ */ m(U, {
226
226
  title: "Addon checkout",
227
227
  featureFlag: "billing.checkout.addons",
228
228
  permission: "canProcessPayment",
229
229
  eventName: "billing.checkout.viewed",
230
230
  children: /* @__PURE__ */ m(a, {
231
- fallback: /* @__PURE__ */ m(z, {}),
232
- children: /* @__PURE__ */ m(M, {})
231
+ fallback: /* @__PURE__ */ m(B, {}),
232
+ children: /* @__PURE__ */ m(N, {})
233
233
  })
234
234
  })
235
235
  }),
236
236
  /* @__PURE__ */ m(u, {
237
237
  path: "checkout/addons",
238
- element: /* @__PURE__ */ m(H, {
238
+ element: /* @__PURE__ */ m(U, {
239
239
  title: "Addons checkout",
240
240
  featureFlag: "billing.checkout.addons",
241
241
  permission: "canProcessPayment",
242
242
  eventName: "billing.checkout.viewed",
243
243
  children: /* @__PURE__ */ m(a, {
244
- fallback: /* @__PURE__ */ m(z, {}),
245
- children: /* @__PURE__ */ m(M, {})
244
+ fallback: /* @__PURE__ */ m(B, {}),
245
+ children: /* @__PURE__ */ m(N, {})
246
246
  })
247
247
  })
248
248
  }),
249
249
  /* @__PURE__ */ m(u, {
250
250
  path: "checkout/store/:storeOrderId",
251
- element: /* @__PURE__ */ m(H, {
251
+ element: /* @__PURE__ */ m(U, {
252
252
  title: "Store order checkout",
253
253
  featureFlag: "billing.checkout.store",
254
254
  permission: "canProcessPayment",
255
255
  eventName: "billing.checkout.viewed",
256
256
  children: /* @__PURE__ */ m(a, {
257
- fallback: /* @__PURE__ */ m(z, {}),
258
- children: /* @__PURE__ */ m(M, {})
257
+ fallback: /* @__PURE__ */ m(B, {}),
258
+ children: /* @__PURE__ */ m(N, {})
259
259
  })
260
260
  })
261
261
  }),
262
262
  /* @__PURE__ */ m(u, {
263
263
  path: "store/:orderId",
264
- element: /* @__PURE__ */ m(H, {
264
+ element: /* @__PURE__ */ m(U, {
265
265
  title: "Store checkout",
266
266
  featureFlag: "billing.checkout.store",
267
267
  permission: "canProcessPayment",
268
268
  eventName: "billing.checkout.viewed",
269
269
  children: /* @__PURE__ */ m(a, {
270
- fallback: /* @__PURE__ */ m(z, {}),
271
- children: /* @__PURE__ */ m(N, {})
270
+ fallback: /* @__PURE__ */ m(B, {}),
271
+ children: /* @__PURE__ */ m(P, {})
272
+ })
273
+ })
274
+ }),
275
+ /* @__PURE__ */ m(u, {
276
+ path: "refunds",
277
+ element: /* @__PURE__ */ m(U, {
278
+ title: "Refunds",
279
+ featureFlag: "billing.transactions",
280
+ permission: "canViewPayments",
281
+ eventName: "billing.transaction.viewed",
282
+ children: /* @__PURE__ */ m(a, {
283
+ fallback: /* @__PURE__ */ m(B, {}),
284
+ children: /* @__PURE__ */ m(E, {})
272
285
  })
273
286
  })
274
287
  }),
275
288
  /* @__PURE__ */ m(u, {
276
289
  path: "invoices",
277
- element: /* @__PURE__ */ m(H, {
290
+ element: /* @__PURE__ */ m(U, {
278
291
  title: "Invoices",
279
292
  featureFlag: "billing.invoices",
280
293
  permission: "canViewInvoices",
281
294
  eventName: "billing.invoice.viewed",
282
295
  children: /* @__PURE__ */ m(a, {
283
- fallback: /* @__PURE__ */ m(z, {}),
296
+ fallback: /* @__PURE__ */ m(B, {}),
284
297
  children: /* @__PURE__ */ m(C, {})
285
298
  })
286
299
  })
287
300
  }),
288
301
  /* @__PURE__ */ m(u, {
289
302
  path: "invoices/:invoiceId",
290
- element: /* @__PURE__ */ m(H, {
303
+ element: /* @__PURE__ */ m(U, {
291
304
  title: "Invoice details",
292
305
  featureFlag: "billing.invoices",
293
306
  permission: "canViewInvoices",
294
307
  eventName: "billing.invoice.viewed",
295
308
  children: /* @__PURE__ */ m(a, {
296
- fallback: /* @__PURE__ */ m(z, {}),
309
+ fallback: /* @__PURE__ */ m(B, {}),
297
310
  children: /* @__PURE__ */ m(w, {})
298
311
  })
299
312
  })
300
313
  }),
301
314
  /* @__PURE__ */ m(u, {
302
315
  path: "payment-methods",
303
- element: /* @__PURE__ */ m(H, {
316
+ element: /* @__PURE__ */ m(U, {
304
317
  title: "Payment methods",
305
318
  featureFlag: "billing.payment_methods",
306
319
  permission: "canViewPaymentMethods",
307
320
  eventName: "billing.payment_method.viewed",
308
321
  children: /* @__PURE__ */ m(a, {
309
- fallback: /* @__PURE__ */ m(z, {}),
310
- children: /* @__PURE__ */ m(E, {})
322
+ fallback: /* @__PURE__ */ m(B, {}),
323
+ children: /* @__PURE__ */ m(D, {})
311
324
  })
312
325
  })
313
326
  }),
314
327
  /* @__PURE__ */ m(u, {
315
328
  path: "payment-methods/add",
316
- element: /* @__PURE__ */ m(H, {
329
+ element: /* @__PURE__ */ m(U, {
317
330
  title: "Add payment method",
318
331
  featureFlag: "billing.payment_methods",
319
332
  permission: "canManagePaymentMethods",
320
333
  eventName: "billing.payment_method.viewed",
321
334
  children: /* @__PURE__ */ m(a, {
322
- fallback: /* @__PURE__ */ m(z, {}),
323
- children: /* @__PURE__ */ m(E, {})
335
+ fallback: /* @__PURE__ */ m(B, {}),
336
+ children: /* @__PURE__ */ m(D, {})
324
337
  })
325
338
  })
326
339
  }),
327
340
  /* @__PURE__ */ m(u, {
328
341
  path: "credits",
329
- element: /* @__PURE__ */ m(H, {
342
+ element: /* @__PURE__ */ m(U, {
330
343
  title: "Credits",
331
344
  featureFlag: "billing.credits",
332
345
  permission: "canViewCredits",
333
346
  eventName: "billing.credit.viewed",
334
347
  children: /* @__PURE__ */ m(a, {
335
- fallback: /* @__PURE__ */ m(z, {}),
336
- children: /* @__PURE__ */ m(D, {})
348
+ fallback: /* @__PURE__ */ m(B, {}),
349
+ children: /* @__PURE__ */ m(O, {})
337
350
  })
338
351
  })
339
352
  }),
340
353
  /* @__PURE__ */ m(u, {
341
354
  path: "credits/withdraw",
342
- element: /* @__PURE__ */ m(H, {
355
+ element: /* @__PURE__ */ m(U, {
343
356
  title: "Credit withdrawal",
344
357
  featureFlag: "billing.credits",
345
358
  permission: "canWithdrawCredits",
346
359
  eventName: "billing.credit.viewed",
347
360
  children: /* @__PURE__ */ m(a, {
348
- fallback: /* @__PURE__ */ m(z, {}),
349
- children: /* @__PURE__ */ m(k, {})
361
+ fallback: /* @__PURE__ */ m(B, {}),
362
+ children: /* @__PURE__ */ m(A, {})
350
363
  })
351
364
  })
352
365
  }),
353
366
  /* @__PURE__ */ m(u, {
354
367
  path: "creditTransactions/:billingAccountId",
355
- element: /* @__PURE__ */ m(H, {
368
+ element: /* @__PURE__ */ m(U, {
356
369
  title: "Credit transactions",
357
370
  featureFlag: "billing.credits",
358
371
  permission: "canViewCredits",
359
372
  eventName: "billing.credit.viewed",
360
373
  children: /* @__PURE__ */ m(a, {
361
- fallback: /* @__PURE__ */ m(z, {}),
362
- children: /* @__PURE__ */ m(O, {})
374
+ fallback: /* @__PURE__ */ m(B, {}),
375
+ children: /* @__PURE__ */ m(k, {})
363
376
  })
364
377
  })
365
378
  }),
366
379
  /* @__PURE__ */ m(u, {
367
380
  path: "quota",
368
- element: /* @__PURE__ */ m(H, {
381
+ element: /* @__PURE__ */ m(U, {
369
382
  title: "Quota",
370
383
  featureFlag: "billing.quota",
371
384
  permission: "canViewQuotas",
372
385
  eventName: "billing.quota.viewed",
373
386
  children: /* @__PURE__ */ m(a, {
374
- fallback: /* @__PURE__ */ m(z, {}),
375
- children: /* @__PURE__ */ m(A, {})
387
+ fallback: /* @__PURE__ */ m(B, {}),
388
+ children: /* @__PURE__ */ m(j, {})
376
389
  })
377
390
  })
378
391
  }),
379
392
  /* @__PURE__ */ m(u, {
380
393
  path: "usage",
381
- element: /* @__PURE__ */ m(H, {
394
+ element: /* @__PURE__ */ m(U, {
382
395
  title: "Usage",
383
396
  featureFlag: "billing.usage",
384
397
  permission: "canViewUsage",
385
398
  eventName: "billing.usage.viewed",
386
399
  children: /* @__PURE__ */ m(a, {
387
- fallback: /* @__PURE__ */ m(z, {}),
388
- children: /* @__PURE__ */ m(j, {})
400
+ fallback: /* @__PURE__ */ m(B, {}),
401
+ children: /* @__PURE__ */ m(M, {})
389
402
  })
390
403
  })
391
404
  }),
392
405
  /* @__PURE__ */ m(u, {
393
406
  path: "affiliate",
394
- element: /* @__PURE__ */ m(H, {
407
+ element: /* @__PURE__ */ m(U, {
395
408
  title: "Affiliate dashboard",
396
409
  featureFlag: "billing.affiliate",
397
410
  permission: "canManagePaymentMethods",
398
411
  eventName: "billing.affiliate.viewed",
399
412
  children: /* @__PURE__ */ m(a, {
400
- fallback: /* @__PURE__ */ m(z, {}),
401
- children: /* @__PURE__ */ m(I, {})
413
+ fallback: /* @__PURE__ */ m(B, {}),
414
+ children: /* @__PURE__ */ m(L, {})
402
415
  })
403
416
  })
404
417
  }),
405
418
  /* @__PURE__ */ m(u, {
406
419
  path: "earnings",
407
- element: /* @__PURE__ */ m(H, {
420
+ element: /* @__PURE__ */ m(U, {
408
421
  title: "Earnings",
409
422
  featureFlag: "billing.earnings",
410
423
  permission: "canViewBillingAccount",
411
424
  eventName: "billing.earning.viewed",
412
425
  children: /* @__PURE__ */ m(a, {
413
- fallback: /* @__PURE__ */ m(z, {}),
414
- children: /* @__PURE__ */ m(L, {})
426
+ fallback: /* @__PURE__ */ m(B, {}),
427
+ children: /* @__PURE__ */ m(R, {})
415
428
  })
416
429
  })
417
430
  }),
418
431
  /* @__PURE__ */ m(u, {
419
432
  path: "payouts",
420
- element: /* @__PURE__ */ m(H, {
433
+ element: /* @__PURE__ */ m(U, {
421
434
  title: "Payouts",
422
435
  featureFlag: "billing.payouts",
423
436
  permission: "canViewBillingAccount",
424
437
  eventName: "billing.payout.viewed",
425
438
  children: /* @__PURE__ */ m(a, {
426
- fallback: /* @__PURE__ */ m(z, {}),
427
- children: /* @__PURE__ */ m(R, {})
439
+ fallback: /* @__PURE__ */ m(B, {}),
440
+ children: /* @__PURE__ */ m(z, {})
428
441
  })
429
442
  })
430
443
  }),
431
444
  /* @__PURE__ */ m(u, {
432
445
  path: "transactions/:billingAccountId",
433
- element: /* @__PURE__ */ m(H, {
446
+ element: /* @__PURE__ */ m(U, {
434
447
  title: "Transactions",
435
448
  featureFlag: "billing.transactions",
436
449
  permission: "canViewPayments",
437
450
  eventName: "billing.transaction.viewed",
438
451
  children: /* @__PURE__ */ m(a, {
439
- fallback: /* @__PURE__ */ m(z, {}),
452
+ fallback: /* @__PURE__ */ m(B, {}),
440
453
  children: /* @__PURE__ */ m(T, {})
441
454
  })
442
455
  })
443
456
  }),
444
457
  /* @__PURE__ */ m(u, {
445
458
  path: "settings",
446
- element: /* @__PURE__ */ m(H, {
459
+ element: /* @__PURE__ */ m(U, {
447
460
  title: "Billing settings",
448
461
  featureFlag: "billing.settings",
449
462
  permission: "canManageBillingAccount",
450
463
  eventName: "billing.billing_account.viewed",
451
464
  children: /* @__PURE__ */ m(a, {
452
- fallback: /* @__PURE__ */ m(z, {}),
453
- children: /* @__PURE__ */ m(P, {})
465
+ fallback: /* @__PURE__ */ m(B, {}),
466
+ children: /* @__PURE__ */ m(F, {})
454
467
  })
455
468
  })
456
469
  }),
457
470
  /* @__PURE__ */ m(u, {
458
471
  path: "team-permissions",
459
- element: /* @__PURE__ */ m(H, {
472
+ element: /* @__PURE__ */ m(U, {
460
473
  title: "Team & Permissions",
461
474
  featureFlag: "billing.team_permissions",
462
475
  permission: "isBillingAdmin",
463
476
  eventName: "billing.billing_account.viewed",
464
477
  children: /* @__PURE__ */ m(a, {
465
- fallback: /* @__PURE__ */ m(z, {}),
466
- children: /* @__PURE__ */ m(F, {})
478
+ fallback: /* @__PURE__ */ m(B, {}),
479
+ children: /* @__PURE__ */ m(I, {})
467
480
  })
468
481
  })
469
482
  }),
470
483
  /* @__PURE__ */ m(u, {
471
484
  path: "*",
472
- element: /* @__PURE__ */ m(B, {})
485
+ element: /* @__PURE__ */ m(V, {})
473
486
  })
474
487
  ] });
475
488
  }
476
489
  //#endregion
477
- export { W as BillingUserRoutes };
490
+ export { G as BillingUserRoutes };
478
491
 
479
492
  //# sourceMappingURL=BillingUserRoutes.js.map