@openrails/billing-ui 0.268.3 → 0.269.0

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 (142) hide show
  1. package/dist/admin/context.d.ts +164 -62
  2. package/dist/admin/lib/api/endpoints.d.ts +3 -7
  3. package/dist/admin/lib/api/import-endpoints.d.ts +44 -0
  4. package/dist/admin/lib/api/index.d.ts +17 -7
  5. package/dist/admin/lib/api/types.d.ts +0 -29
  6. package/dist/admin/lib/import-queries.d.ts +66 -0
  7. package/dist/admin/lib/mutations.d.ts +1 -5
  8. package/dist/admin/lib/queries.d.ts +6 -20
  9. package/dist/admin/messages.d.ts +176 -6
  10. package/dist/admin/pages/catalog/index.d.ts +0 -1
  11. package/dist/admin/pages/imports/detail.d.ts +2 -0
  12. package/dist/admin/pages/imports/index.d.ts +2 -0
  13. package/dist/admin/pages/imports/mapping-csv.d.ts +10 -0
  14. package/dist/admin/pages/imports/progress.d.ts +21 -0
  15. package/dist/admin/pages/imports/records.d.ts +2 -0
  16. package/dist/admin/pages/imports/shared.d.ts +22 -0
  17. package/dist/admin/pages/parked/index.d.ts +2 -0
  18. package/dist/admin/pages/proposals/grouping.d.ts +13 -0
  19. package/dist/admin/pages/proposals/index.d.ts +2 -0
  20. package/dist/admin/pages/provider-prices/index.d.ts +2 -0
  21. package/dist/admin/pages/provider-prices/map-dialog.d.ts +11 -0
  22. package/dist/admin/routes.d.ts +1 -1
  23. package/dist/{admin-attempts-BLeeKABa.js → admin-attempts-DQTg0UzZ.js} +82 -82
  24. package/dist/{admin-attempts-BLeeKABa.js.map → admin-attempts-DQTg0UzZ.js.map} +1 -1
  25. package/dist/{admin-auth-DWVWxDup.js → admin-auth-1aZIgXiS.js} +2 -2
  26. package/dist/{admin-auth-DWVWxDup.js.map → admin-auth-1aZIgXiS.js.map} +1 -1
  27. package/dist/{admin-badge-CrEqD9Ew.js → admin-badge-pgG6D9-a.js} +2 -2
  28. package/dist/{admin-badge-CrEqD9Ew.js.map → admin-badge-pgG6D9-a.js.map} +1 -1
  29. package/dist/{admin-button-a7bDFgp0.js → admin-button-CrcYk5r0.js} +2 -2
  30. package/dist/{admin-button-a7bDFgp0.js.map → admin-button-CrcYk5r0.js.map} +1 -1
  31. package/dist/{admin-capabilities-QYUuJXvG.js → admin-capabilities-BDcZeHL_.js} +2 -2
  32. package/dist/{admin-capabilities-QYUuJXvG.js.map → admin-capabilities-BDcZeHL_.js.map} +1 -1
  33. package/dist/{admin-card-D1tz8Lbh.js → admin-card-DvTMc5Se.js} +2 -2
  34. package/dist/{admin-card-D1tz8Lbh.js.map → admin-card-DvTMc5Se.js.map} +1 -1
  35. package/dist/{admin-catalog-ggiDgWsR.js → admin-catalog-BlF5mnu4.js} +285 -382
  36. package/dist/admin-catalog-BlF5mnu4.js.map +1 -0
  37. package/dist/{admin-dom-VkcwevWr.js → admin-cursor-pager-CIb3Jw2F.js} +20 -25
  38. package/dist/admin-cursor-pager-CIb3Jw2F.js.map +1 -0
  39. package/dist/{admin-customers-BVMg-gUv.js → admin-customers-EpfoWDh-.js} +13 -13
  40. package/dist/{admin-customers-BVMg-gUv.js.map → admin-customers-EpfoWDh-.js.map} +1 -1
  41. package/dist/{admin-dashboard-Cc13i8i9.js → admin-dashboard-CJE63yz4.js} +46 -46
  42. package/dist/{admin-dashboard-Cc13i8i9.js.map → admin-dashboard-CJE63yz4.js.map} +1 -1
  43. package/dist/{admin-data-table-BL84xKKF.js → admin-data-table-hvFcJepL.js} +16 -16
  44. package/dist/{admin-data-table-BL84xKKF.js.map → admin-data-table-hvFcJepL.js.map} +1 -1
  45. package/dist/{admin-detail-CaEwBdX9.js → admin-detail-BRP6pL7t.js} +51 -51
  46. package/dist/{admin-detail-CaEwBdX9.js.map → admin-detail-BRP6pL7t.js.map} +1 -1
  47. package/dist/{admin-detail-9YAep3ts.js → admin-detail-CRzFb_pa.js} +232 -232
  48. package/dist/{admin-detail-9YAep3ts.js.map → admin-detail-CRzFb_pa.js.map} +1 -1
  49. package/dist/admin-detail-Ceod8AXy.js +299 -0
  50. package/dist/admin-detail-Ceod8AXy.js.map +1 -0
  51. package/dist/{admin-detail-C8t5jBps.js → admin-detail-QLxU8r-5.js} +62 -62
  52. package/dist/{admin-detail-C8t5jBps.js.map → admin-detail-QLxU8r-5.js.map} +1 -1
  53. package/dist/admin-detail-pPC8Q9l-.js +710 -0
  54. package/dist/{admin-detail-D2zcz_Xm.js.map → admin-detail-pPC8Q9l-.js.map} +1 -1
  55. package/dist/{admin-dialog-CiAw5vx-.js → admin-dialog-BSRf9Zre.js} +24 -24
  56. package/dist/{admin-dialog-CiAw5vx-.js.map → admin-dialog-BSRf9Zre.js.map} +1 -1
  57. package/dist/admin-dom-C7Y7A6Wa.js +8 -0
  58. package/dist/admin-dom-C7Y7A6Wa.js.map +1 -0
  59. package/dist/{admin-dropdown-menu-CYJbmqK2.js → admin-dropdown-menu-D0E5rwmn.js} +2 -2
  60. package/dist/{admin-dropdown-menu-CYJbmqK2.js.map → admin-dropdown-menu-D0E5rwmn.js.map} +1 -1
  61. package/dist/{admin-fact-card-BHTpDlaX.js → admin-fact-card-BPSVhS15.js} +2 -2
  62. package/dist/{admin-fact-card-BHTpDlaX.js.map → admin-fact-card-BPSVhS15.js.map} +1 -1
  63. package/dist/{admin-health-BUnjbvYR.js → admin-health-D0L5Kig7.js} +84 -84
  64. package/dist/{admin-health-BUnjbvYR.js.map → admin-health-D0L5Kig7.js.map} +1 -1
  65. package/dist/admin-imports-TCOljTgw.js +269 -0
  66. package/dist/admin-imports-TCOljTgw.js.map +1 -0
  67. package/dist/{admin-input-C-S_RGGo.js → admin-input-DJAK9nmk.js} +2 -2
  68. package/dist/{admin-input-C-S_RGGo.js.map → admin-input-DJAK9nmk.js.map} +1 -1
  69. package/dist/{admin-label-DPVYDdSO.js → admin-label-aviN9Gng.js} +2 -2
  70. package/dist/{admin-label-DPVYDdSO.js.map → admin-label-aviN9Gng.js.map} +1 -1
  71. package/dist/{admin-linked-table-row-D-gbTT7a.js → admin-linked-table-row-BGr7JXeM.js} +6 -6
  72. package/dist/{admin-linked-table-row-D-gbTT7a.js.map → admin-linked-table-row-BGr7JXeM.js.map} +1 -1
  73. package/dist/admin-map-dialog-DpGaIq52.js +135 -0
  74. package/dist/admin-map-dialog-DpGaIq52.js.map +1 -0
  75. package/dist/admin-mapping-csv-FtkyTBmk.js +56 -0
  76. package/dist/admin-mapping-csv-FtkyTBmk.js.map +1 -0
  77. package/dist/{admin-metering-BjbL0jjT.js → admin-metering-D-e-37Jn.js} +285 -285
  78. package/dist/{admin-metering-BjbL0jjT.js.map → admin-metering-D-e-37Jn.js.map} +1 -1
  79. package/dist/admin-ops-CQP4TzWM.js +235 -0
  80. package/dist/admin-ops-CQP4TzWM.js.map +1 -0
  81. package/dist/{admin-orders-BVW9-Fs9.js → admin-orders-BJ7W5S8P.js} +32 -32
  82. package/dist/{admin-orders-BVW9-Fs9.js.map → admin-orders-BJ7W5S8P.js.map} +1 -1
  83. package/dist/admin-parked-7HL8mOjw.js +193 -0
  84. package/dist/admin-parked-7HL8mOjw.js.map +1 -0
  85. package/dist/{admin-payments-C5MsFFmm.js → admin-payments-CzkzqYA1.js} +17 -17
  86. package/dist/{admin-payments-C5MsFFmm.js.map → admin-payments-CzkzqYA1.js.map} +1 -1
  87. package/dist/{admin-price-detail-D517JYHB.js → admin-price-detail-CSI5oKdb.js} +74 -74
  88. package/dist/{admin-price-detail-D517JYHB.js.map → admin-price-detail-CSI5oKdb.js.map} +1 -1
  89. package/dist/{admin-price-wizard-bj36o3ux.js → admin-price-wizard-CBEcNGvP.js} +38 -38
  90. package/dist/{admin-price-wizard-bj36o3ux.js.map → admin-price-wizard-CBEcNGvP.js.map} +1 -1
  91. package/dist/admin-proposals-dtgijWKz.js +375 -0
  92. package/dist/admin-proposals-dtgijWKz.js.map +1 -0
  93. package/dist/admin-provider-prices-ChuponcZ.js +246 -0
  94. package/dist/admin-provider-prices-ChuponcZ.js.map +1 -0
  95. package/dist/{admin-range-picker-D2aFF8IV.js → admin-range-picker-De36L-AP.js} +12 -12
  96. package/dist/{admin-range-picker-D2aFF8IV.js.map → admin-range-picker-De36L-AP.js.map} +1 -1
  97. package/dist/admin-records-CUHUOXAU.js +391 -0
  98. package/dist/admin-records-CUHUOXAU.js.map +1 -0
  99. package/dist/{admin-reports-D-ob04d4.js → admin-reports-BFGS_PWf.js} +45 -45
  100. package/dist/{admin-reports-D-ob04d4.js.map → admin-reports-BFGS_PWf.js.map} +1 -1
  101. package/dist/{admin-select-C8O7nx72.js → admin-select-BUcEU5Rg.js} +2 -2
  102. package/dist/{admin-select-C8O7nx72.js.map → admin-select-BUcEU5Rg.js.map} +1 -1
  103. package/dist/{admin-settings-Bs6cLcqi.js → admin-settings-DYC-c7mJ.js} +296 -296
  104. package/dist/{admin-settings-Bs6cLcqi.js.map → admin-settings-DYC-c7mJ.js.map} +1 -1
  105. package/dist/admin-shared-CzG8Pan3.js +222 -0
  106. package/dist/admin-shared-CzG8Pan3.js.map +1 -0
  107. package/dist/{admin-skeleton-wfocg2PJ.js → admin-skeleton-B0yzYY_X.js} +2 -2
  108. package/dist/{admin-skeleton-wfocg2PJ.js.map → admin-skeleton-B0yzYY_X.js.map} +1 -1
  109. package/dist/{admin-status-badge-D_gDMrht.js → admin-status-badge-0-K37EfN.js} +7 -2
  110. package/dist/admin-status-badge-0-K37EfN.js.map +1 -0
  111. package/dist/{admin-subscriptions-DYR1RGMO.js → admin-subscriptions-CvW-YFs0.js} +74 -74
  112. package/dist/{admin-subscriptions-DYR1RGMO.js.map → admin-subscriptions-CvW-YFs0.js.map} +1 -1
  113. package/dist/{admin-switch-F5D0AYjT.js → admin-switch-DDorugaw.js} +2 -2
  114. package/dist/{admin-switch-F5D0AYjT.js.map → admin-switch-DDorugaw.js.map} +1 -1
  115. package/dist/{admin-table-nUij5fLc.js → admin-table-BU6Tie69.js} +2 -2
  116. package/dist/{admin-table-nUij5fLc.js.map → admin-table-BU6Tie69.js.map} +1 -1
  117. package/dist/{admin-tabs-C3myjKdr.js → admin-tabs-D5lqdVcC.js} +2 -2
  118. package/dist/{admin-tabs-C3myjKdr.js.map → admin-tabs-D5lqdVcC.js.map} +1 -1
  119. package/dist/{admin-textarea-v-L-PXIc.js → admin-textarea-Dc6lnEub.js} +2 -2
  120. package/dist/{admin-textarea-v-L-PXIc.js.map → admin-textarea-Dc6lnEub.js.map} +1 -1
  121. package/dist/{admin-typed-confirm-dialog-BLgpuikW.js → admin-typed-confirm-dialog-Bk6XxmPb.js} +6 -6
  122. package/dist/{admin-typed-confirm-dialog-BLgpuikW.js.map → admin-typed-confirm-dialog-Bk6XxmPb.js.map} +1 -1
  123. package/dist/{admin-utils-6yE4YIVI.js → admin-utils-B9eEBNsR.js} +398 -146
  124. package/dist/admin-utils-B9eEBNsR.js.map +1 -0
  125. package/dist/{admin-widget-viz-BiEfckd4.js → admin-widget-viz-8aukE3v_.js} +34 -34
  126. package/dist/{admin-widget-viz-BiEfckd4.js.map → admin-widget-viz-8aukE3v_.js.map} +1 -1
  127. package/dist/admin.css +1 -1
  128. package/dist/admin.js +489 -264
  129. package/dist/admin.js.map +1 -1
  130. package/dist/client/generated/error-codes.d.ts +1 -1
  131. package/dist/client/generated/routes.d.ts +94 -22
  132. package/dist/client/generated/wire.d.ts +89 -14
  133. package/dist/index.js +1 -1
  134. package/dist/styles.css +1 -1
  135. package/package.json +2 -2
  136. package/dist/admin-catalog-ggiDgWsR.js.map +0 -1
  137. package/dist/admin-detail-D2zcz_Xm.js +0 -710
  138. package/dist/admin-dom-VkcwevWr.js.map +0 -1
  139. package/dist/admin-ops-DT8epiXg.js +0 -217
  140. package/dist/admin-ops-DT8epiXg.js.map +0 -1
  141. package/dist/admin-status-badge-D_gDMrht.js.map +0 -1
  142. package/dist/admin-utils-6yE4YIVI.js.map +0 -1
package/dist/admin.js CHANGED
@@ -1,12 +1,12 @@
1
- import { C as e, E as t, S as n, T as r, a as i, d as a, f as o, g as s, h as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, w as _ } from "./admin-utils-6yE4YIVI.js";
2
- import { a as v, i as y, n as b, o as ee, r as te, s as x, t as S } from "./admin-dropdown-menu-CYJbmqK2.js";
3
- import { t as C } from "./admin-button-a7bDFgp0.js";
4
- import { f as w, i as T, l as E, o as ne, t as re } from "./admin-capabilities-QYUuJXvG.js";
5
- import { t as D } from "./admin-auth-DWVWxDup.js";
6
- import { f as ie, s as O } from "./admin-format-DoohJ7Fg.js";
7
- import { t as ae } from "./admin-confirm-katGq0Qo.js";
8
- import * as k from "react";
9
- import { Component as oe, Suspense as se, lazy as A, useCallback as j, useEffect as ce, useId as le, useLayoutEffect as ue, useMemo as M, useRef as de, useState as N, useSyncExternalStore as fe } from "react";
1
+ import { C as e, D as t, E as n, T as r, _ as i, a, d as o, f as s, g as c, h as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, w as _ } from "./admin-utils-B9eEBNsR.js";
2
+ import { a as v, i as ee, n as y, o as te, r as ne, s as b, t as x } from "./admin-dropdown-menu-D0E5rwmn.js";
3
+ import { t as S } from "./admin-button-CrcYk5r0.js";
4
+ import { f as C, i as w, l as T, o as re, t as ie } from "./admin-capabilities-BDcZeHL_.js";
5
+ import { t as E } from "./admin-auth-1aZIgXiS.js";
6
+ import { f as ae, s as D } from "./admin-format-DoohJ7Fg.js";
7
+ import { t as oe } from "./admin-confirm-katGq0Qo.js";
8
+ import * as O from "react";
9
+ import { Component as se, Suspense as ce, lazy as k, useCallback as A, useEffect as le, useId as ue, useLayoutEffect as de, useMemo as j, useRef as fe, useState as M, useSyncExternalStore as N } from "react";
10
10
  import { QueryCache as pe, QueryClient as me, QueryClientProvider as he, useQuery as P } from "@tanstack/react-query";
11
11
  import { Toaster as ge } from "sonner";
12
12
  import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
@@ -48,95 +48,115 @@ function W(e, t = "orck") {
48
48
  var He = [
49
49
  {
50
50
  path: "/payments/attempts",
51
- Component: A(() => import("./admin-attempts-BLeeKABa.js").then((e) => ({ default: e.AttemptsPage })))
51
+ Component: k(() => import("./admin-attempts-DQTg0UzZ.js").then((e) => ({ default: e.AttemptsPage })))
52
52
  },
53
53
  {
54
54
  path: "/catalog/metering",
55
- Component: A(() => import("./admin-metering-BjbL0jjT.js").then((e) => ({ default: e.CatalogMeteringPage })))
55
+ Component: k(() => import("./admin-metering-D-e-37Jn.js").then((e) => ({ default: e.CatalogMeteringPage })))
56
56
  },
57
57
  {
58
58
  path: "/payments/health",
59
- Component: A(() => import("./admin-health-BUnjbvYR.js").then((e) => ({ default: e.PaymentHealthPage })))
59
+ Component: k(() => import("./admin-health-D0L5Kig7.js").then((e) => ({ default: e.PaymentHealthPage })))
60
60
  },
61
61
  {
62
62
  path: "/payments/cycles",
63
- Component: A(() => import("./admin-attempts-BLeeKABa.js").then((e) => ({ default: e.CyclesPage })))
63
+ Component: k(() => import("./admin-attempts-DQTg0UzZ.js").then((e) => ({ default: e.CyclesPage })))
64
64
  },
65
65
  {
66
66
  path: "/catalog/prices",
67
- Component: A(() => import("./admin-catalog-ggiDgWsR.js").then((e) => ({ default: e.CatalogPricesPage })))
67
+ Component: k(() => import("./admin-catalog-BlF5mnu4.js").then((e) => ({ default: e.CatalogPricesPage })))
68
68
  },
69
69
  {
70
70
  path: "/subscriptions",
71
- Component: A(() => import("./admin-subscriptions-DYR1RGMO.js").then((e) => ({ default: e.SubscriptionsPage })))
72
- },
73
- {
74
- path: "/catalog/drift",
75
- Component: A(() => import("./admin-catalog-ggiDgWsR.js").then((e) => ({ default: e.CatalogDriftPage })))
71
+ Component: k(() => import("./admin-subscriptions-CvW-YFs0.js").then((e) => ({ default: e.SubscriptionsPage })))
76
72
  },
77
73
  {
78
74
  path: "/customers",
79
- Component: A(() => import("./admin-customers-BVMg-gUv.js").then((e) => ({ default: e.CustomersPage })))
75
+ Component: k(() => import("./admin-customers-EpfoWDh-.js").then((e) => ({ default: e.CustomersPage })))
80
76
  },
81
77
  {
82
78
  path: "/payments",
83
- Component: A(() => import("./admin-payments-C5MsFFmm.js").then((e) => ({ default: e.PaymentsPage })))
79
+ Component: k(() => import("./admin-payments-CzkzqYA1.js").then((e) => ({ default: e.PaymentsPage })))
84
80
  },
85
81
  {
86
82
  path: "/settings",
87
- Component: A(() => import("./admin-settings-Bs6cLcqi.js").then((e) => ({ default: e.SettingsPage })))
83
+ Component: k(() => import("./admin-settings-DYC-c7mJ.js").then((e) => ({ default: e.SettingsPage })))
88
84
  },
89
85
  {
90
86
  path: "/reports",
91
- Component: A(() => import("./admin-reports-D-ob04d4.js").then((e) => ({ default: e.ReportsPage })))
87
+ Component: k(() => import("./admin-reports-BFGS_PWf.js").then((e) => ({ default: e.ReportsPage })))
92
88
  },
93
89
  {
94
90
  path: "/catalog",
95
- Component: A(() => import("./admin-catalog-ggiDgWsR.js").then((e) => ({ default: e.CatalogProductsPage })))
91
+ Component: k(() => import("./admin-catalog-BlF5mnu4.js").then((e) => ({ default: e.CatalogProductsPage })))
96
92
  },
97
93
  {
98
94
  path: "/orders",
99
- Component: A(() => import("./admin-orders-BVW9-Fs9.js").then((e) => ({ default: e.OrdersPage })))
95
+ Component: k(() => import("./admin-orders-BJ7W5S8P.js").then((e) => ({ default: e.OrdersPage })))
96
+ },
97
+ {
98
+ path: "/ops/imports",
99
+ Component: k(() => import("./admin-imports-TCOljTgw.js").then((e) => ({ default: e.ImportsPage })))
100
+ },
101
+ {
102
+ path: "/ops/imports/:id",
103
+ Component: k(() => import("./admin-detail-Ceod8AXy.js").then((e) => ({ default: e.ImportDetailPage })))
104
+ },
105
+ {
106
+ path: "/ops/imports/:id/records",
107
+ Component: k(() => import("./admin-records-CUHUOXAU.js").then((e) => ({ default: e.ImportRecordsPage })))
108
+ },
109
+ {
110
+ path: "/ops/provider-prices",
111
+ Component: k(() => import("./admin-provider-prices-ChuponcZ.js").then((e) => ({ default: e.ProviderPricesPage })))
112
+ },
113
+ {
114
+ path: "/ops/proposals",
115
+ Component: k(() => import("./admin-proposals-dtgijWKz.js").then((e) => ({ default: e.ProposalsPage })))
116
+ },
117
+ {
118
+ path: "/ops/parked",
119
+ Component: k(() => import("./admin-parked-7HL8mOjw.js").then((e) => ({ default: e.ParkedPage })))
100
120
  },
101
121
  {
102
122
  path: "/ops",
103
- Component: A(() => import("./admin-ops-DT8epiXg.js").then((e) => ({ default: e.OpsPage })))
123
+ Component: k(() => import("./admin-ops-CQP4TzWM.js").then((e) => ({ default: e.OpsPage })))
104
124
  },
105
125
  {
106
126
  path: "/",
107
- Component: A(() => import("./admin-dashboard-Cc13i8i9.js").then((e) => ({ default: e.DashboardPage })))
127
+ Component: k(() => import("./admin-dashboard-CJE63yz4.js").then((e) => ({ default: e.DashboardPage })))
108
128
  },
109
129
  {
110
130
  path: "/customers/:customerId",
111
- Component: A(() => import("./admin-detail-9YAep3ts.js").then((e) => ({ default: e.CustomerDetailPage })))
131
+ Component: k(() => import("./admin-detail-CRzFb_pa.js").then((e) => ({ default: e.CustomerDetailPage })))
112
132
  },
113
133
  {
114
134
  path: "/payments/attempts/:id",
115
- Component: A(() => import("./admin-attempts-BLeeKABa.js").then((e) => ({ default: e.AttemptDetailPage })))
135
+ Component: k(() => import("./admin-attempts-DQTg0UzZ.js").then((e) => ({ default: e.AttemptDetailPage })))
116
136
  },
117
137
  {
118
138
  path: "/catalog/metering/:key",
119
- Component: A(() => import("./admin-metering-BjbL0jjT.js").then((e) => ({ default: e.MeterDetailPage })))
139
+ Component: k(() => import("./admin-metering-D-e-37Jn.js").then((e) => ({ default: e.MeterDetailPage })))
120
140
  },
121
141
  {
122
142
  path: "/payments/cycles/:id",
123
- Component: A(() => import("./admin-attempts-BLeeKABa.js").then((e) => ({ default: e.CycleDetailPage })))
143
+ Component: k(() => import("./admin-attempts-DQTg0UzZ.js").then((e) => ({ default: e.CycleDetailPage })))
124
144
  },
125
145
  {
126
146
  path: "/catalog/prices/:id",
127
- Component: A(() => import("./admin-price-detail-D517JYHB.js").then((e) => ({ default: e.PriceDetailPage })))
147
+ Component: k(() => import("./admin-price-detail-CSI5oKdb.js").then((e) => ({ default: e.PriceDetailPage })))
128
148
  },
129
149
  {
130
150
  path: "/subscriptions/:id",
131
- Component: A(() => import("./admin-detail-D2zcz_Xm.js").then((e) => ({ default: e.SubscriptionDetailPage })))
151
+ Component: k(() => import("./admin-detail-pPC8Q9l-.js").then((e) => ({ default: e.SubscriptionDetailPage })))
132
152
  },
133
153
  {
134
154
  path: "/payments/:id",
135
- Component: A(() => import("./admin-detail-CaEwBdX9.js").then((e) => ({ default: e.PaymentDetailPage })))
155
+ Component: k(() => import("./admin-detail-BRP6pL7t.js").then((e) => ({ default: e.PaymentDetailPage })))
136
156
  },
137
157
  {
138
158
  path: "/orders/:id",
139
- Component: A(() => import("./admin-detail-C8t5jBps.js").then((e) => ({ default: e.OrderDetailPage })))
159
+ Component: k(() => import("./admin-detail-QLxU8r-5.js").then((e) => ({ default: e.OrderDetailPage })))
140
160
  }
141
161
  ];
142
162
  function Ue(e) {
@@ -157,18 +177,18 @@ function Ue(e) {
157
177
  }
158
178
  function We() {
159
179
  let e = Ue(d().pathname);
160
- return e ? /* @__PURE__ */ I(i, {
180
+ return e ? /* @__PURE__ */ I(a, {
161
181
  params: e.params,
162
- children: /* @__PURE__ */ I(se, {
182
+ children: /* @__PURE__ */ I(ce, {
163
183
  fallback: /* @__PURE__ */ I("p", {
164
184
  role: "status",
165
- children: /* @__PURE__ */ I(_, { id: "Loading…" })
185
+ children: /* @__PURE__ */ I(r, { id: "Loading…" })
166
186
  }),
167
187
  children: /* @__PURE__ */ I(e.Component, {})
168
188
  })
169
189
  }) : /* @__PURE__ */ I("p", {
170
190
  role: "status",
171
- children: /* @__PURE__ */ I(_, { id: "This billing page does not exist." })
191
+ children: /* @__PURE__ */ I(r, { id: "This billing page does not exist." })
172
192
  });
173
193
  }
174
194
  //#endregion
@@ -178,7 +198,7 @@ var G = "(max-width: 767px)", Ge = (e) => {
178
198
  return t.addEventListener("change", e), () => t.removeEventListener("change", e);
179
199
  };
180
200
  function Ke() {
181
- return fe(Ge, () => window.matchMedia(G).matches, () => !1);
201
+ return N(Ge, () => window.matchMedia(G).matches, () => !1);
182
202
  }
183
203
  //#endregion
184
204
  //#region src/admin/components/ui/separator.tsx
@@ -200,7 +220,7 @@ function Je({ ...e }) {
200
220
  }
201
221
  function Ye({ ...e }) {
202
222
  return /* @__PURE__ */ I(V.Portal, {
203
- container: o().portal,
223
+ container: s().portal,
204
224
  "data-slot": "sheet-portal",
205
225
  ...e
206
226
  });
@@ -212,22 +232,22 @@ function Xe({ className: e, ...t }) {
212
232
  ...t
213
233
  });
214
234
  }
215
- function Ze({ className: e, children: t, side: n = "right", showCloseButton: r = !0, ...i }) {
235
+ function Ze({ className: e, children: t, side: n = "right", showCloseButton: i = !0, ...a }) {
216
236
  return /* @__PURE__ */ L(Ye, { children: [/* @__PURE__ */ I(Xe, {}), /* @__PURE__ */ L(V.Popup, {
217
237
  "data-slot": "sheet-content",
218
238
  "data-side": n,
219
239
  className: h("fixed z-50 flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground shadow-lg transition duration-200 ease-in-out data-ending-style:opacity-0 data-starting-style:opacity-0 data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=bottom]:data-ending-style:translate-y-[2.5rem] data-[side=bottom]:data-starting-style:translate-y-[2.5rem] data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=left]:data-ending-style:translate-x-[-2.5rem] data-[side=left]:data-starting-style:translate-x-[-2.5rem] data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=right]:data-ending-style:translate-x-[2.5rem] data-[side=right]:data-starting-style:translate-x-[2.5rem] data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=top]:data-ending-style:translate-y-[-2.5rem] data-[side=top]:data-starting-style:translate-y-[-2.5rem] data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", e),
220
- ...i,
221
- children: [t, r && /* @__PURE__ */ L(V.Close, {
240
+ ...a,
241
+ children: [t, i && /* @__PURE__ */ L(V.Close, {
222
242
  "data-slot": "sheet-close",
223
- render: /* @__PURE__ */ I(C, {
243
+ render: /* @__PURE__ */ I(S, {
224
244
  variant: "ghost",
225
245
  className: "absolute top-3 right-3",
226
246
  size: "icon-sm"
227
247
  }),
228
248
  children: [/* @__PURE__ */ I(Re, {}), /* @__PURE__ */ I("span", {
229
249
  className: "sr-only",
230
- children: /* @__PURE__ */ I(_, { id: "Close" })
250
+ children: /* @__PURE__ */ I(r, { id: "Close" })
231
251
  })]
232
252
  })]
233
253
  })] });
@@ -274,9 +294,9 @@ function rt({ ...e }) {
274
294
  ...e
275
295
  });
276
296
  }
277
- function it({ className: e, side: t = "top", sideOffset: n = 4, align: r = "center", alignOffset: i = 0, children: a, ...s }) {
297
+ function it({ className: e, side: t = "top", sideOffset: n = 4, align: r = "center", alignOffset: i = 0, children: a, ...o }) {
278
298
  return /* @__PURE__ */ I(H.Portal, {
279
- container: o().portal,
299
+ container: s().portal,
280
300
  children: /* @__PURE__ */ I(H.Positioner, {
281
301
  align: r,
282
302
  alignOffset: i,
@@ -286,7 +306,7 @@ function it({ className: e, side: t = "top", sideOffset: n = 4, align: r = "cent
286
306
  children: /* @__PURE__ */ L(H.Popup, {
287
307
  "data-slot": "tooltip-content",
288
308
  className: h("z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95", e),
289
- ...s,
309
+ ...o,
290
310
  children: [a, /* @__PURE__ */ I(H.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })]
291
311
  })
292
312
  })
@@ -294,21 +314,21 @@ function it({ className: e, side: t = "top", sideOffset: n = 4, align: r = "cent
294
314
  }
295
315
  //#endregion
296
316
  //#region src/admin/components/ui/sidebar.tsx
297
- var at = "16rem", ot = "18rem", st = "3rem", ct = "b", K = k.createContext(null);
317
+ var at = "16rem", ot = "18rem", st = "3rem", ct = "b", K = O.createContext(null);
298
318
  function q() {
299
- let e = k.useContext(K);
319
+ let e = O.useContext(K);
300
320
  if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
301
321
  return e;
302
322
  }
303
323
  function lt({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: a, ...o }) {
304
- let s = Ke(), [c, l] = k.useState(!1), [u, d] = k.useState(e), f = t ?? u, p = k.useCallback((e) => {
324
+ let s = Ke(), [c, l] = O.useState(!1), [u, d] = O.useState(e), f = t ?? u, p = O.useCallback((e) => {
305
325
  let t = typeof e == "function" ? e(f) : e;
306
326
  n ? n(t) : d(t);
307
- }, [n, f]), m = k.useCallback(() => s ? l((e) => !e) : p((e) => !e), [
327
+ }, [n, f]), m = O.useCallback(() => s ? l((e) => !e) : p((e) => !e), [
308
328
  s,
309
329
  p,
310
330
  l
311
- ]), g = f ? "expanded" : "collapsed", _ = k.useMemo(() => ({
331
+ ]), g = f ? "expanded" : "collapsed", _ = O.useMemo(() => ({
312
332
  state: g,
313
333
  open: f,
314
334
  setOpen: p,
@@ -343,19 +363,19 @@ function lt({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style
343
363
  })
344
364
  });
345
365
  }
346
- function ut({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: a, ...o }) {
347
- let { isMobile: s, state: c, openMobile: l, setOpenMobile: u } = q();
366
+ function ut({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: i, children: a, dir: o, ...s }) {
367
+ let { isMobile: c, state: l, openMobile: u, setOpenMobile: d } = q();
348
368
  return n === "none" ? /* @__PURE__ */ I("div", {
349
369
  "data-slot": "sidebar",
350
- className: h("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", r),
351
- ...o,
352
- children: i
353
- }) : s ? /* @__PURE__ */ I(Je, {
354
- open: l,
355
- onOpenChange: u,
356
- ...o,
370
+ className: h("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", i),
371
+ ...s,
372
+ children: a
373
+ }) : c ? /* @__PURE__ */ I(Je, {
374
+ open: u,
375
+ onOpenChange: d,
376
+ ...s,
357
377
  children: /* @__PURE__ */ L(Ze, {
358
- dir: a,
378
+ dir: o,
359
379
  "data-sidebar": "sidebar",
360
380
  "data-slot": "sidebar",
361
381
  "data-mobile": "true",
@@ -364,16 +384,16 @@ function ut({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
364
384
  side: e,
365
385
  children: [/* @__PURE__ */ L(Qe, {
366
386
  className: "sr-only",
367
- children: [/* @__PURE__ */ I($e, { children: /* @__PURE__ */ I(_, { id: "Sidebar" }) }), /* @__PURE__ */ I(et, { children: /* @__PURE__ */ I(_, { id: "Displays the mobile sidebar." }) })]
387
+ children: [/* @__PURE__ */ I($e, { children: /* @__PURE__ */ I(r, { id: "Sidebar" }) }), /* @__PURE__ */ I(et, { children: /* @__PURE__ */ I(r, { id: "Displays the mobile sidebar." }) })]
368
388
  }), /* @__PURE__ */ I("div", {
369
389
  className: "flex h-full w-full flex-col",
370
- children: i
390
+ children: a
371
391
  })]
372
392
  })
373
393
  }) : /* @__PURE__ */ L("div", {
374
394
  className: "group peer text-sidebar-foreground relative hidden md:block",
375
- "data-state": c,
376
- "data-collapsible": c === "collapsed" ? n : "",
395
+ "data-state": l,
396
+ "data-collapsible": l === "collapsed" ? n : "",
377
397
  "data-variant": t,
378
398
  "data-side": e,
379
399
  "data-slot": "sidebar",
@@ -383,32 +403,32 @@ function ut({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
383
403
  }), /* @__PURE__ */ I("div", {
384
404
  "data-slot": "sidebar-container",
385
405
  "data-side": e,
386
- className: h("absolute inset-y-0 z-10 hidden h-full w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex", t === "floating" || t === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l", r),
387
- ...o,
406
+ className: h("absolute inset-y-0 z-10 hidden h-full w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex", t === "floating" || t === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l", i),
407
+ ...s,
388
408
  children: /* @__PURE__ */ I("div", {
389
409
  "data-sidebar": "sidebar",
390
410
  "data-slot": "sidebar-inner",
391
411
  className: "bg-sidebar group-data-[variant=floating]:ring-sidebar-border flex size-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1",
392
- children: i
412
+ children: a
393
413
  })
394
414
  })]
395
415
  });
396
416
  }
397
417
  function dt({ className: e, onClick: t, ...n }) {
398
- let { toggleSidebar: r } = q();
399
- return /* @__PURE__ */ L(C, {
418
+ let { toggleSidebar: i } = q();
419
+ return /* @__PURE__ */ L(S, {
400
420
  "data-sidebar": "trigger",
401
421
  "data-slot": "sidebar-trigger",
402
422
  variant: "ghost",
403
423
  size: "icon-sm",
404
424
  className: h(e),
405
425
  onClick: (e) => {
406
- t?.(e), r();
426
+ t?.(e), i();
407
427
  },
408
428
  ...n,
409
429
  children: [/* @__PURE__ */ I(Ie, {}), /* @__PURE__ */ I("span", {
410
430
  className: "sr-only",
411
- children: /* @__PURE__ */ I(_, { id: "Toggle Sidebar" })
431
+ children: /* @__PURE__ */ I(r, { id: "Toggle Sidebar" })
412
432
  })]
413
433
  });
414
434
  }
@@ -567,7 +587,7 @@ var Z = [
567
587
  path: "/",
568
588
  icon: xe,
569
589
  order: 0,
570
- useVisible: w,
590
+ useVisible: C,
571
591
  items: [{
572
592
  title: "Overview",
573
593
  path: "/"
@@ -581,21 +601,21 @@ var Z = [
581
601
  path: "/customers",
582
602
  icon: ke,
583
603
  order: 10,
584
- useVisible: T
604
+ useVisible: w
585
605
  },
586
606
  {
587
607
  title: "Subscriptions",
588
608
  path: "/subscriptions",
589
609
  icon: Te,
590
610
  order: 20,
591
- useVisible: T
611
+ useVisible: w
592
612
  },
593
613
  {
594
614
  title: "Payments",
595
615
  path: "/payments",
596
616
  icon: be,
597
617
  order: 30,
598
- useVisible: T,
618
+ useVisible: w,
599
619
  items: [
600
620
  {
601
621
  title: "Payments",
@@ -604,7 +624,7 @@ var Z = [
604
624
  {
605
625
  title: "Health",
606
626
  path: "/payments/health",
607
- useVisible: w
627
+ useVisible: C
608
628
  },
609
629
  {
610
630
  title: "Attempts",
@@ -621,14 +641,14 @@ var Z = [
621
641
  path: "/orders",
622
642
  icon: be,
623
643
  order: 40,
624
- useVisible: T
644
+ useVisible: w
625
645
  },
626
646
  {
627
647
  title: "Catalog",
628
648
  path: "/catalog",
629
649
  icon: Ce,
630
650
  order: 50,
631
- useVisible: ne,
651
+ useVisible: re,
632
652
  items: [
633
653
  {
634
654
  title: "Products",
@@ -641,11 +661,6 @@ var Z = [
641
661
  {
642
662
  title: "Metering",
643
663
  path: "/catalog/metering"
644
- },
645
- {
646
- title: "Drift",
647
- path: "/catalog/drift",
648
- useVisible: E
649
664
  }
650
665
  ]
651
666
  },
@@ -654,7 +669,29 @@ var Z = [
654
669
  path: "/ops",
655
670
  icon: Ae,
656
671
  order: 60,
657
- useVisible: E
672
+ useVisible: T,
673
+ items: [
674
+ {
675
+ title: "Findings",
676
+ path: "/ops"
677
+ },
678
+ {
679
+ title: "Proposals",
680
+ path: "/ops/proposals"
681
+ },
682
+ {
683
+ title: "PSP imports",
684
+ path: "/ops/imports"
685
+ },
686
+ {
687
+ title: "Provider prices",
688
+ path: "/ops/provider-prices"
689
+ },
690
+ {
691
+ title: "Parked",
692
+ path: "/ops/parked"
693
+ }
694
+ ]
658
695
  },
659
696
  {
660
697
  title: "Settings",
@@ -678,7 +715,7 @@ function wt() {
678
715
  collapsible: "icon",
679
716
  children: [
680
717
  /* @__PURE__ */ I(mt, { children: /* @__PURE__ */ I(Ot, {}) }),
681
- /* @__PURE__ */ I(ht, { children: t.map((t) => /* @__PURE__ */ L(gt, { children: [/* @__PURE__ */ I(_t, { children: /* @__PURE__ */ I(_, { id: t.label }) }), /* @__PURE__ */ I(vt, { children: /* @__PURE__ */ I(J, { children: t.items.map((t) => /* @__PURE__ */ I(Et, {
718
+ /* @__PURE__ */ I(ht, { children: t.map((t) => /* @__PURE__ */ L(gt, { children: [/* @__PURE__ */ I(_t, { children: /* @__PURE__ */ I(r, { id: t.label }) }), /* @__PURE__ */ I(vt, { children: /* @__PURE__ */ I(J, { children: t.items.map((t) => /* @__PURE__ */ I(Et, {
682
719
  item: t,
683
720
  active: t.path === n,
684
721
  pathname: e
@@ -688,18 +725,18 @@ function wt() {
688
725
  });
689
726
  }
690
727
  var Tt = () => !0;
691
- function Et({ item: e, active: n, pathname: r }) {
692
- let { text: i } = t();
728
+ function Et({ item: e, active: n, pathname: i }) {
729
+ let { text: a } = t();
693
730
  return (e.useVisible ?? Tt)() ? /* @__PURE__ */ L(Y, { children: [/* @__PURE__ */ I(X, {
694
731
  isActive: n,
695
- tooltip: i(e.title),
732
+ tooltip: a(e.title),
696
733
  render: /* @__PURE__ */ L(p, {
697
734
  to: e.path,
698
- children: [e.icon && /* @__PURE__ */ I(R, { icon: e.icon }), /* @__PURE__ */ I("span", { children: /* @__PURE__ */ I(_, { id: e.title }) })]
735
+ children: [e.icon && /* @__PURE__ */ I(R, { icon: e.icon }), /* @__PURE__ */ I("span", { children: /* @__PURE__ */ I(r, { id: e.title }) })]
699
736
  })
700
737
  }), e.items && n && /* @__PURE__ */ I(bt, { children: e.items.map((t) => /* @__PURE__ */ I(Dt, {
701
738
  sub: t,
702
- active: Ct(r, t.path, e.path)
739
+ active: Ct(i, t.path, e.path)
703
740
  }, t.path)) })] }) : null;
704
741
  }
705
742
  function Dt({ sub: e, active: t }) {
@@ -707,29 +744,29 @@ function Dt({ sub: e, active: t }) {
707
744
  isActive: t,
708
745
  render: /* @__PURE__ */ I(p, {
709
746
  to: e.path,
710
- children: /* @__PURE__ */ I("span", { children: /* @__PURE__ */ I(_, { id: e.title }) })
747
+ children: /* @__PURE__ */ I("span", { children: /* @__PURE__ */ I(r, { id: e.title }) })
711
748
  })
712
749
  }) }) : null;
713
750
  }
714
751
  function Ot() {
715
- let { activeMerchant: e, merchants: t, selectMerchant: n } = D(), r = m(), i = o().props.newMerchantHref, a = e?.display_name || e?.slug || "Select merchant", s = e?.role || "Merchant console", c = e?.slug.slice(0, 2) ?? "µ";
716
- return /* @__PURE__ */ I(J, { children: /* @__PURE__ */ I(Y, { children: /* @__PURE__ */ L(S, { children: [/* @__PURE__ */ I(x, { render: /* @__PURE__ */ L(X, {
752
+ let { activeMerchant: e, merchants: t, selectMerchant: n } = E(), i = m(), a = s().props.newMerchantHref, o = e?.display_name || e?.slug || "Select merchant", c = e?.role || "Merchant console", l = e?.slug.slice(0, 2) ?? "µ";
753
+ return /* @__PURE__ */ I(J, { children: /* @__PURE__ */ I(Y, { children: /* @__PURE__ */ L(x, { children: [/* @__PURE__ */ I(b, { render: /* @__PURE__ */ L(X, {
717
754
  size: "lg",
718
- tooltip: a,
755
+ tooltip: o,
719
756
  className: "data-open:bg-sidebar-accent",
720
757
  children: [
721
758
  /* @__PURE__ */ I("span", {
722
759
  className: "flex aspect-square size-8 shrink-0 items-center justify-center rounded-lg bg-primary text-xs font-semibold text-primary-foreground uppercase",
723
- children: c
760
+ children: l
724
761
  }),
725
762
  /* @__PURE__ */ L("span", {
726
763
  className: "grid min-w-0 flex-1 text-left leading-tight",
727
764
  children: [/* @__PURE__ */ I("span", {
728
765
  className: "truncate text-sm font-medium",
729
- children: a
766
+ children: o
730
767
  }), /* @__PURE__ */ I("span", {
731
768
  className: "truncate text-xs text-muted-foreground capitalize",
732
- children: s
769
+ children: c
733
770
  })]
734
771
  }),
735
772
  /* @__PURE__ */ I(R, {
@@ -737,16 +774,16 @@ function Ot() {
737
774
  className: "ml-auto size-4 shrink-0"
738
775
  })
739
776
  ]
740
- }) }), /* @__PURE__ */ L(b, {
777
+ }) }), /* @__PURE__ */ L(y, {
741
778
  side: "bottom",
742
779
  align: "start",
743
780
  className: "min-w-60",
744
- children: [/* @__PURE__ */ L(te, { children: [/* @__PURE__ */ I(v, {
781
+ children: [/* @__PURE__ */ L(ne, { children: [/* @__PURE__ */ I(v, {
745
782
  className: "text-xs text-muted-foreground",
746
- children: /* @__PURE__ */ I(_, { id: "Merchants" })
783
+ children: /* @__PURE__ */ I(r, { id: "Merchants" })
747
784
  }), t.map((t) => {
748
785
  let r = t.slug === e?.slug;
749
- return /* @__PURE__ */ L(y, {
786
+ return /* @__PURE__ */ L(ee, {
750
787
  onClick: () => n(t.slug),
751
788
  className: "gap-2 py-2",
752
789
  children: [
@@ -770,8 +807,8 @@ function Ot() {
770
807
  })
771
808
  ]
772
809
  }, t.slug);
773
- })] }), i && /* @__PURE__ */ L(F, { children: [/* @__PURE__ */ I(ee, {}), /* @__PURE__ */ L(y, {
774
- onClick: () => void r(i),
810
+ })] }), a && /* @__PURE__ */ L(F, { children: [/* @__PURE__ */ I(te, {}), /* @__PURE__ */ L(ee, {
811
+ onClick: () => void i(a),
775
812
  className: "gap-2 py-2",
776
813
  children: [/* @__PURE__ */ I("span", {
777
814
  className: "flex size-7 shrink-0 items-center justify-center rounded-md border border-dashed border-border",
@@ -779,7 +816,7 @@ function Ot() {
779
816
  icon: _e,
780
817
  className: "size-4"
781
818
  })
782
- }), /* @__PURE__ */ I(_, { id: "New merchant" })]
819
+ }), /* @__PURE__ */ I(r, { id: "New merchant" })]
783
820
  })] })]
784
821
  })] }) }) });
785
822
  }
@@ -795,7 +832,7 @@ function kt({ area: e }) {
795
832
  children: e ? `You don't have access to ${e}` : "You don't have access to this merchant's billing"
796
833
  }), /* @__PURE__ */ I("p", {
797
834
  className: "mt-2 text-sm text-pretty text-muted-foreground",
798
- children: /* @__PURE__ */ I(_, { id: "Ask an administrator for a role that includes it." })
835
+ children: /* @__PURE__ */ I(r, { id: "Ask an administrator for a role that includes it." })
799
836
  })]
800
837
  })
801
838
  });
@@ -803,31 +840,31 @@ function kt({ area: e }) {
803
840
  //#endregion
804
841
  //#region src/admin/components/no-merchants.tsx
805
842
  function At() {
806
- let { props: e } = o();
843
+ let { props: e } = s();
807
844
  return /* @__PURE__ */ I("div", {
808
845
  role: "status",
809
846
  className: "p-8",
810
- children: e.emptyState ?? /* @__PURE__ */ L(F, { children: [/* @__PURE__ */ I("p", { children: /* @__PURE__ */ I(_, { id: "Select a merchant to view its billing." }) }), e.newMerchantHref && /* @__PURE__ */ I("a", {
847
+ children: e.emptyState ?? /* @__PURE__ */ L(F, { children: [/* @__PURE__ */ I("p", { children: /* @__PURE__ */ I(r, { id: "Select a merchant to view its billing." }) }), e.newMerchantHref && /* @__PURE__ */ I("a", {
811
848
  href: e.newMerchantHref,
812
- children: /* @__PURE__ */ I(_, { id: "New merchant" })
849
+ children: /* @__PURE__ */ I(r, { id: "New merchant" })
813
850
  })] })
814
851
  });
815
852
  }
816
853
  //#endregion
817
854
  //#region src/admin/components/notification-bell.tsx
818
855
  function jt() {
819
- let { text: e } = t(), { adminQueries: n } = f(), r = m(), [i, a] = k.useState(!1), o = w(), s = E(), { data: c = 0 } = P({
856
+ let { text: e } = t(), { adminQueries: n } = f(), i = m(), [a, o] = O.useState(!1), s = C(), c = T(), { data: l = 0 } = P({
820
857
  ...n.unreadNotifications(),
821
- enabled: s && o
822
- }), { data: l, isFetching: u } = P(n.notifications(s && i)), d = l?.data ?? [];
823
- if (!s) return null;
824
- let p = (e) => {
825
- a(!1), r(`/ops?finding=${encodeURIComponent(e.id)}`);
858
+ enabled: c && s
859
+ }), { data: u, isFetching: d } = P(n.notifications(c && a)), p = u?.data ?? [];
860
+ if (!c) return null;
861
+ let h = (e) => {
862
+ o(!1), i(`/ops?finding=${encodeURIComponent(e.id)}`);
826
863
  };
827
- return /* @__PURE__ */ L(S, {
828
- open: i,
829
- onOpenChange: a,
830
- children: [/* @__PURE__ */ I(x, { render: /* @__PURE__ */ L(C, {
864
+ return /* @__PURE__ */ L(x, {
865
+ open: a,
866
+ onOpenChange: o,
867
+ children: [/* @__PURE__ */ I(b, { render: /* @__PURE__ */ L(S, {
831
868
  variant: "ghost",
832
869
  size: "icon",
833
870
  "aria-label": e("Notifications"),
@@ -835,44 +872,44 @@ function jt() {
835
872
  children: [/* @__PURE__ */ I(R, {
836
873
  icon: Se,
837
874
  className: "size-4"
838
- }), c > 0 && /* @__PURE__ */ I("span", {
875
+ }), l > 0 && /* @__PURE__ */ I("span", {
839
876
  className: "absolute -top-0.5 -right-0.5 flex h-4 min-w-4 items-center justify-center rounded-full bg-destructive px-1 text-[10px] font-medium text-white",
840
- children: c > 9 ? "9+" : c
877
+ children: l > 9 ? "9+" : l
841
878
  })]
842
- }) }), /* @__PURE__ */ L(b, {
879
+ }) }), /* @__PURE__ */ L(y, {
843
880
  align: "end",
844
881
  className: "w-80 p-0 sm:w-96",
845
882
  children: [/* @__PURE__ */ L("div", {
846
883
  className: "flex items-center justify-between border-b px-3 py-2",
847
884
  children: [/* @__PURE__ */ I("span", {
848
885
  className: "text-sm font-medium",
849
- children: /* @__PURE__ */ I(_, { id: "Needs attention" })
850
- }), c > d.length && /* @__PURE__ */ L(C, {
886
+ children: /* @__PURE__ */ I(r, { id: "Needs attention" })
887
+ }), l > p.length && /* @__PURE__ */ L(S, {
851
888
  variant: "ghost",
852
889
  size: "sm",
853
890
  className: "h-6 px-2 text-xs",
854
891
  onClick: () => {
855
- a(!1), r("/ops");
892
+ o(!1), i("/ops");
856
893
  },
857
- children: [/* @__PURE__ */ I(_, { id: "View all " }), c]
894
+ children: [/* @__PURE__ */ I(r, { id: "View all " }), l]
858
895
  })]
859
896
  }), /* @__PURE__ */ I("div", {
860
897
  className: "max-h-96 overflow-y-auto",
861
- children: u ? /* @__PURE__ */ I("p", {
898
+ children: d ? /* @__PURE__ */ I("p", {
862
899
  className: "px-3 py-6 text-center text-sm text-muted-foreground",
863
- children: /* @__PURE__ */ I(_, { id: "Loading…" })
864
- }) : d.length === 0 ? /* @__PURE__ */ L("div", {
900
+ children: /* @__PURE__ */ I(r, { id: "Loading…" })
901
+ }) : p.length === 0 ? /* @__PURE__ */ L("div", {
865
902
  className: "flex flex-col items-center gap-1 px-3 py-8 text-center",
866
903
  children: [/* @__PURE__ */ I(R, {
867
904
  icon: Se,
868
905
  className: "size-5 text-muted-foreground"
869
906
  }), /* @__PURE__ */ I("p", {
870
907
  className: "text-sm text-muted-foreground",
871
- children: /* @__PURE__ */ I(_, { id: "You're all caught up." })
908
+ children: /* @__PURE__ */ I(r, { id: "You're all caught up." })
872
909
  })]
873
- }) : d.map((e) => /* @__PURE__ */ L("button", {
910
+ }) : p.map((e) => /* @__PURE__ */ L("button", {
874
911
  type: "button",
875
- onClick: () => p(e),
912
+ onClick: () => h(e),
876
913
  className: "flex w-full items-start gap-2 border-b px-3 py-2 text-left last:border-b-0 hover:bg-muted/50",
877
914
  children: [/* @__PURE__ */ I("span", {
878
915
  className: "mt-0.5 shrink-0",
@@ -892,7 +929,7 @@ function jt() {
892
929
  children: e.finding_type
893
930
  }), /* @__PURE__ */ I("span", {
894
931
  className: "shrink-0 text-[11px] text-muted-foreground",
895
- children: ie(e.created_at)
932
+ children: ae(e.created_at)
896
933
  })]
897
934
  }), e.recommended_action && /* @__PURE__ */ I("span", {
898
935
  className: "mt-0.5 line-clamp-2 block text-xs text-muted-foreground",
@@ -960,7 +997,7 @@ function It({ children: e, className: t, ...n }) {
960
997
  //#endregion
961
998
  //#region src/admin/components/site-header.tsx
962
999
  function Lt({ trail: e }) {
963
- let { activeMerchant: t } = D(), n = E();
1000
+ let { activeMerchant: t } = E(), n = T();
964
1001
  return /* @__PURE__ */ L("header", {
965
1002
  className: "flex h-14 shrink-0 items-center gap-2 border-b px-4",
966
1003
  children: [
@@ -969,13 +1006,13 @@ function Lt({ trail: e }) {
969
1006
  orientation: "vertical",
970
1007
  className: "mr-2 h-4"
971
1008
  }),
972
- /* @__PURE__ */ I(Mt, { children: /* @__PURE__ */ I(Nt, { children: e.length === 0 ? /* @__PURE__ */ I(Q, { children: /* @__PURE__ */ I(Ft, { children: /* @__PURE__ */ I(_, { id: "Dashboard" }) }) }) : /* @__PURE__ */ L(F, { children: [/* @__PURE__ */ I(Q, { children: /* @__PURE__ */ I(Pt, { render: /* @__PURE__ */ I(p, {
1009
+ /* @__PURE__ */ I(Mt, { children: /* @__PURE__ */ I(Nt, { children: e.length === 0 ? /* @__PURE__ */ I(Q, { children: /* @__PURE__ */ I(Ft, { children: /* @__PURE__ */ I(r, { id: "Dashboard" }) }) }) : /* @__PURE__ */ L(F, { children: [/* @__PURE__ */ I(Q, { children: /* @__PURE__ */ I(Pt, { render: /* @__PURE__ */ I(p, {
973
1010
  to: "/",
974
- children: /* @__PURE__ */ I(_, { id: "Dashboard" })
975
- }) }) }), e.map((t, n) => /* @__PURE__ */ L(k.Fragment, { children: [/* @__PURE__ */ I(It, {}), /* @__PURE__ */ I(Q, { children: t.to && n < e.length - 1 ? /* @__PURE__ */ I(Pt, { render: /* @__PURE__ */ I(p, {
1011
+ children: /* @__PURE__ */ I(r, { id: "Dashboard" })
1012
+ }) }) }), e.map((t, n) => /* @__PURE__ */ L(O.Fragment, { children: [/* @__PURE__ */ I(It, {}), /* @__PURE__ */ I(Q, { children: t.to && n < e.length - 1 ? /* @__PURE__ */ I(Pt, { render: /* @__PURE__ */ I(p, {
976
1013
  to: t.to,
977
- children: /* @__PURE__ */ I(_, { id: t.label })
978
- }) }) : /* @__PURE__ */ I(Ft, { children: /* @__PURE__ */ I(_, { id: t.label }) }) })] }, t.label))] }) }) }),
1014
+ children: /* @__PURE__ */ I(r, { id: t.label })
1015
+ }) }) : /* @__PURE__ */ I(Ft, { children: /* @__PURE__ */ I(r, { id: t.label }) }) })] }, t.label))] }) }) }),
979
1016
  /* @__PURE__ */ I("div", {
980
1017
  className: "ml-auto flex items-center gap-2",
981
1018
  children: t && n && /* @__PURE__ */ I(jt, {})
@@ -997,15 +1034,33 @@ var Rt = [
997
1034
  label: "Catalog",
998
1035
  to: "/catalog"
999
1036
  }, { label: "Prices" }]],
1000
- ["/catalog/drift", [{
1001
- label: "Catalog",
1002
- to: "/catalog"
1003
- }, { label: "Drift" }]],
1004
1037
  ["/catalog", [{
1005
1038
  label: "Catalog",
1006
1039
  to: "/catalog"
1007
1040
  }, { label: "Products" }]],
1008
- ["/ops", [{ label: "Ops" }]],
1041
+ ["/ops/imports", [{
1042
+ label: "Ops",
1043
+ to: "/ops"
1044
+ }, {
1045
+ label: "PSP imports",
1046
+ to: "/ops/imports"
1047
+ }]],
1048
+ ["/ops/provider-prices", [{
1049
+ label: "Ops",
1050
+ to: "/ops"
1051
+ }, { label: "Provider prices" }]],
1052
+ ["/ops/parked", [{
1053
+ label: "Ops",
1054
+ to: "/ops"
1055
+ }, { label: "Parked" }]],
1056
+ ["/ops/proposals", [{
1057
+ label: "Ops",
1058
+ to: "/ops"
1059
+ }, { label: "Proposals" }]],
1060
+ ["/ops", [{
1061
+ label: "Ops",
1062
+ to: "/ops"
1063
+ }, { label: "Findings" }]],
1009
1064
  ["/settings", [{ label: "Settings" }]]
1010
1065
  ];
1011
1066
  function zt(e, t) {
@@ -1021,7 +1076,7 @@ function zt(e, t) {
1021
1076
  ].some(n) ? {
1022
1077
  name: "customer support",
1023
1078
  allowed: t.admin === "read" || t.admin === "update"
1024
- } : n("/ops") || n("/catalog/drift") ? {
1079
+ } : n("/ops") ? {
1025
1080
  name: "merchant configuration",
1026
1081
  allowed: t.merchant_config === "read" || t.merchant_config === "update"
1027
1082
  } : n("/catalog") ? {
@@ -1030,28 +1085,28 @@ function zt(e, t) {
1030
1085
  } : null;
1031
1086
  }
1032
1087
  function Bt({ children: e }) {
1033
- let { activeMerchant: t } = D(), { pathname: n } = d(), { props: r, services: i } = o(), a = P(i.adminQueries.access()), s = a.data, c = (r.settingsTabs?.length ?? 0) > 0 && (n === "/settings" || n === "/"), l = Rt.find(([e]) => n.startsWith(e))?.[1] ?? [];
1034
- return t ? a.isPending ? /* @__PURE__ */ I("p", {
1088
+ let { activeMerchant: t } = E(), { pathname: n } = d(), { props: i, services: a } = s(), o = P(a.adminQueries.access()), c = o.data, l = (i.settingsTabs?.length ?? 0) > 0 && (n === "/settings" || n === "/"), u = Rt.find(([e]) => n.startsWith(e))?.[1] ?? [];
1089
+ return t ? o.isPending ? /* @__PURE__ */ I("p", {
1035
1090
  role: "status",
1036
1091
  className: "p-6",
1037
- children: /* @__PURE__ */ I(_, { id: "Loading billing permissions…" })
1038
- }) : a.error ? /* @__PURE__ */ L("div", {
1092
+ children: /* @__PURE__ */ I(r, { id: "Loading billing permissions…" })
1093
+ }) : o.error ? /* @__PURE__ */ L("div", {
1039
1094
  role: "alert",
1040
1095
  className: "p-6",
1041
- children: [/* @__PURE__ */ I("p", { children: a.error.message }), /* @__PURE__ */ I("button", {
1096
+ children: [/* @__PURE__ */ I("p", { children: o.error.message }), /* @__PURE__ */ I("button", {
1042
1097
  type: "button",
1043
- onClick: () => void a.refetch(),
1044
- children: /* @__PURE__ */ I(_, { id: "Try again" })
1098
+ onClick: () => void o.refetch(),
1099
+ children: /* @__PURE__ */ I(r, { id: "Try again" })
1045
1100
  })]
1046
- }) : t.id && s?.scope_id && t.id !== s.scope_id ? /* @__PURE__ */ I("p", {
1101
+ }) : t.id && c?.scope_id && t.id !== c.scope_id ? /* @__PURE__ */ I("p", {
1047
1102
  role: "alert",
1048
1103
  className: "p-6",
1049
- children: /* @__PURE__ */ I(_, { id: "The authenticated connection is bound to another merchant. Update the host connection before opening this merchant." })
1050
- }) : /* @__PURE__ */ I(tt, { children: /* @__PURE__ */ L(lt, { children: [/* @__PURE__ */ I(wt, {}), /* @__PURE__ */ L(pt, { children: [/* @__PURE__ */ I(Lt, { trail: l }), /* @__PURE__ */ I("main", {
1104
+ children: /* @__PURE__ */ I(r, { id: "The authenticated connection is bound to another merchant. Update the host connection before opening this merchant." })
1105
+ }) : /* @__PURE__ */ I(tt, { children: /* @__PURE__ */ L(lt, { children: [/* @__PURE__ */ I(wt, {}), /* @__PURE__ */ L(pt, { children: [/* @__PURE__ */ I(Lt, { trail: u }), /* @__PURE__ */ I("main", {
1051
1106
  className: "flex min-w-0 flex-1 flex-col p-4 md:p-8",
1052
1107
  children: /* @__PURE__ */ I("div", {
1053
1108
  className: "mx-auto w-full max-w-7xl min-w-0",
1054
- children: s && (!re(s) && !c || zt(n, s)?.allowed === !1) ? /* @__PURE__ */ I(kt, { area: zt(n, s)?.name }) : e
1109
+ children: c && (!ie(c) && !l || zt(n, c)?.allowed === !1) ? /* @__PURE__ */ I(kt, { area: zt(n, c)?.name }) : e
1055
1110
  })
1056
1111
  }, t?.id || t?.slug || "")] })] }) }) : /* @__PURE__ */ I(At, {});
1057
1112
  }
@@ -1065,7 +1120,7 @@ function Vt({ ...e }) {
1065
1120
  }
1066
1121
  function Ht({ ...e }) {
1067
1122
  return /* @__PURE__ */ I(U.Portal, {
1068
- container: o().portal,
1123
+ container: s().portal,
1069
1124
  "data-slot": "alert-dialog-portal",
1070
1125
  ...e
1071
1126
  });
@@ -1114,7 +1169,7 @@ function Jt({ className: e, ...t }) {
1114
1169
  });
1115
1170
  }
1116
1171
  function Yt({ className: e, ...t }) {
1117
- return /* @__PURE__ */ I(C, {
1172
+ return /* @__PURE__ */ I(S, {
1118
1173
  "data-slot": "alert-dialog-action",
1119
1174
  className: h(e),
1120
1175
  ...t
@@ -1124,7 +1179,7 @@ function Xt({ className: e, variant: t = "outline", size: n = "default", ...r })
1124
1179
  return /* @__PURE__ */ I(U.Close, {
1125
1180
  "data-slot": "alert-dialog-cancel",
1126
1181
  className: h(e),
1127
- render: /* @__PURE__ */ I(C, {
1182
+ render: /* @__PURE__ */ I(S, {
1128
1183
  variant: t,
1129
1184
  size: n
1130
1185
  }),
@@ -1134,12 +1189,12 @@ function Xt({ className: e, variant: t = "outline", size: n = "default", ...r })
1134
1189
  //#endregion
1135
1190
  //#region src/admin/components/confirm.tsx
1136
1191
  function Zt({ children: e }) {
1137
- let [t, n] = k.useState(null), [r, i] = k.useState(!1), a = k.useRef(null), o = k.useCallback((e) => {
1192
+ let [t, n] = O.useState(null), [r, i] = O.useState(!1), a = O.useRef(null), o = O.useCallback((e) => {
1138
1193
  a.current?.(e), a.current = null, i(!1);
1139
- }, []), s = k.useCallback((e) => new Promise((t) => {
1194
+ }, []), s = O.useCallback((e) => new Promise((t) => {
1140
1195
  a.current?.(!1), a.current = t, n(e), i(!0);
1141
1196
  }), []);
1142
- return k.useEffect(() => () => a.current?.(!1), []), /* @__PURE__ */ L(ae.Provider, {
1197
+ return O.useEffect(() => () => a.current?.(!1), []), /* @__PURE__ */ L(oe.Provider, {
1143
1198
  value: s,
1144
1199
  children: [e, /* @__PURE__ */ I(Vt, {
1145
1200
  open: r,
@@ -1157,9 +1212,9 @@ function Zt({ children: e }) {
1157
1212
  //#endregion
1158
1213
  //#region src/admin/components/ui/sonner.tsx
1159
1214
  var Qt = ({ ...e }) => {
1160
- let t = o().props.appearance?.theme ?? "system";
1215
+ let t = s().props.appearance?.theme ?? "system";
1161
1216
  return /* @__PURE__ */ I(ge, {
1162
- id: o().services.namespace,
1217
+ id: s().services.namespace,
1163
1218
  theme: t === "inherit" ? "system" : t,
1164
1219
  className: "toaster group",
1165
1220
  icons: {
@@ -1207,7 +1262,7 @@ function tn({ error: e }) {
1207
1262
  }) : null]
1208
1263
  }), /* @__PURE__ */ L("div", {
1209
1264
  className: "flex flex-wrap items-center justify-center gap-3",
1210
- children: [/* @__PURE__ */ L(C, {
1265
+ children: [/* @__PURE__ */ L(S, {
1211
1266
  onClick: () => window.location.reload(),
1212
1267
  children: [/* @__PURE__ */ I(R, {
1213
1268
  icon: we,
@@ -1216,15 +1271,15 @@ function tn({ error: e }) {
1216
1271
  }), /* @__PURE__ */ I(p, {
1217
1272
  to: "/",
1218
1273
  className: "text-sm text-muted-foreground underline underline-offset-4",
1219
- children: /* @__PURE__ */ I(_, { id: "Console home" })
1274
+ children: /* @__PURE__ */ I(r, { id: "Console home" })
1220
1275
  })]
1221
1276
  })]
1222
1277
  });
1223
1278
  }
1224
1279
  //#endregion
1225
1280
  //#region src/admin/lib/query-client.ts
1226
- function nn(e, t) {
1227
- return t instanceof n && t.status > 0 && t.status < 500 ? !1 : e < 2;
1281
+ function nn(t, n) {
1282
+ return n instanceof e && n.status > 0 && n.status < 500 ? !1 : t < 2;
1228
1283
  }
1229
1284
  var rn = (e) => {
1230
1285
  let { toastApiError: t } = c(l(e));
@@ -1246,18 +1301,18 @@ var rn = (e) => {
1246
1301
  let t = an();
1247
1302
  return t?.addEventListener("change", e), () => t?.removeEventListener("change", e);
1248
1303
  }, sn = () => an()?.matches ? "dark" : "light", cn = () => "light", ln = () => () => {};
1249
- function $(e = "inherit") {
1250
- let t = fe(e === "auto" ? on : ln, sn, cn);
1304
+ function un(e = "inherit") {
1305
+ let t = N(e === "auto" ? on : ln, sn, cn);
1251
1306
  return e === "auto" ? t : e;
1252
1307
  }
1253
1308
  //#endregion
1254
1309
  //#region src/admin/billing-admin.tsx
1255
- var un = (e) => typeof e == "string" ? {
1310
+ var $ = (e) => typeof e == "string" ? {
1256
1311
  id: e,
1257
1312
  slug: e
1258
1313
  } : e;
1259
1314
  function dn(e) {
1260
- let [t, n] = N(), [r, i] = N({
1315
+ let [t, n] = M(), [r, i] = M({
1261
1316
  auth: e.auth,
1262
1317
  baseUrl: e.baseUrl,
1263
1318
  generation: 0
@@ -1272,60 +1327,60 @@ function dn(e) {
1272
1327
  onSelected: n
1273
1328
  }, r.generation);
1274
1329
  }
1275
- function fn({ selected: e, onSelected: t, ...n }) {
1276
- let i = $(n.appearance?.theme), o = le(), [s, c] = N(null), l = M(() => n.merchants ?? (n.merchant ? [un(n.merchant)] : [{
1330
+ function fn({ selected: e, onSelected: t, ...r }) {
1331
+ let i = un(r.appearance?.theme), a = ue(), [s, c] = M(null), l = j(() => r.merchants ?? (r.merchant ? [$(r.merchant)] : [{
1277
1332
  id: "",
1278
1333
  slug: "",
1279
1334
  display_name: "Billing"
1280
- }]), [n.merchants, n.merchant]), d = n.merchant ? un(n.merchant).id : e, f = l.find((e) => e.id === d || e.slug === d) ?? l[0], p = `${n.baseUrl}:${f?.id ?? ""}:${f?.slug ?? ""}`, m = de(p);
1281
- ue(() => (m.current = p, () => {
1335
+ }]), [r.merchants, r.merchant]), d = r.merchant ? $(r.merchant).id : e, f = l.find((e) => e.id === d || e.slug === d) ?? l[0], p = `${r.baseUrl}:${f?.id ?? ""}:${f?.slug ?? ""}`, m = fe(p);
1336
+ de(() => (m.current = p, () => {
1282
1337
  m.current = void 0;
1283
1338
  }), [p]);
1284
- let h = j(() => m.current === p, [p]), _ = M(() => n.queryClient ?? rn(o), [o, n.queryClient]), v = {
1285
- props: n,
1286
- services: M(() => a({
1287
- namespace: o,
1339
+ let h = A(() => m.current === p, [p]), _ = j(() => r.queryClient ?? rn(a), [a, r.queryClient]), v = {
1340
+ props: r,
1341
+ services: j(() => o({
1342
+ namespace: a,
1288
1343
  isCurrent: h,
1289
- baseUrl: n.baseUrl,
1290
- auth: n.auth,
1344
+ baseUrl: r.baseUrl,
1345
+ auth: r.auth,
1291
1346
  merchant: f,
1292
- exchange: n.exchange
1347
+ exchange: r.exchange
1293
1348
  }), [
1294
1349
  h,
1295
- o,
1296
- n.baseUrl,
1297
- n.auth,
1298
- n.exchange,
1350
+ a,
1351
+ r.baseUrl,
1352
+ r.auth,
1353
+ r.exchange,
1299
1354
  f
1300
1355
  ]),
1301
1356
  merchants: l,
1302
1357
  activeMerchant: f,
1303
1358
  portal: s,
1304
1359
  selectMerchant(e) {
1305
- let r = l.find((t) => t.slug === e || t.id === e);
1306
- r && (t(r.id), n.onMerchantChange?.(r));
1360
+ let n = l.find((t) => t.slug === e || t.id === e);
1361
+ n && (t(n.id), r.onMerchantChange?.(n));
1307
1362
  }
1308
1363
  };
1309
1364
  return /* @__PURE__ */ I("div", {
1310
- lang: n.language ?? "en",
1311
- className: ["orba", n.className].filter(Boolean).join(" "),
1365
+ lang: r.language ?? "en",
1366
+ className: ["orba", r.className].filter(Boolean).join(" "),
1312
1367
  "data-orba-theme": i,
1313
1368
  style: {
1314
- ...W(n.appearance, "orba"),
1315
- ...n.style
1369
+ ...W(r.appearance, "orba"),
1370
+ ...r.style
1316
1371
  },
1317
- children: /* @__PURE__ */ I(r.Provider, {
1372
+ children: /* @__PURE__ */ I(n.Provider, {
1318
1373
  value: {
1319
- namespace: o,
1320
- messages: n.messages
1374
+ namespace: a,
1375
+ messages: r.messages
1321
1376
  },
1322
1377
  children: /* @__PURE__ */ L(g.Provider, {
1323
1378
  value: v,
1324
1379
  children: [/* @__PURE__ */ I(he, {
1325
1380
  client: _,
1326
1381
  children: /* @__PURE__ */ L(u, {
1327
- basePath: n.basePath,
1328
- navigation: n.navigation,
1382
+ basePath: r.basePath,
1383
+ navigation: r.navigation,
1329
1384
  children: [/* @__PURE__ */ I(Zt, { children: /* @__PURE__ */ I(Bt, { children: /* @__PURE__ */ I(mn, { children: /* @__PURE__ */ I(We, {}) }) }) }), /* @__PURE__ */ I(Qt, {})]
1330
1385
  })
1331
1386
  }), /* @__PURE__ */ I("div", { ref: c })]
@@ -1333,7 +1388,7 @@ function fn({ selected: e, onSelected: t, ...n }) {
1333
1388
  })
1334
1389
  });
1335
1390
  }
1336
- var pn = class extends oe {
1391
+ var pn = class extends se {
1337
1392
  state = {};
1338
1393
  static getDerivedStateFromError(e) {
1339
1394
  return { error: e };
@@ -1348,27 +1403,27 @@ function mn({ children: e }) {
1348
1403
  }
1349
1404
  //#endregion
1350
1405
  //#region src/admin/summary.tsx
1351
- function hn(t) {
1352
- let n = typeof t.merchant == "string" ? t.merchant : t.merchant?.id, r = typeof t.merchant == "string" ? t.merchant : t.merchant?.slug;
1353
- return M(() => s(e({
1354
- baseUrl: t.baseUrl,
1355
- auth: t.auth,
1356
- exchange: t.exchange,
1357
- merchant: n ? {
1358
- id: n,
1359
- slug: r ?? n
1406
+ function hn(e) {
1407
+ let t = typeof e.merchant == "string" ? e.merchant : e.merchant?.id, n = typeof e.merchant == "string" ? e.merchant : e.merchant?.slug;
1408
+ return j(() => i(_({
1409
+ baseUrl: e.baseUrl,
1410
+ auth: e.auth,
1411
+ exchange: e.exchange,
1412
+ merchant: t ? {
1413
+ id: t,
1414
+ slug: n ?? t
1360
1415
  } : void 0
1361
1416
  })), [
1362
- t.baseUrl,
1363
- t.auth,
1364
- t.exchange,
1365
- n,
1366
- r
1417
+ e.baseUrl,
1418
+ e.auth,
1419
+ e.exchange,
1420
+ t,
1421
+ n
1367
1422
  ]);
1368
1423
  }
1369
1424
  function gn(e) {
1370
- let [t, n] = N(0), [r, i] = N();
1371
- ce(() => {
1425
+ let [t, n] = M(0), [r, i] = M();
1426
+ le(() => {
1372
1427
  let n = new AbortController();
1373
1428
  return e(n.signal).then((r) => {
1374
1429
  n.signal.aborted || i({
@@ -1394,11 +1449,11 @@ function gn(e) {
1394
1449
  }
1395
1450
  function _n(e) {
1396
1451
  let t = hn(e);
1397
- return gn(j((e) => t.getAdminAccess(e), [t]));
1452
+ return gn(A((e) => t.getAdminAccess(e), [t]));
1398
1453
  }
1399
- var vn = (e) => e instanceof n && e.code === "customer_not_found";
1454
+ var vn = (t) => t instanceof e && t.code === "customer_not_found";
1400
1455
  function yn(e) {
1401
- let t = $(e.appearance?.theme), n = hn(e), { data: r, error: i, isPending: a, refetch: o } = gn(j(async (t) => {
1456
+ let t = un(e.appearance?.theme), n = hn(e), { data: i, error: a, isPending: o, refetch: s } = gn(A(async (t) => {
1402
1457
  let [r, i, a, o, s] = await Promise.all([
1403
1458
  n.getCustomer(e.customer, t),
1404
1459
  n.listSubscriptions({
@@ -1426,40 +1481,40 @@ function yn(e) {
1426
1481
  children: [
1427
1482
  /* @__PURE__ */ I("h3", {
1428
1483
  className: "font-semibold",
1429
- children: /* @__PURE__ */ I(_, { id: "Billing" })
1484
+ children: /* @__PURE__ */ I(r, { id: "Billing" })
1430
1485
  }),
1431
- a && /* @__PURE__ */ I("p", {
1486
+ o && /* @__PURE__ */ I("p", {
1432
1487
  role: "status",
1433
- children: /* @__PURE__ */ I(_, { id: "Loading billing…" })
1488
+ children: /* @__PURE__ */ I(r, { id: "Loading billing…" })
1434
1489
  }),
1435
- i && vn(i) && /* @__PURE__ */ I("p", { children: /* @__PURE__ */ I(_, { id: "No billing activity yet." }) }),
1436
- i && !vn(i) && /* @__PURE__ */ L("p", {
1490
+ a && vn(a) && /* @__PURE__ */ I("p", { children: /* @__PURE__ */ I(r, { id: "No billing activity yet." }) }),
1491
+ a && !vn(a) && /* @__PURE__ */ L("p", {
1437
1492
  role: "alert",
1438
1493
  children: [
1439
- i.message,
1494
+ a.message,
1440
1495
  " ",
1441
1496
  /* @__PURE__ */ I("button", {
1442
1497
  type: "button",
1443
- onClick: o,
1444
- children: /* @__PURE__ */ I(_, { id: "Try again" })
1498
+ onClick: s,
1499
+ children: /* @__PURE__ */ I(r, { id: "Try again" })
1445
1500
  })
1446
1501
  ]
1447
1502
  }),
1448
- r && /* @__PURE__ */ L(F, { children: [
1449
- /* @__PURE__ */ I("dl", { children: r.customer.balances.map((e) => /* @__PURE__ */ L("div", { children: [/* @__PURE__ */ I("dt", { children: /* @__PURE__ */ I(_, { id: "Available balance" }) }), /* @__PURE__ */ I("dd", { children: O(e.available_amount, e.currency) })] }, e.currency)) }),
1450
- /* @__PURE__ */ I("h4", { children: /* @__PURE__ */ I(_, { id: "Active subscriptions" }) }),
1451
- r.subscriptions.data.length ? /* @__PURE__ */ I("ul", { children: r.subscriptions.data.map((e) => /* @__PURE__ */ I("li", { children: e.id }, e.id)) }) : /* @__PURE__ */ I("p", { children: /* @__PURE__ */ I(_, { id: "No active subscriptions." }) }),
1452
- /* @__PURE__ */ I("h4", { children: /* @__PURE__ */ I(_, { id: "Entitlements" }) }),
1453
- /* @__PURE__ */ I("ul", { children: r.entitlements.data.map((e) => /* @__PURE__ */ I("li", { children: e.entitlement }, e.entitlement)) }),
1454
- /* @__PURE__ */ I("h4", { children: /* @__PURE__ */ I(_, { id: "Product access" }) }),
1455
- /* @__PURE__ */ I("ul", { children: r.access.data.map((e) => /* @__PURE__ */ L("li", { children: [
1503
+ i && /* @__PURE__ */ L(F, { children: [
1504
+ /* @__PURE__ */ I("dl", { children: i.customer.balances.map((e) => /* @__PURE__ */ L("div", { children: [/* @__PURE__ */ I("dt", { children: /* @__PURE__ */ I(r, { id: "Available balance" }) }), /* @__PURE__ */ I("dd", { children: D(e.available_amount, e.currency) })] }, e.currency)) }),
1505
+ /* @__PURE__ */ I("h4", { children: /* @__PURE__ */ I(r, { id: "Active subscriptions" }) }),
1506
+ i.subscriptions.data.length ? /* @__PURE__ */ I("ul", { children: i.subscriptions.data.map((e) => /* @__PURE__ */ I("li", { children: e.id }, e.id)) }) : /* @__PURE__ */ I("p", { children: /* @__PURE__ */ I(r, { id: "No active subscriptions." }) }),
1507
+ /* @__PURE__ */ I("h4", { children: /* @__PURE__ */ I(r, { id: "Entitlements" }) }),
1508
+ /* @__PURE__ */ I("ul", { children: i.entitlements.data.map((e) => /* @__PURE__ */ I("li", { children: e.entitlement }, e.entitlement)) }),
1509
+ /* @__PURE__ */ I("h4", { children: /* @__PURE__ */ I(r, { id: "Product access" }) }),
1510
+ /* @__PURE__ */ I("ul", { children: i.access.data.map((e) => /* @__PURE__ */ L("li", { children: [
1456
1511
  e.product_name,
1457
1512
  " · ",
1458
1513
  e.status
1459
1514
  ] }, e.id)) }),
1460
- /* @__PURE__ */ I("h4", { children: /* @__PURE__ */ I(_, { id: "Recent payments" }) }),
1461
- /* @__PURE__ */ I("ul", { children: r.payments.data.map((e) => /* @__PURE__ */ L("li", { children: [
1462
- O(e.amount, e.currency),
1515
+ /* @__PURE__ */ I("h4", { children: /* @__PURE__ */ I(r, { id: "Recent payments" }) }),
1516
+ /* @__PURE__ */ I("ul", { children: i.payments.data.map((e) => /* @__PURE__ */ L("li", { children: [
1517
+ D(e.amount, e.currency),
1463
1518
  " ·",
1464
1519
  " ",
1465
1520
  e.status
@@ -1468,7 +1523,7 @@ function yn(e) {
1468
1523
  e.href && /* @__PURE__ */ I("a", {
1469
1524
  className: "underline",
1470
1525
  href: e.href,
1471
- children: /* @__PURE__ */ I(_, { id: "View billing details" })
1526
+ children: /* @__PURE__ */ I(r, { id: "View billing details" })
1472
1527
  })
1473
1528
  ]
1474
1529
  })
@@ -1478,25 +1533,25 @@ function bn(e) {
1478
1533
  return e.subscriptions.some((e) => e.status !== "canceled") ? ["This customer has ongoing subscriptions. Banning or deleting the account does not cancel them; cancel them separately in billing."] : [];
1479
1534
  }
1480
1535
  var xn = "Subscription status could not be fully checked. Banning or deleting the account does not cancel subscriptions; review billing separately.";
1481
- async function Sn(t) {
1482
- let n = typeof t.merchant == "string" ? {
1483
- id: t.merchant,
1484
- slug: t.merchant
1485
- } : t.merchant, r = s(e({
1486
- ...t,
1487
- merchant: n
1488
- })), i, a = /* @__PURE__ */ new Set();
1536
+ async function Sn(e) {
1537
+ let t = typeof e.merchant == "string" ? {
1538
+ id: e.merchant,
1539
+ slug: e.merchant
1540
+ } : e.merchant, n = i(_({
1541
+ ...e,
1542
+ merchant: t
1543
+ })), r, a = /* @__PURE__ */ new Set();
1489
1544
  try {
1490
- for (let e = 0; e < 10; e++) {
1491
- t.signal?.throwIfAborted();
1492
- let e = await r.listSubscriptions({ customer_id: t.customer }, 100, i, t.signal), n = bn({ subscriptions: e.data });
1493
- if (n.length) return n;
1494
- if (!e.next_cursor) return [];
1495
- if (a.has(e.next_cursor)) break;
1496
- a.add(e.next_cursor), i = e.next_cursor;
1545
+ for (let t = 0; t < 10; t++) {
1546
+ e.signal?.throwIfAborted();
1547
+ let t = await n.listSubscriptions({ customer_id: e.customer }, 100, r, e.signal), i = bn({ subscriptions: t.data });
1548
+ if (i.length) return i;
1549
+ if (!t.next_cursor) return [];
1550
+ if (a.has(t.next_cursor)) break;
1551
+ a.add(t.next_cursor), r = t.next_cursor;
1497
1552
  }
1498
- } catch (e) {
1499
- if (t.signal?.throwIfAborted(), e instanceof Error && e.name === "AbortError") throw e;
1553
+ } catch (t) {
1554
+ if (e.signal?.throwIfAborted(), t instanceof Error && t.name === "AbortError") throw t;
1500
1555
  }
1501
1556
  return [xn];
1502
1557
  }
@@ -1529,24 +1584,39 @@ var Cn = {
1529
1584
  " Product access": " Product access",
1530
1585
  " Refund": " Refund",
1531
1586
  " affected · requires human confirm": " affected · requires human confirm",
1587
+ " approved": " approved",
1532
1588
  " balance": " balance",
1589
+ " blocked and ": " blocked and ",
1590
+ " corrections Apply approves": " corrections Apply approves",
1533
1591
  " credentials · ": " credentials · ",
1534
1592
  " days away. Card networks require that much notice before a price goes up. You can change the number in Settings.": " days away. Card networks require that much notice before a price goes up. You can change the number in Settings.",
1535
1593
  " days. Pick a shorter range.": " days. Pick a shorter range.",
1594
+ " dismissed": " dismissed",
1536
1595
  " is not a supported currency.": " is not a supported currency.",
1537
1596
  " left alone because another change was already scheduled for them.": " left alone because another change was already scheduled for them.",
1597
+ " linked; ": " linked; ",
1538
1598
  " more": " more",
1539
1599
  " of": " of",
1600
+ " of ": " of ",
1540
1601
  " of 3:": " of 3:",
1602
+ " of them end access, move money or write to a provider.": " of them end access, move money or write to a provider.",
1541
1603
  " on ": " on ",
1604
+ " open proposals": " open proposals",
1542
1605
  " rail. Remaining refundable: ": " rail. Remaining refundable: ",
1606
+ " requests.": " requests.",
1543
1607
  " seats.": " seats.",
1544
1608
  " subscription": " subscription",
1609
+ " superseded": " superseded",
1545
1610
  " to": " to",
1546
1611
  " to ": " to ",
1547
1612
  " to confirm": " to confirm",
1613
+ " to delete, in ": " to delete, in ",
1614
+ " to set, ": " to set, ",
1548
1615
  " to this customer.": " to this customer.",
1616
+ " unmatched or conflicting stay staged.": " unmatched or conflicting stay staged.",
1617
+ " were refused: ": " were refused: ",
1549
1618
  " with this shape.": " with this shape.",
1619
+ " · applied ": " · applied ",
1550
1620
  " · due ": " · due ",
1551
1621
  " · exp ": " · exp ",
1552
1622
  " · last seen": " · last seen",
@@ -1557,6 +1627,7 @@ var Cn = {
1557
1627
  "\"Not sent to provider\" is fixed by publishing the catalog. Everything else is fixed under Settings, Payment providers.": "\"Not sent to provider\" is fixed by publishing the catalog. Everything else is fixed under Settings, Payment providers.",
1558
1628
  ", an edit set": ", an edit set",
1559
1629
  ", before another action.": ", before another action.",
1630
+ ", deleted: ": ", deleted: ",
1560
1631
  ". Active holds may prevent revocation. Payment refunds are managed separately.": ". Active holds may prevent revocation. Payment refunds are managed separately.",
1561
1632
  ". Currency and interval stay locked to the current price.": ". Currency and interval stay locked to the current price.",
1562
1633
  "/app/usage-events": "/app/usage-events",
@@ -1564,9 +1635,13 @@ var Cn = {
1564
1635
  "30 days": "30 days",
1565
1636
  "365 days": "365 days",
1566
1637
  "7 days": "7 days",
1638
+ "90 days": "90 days",
1567
1639
  ": the batch says": ": the batch says",
1568
1640
  ": yours ": ": yours ",
1641
+ "A CSV file with the header mapping,key,customer maps your own identifiers to customers. An empty customer deletes that mapping.": "A CSV file with the header mapping,key,customer maps your own identifiers to customers. An empty customer deletes that mapping.",
1569
1642
  "A collection of this order is in progress. It must finish, or be resolved with ": "A collection of this order is in progress. It must finish, or be resolved with ",
1643
+ "A manual link wins over every rule.": "A manual link wins over every rule.",
1644
+ "A newer import of this PSP supersedes this one: link and apply ": "A newer import of this PSP supersedes this one: link and apply ",
1570
1645
  "A price going down needs no notice, so today is fine.": "A price going down needs no notice, so today is fine.",
1571
1646
  "A product is the thing a customer gets. You set what it costs afterwards, by adding a price to it.": "A product is the thing a customer gets. You set what it costs afterwards, by adding a price to it.",
1572
1647
  "A reprice_scheduled notice is queued for every affected subscriber as soon as you confirm.": "A reprice_scheduled notice is queued for every affected subscriber as soon as you confirm.",
@@ -1592,19 +1667,30 @@ var Cn = {
1592
1667
  "Alert email": "Alert email",
1593
1668
  All: "All",
1594
1669
  "All PSPs": "All PSPs",
1670
+ "All kinds": "All kinds",
1671
+ "All open proposals": "All open proposals",
1595
1672
  "All origins": "All origins",
1596
1673
  "All owners": "All owners",
1597
1674
  "All rails": "All rails",
1675
+ "All reasons": "All reasons",
1598
1676
  "All statuses": "All statuses",
1599
1677
  Allowance: "Allowance",
1600
1678
  "Also revoke access immediately": "Also revoke access immediately",
1601
1679
  "Also revoke granted access": "Also revoke granted access",
1602
1680
  Amount: "Amount",
1603
1681
  "Amount (": "Amount (",
1682
+ Applied: "Applied",
1683
+ Apply: "Apply",
1684
+ "Apply again": "Apply again",
1604
1685
  "Apply catalog": "Apply catalog",
1605
1686
  "Apply catalog changes": "Apply catalog changes",
1606
1687
  "Apply filters": "Apply filters",
1688
+ "Apply import": "Apply import",
1689
+ "Apply queued": "Apply queued",
1607
1690
  "Apply reviewed batch": "Apply reviewed batch",
1691
+ "Approvals and dismissals need a signed-in person: an API key or service token cannot decide them.": "Approvals and dismissals need a signed-in person: an API key or service token cannot decide them.",
1692
+ Approve: "Approve",
1693
+ "Approve ": "Approve ",
1608
1694
  Archive: "Archive",
1609
1695
  Ask: "Ask",
1610
1696
  "Ask an administrator for a role that includes it.": "Ask an administrator for a role that includes it.",
@@ -1634,6 +1720,98 @@ var Cn = {
1634
1720
  "Catalog updates are disabled. The console is read-only.": "Catalog updates are disabled. The console is read-only.",
1635
1721
  "Catalog updates are unavailable. You can still browse products and prices.": "Catalog updates are unavailable. You can still browse products and prices.",
1636
1722
  "Category / reason": "Category / reason",
1723
+ Change: "Change",
1724
+ "Choose a price": "Choose a price",
1725
+ "Choose a product": "Choose a product",
1726
+ Clear: "Clear",
1727
+ "Customer id": "Customer id",
1728
+ "Differences a PSP pull found in what OpenRails holds. Nothing changes until a person approves it.": "Differences a PSP pull found in what OpenRails holds. Nothing changes until a person approves it.",
1729
+ Dismiss: "Dismiss",
1730
+ "Dismiss ": "Dismiss ",
1731
+ "Dismiss provider price": "Dismiss provider price",
1732
+ "Dismissed proposals close without changing anything.": "Dismissed proposals close without changing anything.",
1733
+ "Each approved change applies on its own, if what it was based on has not moved.": "Each approved change applies on its own, if what it was based on has not moved.",
1734
+ "Each import pulls one PSP read-only and stages what it read. Link and map what it staged, then apply it.": "Each import pulls one PSP read-only and stages what it read. Link and map what it staged, then apply it.",
1735
+ Effects: "Effects",
1736
+ Evidence: "Evidence",
1737
+ Facts: "Facts",
1738
+ Failed: "Failed",
1739
+ "Find a customer with billing": "Find a customer with billing",
1740
+ Findings: "Findings",
1741
+ "From import ": "From import ",
1742
+ "Full history": "Full history",
1743
+ "Grants: ": "Grants: ",
1744
+ "History since": "History since",
1745
+ "History start date": "History start date",
1746
+ "History through ": "History through ",
1747
+ "Import of ": "Import of ",
1748
+ "Import records": "Import records",
1749
+ Landing: "Landing",
1750
+ "Lands the linked records as billing. ": "Lands the linked records as billing. ",
1751
+ "Lines ": "Lines ",
1752
+ Link: "Link",
1753
+ "Link record": "Link record",
1754
+ "Link removed: re-linking": "Link removed: re-linking",
1755
+ "Link saved: re-linking": "Link saved: re-linking",
1756
+ "Link to customer": "Link to customer",
1757
+ Linking: "Linking",
1758
+ "Linking rules": "Linking rules",
1759
+ "Links by the rules of this PSP's latest import:": "Links by the rules of this PSP's latest import:",
1760
+ "Listing prices needs catalog read.": "Listing prices needs catalog read.",
1761
+ "Live provider subscriptions OpenRails could not land. Each lands once, by itself, when its cause is fixed.": "Live provider subscriptions OpenRails could not land. Each lands once, by itself, when its cause is fixed.",
1762
+ Map: "Map",
1763
+ "Map provider price": "Map provider price",
1764
+ "Map to product": "Map to product",
1765
+ Mapped: "Mapped",
1766
+ "Mapped to": "Mapped to",
1767
+ "Mapping a price edits the catalog: it needs ": "Mapping a price edits the catalog: it needs ",
1768
+ "Mappings file": "Mappings file",
1769
+ "Mappings set: ": "Mappings set: ",
1770
+ "Needs ": "Needs ",
1771
+ "No PSP has been pulled yet.": "No PSP has been pulled yet.",
1772
+ "No PSP here has a catalog OpenRails observes.": "No PSP here has a catalog OpenRails observes.",
1773
+ "No proposals are open.": "No proposals are open.",
1774
+ "No provider prices match.": "No provider prices match.",
1775
+ "No records in this state.": "No records in this state.",
1776
+ "No staged subscription names a plan.": "No staged subscription names a plan.",
1777
+ "Not observed yet: read from the provider when mapped": "Not observed yet: read from the provider when mapped",
1778
+ "Notes (optional)": "Notes (optional)",
1779
+ "Notes (required)": "Notes (required)",
1780
+ "Nothing is parked.": "Nothing is parked.",
1781
+ Object: "Object",
1782
+ "Offer as a tier-change target": "Offer as a tier-change target",
1783
+ "PSP imports": "PSP imports",
1784
+ Parked: "Parked",
1785
+ "Parked subscriptions": "Parked subscriptions",
1786
+ Plan: "Plan",
1787
+ "Plans its subscriptions name": "Plans its subscriptions name",
1788
+ "Price cleared: re-linking": "Price cleared: re-linking",
1789
+ "Price dismissed": "Price dismissed",
1790
+ "Price key": "Price key",
1791
+ "Price mapped": "Price mapped",
1792
+ "Price saved: re-linking": "Price saved: re-linking",
1793
+ "Prices each PSP's own catalog holds, as OpenRails last observed them. A subscription on an unmapped price cannot land: map it to a product, or dismiss it as not yours.": "Prices each PSP's own catalog holds, as OpenRails last observed them. A subscription on an unmapped price cannot land: map it to a product, or dismiss it as not yours.",
1794
+ Progress: "Progress",
1795
+ Proposals: "Proposals",
1796
+ "Provider price": "Provider price",
1797
+ "Provider prices": "Provider prices",
1798
+ "Provider ref": "Provider ref",
1799
+ "Provider subscription": "Provider subscription",
1800
+ "Pulled: ready to apply": "Pulled: ready to apply",
1801
+ "Re-link": "Re-link",
1802
+ "Re-link an import to apply them:": "Re-link an import to apply them:",
1803
+ "Re-link requested": "Re-link requested",
1804
+ "Reading catalog and roster": "Reading catalog and roster",
1805
+ "Reads the PSP's catalog, customers, subscriptions and history again, read-only. Nothing lands before you apply it.": "Reads the PSP's catalog, customers, subscriptions and history again, read-only. Nothing lands before you apply it.",
1806
+ Reconcile: "Reconcile",
1807
+ "Reconcile PSP": "Reconcile PSP",
1808
+ "Reconcile a PSP": "Reconcile a PSP",
1809
+ "Reconcile started": "Reconcile started",
1810
+ "Record state": "Record state",
1811
+ Records: "Records",
1812
+ Reload: "Reload",
1813
+ Retired: "Retired",
1814
+ "Review records": "Review records",
1637
1815
  "Schedule the customer's plan or seats for the next renewal. No card is charged now. Choosing the current plan and seats clears a pending change. The customer is told.": "Schedule the customer's plan or seats for the next renewal. No card is charged now. Choosing the current plan and seats clears a pending change. The customer is told.",
1638
1816
  "Change payment method": "Change payment method",
1639
1817
  "Change price": "Change price",
@@ -1703,7 +1881,6 @@ var Cn = {
1703
1881
  "Delete webhook": "Delete webhook",
1704
1882
  Description: "Description",
1705
1883
  "Description (optional)": "Description (optional)",
1706
- Detected: "Detected",
1707
1884
  Dimension: "Dimension",
1708
1885
  Dimensions: "Dimensions",
1709
1886
  Directory: "Directory",
@@ -1716,7 +1893,6 @@ var Cn = {
1716
1893
  "Download CSV": "Download CSV",
1717
1894
  "Draft: new price": "Draft: new price",
1718
1895
  "Draft: price change": "Draft: price change",
1719
- Drift: "Drift",
1720
1896
  Due: "Due",
1721
1897
  "Due now": "Due now",
1722
1898
  "Due: ": "Due: ",
@@ -1876,7 +2052,6 @@ var Cn = {
1876
2052
  "No maximum": "No maximum",
1877
2053
  "No meters on this page match “": "No meters on this page match “",
1878
2054
  "No missed rebills in this range.": "No missed rebills in this range.",
1879
- "No open drift events. Catalog is in sync.": "No open drift events. Catalog is in sync.",
1880
2055
  "No payment methods on file.": "No payment methods on file.",
1881
2056
  "No payments recorded.": "No payments recorded.",
1882
2057
  "No payments.": "No payments.",
@@ -1957,11 +2132,27 @@ var Cn = {
1957
2132
  "Pick a rail…": "Pick a rail…",
1958
2133
  "Pick an environment…": "Pick an environment…",
1959
2134
  "Live: real money": "Live: real money",
2135
+ "Select ": "Select ",
2136
+ "Select all ": "Select all ",
2137
+ "Sending request ": "Sending request ",
2138
+ "Sent in ": "Sent in ",
2139
+ "Set price": "Set price",
2140
+ "Settings › PSPs": "Settings › PSPs",
2141
+ Show: "Show",
2142
+ "Show released": "Show released",
2143
+ "Since a date": "Since a date",
2144
+ "Started ": "Started ",
2145
+ Terms: "Terms",
1960
2146
  "Test: the provider's own system, no money moves": "Test: the provider's own system, no money moves",
1961
2147
  "Sandbox: the provider's separate sandbox": "Sandbox: the provider's separate sandbox",
1962
2148
  "Mainnet: real money": "Mainnet: real money",
1963
2149
  "Devnet: Solana's development network": "Devnet: Solana's development network",
1964
2150
  "Testnet: Solana's test network": "Testnet: Solana's test network",
2151
+ "The customer holds this product already: cancel one at the provider.": "The customer holds this product already: cancel one at the provider.",
2152
+ "The provider listed far fewer live subscriptions than OpenRails holds, so nothing was proposed. Check the PSP's account and reconcile again.": "The provider listed far fewer live subscriptions than OpenRails holds, so nothing was proposed. Check the PSP's account and reconcile again.",
2153
+ "The provider refused this PSP's credentials. A new pull starts when they change in ": "The provider refused this PSP's credentials. A new pull starts when they change in ",
2154
+ "The provider retired it: it keeps billing its subscriptions and is never sold.": "The provider retired it: it keeps billing its subscriptions and is never sold.",
2155
+ "This PSP cannot be read: it is gone, or a credential the pull needs is not declared.": "This PSP cannot be read: it is gone, or a credential the pull needs is not declared.",
1965
2156
  Treasury: "Treasury",
1966
2157
  "Gateway ID": "Gateway ID",
1967
2158
  "Client account number": "Client account number",
@@ -2012,7 +2203,6 @@ var Cn = {
2012
2203
  Reference: "Reference",
2013
2204
  Refresh: "Refresh",
2014
2205
  "Refresh payment methods": "Refresh payment methods",
2015
- "Refresh scan": "Refresh scan",
2016
2206
  "Refresh widget": "Refresh widget",
2017
2207
  Refund: "Refund",
2018
2208
  "Refund payment": "Refund payment",
@@ -2022,7 +2212,6 @@ var Cn = {
2022
2212
  Refused: "Refused",
2023
2213
  "Register event properties used by filters or matrix rates.": "Register event properties used by filters or matrix rates.",
2024
2214
  Remaining: "Remaining",
2025
- Remote: "Remote",
2026
2215
  Remove: "Remove",
2027
2216
  "Remove the default rate?": "Remove the default rate?",
2028
2217
  Renewal: "Renewal",
@@ -2036,7 +2225,6 @@ var Cn = {
2036
2225
  Reset: "Reset",
2037
2226
  Resolve: "Resolve",
2038
2227
  "Resolve finding": "Resolve finding",
2039
- Resource: "Resource",
2040
2228
  Result: "Result",
2041
2229
  Retry: "Retry",
2042
2230
  Reverses: "Reverses",
@@ -2129,11 +2317,15 @@ var Cn = {
2129
2317
  Unit: "Unit",
2130
2318
  "Unit price": "Unit price",
2131
2319
  "Units per package": "Units per package",
2320
+ Unlink: "Unlink",
2321
+ Unmapped: "Unmapped",
2132
2322
  Unpaid: "Unpaid",
2133
2323
  "Until a date": "Until a date",
2134
2324
  Unverified: "Unverified",
2135
2325
  Up: "Up",
2136
2326
  Updated: "Updated",
2327
+ Upload: "Upload",
2328
+ "Upload mappings": "Upload mappings",
2137
2329
  "Upper limit": "Upper limit",
2138
2330
  "Usage billed": "Usage billed",
2139
2331
  "Use matrix rates": "Use matrix rates",
@@ -2160,44 +2352,77 @@ var Cn = {
2160
2352
  "You&apos;re all caught up.": "You&apos;re all caught up.",
2161
2353
  "Your directory holds no contact for this customer.": "Your directory holds no contact for this customer.",
2162
2354
  "Your role does not have permission to read the merchant catalog.": "Your role does not have permission to read the merchant catalog.",
2355
+ "access revocations": "access revocations",
2163
2356
  active: "active",
2164
2357
  "active-seats": "active-seats",
2165
2358
  "alerts@example.com": "alerts@example.com",
2166
2359
  "api-tokens": "api-tokens",
2167
2360
  archived: "archived",
2168
2361
  "at the first renewal from ": "at the first renewal from ",
2362
+ blocked: "blocked",
2169
2363
  breadcrumb: "breadcrumb",
2364
+ "changed cards": "changed cards",
2365
+ conflict: "conflict",
2366
+ customer: "customer",
2170
2367
  default: "default",
2368
+ deleted: "deleted",
2171
2369
  disabled: "disabled",
2172
2370
  "drafted by copilot": "drafted by copilot",
2173
2371
  "draining (": "draining (",
2174
2372
  "e.g. #billing-alerts": "e.g. #billing-alerts",
2373
+ "ends access": "ends access",
2175
2374
  "eu, us": "eu, us",
2375
+ finding: "finding",
2176
2376
  "gpt-5": "gpt-5",
2377
+ held: "held",
2177
2378
  "held ": "held ",
2178
2379
  "https://example.com/account": "https://example.com/account",
2179
2380
  "https://example.com/logo.png": "https://example.com/logo.png",
2180
2381
  "https://example.com/subscribe": "https://example.com/subscribe",
2181
2382
  "https://example.com/support": "https://example.com/support",
2383
+ imported: "imported",
2384
+ inactive: "inactive",
2385
+ "its finding is ignored; subscriptions on it stay parked.": "its finding is ignored; subscriptions on it stay parked.",
2182
2386
  "key: ": "key: ",
2387
+ linked: "linked",
2183
2388
  "metadata.model": "metadata.model",
2389
+ "missed charges": "missed charges",
2390
+ "missed refunds": "missed refunds",
2184
2391
  model: "model",
2185
2392
  moved: "moved",
2393
+ "moves money": "moves money",
2186
2394
  "no data in range": "no data in range",
2395
+ "no entitlements": "no entitlements",
2187
2396
  "no measure": "no measure",
2188
2397
  "of ": "of ",
2189
2398
  offered: "offered",
2190
2399
  "openrails intents resolve": "openrails intents resolve",
2191
2400
  "premium, downloads": "premium, downloads",
2192
2401
  "premium-monthly": "premium-monthly",
2402
+ "price ": "price ",
2193
2403
  "prior version": "prior version",
2404
+ "provider schedules to cancel": "provider schedules to cancel",
2405
+ "provider write": "provider write",
2194
2406
  "read-only": "read-only",
2407
+ "refunds after a cancel": "refunds after a cancel",
2195
2408
  "refused: ": "refused: ",
2409
+ "renewals to adopt": "renewals to adopt",
2196
2410
  retired: "retired",
2411
+ "review only": "review only",
2197
2412
  selected: "selected",
2198
2413
  skipped: "skipped",
2414
+ "skipped renewals to collect": "skipped renewals to collect",
2415
+ subscription: "subscription",
2416
+ "subscription corrections": "subscription corrections",
2417
+ "subscriptions ended at the provider": "subscriptions ended at the provider",
2418
+ "subscriptions to create": "subscriptions to create",
2419
+ "that import": "that import",
2199
2420
  "token.used": "token.used",
2200
2421
  tokens: "tokens",
2422
+ transaction: "transaction",
2423
+ unmatched: "unmatched",
2424
+ "via ": "via ",
2425
+ "waiting for import": "waiting for import",
2201
2426
  "why is this being canceled?": "why is this being canceled?",
2202
2427
  "· owed ": "· owed ",
2203
2428
  "← Orders": "← Orders"