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