@xylex-group/athena 2.14.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +109 -1402
- package/dist/admin.d.cts +1 -1
- package/dist/admin.d.ts +1 -1
- package/dist/{athena-auth-url-oLux_57a.d.cts → athena-request-headers-C7Jy-c_D.d.ts} +85 -1
- package/dist/{athena-auth-url-oLux_57a.d.ts → athena-request-headers-DujFFyMU.d.cts} +85 -1
- package/dist/billing.cjs +1311 -0
- package/dist/billing.cjs.map +1 -0
- package/dist/billing.d.cts +270 -0
- package/dist/billing.d.ts +270 -0
- package/dist/billing.js +1306 -0
- package/dist/billing.js.map +1 -0
- package/dist/browser.cjs +9695 -9243
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +11 -10
- package/dist/browser.d.ts +11 -10
- package/dist/browser.js +9692 -9241
- package/dist/browser.js.map +1 -1
- package/dist/cli/index.cjs +8137 -7286
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +4 -4
- package/dist/cli/index.d.ts +4 -4
- package/dist/cli/index.js +8137 -7286
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +9718 -9260
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -10
- package/dist/index.d.ts +11 -10
- package/dist/index.js +9711 -9258
- package/dist/index.js.map +1 -1
- package/dist/{model-form-DcH3R7WD.d.ts → model-form-Dh0sisdL.d.ts} +2 -2
- package/dist/{model-form-BE1_Bmdd.d.cts → model-form-oOAJUVd4.d.cts} +2 -2
- package/dist/{module-DFGZXCtt.d.cts → module-CB25egcO.d.cts} +18 -52
- package/dist/module-C_ab-MM1.d.cts +360 -0
- package/dist/module-C_ab-MM1.d.ts +360 -0
- package/dist/{module-Ca3_OQqR.d.ts → module-CkUM6v58.d.ts} +18 -52
- package/dist/next/client.cjs +9116 -8468
- package/dist/next/client.cjs.map +1 -1
- package/dist/next/client.d.cts +24 -25
- package/dist/next/client.d.ts +24 -25
- package/dist/next/client.js +9088 -8469
- package/dist/next/client.js.map +1 -1
- package/dist/next/server.cjs +8932 -7776
- package/dist/next/server.cjs.map +1 -1
- package/dist/next/server.d.cts +62 -43
- package/dist/next/server.d.ts +62 -43
- package/dist/next/server.js +8873 -7777
- package/dist/next/server.js.map +1 -1
- package/dist/{payload-BbSCmILD.d.ts → payload-DWI1rw-e.d.cts} +1 -35
- package/dist/{payload-zXIwKTQf.d.cts → payload-DWI1rw-e.d.ts} +1 -35
- package/dist/{pipeline-DqwehoQV.d.ts → pipeline-B8aN2EHe.d.ts} +1 -1
- package/dist/{pipeline-CwQoD5G9.d.cts → pipeline-D4W-Cc-A.d.cts} +1 -1
- package/dist/proxy-request-headers-DGxdoyA0.d.cts +59 -0
- package/dist/proxy-request-headers-m4D2Tduy.d.ts +59 -0
- package/dist/react.cjs +118 -17
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +46 -16
- package/dist/react.d.ts +46 -16
- package/dist/react.js +117 -18
- package/dist/react.js.map +1 -1
- package/dist/social-providers.cjs +24 -20
- package/dist/social-providers.cjs.map +1 -1
- package/dist/social-providers.d.cts +96 -139
- package/dist/social-providers.d.ts +96 -139
- package/dist/social-providers.js +24 -20
- package/dist/social-providers.js.map +1 -1
- package/dist/{types-eAKAh71s.d.cts → types-AOY-GLu8.d.cts} +27 -54
- package/dist/{types-eAKAh71s.d.ts → types-AOY-GLu8.d.ts} +27 -54
- package/dist/{types-CD6K05JQ.d.ts → types-B75PdABb.d.ts} +3 -3
- package/dist/{types-dHnjluBC.d.cts → types-BBm-kEBL.d.cts} +2 -2
- package/dist/{types-C1swabT5.d.ts → types-BaAMXCqK.d.ts} +2 -2
- package/dist/{types-YQUR7wu0.d.cts → types-Bltx6iL6.d.cts} +3 -5
- package/dist/{types-YQUR7wu0.d.ts → types-Bltx6iL6.d.ts} +3 -5
- package/dist/{types-6H575ITc.d.cts → types-CgCv5o6R.d.cts} +3 -3
- package/dist/utils.cjs +7 -8
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +4 -145
- package/dist/utils.d.ts +4 -145
- package/dist/utils.js +7 -8
- package/dist/utils.js.map +1 -1
- package/dist/{client-wU2J9yqb.d.cts → v3-client-CWfZHcKL.d.cts} +402 -521
- package/dist/{client-uthENhaf.d.ts → v3-client-DZp2NEhK.d.ts} +402 -521
- package/package.json +15 -3
|
@@ -0,0 +1,270 @@
|
|
|
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-C_ab-MM1.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/products",
|
|
85
|
+
surface: "billingV1"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
method: "GET",
|
|
89
|
+
path: "/billing/v1/prices",
|
|
90
|
+
surface: "billingV1"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
method: "GET",
|
|
94
|
+
path: "/billing/v1/customers",
|
|
95
|
+
surface: "billingV1"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
method: "POST",
|
|
99
|
+
path: "/billing/v1/customers",
|
|
100
|
+
surface: "billingV1"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
method: "DELETE",
|
|
104
|
+
path: "/billing/v1/customers/{id}",
|
|
105
|
+
surface: "billingV1"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
method: "GET",
|
|
109
|
+
path: "/billing/v1/customers/{id}",
|
|
110
|
+
surface: "billingV1"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
method: "PATCH",
|
|
114
|
+
path: "/billing/v1/customers/{id}",
|
|
115
|
+
surface: "billingV1"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
method: "GET",
|
|
119
|
+
path: "/billing/v1/invoices",
|
|
120
|
+
surface: "billingV1"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
method: "GET",
|
|
124
|
+
path: "/billing/v1/invoices/{id}",
|
|
125
|
+
surface: "billingV1"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
method: "GET",
|
|
129
|
+
path: "/billing/v1/payment-links",
|
|
130
|
+
surface: "billingV1"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
method: "POST",
|
|
134
|
+
path: "/billing/v1/payment-links",
|
|
135
|
+
surface: "billingV1"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
method: "DELETE",
|
|
139
|
+
path: "/billing/v1/payment-links/{id}",
|
|
140
|
+
surface: "billingV1"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
method: "GET",
|
|
144
|
+
path: "/billing/v1/payment-links/{id}",
|
|
145
|
+
surface: "billingV1"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
method: "PATCH",
|
|
149
|
+
path: "/billing/v1/payment-links/{id}",
|
|
150
|
+
surface: "billingV1"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
method: "GET",
|
|
154
|
+
path: "/billing/v1/payments",
|
|
155
|
+
surface: "billingV1"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
method: "POST",
|
|
159
|
+
path: "/billing/v1/payments",
|
|
160
|
+
surface: "billingV1"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
method: "GET",
|
|
164
|
+
path: "/billing/v1/payments/{id}",
|
|
165
|
+
surface: "billingV1"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
method: "POST",
|
|
169
|
+
path: "/billing/v1/payments/{id}/cancel",
|
|
170
|
+
surface: "billingV1"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
method: "GET",
|
|
174
|
+
path: "/billing/v1/refunds",
|
|
175
|
+
surface: "billingV1"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
method: "POST",
|
|
179
|
+
path: "/billing/v1/refunds",
|
|
180
|
+
surface: "billingV1"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
method: "GET",
|
|
184
|
+
path: "/billing/v1/refunds/{id}",
|
|
185
|
+
surface: "billingV1"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
method: "POST",
|
|
189
|
+
path: "/billing/v1/refunds/{id}/cancel",
|
|
190
|
+
surface: "billingV1"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
method: "GET",
|
|
194
|
+
path: "/billing/v1/subscriptions",
|
|
195
|
+
surface: "billingV1"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
method: "POST",
|
|
199
|
+
path: "/billing/v1/subscriptions",
|
|
200
|
+
surface: "billingV1"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
method: "GET",
|
|
204
|
+
path: "/billing/v1/subscriptions/{id}",
|
|
205
|
+
surface: "billingV1"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
method: "PATCH",
|
|
209
|
+
path: "/billing/v1/subscriptions/{id}",
|
|
210
|
+
surface: "billingV1"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
method: "POST",
|
|
214
|
+
path: "/billing/v1/subscriptions/{id}/cancel",
|
|
215
|
+
surface: "billingV1"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
method: "GET",
|
|
219
|
+
path: "/billing/v1/webhooks",
|
|
220
|
+
surface: "billingV1"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
method: "POST",
|
|
224
|
+
path: "/billing/v1/webhooks",
|
|
225
|
+
surface: "billingV1"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
method: "DELETE",
|
|
229
|
+
path: "/billing/v1/webhooks/{id}",
|
|
230
|
+
surface: "billingV1"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
method: "GET",
|
|
234
|
+
path: "/billing/v1/webhooks/{id}",
|
|
235
|
+
surface: "billingV1"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
method: "PATCH",
|
|
239
|
+
path: "/billing/v1/webhooks/{id}",
|
|
240
|
+
surface: "billingV1"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
method: "POST",
|
|
244
|
+
path: "/billing/v1/webhooks/{id}/test",
|
|
245
|
+
surface: "billingV1"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
method: "GET",
|
|
249
|
+
path: "/debug/billing",
|
|
250
|
+
surface: "debug"
|
|
251
|
+
}
|
|
252
|
+
];
|
|
253
|
+
var schemaVersion = 1;
|
|
254
|
+
var sourceOfTruth = "crates/athena-billing/src/live_http_routes.rs";
|
|
255
|
+
var sources = [
|
|
256
|
+
"src/api/billing.rs",
|
|
257
|
+
"src/api/billing_v1/**",
|
|
258
|
+
"src/api/debug/billing.rs"
|
|
259
|
+
];
|
|
260
|
+
var liveHttpRoutes = {
|
|
261
|
+
consumers: consumers,
|
|
262
|
+
description: description,
|
|
263
|
+
domain: domain,
|
|
264
|
+
routes: routes,
|
|
265
|
+
schemaVersion: schemaVersion,
|
|
266
|
+
sourceOfTruth: sourceOfTruth,
|
|
267
|
+
sources: sources
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
export { liveHttpRoutes as billingLiveHttpRoutes };
|