@xylex-group/athena 2.13.0 → 3.0.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 (79) hide show
  1. package/README.md +91 -1398
  2. package/bin/athena-js.js +0 -0
  3. package/dist/admin.d.cts +1 -1
  4. package/dist/admin.d.ts +1 -1
  5. package/dist/billing.cjs +1199 -0
  6. package/dist/billing.cjs.map +1 -0
  7. package/dist/billing.d.cts +230 -0
  8. package/dist/billing.d.ts +230 -0
  9. package/dist/billing.js +1194 -0
  10. package/dist/billing.js.map +1 -0
  11. package/dist/browser.cjs +8934 -8075
  12. package/dist/browser.cjs.map +1 -1
  13. package/dist/browser.d.cts +11 -10
  14. package/dist/browser.d.ts +11 -10
  15. package/dist/browser.js +8931 -8073
  16. package/dist/browser.js.map +1 -1
  17. package/dist/cli/index.cjs +8328 -7062
  18. package/dist/cli/index.cjs.map +1 -1
  19. package/dist/cli/index.d.cts +4 -4
  20. package/dist/cli/index.d.ts +4 -4
  21. package/dist/cli/index.js +8328 -7062
  22. package/dist/cli/index.js.map +1 -1
  23. package/dist/index.cjs +9391 -8526
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +11 -10
  26. package/dist/index.d.ts +11 -10
  27. package/dist/index.js +9384 -8524
  28. package/dist/index.js.map +1 -1
  29. package/dist/{model-form-Dw4zEL5a.d.cts → model-form-BEfCGB5b.d.cts} +2 -2
  30. package/dist/{model-form-yRg71q3H.d.ts → model-form-BKetpu6Q.d.ts} +2 -2
  31. package/dist/module-8dSMcy0K.d.cts +326 -0
  32. package/dist/module-8dSMcy0K.d.ts +326 -0
  33. package/dist/{module-DBteUIob.d.ts → module-Bef_MAPO.d.ts} +6 -52
  34. package/dist/{module-yoX49uQC.d.cts → module-CrrSmpML.d.cts} +6 -52
  35. package/dist/next/client.cjs +2 -8668
  36. package/dist/next/client.cjs.map +1 -1
  37. package/dist/next/client.d.cts +1 -27
  38. package/dist/next/client.d.ts +1 -27
  39. package/dist/next/client.js +3 -8668
  40. package/dist/next/client.js.map +1 -1
  41. package/dist/next/server.cjs +79 -8779
  42. package/dist/next/server.cjs.map +1 -1
  43. package/dist/next/server.d.cts +30 -46
  44. package/dist/next/server.d.ts +30 -46
  45. package/dist/next/server.js +79 -8779
  46. package/dist/next/server.js.map +1 -1
  47. package/dist/{payload-DEOWN_oo.d.ts → payload-DWI1rw-e.d.cts} +1 -35
  48. package/dist/{payload-BzVbUgY_.d.cts → payload-DWI1rw-e.d.ts} +1 -35
  49. package/dist/{pipeline-Bj6RWt1A.d.ts → pipeline-BXFQbsUW.d.ts} +1 -1
  50. package/dist/{pipeline-Dwck-wZO.d.cts → pipeline-Dfsed4VD.d.cts} +1 -1
  51. package/dist/react.cjs +114 -13
  52. package/dist/react.cjs.map +1 -1
  53. package/dist/react.d.cts +46 -16
  54. package/dist/react.d.ts +46 -16
  55. package/dist/react.js +113 -14
  56. package/dist/react.js.map +1 -1
  57. package/dist/social-providers.cjs +33 -24
  58. package/dist/social-providers.cjs.map +1 -1
  59. package/dist/social-providers.d.cts +79 -82
  60. package/dist/social-providers.d.ts +79 -82
  61. package/dist/social-providers.js +33 -24
  62. package/dist/social-providers.js.map +1 -1
  63. package/dist/{types-eAKAh71s.d.cts → types-AOY-GLu8.d.cts} +27 -54
  64. package/dist/{types-eAKAh71s.d.ts → types-AOY-GLu8.d.ts} +27 -54
  65. package/dist/{types-CH78O90i.d.cts → types-Bltx6iL6.d.cts} +4 -6
  66. package/dist/{types-CH78O90i.d.ts → types-Bltx6iL6.d.ts} +4 -6
  67. package/dist/{types-DPgejxYC.d.ts → types-CK7cBQbC.d.ts} +2 -2
  68. package/dist/{types-CjC9_5ZQ.d.cts → types-Z3-rsiM3.d.cts} +2 -2
  69. package/dist/{types-BRP7sfSF.d.ts → types-jClgDy1J.d.ts} +2 -2
  70. package/dist/{types-BU8uJH_b.d.cts → types-kO_Ut5wU.d.cts} +2 -2
  71. package/dist/utils.cjs +7 -8
  72. package/dist/utils.cjs.map +1 -1
  73. package/dist/utils.d.cts +2 -5
  74. package/dist/utils.d.ts +2 -5
  75. package/dist/utils.js +7 -8
  76. package/dist/utils.js.map +1 -1
  77. package/dist/{client-DVOKSYDI.d.ts → v3-client-CuCNy-JJ.d.ts} +532 -470
  78. package/dist/{client-BJjUwDSg.d.cts → v3-client-G8JMOilK.d.cts} +532 -470
  79. package/package.json +31 -21
@@ -0,0 +1,230 @@
1
+ export { A as AthenaBillingCallOptions, a as AthenaBillingClientConfig, f as AthenaBillingEnvelope, b as AthenaBillingError, g as AthenaBillingHttpMethod, h as AthenaBillingJson, c as AthenaBillingModule, B as BillingConnectionRefInput, i as BillingCreateConnectionInput, j as BillingEnsureCustomerInput, k as BillingListQuery, l as BillingProvisionSinksInput, m as BillingReconcileInput, n as BillingUpdateConnectionInput, o as BillingUpdateCustomerInput, d as billingSdkManifest, e as createBillingModule } from './module-8dSMcy0K.js';
2
+
3
+ var consumers = [
4
+ "openapi.yaml",
5
+ "openapi.json",
6
+ "packages/athena-js billingSdkManifest",
7
+ "tests/billing_contract_spine.rs"
8
+ ];
9
+ var description = "Live Athena billing HTTP surface. Owned by athena_billing::live_http_routes (Rust). Export with: cargo run -p athena-billing --bin billing-contract-spine -- --write";
10
+ var domain = "billing";
11
+ var routes = [
12
+ {
13
+ method: "GET",
14
+ path: "/admin/billing/clients/{client_name}/connections",
15
+ surface: "admin"
16
+ },
17
+ {
18
+ method: "POST",
19
+ path: "/admin/billing/clients/{client_name}/connections",
20
+ surface: "admin"
21
+ },
22
+ {
23
+ method: "DELETE",
24
+ path: "/admin/billing/clients/{client_name}/connections/{connection_id}",
25
+ surface: "admin"
26
+ },
27
+ {
28
+ method: "GET",
29
+ path: "/admin/billing/clients/{client_name}/connections/{connection_id}",
30
+ surface: "admin"
31
+ },
32
+ {
33
+ method: "PATCH",
34
+ path: "/admin/billing/clients/{client_name}/connections/{connection_id}",
35
+ surface: "admin"
36
+ },
37
+ {
38
+ method: "POST",
39
+ path: "/admin/billing/clients/{client_name}/connections/{connection_id}/reconcile",
40
+ surface: "admin"
41
+ },
42
+ {
43
+ method: "GET",
44
+ path: "/admin/billing/clients/{client_name}/webhook-events",
45
+ surface: "admin"
46
+ },
47
+ {
48
+ method: "POST",
49
+ path: "/admin/billing/clients/{client_name}/webhook-sinks/provision",
50
+ surface: "admin"
51
+ },
52
+ {
53
+ method: "GET",
54
+ path: "/admin/billing/grants",
55
+ surface: "admin"
56
+ },
57
+ {
58
+ method: "GET",
59
+ path: "/admin/billing/providers",
60
+ surface: "admin"
61
+ },
62
+ {
63
+ method: "GET",
64
+ path: "/admin/webhook-sinks/helpers/billing",
65
+ surface: "admin"
66
+ },
67
+ {
68
+ method: "POST",
69
+ path: "/billing/providers/{provider}/clients/{client_name}/connections/{connection_id}/webhook",
70
+ surface: "providerWebhook"
71
+ },
72
+ {
73
+ method: "GET",
74
+ path: "/billing/v1/capabilities",
75
+ surface: "billingV1"
76
+ },
77
+ {
78
+ method: "POST",
79
+ path: "/billing/v1/checkouts",
80
+ surface: "billingV1"
81
+ },
82
+ {
83
+ method: "GET",
84
+ path: "/billing/v1/customers",
85
+ surface: "billingV1"
86
+ },
87
+ {
88
+ method: "POST",
89
+ path: "/billing/v1/customers",
90
+ surface: "billingV1"
91
+ },
92
+ {
93
+ method: "DELETE",
94
+ path: "/billing/v1/customers/{id}",
95
+ surface: "billingV1"
96
+ },
97
+ {
98
+ method: "GET",
99
+ path: "/billing/v1/customers/{id}",
100
+ surface: "billingV1"
101
+ },
102
+ {
103
+ method: "PATCH",
104
+ path: "/billing/v1/customers/{id}",
105
+ surface: "billingV1"
106
+ },
107
+ {
108
+ method: "GET",
109
+ path: "/billing/v1/invoices",
110
+ surface: "billingV1"
111
+ },
112
+ {
113
+ method: "GET",
114
+ path: "/billing/v1/invoices/{id}",
115
+ surface: "billingV1"
116
+ },
117
+ {
118
+ method: "GET",
119
+ path: "/billing/v1/payment-links",
120
+ surface: "billingV1"
121
+ },
122
+ {
123
+ method: "POST",
124
+ path: "/billing/v1/payment-links",
125
+ surface: "billingV1"
126
+ },
127
+ {
128
+ method: "DELETE",
129
+ path: "/billing/v1/payment-links/{id}",
130
+ surface: "billingV1"
131
+ },
132
+ {
133
+ method: "GET",
134
+ path: "/billing/v1/payment-links/{id}",
135
+ surface: "billingV1"
136
+ },
137
+ {
138
+ method: "PATCH",
139
+ path: "/billing/v1/payment-links/{id}",
140
+ surface: "billingV1"
141
+ },
142
+ {
143
+ method: "GET",
144
+ path: "/billing/v1/payments",
145
+ surface: "billingV1"
146
+ },
147
+ {
148
+ method: "POST",
149
+ path: "/billing/v1/payments",
150
+ surface: "billingV1"
151
+ },
152
+ {
153
+ method: "GET",
154
+ path: "/billing/v1/payments/{id}",
155
+ surface: "billingV1"
156
+ },
157
+ {
158
+ method: "POST",
159
+ path: "/billing/v1/payments/{id}/cancel",
160
+ surface: "billingV1"
161
+ },
162
+ {
163
+ method: "GET",
164
+ path: "/billing/v1/refunds",
165
+ surface: "billingV1"
166
+ },
167
+ {
168
+ method: "POST",
169
+ path: "/billing/v1/refunds",
170
+ surface: "billingV1"
171
+ },
172
+ {
173
+ method: "GET",
174
+ path: "/billing/v1/refunds/{id}",
175
+ surface: "billingV1"
176
+ },
177
+ {
178
+ method: "POST",
179
+ path: "/billing/v1/refunds/{id}/cancel",
180
+ surface: "billingV1"
181
+ },
182
+ {
183
+ method: "GET",
184
+ path: "/billing/v1/subscriptions",
185
+ surface: "billingV1"
186
+ },
187
+ {
188
+ method: "POST",
189
+ path: "/billing/v1/subscriptions",
190
+ surface: "billingV1"
191
+ },
192
+ {
193
+ method: "GET",
194
+ path: "/billing/v1/subscriptions/{id}",
195
+ surface: "billingV1"
196
+ },
197
+ {
198
+ method: "PATCH",
199
+ path: "/billing/v1/subscriptions/{id}",
200
+ surface: "billingV1"
201
+ },
202
+ {
203
+ method: "POST",
204
+ path: "/billing/v1/subscriptions/{id}/cancel",
205
+ surface: "billingV1"
206
+ },
207
+ {
208
+ method: "GET",
209
+ path: "/debug/billing",
210
+ surface: "debug"
211
+ }
212
+ ];
213
+ var schemaVersion = 1;
214
+ var sourceOfTruth = "crates/athena-billing/src/live_http_routes.rs";
215
+ var sources = [
216
+ "src/api/billing.rs",
217
+ "src/api/billing_v1/**",
218
+ "src/api/debug/billing.rs"
219
+ ];
220
+ var liveHttpRoutes = {
221
+ consumers: consumers,
222
+ description: description,
223
+ domain: domain,
224
+ routes: routes,
225
+ schemaVersion: schemaVersion,
226
+ sourceOfTruth: sourceOfTruth,
227
+ sources: sources
228
+ };
229
+
230
+ export { liveHttpRoutes as billingLiveHttpRoutes };