tapimo 0.6.0 → 0.7.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.
- package/dist/App.d.ts +8641 -8263
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +9 -1
- package/dist/App.js.map +1 -1
- package/dist/Scope.d.ts +4 -0
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +5 -0
- package/dist/Scope.js.map +1 -1
- package/dist/admin/App.d.ts +112 -11
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +2 -1
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/early-access.d.ts +2 -2
- package/dist/admin/apps/early-access.d.ts.map +1 -1
- package/dist/admin/apps/early-access.js +5 -5
- package/dist/admin/apps/early-access.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +124 -1
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/organizations.js +97 -6
- package/dist/admin/apps/organizations.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.d.ts.map +1 -1
- package/dist/admin/ui.generated.js +95 -87
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +20 -0
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/analytics/tables/requestEvents.d.ts +18 -0
- package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
- package/dist/analytics/tables/requestEvents.js +36 -7
- package/dist/analytics/tables/requestEvents.js.map +1 -1
- package/dist/apps/data/App.d.ts +5016 -4985
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.js +2 -15
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
- package/dist/apps/data/FxOracle.d.ts +1 -1
- package/dist/apps/data/FxOracle.d.ts.map +1 -1
- package/dist/apps/data/FxOracle.js +1 -1
- package/dist/apps/data/FxOracle.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +27 -27
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +21 -1
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +58 -58
- package/dist/apps/data/routes/blocks.d.ts +39 -39
- package/dist/apps/data/routes/coingecko.d.ts +176 -176
- package/dist/apps/data/routes/exchanges.d.ts +113 -113
- package/dist/apps/data/routes/fee-amm.d.ts +105 -91
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +76 -91
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/funding.d.ts +72 -34
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +34 -26
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +5 -5
- package/dist/apps/data/routes/receipts.d.ts +6 -6
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/tokens.d.ts +2 -2
- package/dist/apps/data/routes/tokens.js +1 -1
- package/dist/apps/data/routes/transactions.d.ts +4 -4
- package/dist/apps/data/routes/transfers.d.ts +99 -88
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +226 -141
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +34 -34
- package/dist/apps/data/routes/valuation.js +3 -3
- package/dist/apps/data/routes/valuation.js.map +1 -1
- package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
- package/dist/apps/data/routes/webhooks.d.ts +366 -366
- package/dist/apps/index.d.ts +1 -0
- package/dist/apps/index.d.ts.map +1 -1
- package/dist/apps/index.js +1 -0
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/management/App.d.ts +460 -523
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +7 -23
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +20 -8
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +106 -151
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +28 -28
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/faucet.d.ts +40 -26
- package/dist/apps/management/routes/faucet.d.ts.map +1 -1
- package/dist/apps/management/routes/faucet.js +33 -18
- package/dist/apps/management/routes/faucet.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +131 -131
- package/dist/apps/management/routes/invitations.d.ts.map +1 -1
- package/dist/apps/management/routes/invitations.js +0 -3
- package/dist/apps/management/routes/invitations.js.map +1 -1
- package/dist/apps/management/routes/me.d.ts +6 -8
- package/dist/apps/management/routes/me.d.ts.map +1 -1
- package/dist/apps/management/routes/me.js +0 -4
- package/dist/apps/management/routes/me.js.map +1 -1
- package/dist/apps/management/routes/members.d.ts +45 -45
- package/dist/apps/management/routes/orgs.d.ts +94 -94
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +5 -0
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts +32 -32
- package/dist/apps/management/routes/verified-token-requests.d.ts +94 -94
- package/dist/apps/management/routes/webhooks.d.ts +1 -1
- package/dist/apps/mpp/App.d.ts +363 -0
- package/dist/apps/mpp/App.d.ts.map +1 -0
- package/dist/apps/mpp/App.js +72 -0
- package/dist/apps/mpp/App.js.map +1 -0
- package/dist/apps/mpp/Mpp.d.ts +178 -0
- package/dist/apps/mpp/Mpp.d.ts.map +1 -0
- package/dist/apps/mpp/Mpp.js +183 -0
- package/dist/apps/mpp/Mpp.js.map +1 -0
- package/dist/apps/mpp/index.d.ts +3 -0
- package/dist/apps/mpp/index.d.ts.map +1 -0
- package/dist/apps/mpp/index.js +3 -0
- package/dist/apps/mpp/index.js.map +1 -0
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +56 -9
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/db/Db.d.ts +2 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +27 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +12 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +11 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/enabledBillingSources.d.ts +73 -0
- package/dist/db/tables/enabledBillingSources.d.ts.map +1 -0
- package/dist/db/tables/enabledBillingSources.js +69 -0
- package/dist/db/tables/enabledBillingSources.js.map +1 -0
- package/dist/db/tables/invitations.d.ts +1 -12
- package/dist/db/tables/invitations.d.ts.map +1 -1
- package/dist/db/tables/invitations.js +3 -23
- package/dist/db/tables/invitations.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +5 -2
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +13 -2
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/handlers/internal/utils.d.ts +1 -16
- package/dist/handlers/internal/utils.d.ts.map +1 -1
- package/dist/handlers/internal/utils.js +17 -6
- package/dist/handlers/internal/utils.js.map +1 -1
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +37 -5
- package/dist/handlers/relay.js.map +1 -1
- package/dist/internal/Auth.d.ts +0 -32
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +3 -51
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/FundingQuotes.d.ts +78 -32
- package/dist/internal/FundingQuotes.d.ts.map +1 -1
- package/dist/internal/FundingQuotes.js +45 -8
- package/dist/internal/FundingQuotes.js.map +1 -1
- package/dist/internal/Log.d.ts +18 -4
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +50 -3
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +15 -0
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/Response.d.ts +2 -2
- package/dist/internal/Response.d.ts.map +1 -1
- package/dist/internal/Response.js +12 -4
- package/dist/internal/Response.js.map +1 -1
- package/dist/internal/Viem.d.ts +1 -1
- package/package.json +7 -2
- package/src/App.test.ts +9 -4
- package/src/App.ts +14 -2
- package/src/Client.test-d.ts +109 -28
- package/src/Scope.ts +5 -0
- package/src/admin/App.test.ts +4 -0
- package/src/admin/apps/early-access.ts +6 -5
- package/src/admin/apps/organizations.test.ts +86 -2
- package/src/admin/apps/organizations.ts +155 -31
- package/src/admin/apps/scopes.test.ts +5 -0
- package/src/admin/ui/src/lib/organizations.test.ts +81 -1
- package/src/admin/ui/src/lib/organizations.ts +92 -0
- package/src/admin/ui/src/routes/api-keys.tsx +1 -1
- package/src/admin/ui/src/routes/early-access.tsx +8 -3
- package/src/admin/ui/src/routes/organizations_.$orgId.tsx +103 -0
- package/src/admin/ui.generated.ts +95 -109
- package/src/analytics/Analytics.test.ts +83 -0
- package/src/analytics/Analytics.ts +20 -0
- package/src/analytics/tables/requestEvents.ts +60 -7
- package/src/apps/composition.test.ts +11 -2
- package/src/apps/data/App.test.ts +1 -1
- package/src/apps/data/FundingQuoteProviders.test.ts +0 -5
- package/src/apps/data/FundingQuoteProviders.ts +2 -29
- package/src/apps/data/FxOracle.test.ts +2 -2
- package/src/apps/data/FxOracle.ts +2 -2
- package/src/apps/data/routes/activities.test.ts +6 -2
- package/src/apps/data/routes/activities.ts +39 -1
- package/src/apps/data/routes/balances.test.ts +6 -2
- package/src/apps/data/routes/exchanges.test.ts +7 -3
- package/src/apps/data/routes/fee-amm.test.ts +47 -23
- package/src/apps/data/routes/fee-amm.ts +98 -119
- package/src/apps/data/routes/funding.test.ts +29 -8
- package/src/apps/data/routes/funding.ts +42 -48
- package/src/apps/data/routes/receipts.test.ts +6 -2
- package/src/apps/data/routes/tokens.ts +1 -1
- package/src/apps/data/routes/transfers.test.ts +203 -35
- package/src/apps/data/routes/transfers.ts +294 -172
- package/src/apps/data/routes/valuation.test.ts +18 -3
- package/src/apps/data/routes/valuation.ts +4 -4
- package/src/apps/index.ts +1 -0
- package/src/apps/management/routes/api-keys.test.ts +2 -75
- package/src/apps/management/routes/api-keys.ts +30 -7
- package/src/apps/management/routes/billing.test.ts +106 -85
- package/src/apps/management/routes/billing.ts +32 -21
- package/src/apps/management/routes/faucet.test.ts +11 -3
- package/src/apps/management/routes/faucet.ts +46 -30
- package/src/apps/management/routes/invitations.test.ts +0 -172
- package/src/apps/management/routes/invitations.ts +0 -3
- package/src/apps/management/routes/me.test.ts +3 -145
- package/src/apps/management/routes/me.ts +0 -6
- package/src/apps/management/routes/orgs.test.ts +45 -2
- package/src/apps/management/routes/orgs.ts +6 -0
- package/src/apps/management/routes/scopes.test.ts +1 -0
- package/src/apps/mpp/App.ts +86 -0
- package/src/apps/mpp/Mpp.test.ts +193 -0
- package/src/apps/mpp/Mpp.ts +353 -0
- package/src/apps/mpp/index.ts +2 -0
- package/src/apps/mpp/internal/Adapter.ts +11 -0
- package/src/apps/mpp/internal/Error.ts +9 -0
- package/src/apps/mpp/internal/Idempotency.ts +7 -0
- package/src/apps/mpp/internal/Screening.ts +10 -0
- package/src/apps/relay/App.test.ts +88 -6
- package/src/apps/relay/App.ts +61 -9
- package/src/db/Db.test.ts +2 -2
- package/src/db/Db.ts +30 -0
- package/src/db/Schema.ts +15 -0
- package/src/db/tables/enabledBillingSources.test.ts +303 -0
- package/src/db/tables/enabledBillingSources.ts +118 -0
- package/src/db/tables/invitations.ts +4 -26
- package/src/db/tables/organizations.test.ts +103 -0
- package/src/db/tables/organizations.ts +18 -2
- package/src/handlers/internal/utils.ts +22 -6
- package/src/handlers/relay.errors.test.ts +153 -0
- package/src/handlers/relay.ts +42 -7
- package/src/internal/Auth.test.ts +3 -3
- package/src/internal/Auth.ts +3 -63
- package/src/internal/FundingQuotes.test.ts +18 -5
- package/src/internal/FundingQuotes.ts +46 -11
- package/src/internal/Log.test.ts +91 -0
- package/src/internal/Log.ts +69 -5
- package/src/internal/MetricSink.test.ts +55 -0
- package/src/internal/MetricSink.ts +14 -0
- package/src/internal/Response.test.ts +28 -0
- package/src/internal/Response.ts +12 -4
|
@@ -56,6 +56,10 @@ export declare namespace schema {
|
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
/** An organization's billing state. */
|
|
58
58
|
const Billing: z.ZodMiniObject<{
|
|
59
|
+
enabledSources: z.ZodMiniArray<z.ZodMiniEnum<{
|
|
60
|
+
stripe: "stripe";
|
|
61
|
+
tempo: "tempo";
|
|
62
|
+
}>>;
|
|
59
63
|
spend: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
60
64
|
amount: z.ZodMiniString<string>;
|
|
61
65
|
currency: z.ZodMiniEnum<{
|
|
@@ -124,21 +128,21 @@ export declare namespace schema {
|
|
|
124
128
|
}, z.core.$strip>;
|
|
125
129
|
}
|
|
126
130
|
/**
|
|
127
|
-
* Mounts billing routes. Reads require membership or scoped API key access; organizations without
|
|
131
|
+
* Mounts billing routes. Reads require membership or scoped API key access; organizations without provider state return `none`.
|
|
128
132
|
*/
|
|
129
133
|
export declare function billing(): import("hono/hono-base").HonoBase<Environment, {
|
|
130
134
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing": {
|
|
131
135
|
$get: {
|
|
132
136
|
output: {
|
|
133
137
|
error: {
|
|
134
|
-
code: "
|
|
138
|
+
code: "upstream_error";
|
|
135
139
|
details?: readonly Response.error.Detail[] | undefined;
|
|
136
140
|
message: string;
|
|
137
141
|
};
|
|
138
142
|
requestId: string;
|
|
139
143
|
};
|
|
140
144
|
outputFormat: "json";
|
|
141
|
-
status:
|
|
145
|
+
status: 502;
|
|
142
146
|
input: {
|
|
143
147
|
param: {
|
|
144
148
|
orgId: string;
|
|
@@ -151,14 +155,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
151
155
|
} | {
|
|
152
156
|
output: {
|
|
153
157
|
error: {
|
|
154
|
-
code: "
|
|
158
|
+
code: "api_key_malformed";
|
|
155
159
|
details?: readonly Response.error.Detail[] | undefined;
|
|
156
160
|
message: string;
|
|
157
161
|
};
|
|
158
162
|
requestId: string;
|
|
159
163
|
};
|
|
160
164
|
outputFormat: "json";
|
|
161
|
-
status:
|
|
165
|
+
status: 400;
|
|
162
166
|
input: {
|
|
163
167
|
param: {
|
|
164
168
|
orgId: string;
|
|
@@ -171,14 +175,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
171
175
|
} | {
|
|
172
176
|
output: {
|
|
173
177
|
error: {
|
|
174
|
-
code: "
|
|
178
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
175
179
|
details?: readonly Response.error.Detail[] | undefined;
|
|
176
180
|
message: string;
|
|
177
181
|
};
|
|
178
182
|
requestId: string;
|
|
179
183
|
};
|
|
180
184
|
outputFormat: "json";
|
|
181
|
-
status:
|
|
185
|
+
status: 401;
|
|
182
186
|
input: {
|
|
183
187
|
param: {
|
|
184
188
|
orgId: string;
|
|
@@ -191,14 +195,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
191
195
|
} | {
|
|
192
196
|
output: {
|
|
193
197
|
error: {
|
|
194
|
-
code: "
|
|
198
|
+
code: "api_key_forbidden";
|
|
195
199
|
details?: readonly Response.error.Detail[] | undefined;
|
|
196
200
|
message: string;
|
|
197
201
|
};
|
|
198
202
|
requestId: string;
|
|
199
203
|
};
|
|
200
204
|
outputFormat: "json";
|
|
201
|
-
status:
|
|
205
|
+
status: 403;
|
|
202
206
|
input: {
|
|
203
207
|
param: {
|
|
204
208
|
orgId: string;
|
|
@@ -211,14 +215,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
211
215
|
} | {
|
|
212
216
|
output: {
|
|
213
217
|
error: {
|
|
214
|
-
code: "
|
|
218
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
215
219
|
details?: readonly Response.error.Detail[] | undefined;
|
|
216
220
|
message: string;
|
|
217
221
|
};
|
|
218
222
|
requestId: string;
|
|
219
223
|
};
|
|
220
224
|
outputFormat: "json";
|
|
221
|
-
status:
|
|
225
|
+
status: 429;
|
|
222
226
|
input: {
|
|
223
227
|
param: {
|
|
224
228
|
orgId: string;
|
|
@@ -231,14 +235,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
231
235
|
} | {
|
|
232
236
|
output: {
|
|
233
237
|
error: {
|
|
234
|
-
code: "
|
|
238
|
+
code: "query_invalid";
|
|
235
239
|
details?: readonly Response.error.Detail[] | undefined;
|
|
236
240
|
message: string;
|
|
237
241
|
};
|
|
238
242
|
requestId: string;
|
|
239
243
|
};
|
|
240
244
|
outputFormat: "json";
|
|
241
|
-
status:
|
|
245
|
+
status: 400;
|
|
242
246
|
input: {
|
|
243
247
|
param: {
|
|
244
248
|
orgId: string;
|
|
@@ -290,26 +294,7 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
290
294
|
};
|
|
291
295
|
} | {
|
|
292
296
|
output: {
|
|
293
|
-
|
|
294
|
-
code: "billing_unconfigured";
|
|
295
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
296
|
-
message: string;
|
|
297
|
-
};
|
|
298
|
-
requestId: string;
|
|
299
|
-
};
|
|
300
|
-
outputFormat: "json";
|
|
301
|
-
status: 501;
|
|
302
|
-
input: {
|
|
303
|
-
param: {
|
|
304
|
-
orgId: string;
|
|
305
|
-
};
|
|
306
|
-
} & {
|
|
307
|
-
query?: {
|
|
308
|
-
environment?: string | string[];
|
|
309
|
-
} | undefined;
|
|
310
|
-
};
|
|
311
|
-
} | {
|
|
312
|
-
output: {
|
|
297
|
+
enabledSources: ("stripe" | "tempo")[];
|
|
313
298
|
spend?: {
|
|
314
299
|
amount: string;
|
|
315
300
|
currency: "usd";
|
|
@@ -345,14 +330,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
345
330
|
$patch: {
|
|
346
331
|
output: {
|
|
347
332
|
error: {
|
|
348
|
-
code: "
|
|
333
|
+
code: "upstream_error";
|
|
349
334
|
details?: readonly Response.error.Detail[] | undefined;
|
|
350
335
|
message: string;
|
|
351
336
|
};
|
|
352
337
|
requestId: string;
|
|
353
338
|
};
|
|
354
339
|
outputFormat: "json";
|
|
355
|
-
status:
|
|
340
|
+
status: 502;
|
|
356
341
|
input: {
|
|
357
342
|
param: {
|
|
358
343
|
orgId: string;
|
|
@@ -377,14 +362,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
377
362
|
} | {
|
|
378
363
|
output: {
|
|
379
364
|
error: {
|
|
380
|
-
code: "
|
|
365
|
+
code: "api_key_malformed";
|
|
381
366
|
details?: readonly Response.error.Detail[] | undefined;
|
|
382
367
|
message: string;
|
|
383
368
|
};
|
|
384
369
|
requestId: string;
|
|
385
370
|
};
|
|
386
371
|
outputFormat: "json";
|
|
387
|
-
status:
|
|
372
|
+
status: 400;
|
|
388
373
|
input: {
|
|
389
374
|
param: {
|
|
390
375
|
orgId: string;
|
|
@@ -409,14 +394,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
409
394
|
} | {
|
|
410
395
|
output: {
|
|
411
396
|
error: {
|
|
412
|
-
code: "
|
|
397
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
413
398
|
details?: readonly Response.error.Detail[] | undefined;
|
|
414
399
|
message: string;
|
|
415
400
|
};
|
|
416
401
|
requestId: string;
|
|
417
402
|
};
|
|
418
403
|
outputFormat: "json";
|
|
419
|
-
status:
|
|
404
|
+
status: 401;
|
|
420
405
|
input: {
|
|
421
406
|
param: {
|
|
422
407
|
orgId: string;
|
|
@@ -441,14 +426,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
441
426
|
} | {
|
|
442
427
|
output: {
|
|
443
428
|
error: {
|
|
444
|
-
code: "
|
|
429
|
+
code: "api_key_forbidden";
|
|
445
430
|
details?: readonly Response.error.Detail[] | undefined;
|
|
446
431
|
message: string;
|
|
447
432
|
};
|
|
448
433
|
requestId: string;
|
|
449
434
|
};
|
|
450
435
|
outputFormat: "json";
|
|
451
|
-
status:
|
|
436
|
+
status: 403;
|
|
452
437
|
input: {
|
|
453
438
|
param: {
|
|
454
439
|
orgId: string;
|
|
@@ -473,14 +458,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
473
458
|
} | {
|
|
474
459
|
output: {
|
|
475
460
|
error: {
|
|
476
|
-
code: "
|
|
461
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
477
462
|
details?: readonly Response.error.Detail[] | undefined;
|
|
478
463
|
message: string;
|
|
479
464
|
};
|
|
480
465
|
requestId: string;
|
|
481
466
|
};
|
|
482
467
|
outputFormat: "json";
|
|
483
|
-
status:
|
|
468
|
+
status: 429;
|
|
484
469
|
input: {
|
|
485
470
|
param: {
|
|
486
471
|
orgId: string;
|
|
@@ -505,14 +490,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
505
490
|
} | {
|
|
506
491
|
output: {
|
|
507
492
|
error: {
|
|
508
|
-
code: "
|
|
493
|
+
code: "query_invalid";
|
|
509
494
|
details?: readonly Response.error.Detail[] | undefined;
|
|
510
495
|
message: string;
|
|
511
496
|
};
|
|
512
497
|
requestId: string;
|
|
513
498
|
};
|
|
514
499
|
outputFormat: "json";
|
|
515
|
-
status:
|
|
500
|
+
status: 400;
|
|
516
501
|
input: {
|
|
517
502
|
param: {
|
|
518
503
|
orgId: string;
|
|
@@ -600,38 +585,7 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
600
585
|
};
|
|
601
586
|
} | {
|
|
602
587
|
output: {
|
|
603
|
-
|
|
604
|
-
code: "billing_unconfigured";
|
|
605
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
606
|
-
message: string;
|
|
607
|
-
};
|
|
608
|
-
requestId: string;
|
|
609
|
-
};
|
|
610
|
-
outputFormat: "json";
|
|
611
|
-
status: 501;
|
|
612
|
-
input: {
|
|
613
|
-
param: {
|
|
614
|
-
orgId: string;
|
|
615
|
-
};
|
|
616
|
-
} & {
|
|
617
|
-
query?: {
|
|
618
|
-
environment?: string | string[];
|
|
619
|
-
} | undefined;
|
|
620
|
-
} & {
|
|
621
|
-
json: {
|
|
622
|
-
spendLimit?: {
|
|
623
|
-
amount: string;
|
|
624
|
-
currency?: "usd" | undefined;
|
|
625
|
-
period?: "month" | undefined;
|
|
626
|
-
} | null | undefined;
|
|
627
|
-
txFeeLimit?: {
|
|
628
|
-
amount: string;
|
|
629
|
-
currency?: "usd" | undefined;
|
|
630
|
-
} | null | undefined;
|
|
631
|
-
};
|
|
632
|
-
};
|
|
633
|
-
} | {
|
|
634
|
-
output: {
|
|
588
|
+
enabledSources: ("stripe" | "tempo")[];
|
|
635
589
|
spend?: {
|
|
636
590
|
amount: string;
|
|
637
591
|
currency: "usd";
|
|
@@ -711,14 +665,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
711
665
|
$post: {
|
|
712
666
|
output: {
|
|
713
667
|
error: {
|
|
714
|
-
code: "
|
|
668
|
+
code: "upstream_error";
|
|
715
669
|
details?: readonly Response.error.Detail[] | undefined;
|
|
716
670
|
message: string;
|
|
717
671
|
};
|
|
718
672
|
requestId: string;
|
|
719
673
|
};
|
|
720
674
|
outputFormat: "json";
|
|
721
|
-
status:
|
|
675
|
+
status: 502;
|
|
722
676
|
input: {
|
|
723
677
|
param: {
|
|
724
678
|
orgId: string;
|
|
@@ -731,14 +685,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
731
685
|
} | {
|
|
732
686
|
output: {
|
|
733
687
|
error: {
|
|
734
|
-
code: "
|
|
688
|
+
code: "api_key_malformed";
|
|
735
689
|
details?: readonly Response.error.Detail[] | undefined;
|
|
736
690
|
message: string;
|
|
737
691
|
};
|
|
738
692
|
requestId: string;
|
|
739
693
|
};
|
|
740
694
|
outputFormat: "json";
|
|
741
|
-
status:
|
|
695
|
+
status: 400;
|
|
742
696
|
input: {
|
|
743
697
|
param: {
|
|
744
698
|
orgId: string;
|
|
@@ -751,14 +705,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
751
705
|
} | {
|
|
752
706
|
output: {
|
|
753
707
|
error: {
|
|
754
|
-
code: "
|
|
708
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
755
709
|
details?: readonly Response.error.Detail[] | undefined;
|
|
756
710
|
message: string;
|
|
757
711
|
};
|
|
758
712
|
requestId: string;
|
|
759
713
|
};
|
|
760
714
|
outputFormat: "json";
|
|
761
|
-
status:
|
|
715
|
+
status: 401;
|
|
762
716
|
input: {
|
|
763
717
|
param: {
|
|
764
718
|
orgId: string;
|
|
@@ -771,14 +725,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
771
725
|
} | {
|
|
772
726
|
output: {
|
|
773
727
|
error: {
|
|
774
|
-
code: "
|
|
728
|
+
code: "api_key_forbidden";
|
|
775
729
|
details?: readonly Response.error.Detail[] | undefined;
|
|
776
730
|
message: string;
|
|
777
731
|
};
|
|
778
732
|
requestId: string;
|
|
779
733
|
};
|
|
780
734
|
outputFormat: "json";
|
|
781
|
-
status:
|
|
735
|
+
status: 403;
|
|
782
736
|
input: {
|
|
783
737
|
param: {
|
|
784
738
|
orgId: string;
|
|
@@ -791,14 +745,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
791
745
|
} | {
|
|
792
746
|
output: {
|
|
793
747
|
error: {
|
|
794
|
-
code: "
|
|
748
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
795
749
|
details?: readonly Response.error.Detail[] | undefined;
|
|
796
750
|
message: string;
|
|
797
751
|
};
|
|
798
752
|
requestId: string;
|
|
799
753
|
};
|
|
800
754
|
outputFormat: "json";
|
|
801
|
-
status:
|
|
755
|
+
status: 429;
|
|
802
756
|
input: {
|
|
803
757
|
param: {
|
|
804
758
|
orgId: string;
|
|
@@ -811,14 +765,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
811
765
|
} | {
|
|
812
766
|
output: {
|
|
813
767
|
error: {
|
|
814
|
-
code: "
|
|
768
|
+
code: "query_invalid";
|
|
815
769
|
details?: readonly Response.error.Detail[] | undefined;
|
|
816
770
|
message: string;
|
|
817
771
|
};
|
|
818
772
|
requestId: string;
|
|
819
773
|
};
|
|
820
774
|
outputFormat: "json";
|
|
821
|
-
status:
|
|
775
|
+
status: 400;
|
|
822
776
|
input: {
|
|
823
777
|
param: {
|
|
824
778
|
orgId: string;
|
|
@@ -871,14 +825,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
871
825
|
} | {
|
|
872
826
|
output: {
|
|
873
827
|
error: {
|
|
874
|
-
code: "
|
|
828
|
+
code: "forbidden";
|
|
875
829
|
details?: readonly Response.error.Detail[] | undefined;
|
|
876
830
|
message: string;
|
|
877
831
|
};
|
|
878
832
|
requestId: string;
|
|
879
833
|
};
|
|
880
834
|
outputFormat: "json";
|
|
881
|
-
status:
|
|
835
|
+
status: 403;
|
|
882
836
|
input: {
|
|
883
837
|
param: {
|
|
884
838
|
orgId: string;
|
|
@@ -891,7 +845,7 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
891
845
|
} | {
|
|
892
846
|
output: {
|
|
893
847
|
error: {
|
|
894
|
-
code: "
|
|
848
|
+
code: "billing_source_disabled";
|
|
895
849
|
details?: readonly Response.error.Detail[] | undefined;
|
|
896
850
|
message: string;
|
|
897
851
|
};
|
|
@@ -911,14 +865,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
911
865
|
} | {
|
|
912
866
|
output: {
|
|
913
867
|
error: {
|
|
914
|
-
code: "
|
|
868
|
+
code: "billing_unconfigured";
|
|
915
869
|
details?: readonly Response.error.Detail[] | undefined;
|
|
916
870
|
message: string;
|
|
917
871
|
};
|
|
918
872
|
requestId: string;
|
|
919
873
|
};
|
|
920
874
|
outputFormat: "json";
|
|
921
|
-
status:
|
|
875
|
+
status: 501;
|
|
922
876
|
input: {
|
|
923
877
|
param: {
|
|
924
878
|
orgId: string;
|
|
@@ -950,14 +904,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
950
904
|
$post: {
|
|
951
905
|
output: {
|
|
952
906
|
error: {
|
|
953
|
-
code: "
|
|
907
|
+
code: "upstream_error";
|
|
954
908
|
details?: readonly Response.error.Detail[] | undefined;
|
|
955
909
|
message: string;
|
|
956
910
|
};
|
|
957
911
|
requestId: string;
|
|
958
912
|
};
|
|
959
913
|
outputFormat: "json";
|
|
960
|
-
status:
|
|
914
|
+
status: 502;
|
|
961
915
|
input: {
|
|
962
916
|
param: {
|
|
963
917
|
orgId: string;
|
|
@@ -970,14 +924,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
970
924
|
} | {
|
|
971
925
|
output: {
|
|
972
926
|
error: {
|
|
973
|
-
code: "
|
|
927
|
+
code: "api_key_malformed";
|
|
974
928
|
details?: readonly Response.error.Detail[] | undefined;
|
|
975
929
|
message: string;
|
|
976
930
|
};
|
|
977
931
|
requestId: string;
|
|
978
932
|
};
|
|
979
933
|
outputFormat: "json";
|
|
980
|
-
status:
|
|
934
|
+
status: 400;
|
|
981
935
|
input: {
|
|
982
936
|
param: {
|
|
983
937
|
orgId: string;
|
|
@@ -990,14 +944,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
990
944
|
} | {
|
|
991
945
|
output: {
|
|
992
946
|
error: {
|
|
993
|
-
code: "
|
|
947
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
994
948
|
details?: readonly Response.error.Detail[] | undefined;
|
|
995
949
|
message: string;
|
|
996
950
|
};
|
|
997
951
|
requestId: string;
|
|
998
952
|
};
|
|
999
953
|
outputFormat: "json";
|
|
1000
|
-
status:
|
|
954
|
+
status: 401;
|
|
1001
955
|
input: {
|
|
1002
956
|
param: {
|
|
1003
957
|
orgId: string;
|
|
@@ -1010,14 +964,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1010
964
|
} | {
|
|
1011
965
|
output: {
|
|
1012
966
|
error: {
|
|
1013
|
-
code: "
|
|
967
|
+
code: "api_key_forbidden";
|
|
1014
968
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1015
969
|
message: string;
|
|
1016
970
|
};
|
|
1017
971
|
requestId: string;
|
|
1018
972
|
};
|
|
1019
973
|
outputFormat: "json";
|
|
1020
|
-
status:
|
|
974
|
+
status: 403;
|
|
1021
975
|
input: {
|
|
1022
976
|
param: {
|
|
1023
977
|
orgId: string;
|
|
@@ -1030,14 +984,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1030
984
|
} | {
|
|
1031
985
|
output: {
|
|
1032
986
|
error: {
|
|
1033
|
-
code: "
|
|
987
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1034
988
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1035
989
|
message: string;
|
|
1036
990
|
};
|
|
1037
991
|
requestId: string;
|
|
1038
992
|
};
|
|
1039
993
|
outputFormat: "json";
|
|
1040
|
-
status:
|
|
994
|
+
status: 429;
|
|
1041
995
|
input: {
|
|
1042
996
|
param: {
|
|
1043
997
|
orgId: string;
|
|
@@ -1050,14 +1004,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1050
1004
|
} | {
|
|
1051
1005
|
output: {
|
|
1052
1006
|
error: {
|
|
1053
|
-
code: "
|
|
1007
|
+
code: "query_invalid";
|
|
1054
1008
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1055
1009
|
message: string;
|
|
1056
1010
|
};
|
|
1057
1011
|
requestId: string;
|
|
1058
1012
|
};
|
|
1059
1013
|
outputFormat: "json";
|
|
1060
|
-
status:
|
|
1014
|
+
status: 400;
|
|
1061
1015
|
input: {
|
|
1062
1016
|
param: {
|
|
1063
1017
|
orgId: string;
|
|
@@ -1169,14 +1123,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1169
1123
|
$get: {
|
|
1170
1124
|
output: {
|
|
1171
1125
|
error: {
|
|
1172
|
-
code: "
|
|
1126
|
+
code: "upstream_error";
|
|
1173
1127
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1174
1128
|
message: string;
|
|
1175
1129
|
};
|
|
1176
1130
|
requestId: string;
|
|
1177
1131
|
};
|
|
1178
1132
|
outputFormat: "json";
|
|
1179
|
-
status:
|
|
1133
|
+
status: 502;
|
|
1180
1134
|
input: {
|
|
1181
1135
|
param: {
|
|
1182
1136
|
orgId: string;
|
|
@@ -1189,14 +1143,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1189
1143
|
} | {
|
|
1190
1144
|
output: {
|
|
1191
1145
|
error: {
|
|
1192
|
-
code: "
|
|
1146
|
+
code: "api_key_malformed";
|
|
1193
1147
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1194
1148
|
message: string;
|
|
1195
1149
|
};
|
|
1196
1150
|
requestId: string;
|
|
1197
1151
|
};
|
|
1198
1152
|
outputFormat: "json";
|
|
1199
|
-
status:
|
|
1153
|
+
status: 400;
|
|
1200
1154
|
input: {
|
|
1201
1155
|
param: {
|
|
1202
1156
|
orgId: string;
|
|
@@ -1209,14 +1163,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1209
1163
|
} | {
|
|
1210
1164
|
output: {
|
|
1211
1165
|
error: {
|
|
1212
|
-
code: "
|
|
1166
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1213
1167
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1214
1168
|
message: string;
|
|
1215
1169
|
};
|
|
1216
1170
|
requestId: string;
|
|
1217
1171
|
};
|
|
1218
1172
|
outputFormat: "json";
|
|
1219
|
-
status:
|
|
1173
|
+
status: 401;
|
|
1220
1174
|
input: {
|
|
1221
1175
|
param: {
|
|
1222
1176
|
orgId: string;
|
|
@@ -1229,14 +1183,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1229
1183
|
} | {
|
|
1230
1184
|
output: {
|
|
1231
1185
|
error: {
|
|
1232
|
-
code: "
|
|
1186
|
+
code: "api_key_forbidden";
|
|
1233
1187
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1234
1188
|
message: string;
|
|
1235
1189
|
};
|
|
1236
1190
|
requestId: string;
|
|
1237
1191
|
};
|
|
1238
1192
|
outputFormat: "json";
|
|
1239
|
-
status:
|
|
1193
|
+
status: 403;
|
|
1240
1194
|
input: {
|
|
1241
1195
|
param: {
|
|
1242
1196
|
orgId: string;
|
|
@@ -1249,14 +1203,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1249
1203
|
} | {
|
|
1250
1204
|
output: {
|
|
1251
1205
|
error: {
|
|
1252
|
-
code: "
|
|
1206
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1253
1207
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1254
1208
|
message: string;
|
|
1255
1209
|
};
|
|
1256
1210
|
requestId: string;
|
|
1257
1211
|
};
|
|
1258
1212
|
outputFormat: "json";
|
|
1259
|
-
status:
|
|
1213
|
+
status: 429;
|
|
1260
1214
|
input: {
|
|
1261
1215
|
param: {
|
|
1262
1216
|
orgId: string;
|
|
@@ -1269,14 +1223,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1269
1223
|
} | {
|
|
1270
1224
|
output: {
|
|
1271
1225
|
error: {
|
|
1272
|
-
code: "
|
|
1226
|
+
code: "query_invalid";
|
|
1273
1227
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1274
1228
|
message: string;
|
|
1275
1229
|
};
|
|
1276
1230
|
requestId: string;
|
|
1277
1231
|
};
|
|
1278
1232
|
outputFormat: "json";
|
|
1279
|
-
status:
|
|
1233
|
+
status: 400;
|
|
1280
1234
|
input: {
|
|
1281
1235
|
param: {
|
|
1282
1236
|
orgId: string;
|
|
@@ -1380,14 +1334,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1380
1334
|
$delete: {
|
|
1381
1335
|
output: {
|
|
1382
1336
|
error: {
|
|
1383
|
-
code: "
|
|
1337
|
+
code: "upstream_error";
|
|
1384
1338
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1385
1339
|
message: string;
|
|
1386
1340
|
};
|
|
1387
1341
|
requestId: string;
|
|
1388
1342
|
};
|
|
1389
1343
|
outputFormat: "json";
|
|
1390
|
-
status:
|
|
1344
|
+
status: 502;
|
|
1391
1345
|
input: {
|
|
1392
1346
|
param: {
|
|
1393
1347
|
methodId: string;
|
|
@@ -1401,14 +1355,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1401
1355
|
} | {
|
|
1402
1356
|
output: {
|
|
1403
1357
|
error: {
|
|
1404
|
-
code: "
|
|
1358
|
+
code: "api_key_malformed";
|
|
1405
1359
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1406
1360
|
message: string;
|
|
1407
1361
|
};
|
|
1408
1362
|
requestId: string;
|
|
1409
1363
|
};
|
|
1410
1364
|
outputFormat: "json";
|
|
1411
|
-
status:
|
|
1365
|
+
status: 400;
|
|
1412
1366
|
input: {
|
|
1413
1367
|
param: {
|
|
1414
1368
|
methodId: string;
|
|
@@ -1422,14 +1376,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1422
1376
|
} | {
|
|
1423
1377
|
output: {
|
|
1424
1378
|
error: {
|
|
1425
|
-
code: "
|
|
1379
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1426
1380
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1427
1381
|
message: string;
|
|
1428
1382
|
};
|
|
1429
1383
|
requestId: string;
|
|
1430
1384
|
};
|
|
1431
1385
|
outputFormat: "json";
|
|
1432
|
-
status:
|
|
1386
|
+
status: 401;
|
|
1433
1387
|
input: {
|
|
1434
1388
|
param: {
|
|
1435
1389
|
methodId: string;
|
|
@@ -1443,14 +1397,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1443
1397
|
} | {
|
|
1444
1398
|
output: {
|
|
1445
1399
|
error: {
|
|
1446
|
-
code: "
|
|
1400
|
+
code: "api_key_forbidden";
|
|
1447
1401
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1448
1402
|
message: string;
|
|
1449
1403
|
};
|
|
1450
1404
|
requestId: string;
|
|
1451
1405
|
};
|
|
1452
1406
|
outputFormat: "json";
|
|
1453
|
-
status:
|
|
1407
|
+
status: 403;
|
|
1454
1408
|
input: {
|
|
1455
1409
|
param: {
|
|
1456
1410
|
methodId: string;
|
|
@@ -1464,14 +1418,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1464
1418
|
} | {
|
|
1465
1419
|
output: {
|
|
1466
1420
|
error: {
|
|
1467
|
-
code: "
|
|
1421
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1468
1422
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1469
1423
|
message: string;
|
|
1470
1424
|
};
|
|
1471
1425
|
requestId: string;
|
|
1472
1426
|
};
|
|
1473
1427
|
outputFormat: "json";
|
|
1474
|
-
status:
|
|
1428
|
+
status: 429;
|
|
1475
1429
|
input: {
|
|
1476
1430
|
param: {
|
|
1477
1431
|
methodId: string;
|
|
@@ -1485,14 +1439,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1485
1439
|
} | {
|
|
1486
1440
|
output: {
|
|
1487
1441
|
error: {
|
|
1488
|
-
code: "
|
|
1442
|
+
code: "query_invalid";
|
|
1489
1443
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1490
1444
|
message: string;
|
|
1491
1445
|
};
|
|
1492
1446
|
requestId: string;
|
|
1493
1447
|
};
|
|
1494
1448
|
outputFormat: "json";
|
|
1495
|
-
status:
|
|
1449
|
+
status: 400;
|
|
1496
1450
|
input: {
|
|
1497
1451
|
param: {
|
|
1498
1452
|
methodId: string;
|
|
@@ -1547,27 +1501,7 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1547
1501
|
};
|
|
1548
1502
|
} | {
|
|
1549
1503
|
output: {
|
|
1550
|
-
|
|
1551
|
-
code: "billing_unconfigured";
|
|
1552
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1553
|
-
message: string;
|
|
1554
|
-
};
|
|
1555
|
-
requestId: string;
|
|
1556
|
-
};
|
|
1557
|
-
outputFormat: "json";
|
|
1558
|
-
status: 501;
|
|
1559
|
-
input: {
|
|
1560
|
-
param: {
|
|
1561
|
-
methodId: string;
|
|
1562
|
-
orgId: string;
|
|
1563
|
-
};
|
|
1564
|
-
} & {
|
|
1565
|
-
query?: {
|
|
1566
|
-
environment?: string | string[];
|
|
1567
|
-
} | undefined;
|
|
1568
|
-
};
|
|
1569
|
-
} | {
|
|
1570
|
-
output: {
|
|
1504
|
+
enabledSources: ("stripe" | "tempo")[];
|
|
1571
1505
|
spend?: {
|
|
1572
1506
|
amount: string;
|
|
1573
1507
|
currency: "usd";
|
|
@@ -1597,6 +1531,27 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
|
|
|
1597
1531
|
environment?: string | string[];
|
|
1598
1532
|
} | undefined;
|
|
1599
1533
|
};
|
|
1534
|
+
} | {
|
|
1535
|
+
output: {
|
|
1536
|
+
error: {
|
|
1537
|
+
code: "billing_unconfigured";
|
|
1538
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1539
|
+
message: string;
|
|
1540
|
+
};
|
|
1541
|
+
requestId: string;
|
|
1542
|
+
};
|
|
1543
|
+
outputFormat: "json";
|
|
1544
|
+
status: 501;
|
|
1545
|
+
input: {
|
|
1546
|
+
param: {
|
|
1547
|
+
methodId: string;
|
|
1548
|
+
orgId: string;
|
|
1549
|
+
};
|
|
1550
|
+
} & {
|
|
1551
|
+
query?: {
|
|
1552
|
+
environment?: string | string[];
|
|
1553
|
+
} | undefined;
|
|
1554
|
+
};
|
|
1600
1555
|
} | {
|
|
1601
1556
|
output: {
|
|
1602
1557
|
error: {
|