@openrails/billing-ui 0.255.0 → 0.256.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +6 -5
  2. package/dist/account/cancel-dialog.d.ts +2 -2
  3. package/dist/account/subscriptions-panel.d.ts +1 -2
  4. package/dist/admin/lib/api/types.d.ts +1 -1
  5. package/dist/admin/messages.d.ts +8 -8
  6. package/dist/admin/pages/catalog/price-format.d.ts +3 -1
  7. package/dist/admin/pages/catalog/psp-links.d.ts +1 -1
  8. package/dist/{admin-catalog-rrFZd5N8.js → admin-catalog-C0QRANp7.js} +8 -11
  9. package/dist/{admin-catalog-rrFZd5N8.js.map → admin-catalog-C0QRANp7.js.map} +1 -1
  10. package/dist/{admin-detail-Cq59e14B.js → admin-detail-qetSqVDt.js} +2 -2
  11. package/dist/{admin-detail-Cq59e14B.js.map → admin-detail-qetSqVDt.js.map} +1 -1
  12. package/dist/{admin-price-detail-Bwk9PXHP.js → admin-price-detail-C9CJwLeM.js} +101 -128
  13. package/dist/admin-price-detail-C9CJwLeM.js.map +1 -0
  14. package/dist/{admin-price-format-DM1qORWI.js → admin-price-format-BVUpDoSC.js} +5 -1
  15. package/dist/admin-price-format-BVUpDoSC.js.map +1 -0
  16. package/dist/{admin-price-wizard-ByD7j8mB.js → admin-price-wizard-DAkDGWkH.js} +123 -124
  17. package/dist/admin-price-wizard-DAkDGWkH.js.map +1 -0
  18. package/dist/{admin-settings-D_8L1Hho.js → admin-settings-_0T6mLFx.js} +1 -5
  19. package/dist/admin-settings-_0T6mLFx.js.map +1 -0
  20. package/dist/admin.css +1 -1
  21. package/dist/admin.js +14 -14
  22. package/dist/admin.js.map +1 -1
  23. package/dist/client/client.d.ts +4 -4
  24. package/dist/client/generated/error-codes.d.ts +1 -1
  25. package/dist/client/generated/routes.d.ts +30 -13
  26. package/dist/client/generated/wire.d.ts +62 -23
  27. package/dist/client/types.d.ts +119 -20
  28. package/dist/{client-B301IAQD.js → client-Bs2YY-PV.js} +19 -3
  29. package/dist/client-Bs2YY-PV.js.map +1 -0
  30. package/dist/client.js +1 -1
  31. package/dist/{hooks-DARbMTwv.js → hooks-CCA-6uEa.js} +134 -123
  32. package/dist/{hooks-DARbMTwv.js.map → hooks-CCA-6uEa.js.map} +1 -1
  33. package/dist/index.js +729 -716
  34. package/dist/index.js.map +1 -1
  35. package/dist/locales/de.js +1 -0
  36. package/dist/locales/de.js.map +1 -1
  37. package/dist/locales/en.d.ts +1 -0
  38. package/dist/locales/en.js +1 -0
  39. package/dist/locales/en.js.map +1 -1
  40. package/dist/locales/es.js +1 -0
  41. package/dist/locales/es.js.map +1 -1
  42. package/dist/locales/ja.js +1 -0
  43. package/dist/locales/ja.js.map +1 -1
  44. package/dist/locales/ko.js +1 -0
  45. package/dist/locales/ko.js.map +1 -1
  46. package/dist/locales/zh.js +1 -0
  47. package/dist/locales/zh.js.map +1 -1
  48. package/dist/react/hooks.d.ts +3 -4
  49. package/dist/react.js +1 -1
  50. package/package.json +1 -1
  51. package/dist/admin-price-detail-Bwk9PXHP.js.map +0 -1
  52. package/dist/admin-price-format-DM1qORWI.js.map +0 -1
  53. package/dist/admin-price-wizard-ByD7j8mB.js.map +0 -1
  54. package/dist/admin-settings-D_8L1Hho.js.map +0 -1
  55. package/dist/client-B301IAQD.js.map +0 -1
package/dist/admin.js CHANGED
@@ -64,7 +64,7 @@ var ze = [
64
64
  },
65
65
  {
66
66
  path: "/catalog/prices",
67
- Component: A(() => import("./admin-catalog-rrFZd5N8.js").then((e) => ({ default: e.CatalogPricesPage })))
67
+ Component: A(() => import("./admin-catalog-C0QRANp7.js").then((e) => ({ default: e.CatalogPricesPage })))
68
68
  },
69
69
  {
70
70
  path: "/subscriptions",
@@ -72,7 +72,7 @@ var ze = [
72
72
  },
73
73
  {
74
74
  path: "/catalog/drift",
75
- Component: A(() => import("./admin-catalog-rrFZd5N8.js").then((e) => ({ default: e.CatalogDriftPage })))
75
+ Component: A(() => import("./admin-catalog-C0QRANp7.js").then((e) => ({ default: e.CatalogDriftPage })))
76
76
  },
77
77
  {
78
78
  path: "/customers",
@@ -84,7 +84,7 @@ var ze = [
84
84
  },
85
85
  {
86
86
  path: "/settings",
87
- Component: A(() => import("./admin-settings-D_8L1Hho.js").then((e) => ({ default: e.SettingsPage })))
87
+ Component: A(() => import("./admin-settings-_0T6mLFx.js").then((e) => ({ default: e.SettingsPage })))
88
88
  },
89
89
  {
90
90
  path: "/reports",
@@ -92,7 +92,7 @@ var ze = [
92
92
  },
93
93
  {
94
94
  path: "/catalog",
95
- Component: A(() => import("./admin-catalog-rrFZd5N8.js").then((e) => ({ default: e.CatalogProductsPage })))
95
+ Component: A(() => import("./admin-catalog-C0QRANp7.js").then((e) => ({ default: e.CatalogProductsPage })))
96
96
  },
97
97
  {
98
98
  path: "/orders",
@@ -124,11 +124,11 @@ var ze = [
124
124
  },
125
125
  {
126
126
  path: "/catalog/prices/:id",
127
- Component: A(() => import("./admin-price-detail-Bwk9PXHP.js").then((e) => ({ default: e.PriceDetailPage })))
127
+ Component: A(() => import("./admin-price-detail-C9CJwLeM.js").then((e) => ({ default: e.PriceDetailPage })))
128
128
  },
129
129
  {
130
130
  path: "/subscriptions/:id",
131
- Component: A(() => import("./admin-detail-Cq59e14B.js").then((e) => ({ default: e.SubscriptionDetailPage })))
131
+ Component: A(() => import("./admin-detail-qetSqVDt.js").then((e) => ({ default: e.SubscriptionDetailPage })))
132
132
  },
133
133
  {
134
134
  path: "/payments/:id",
@@ -1490,6 +1490,14 @@ var bn = {
1490
1490
  "orders:manage": "Preview, create, and withdraw merchant orders through the application API.",
1491
1491
  "customers:read": "Find customers by their network account through the application API."
1492
1492
  }, xn = Object.fromEntries(["merchant", "root"].flatMap((e) => Object.entries(bn).map(([t, n]) => [`${e}:${t}`, `${n} ${e === "root" ? "Applies across merchants." : "Applies within this merchant."}`]))), Sn = {
1493
+ "Sold by OpenRails": "Sold by OpenRails",
1494
+ "OpenRails bills this price through your card vault and charge PSPs, and on Solana. Provider catalogs are not synchronized. Hosted one-time Stripe payments use inline checkout objects.": "OpenRails bills this price through your card vault and charge PSPs, and on Solana. Provider catalogs are not synchronized. Hosted one-time Stripe payments use inline checkout objects.",
1495
+ "Sold via: ": "Sold via: ",
1496
+ "every method you have": "every method you have",
1497
+ "Solana plan ": "Solana plan ",
1498
+ "Owned by its provider": "Owned by its provider",
1499
+ "The provider owns and runs this price; OpenRails read its terms and never writes it. Verify asks the provider what it holds now, and changes nothing.": "The provider owns and runs this price; OpenRails read its terms and never writes it. Verify asks the provider what it holds now, and changes nothing.",
1500
+ "'s price": "'s price",
1493
1501
  " Edit widget": " Edit widget",
1494
1502
  " Price": " Price",
1495
1503
  " Product": " Product",
@@ -1865,7 +1873,6 @@ var bn = {
1865
1873
  "Notes ": "Notes ",
1866
1874
  "Nothing here can be fixed automatically. You can only note why you are leaving it.": "Nothing here can be fixed automatically. You can only note why you are leaving it.",
1867
1875
  "Nothing in this range. Pick a wider range.": "Nothing in this range. Pick a wider range.",
1868
- "Nothing is claimed about the providers' copies until you press Verify.": "Nothing is claimed about the providers' copies until you press Verify.",
1869
1876
  "Nothing needs attention right now.": "Nothing needs attention right now.",
1870
1877
  "Notice period": "Notice period",
1871
1878
  "Notice period (days)": "Notice period (days)",
@@ -1909,7 +1916,6 @@ var bn = {
1909
1916
  "Payment method": "Payment method",
1910
1917
  "Payment methods": "Payment methods",
1911
1918
  "Payment not found.": "Payment not found.",
1912
- "Payment providers": "Payment providers",
1913
1919
  "Payment rail": "Payment rail",
1914
1920
  "Payment reference": "Payment reference",
1915
1921
  "Payment terms (days)": "Payment terms (days)",
@@ -1934,9 +1940,6 @@ var bn = {
1934
1940
  "Gateway ID": "Gateway ID",
1935
1941
  "Client account number": "Client account number",
1936
1942
  "Client subaccount": "Client subaccount",
1937
- Money: "Money",
1938
- "Sandbox: its PSPs move no money": "Sandbox: its PSPs move no money",
1939
- "Live: its PSPs move real money": "Live: its PSPs move real money",
1940
1943
  "Pick a stored payment method": "Pick a stored payment method",
1941
1944
  "Pinned to an archived (prior) version": "Pinned to an archived (prior) version",
1942
1945
  "Points future renewals of this subscription at another of the customer's stored cards (same rail), or back at their default card for its currency.": "Points future renewals of this subscription at another of the customer's stored cards (same rail), or back at their default card for its currency.",
@@ -2033,7 +2036,6 @@ var bn = {
2033
2036
  "Select product": "Select product",
2034
2037
  "Send alerts to Discord, Slack, or your own endpoint.": "Send alerts to Discord, Slack, or your own endpoint.",
2035
2038
  "Send email alerts to this address.": "Send email alerts to this address.",
2036
- Sent: "Sent",
2037
2039
  "Set how much notice customers receive before a price increase.": "Set how much notice customers receive before a price increase.",
2038
2040
  "Set the price that charges every customer's usage as it is recorded. Money is entered in major currency units.": "Set the price that charges every customer's usage as it is recorded. Money is entered in major currency units.",
2039
2041
  Settings: "Settings",
@@ -2081,7 +2083,6 @@ var bn = {
2081
2083
  "This billing page does not exist.": "This billing page does not exist.",
2082
2084
  "This is a price": "This is a price",
2083
2085
  "This meter uses an aggregation that the billing engine cannot rate.": "This meter uses an aggregation that the billing engine cannot rate.",
2084
- "This price has not been sent to any provider, so nobody can be charged for it yet.": "This price has not been sent to any provider, so nobody can be charged for it yet.",
2085
2086
  Tier: "Tier",
2086
2087
  "Tier group": "Tier group",
2087
2088
  "Tier mode": "Tier mode",
@@ -2126,7 +2127,6 @@ var bn = {
2126
2127
  Webhooks: "Webhooks",
2127
2128
  "What the customer asked for": "What the customer asked for",
2128
2129
  "Which provider would take the money if someone bought this right now, and why the others were passed over. This asks the same question a real purchase asks, without starting one.": "Which provider would take the money if someone bought this right now, and why the others were passed over. This asks the same question a real purchase asks, without starting one.",
2129
- "Which providers this price has been sent to, and whether their copy still matches yours. Publishing the catalog is what sends it; this page only reports. Verify asks each provider what it currently holds, and changes nothing.": "Which providers this price has been sent to, and whether their copy still matches yours. Publishing the catalog is what sends it; this page only reports. Verify asks each provider what it currently holds, and changes nothing.",
2130
2130
  Why: "Why",
2131
2131
  "Why it was granted": "Why it was granted",
2132
2132
  "Widget menu": "Widget menu",