tapimo 0.7.2 → 0.9.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/README.md +10 -7
- package/dist/ApiKey.d.ts +3 -0
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +10 -0
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +7 -3
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +9 -2
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +20117 -19183
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +61 -4
- package/dist/App.js.map +1 -1
- package/dist/admin/App.d.ts +84 -74
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +14 -1
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +6 -2
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +2 -0
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +11 -11
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +67 -67
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts +2 -0
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +3 -0
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/apps/data/App.d.ts +11696 -13937
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +4 -8
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +271 -271
- package/dist/apps/data/routes/addresses.d.ts +398 -167
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +278 -8
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +114 -2
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +123 -123
- package/dist/apps/data/routes/coingecko.d.ts +170 -170
- package/dist/apps/data/routes/earn.d.ts +498 -6
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +876 -4
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts +10 -10
- package/dist/apps/data/routes/fee-amm.d.ts +2 -2
- package/dist/apps/data/routes/indexer.d.ts +6 -6
- package/dist/apps/data/routes/indexer.js +4 -1
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts +235 -235
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/rpc.js +4 -1
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +36 -36
- package/dist/apps/data/routes/tokens.d.ts +449 -449
- package/dist/apps/data/routes/transactions.d.ts +2 -2
- package/dist/apps/data/routes/transfers.d.ts +81 -81
- package/dist/apps/data/routes/valuation.d.ts +1 -1
- package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
- package/dist/apps/data/routes/webhooks.d.ts +9 -9
- package/dist/apps/data/routes/zones.d.ts +14 -14
- package/dist/apps/funding/Access.d.ts +16 -0
- package/dist/apps/funding/Access.d.ts.map +1 -0
- package/dist/apps/funding/Access.js +22 -0
- package/dist/apps/funding/Access.js.map +1 -0
- package/dist/apps/{data/routes/funding.d.ts → funding/App.d.ts} +1640 -3217
- package/dist/apps/funding/App.d.ts.map +1 -0
- package/dist/apps/funding/App.js +61 -0
- package/dist/apps/funding/App.js.map +1 -0
- package/dist/apps/funding/Inventory.d.ts +5 -0
- package/dist/apps/funding/Inventory.d.ts.map +1 -0
- package/dist/apps/funding/Inventory.js +25 -0
- package/dist/apps/funding/Inventory.js.map +1 -0
- package/dist/apps/funding/ProviderAttempts.d.ts +5 -0
- package/dist/apps/funding/ProviderAttempts.d.ts.map +1 -0
- package/dist/apps/funding/ProviderAttempts.js +24 -0
- package/dist/apps/funding/ProviderAttempts.js.map +1 -0
- package/dist/apps/funding/index.d.ts +2 -0
- package/dist/apps/funding/index.d.ts.map +1 -0
- package/dist/apps/funding/index.js +2 -0
- package/dist/apps/funding/index.js.map +1 -0
- package/dist/apps/funding/routes/chains.d.ts +169 -0
- package/dist/apps/funding/routes/chains.d.ts.map +1 -0
- package/dist/apps/funding/routes/chains.js +80 -0
- package/dist/apps/funding/routes/chains.js.map +1 -0
- package/dist/apps/funding/routes/deposit-addresses.d.ts +1997 -0
- package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -0
- package/dist/apps/funding/routes/deposit-addresses.js +778 -0
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -0
- package/dist/apps/funding/routes/providers.d.ts +91 -0
- package/dist/apps/funding/routes/providers.d.ts.map +1 -0
- package/dist/apps/funding/routes/providers.js +56 -0
- package/dist/apps/funding/routes/providers.js.map +1 -0
- package/dist/apps/funding/routes/quotes.d.ts +426 -0
- package/dist/apps/funding/routes/quotes.d.ts.map +1 -0
- package/dist/apps/funding/routes/quotes.js +188 -0
- package/dist/apps/funding/routes/quotes.js.map +1 -0
- package/dist/apps/funding/routes/transfers.d.ts +1999 -0
- package/dist/apps/funding/routes/transfers.d.ts.map +1 -0
- package/dist/apps/funding/routes/transfers.js +614 -0
- package/dist/apps/funding/routes/transfers.js.map +1 -0
- 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 +430 -165
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +298 -21
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +75 -1
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +6 -6
- package/dist/apps/management/routes/faucet.d.ts +35 -35
- package/dist/apps/management/routes/invitations.d.ts +122 -122
- package/dist/apps/management/routes/invite-links.d.ts +38 -38
- package/dist/apps/management/routes/members.d.ts +69 -69
- package/dist/apps/management/routes/orgs.d.ts +99 -99
- package/dist/apps/management/routes/projects.d.ts +25 -25
- package/dist/apps/management/routes/scopes.d.ts +1 -1
- package/dist/apps/management/routes/usage.d.ts +72 -72
- package/dist/apps/management/routes/verified-token-requests.d.ts +77 -77
- package/dist/apps/management/routes/webhooks.d.ts +128 -128
- package/dist/apps/mcp.d.ts +2 -3
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +16 -14
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/metadata.d.ts +4 -0
- package/dist/apps/metadata.d.ts.map +1 -1
- package/dist/apps/metadata.js +10 -0
- package/dist/apps/metadata.js.map +1 -1
- package/dist/apps/mpp/App.d.ts +44 -44
- package/dist/cloudflare.d.ts +50 -0
- package/dist/cloudflare.d.ts.map +1 -1
- package/dist/cloudflare.js +178 -0
- package/dist/cloudflare.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 +45 -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 +20 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/fundingDepositAddresses.d.ts +13 -0
- package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -1
- package/dist/db/tables/fundingDepositAddresses.js +12 -0
- package/dist/db/tables/fundingDepositAddresses.js.map +1 -1
- package/dist/db/tables/fundingDepositRequestObservations.d.ts +45 -0
- package/dist/db/tables/fundingDepositRequestObservations.d.ts.map +1 -0
- package/dist/db/tables/fundingDepositRequestObservations.js +46 -0
- package/dist/db/tables/fundingDepositRequestObservations.js.map +1 -0
- package/dist/db/tables/fundingDeposits.d.ts +74 -1
- package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
- package/dist/db/tables/fundingDeposits.js +126 -0
- package/dist/db/tables/fundingDeposits.js.map +1 -1
- package/dist/internal/Auth.d.ts +15 -11
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +52 -17
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cache.js +1 -1
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts +2 -2
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +10 -4
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/IpAllowlist.d.ts +15 -0
- package/dist/internal/IpAllowlist.d.ts.map +1 -0
- package/dist/internal/IpAllowlist.js +27 -0
- package/dist/internal/IpAllowlist.js.map +1 -0
- package/dist/internal/OpenApi.d.ts +1 -1
- package/dist/internal/OpenApi.js +1 -1
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/Tidx.d.ts +6 -0
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +13 -3
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Viem.d.ts +8 -0
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +12 -5
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/funding/Deposit.d.ts +42 -0
- package/dist/internal/funding/Deposit.d.ts.map +1 -1
- package/dist/internal/funding/Deposit.js +37 -5
- package/dist/internal/funding/Deposit.js.map +1 -1
- package/dist/internal/funding/Evidence.d.ts +1 -5
- package/dist/internal/funding/Evidence.d.ts.map +1 -1
- package/dist/internal/funding/Evidence.js +4 -3
- package/dist/internal/funding/Evidence.js.map +1 -1
- package/dist/internal/funding/Provider.d.ts +102 -0
- package/dist/internal/funding/Provider.d.ts.map +1 -1
- package/dist/internal/funding/Provider.js +5 -0
- package/dist/internal/funding/Provider.js.map +1 -1
- package/dist/internal/funding/Reconciliation.d.ts +16 -2
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +348 -54
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/SourceObservation.d.ts +108 -0
- package/dist/internal/funding/SourceObservation.d.ts.map +1 -0
- package/dist/internal/funding/SourceObservation.js +143 -0
- package/dist/internal/funding/SourceObservation.js.map +1 -0
- package/dist/internal/funding/Subsidy.d.ts +2 -2
- package/dist/internal/funding/Subsidy.d.ts.map +1 -1
- package/dist/internal/funding/Subsidy.js +1 -1
- package/dist/internal/funding/Subsidy.js.map +1 -1
- package/dist/internal/funding/index.d.ts +1 -0
- package/dist/internal/funding/index.d.ts.map +1 -1
- package/dist/internal/funding/index.js +1 -0
- package/dist/internal/funding/index.js.map +1 -1
- package/dist/internal/funding/providers/relay.d.ts +43 -1
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +438 -27
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/package.json +3 -3
- package/src/ApiKey.test.ts +35 -0
- package/src/ApiKey.ts +27 -0
- package/src/ApiKeys.test.ts +29 -0
- package/src/ApiKeys.ts +11 -3
- package/src/App.test.ts +55 -5
- package/src/App.ts +79 -5
- package/src/Client.test-d.ts +203 -28
- package/src/admin/apps/api-keys.test.ts +25 -1
- package/src/admin/apps/api-keys.ts +6 -2
- package/src/admin/ui.generated.ts +67 -67
- package/src/analytics/Analytics.ts +4 -0
- package/src/apps/composition.test.ts +130 -3
- package/src/apps/data/App.test.ts +0 -12
- package/src/apps/data/App.ts +4 -8
- package/src/apps/data/routes/balances.test.ts +42 -0
- package/src/apps/data/routes/balances.ts +218 -85
- package/src/apps/data/routes/earn.test.ts +363 -0
- package/src/apps/data/routes/earn.ts +1141 -3
- package/src/apps/data/routes/indexer.ts +2 -1
- package/src/apps/data/routes/rpc.ts +2 -0
- package/src/apps/data/routes/tokens.test.ts +6 -8
- package/src/apps/funding/Access.ts +26 -0
- package/src/apps/funding/App.test.ts +78 -0
- package/src/apps/funding/App.ts +78 -0
- package/src/apps/funding/Inventory.ts +30 -0
- package/src/apps/funding/ProviderAttempts.ts +26 -0
- package/src/apps/funding/index.ts +1 -0
- package/src/apps/funding/routes/chains.test.ts +78 -0
- package/src/apps/funding/routes/chains.ts +101 -0
- package/src/apps/funding/routes/deposit-addresses.test.ts +1649 -0
- package/src/apps/funding/routes/deposit-addresses.ts +932 -0
- package/src/apps/funding/routes/providers.test.ts +165 -0
- package/src/apps/funding/routes/providers.ts +73 -0
- package/src/apps/funding/routes/quotes.test.ts +511 -0
- package/src/apps/funding/routes/quotes.ts +205 -0
- package/src/apps/funding/routes/transfers.test.ts +1236 -0
- package/src/apps/funding/routes/transfers.ts +704 -0
- package/src/apps/index.ts +1 -0
- package/src/apps/management/routes/api-keys.test.ts +98 -0
- package/src/apps/management/routes/api-keys.ts +96 -1
- package/src/apps/mcp.test.ts +17 -2
- package/src/apps/mcp.ts +18 -13
- package/src/apps/metadata.ts +12 -0
- package/src/apps/mpp/internal/Policy.test.ts +7 -1
- package/src/cloudflare.ts +279 -0
- package/src/db/Db.ts +71 -0
- package/src/db/Schema.ts +24 -0
- package/src/db/tables/fundingDepositAddresses.ts +28 -0
- package/src/db/tables/fundingDepositRequestObservations.test.ts +106 -0
- package/src/db/tables/fundingDepositRequestObservations.ts +99 -0
- package/src/db/tables/fundingDeposits.test.ts +239 -0
- package/src/db/tables/fundingDeposits.ts +214 -1
- package/src/internal/Auth.test.ts +205 -5
- package/src/internal/Auth.ts +63 -19
- package/src/internal/Cache.test.ts +37 -3
- package/src/internal/Cache.ts +1 -1
- package/src/internal/EdgeCache.test.ts +7 -7
- package/src/internal/EdgeCache.ts +13 -4
- package/src/internal/IpAllowlist.test.ts +52 -0
- package/src/internal/IpAllowlist.ts +39 -0
- package/src/internal/Log.test.ts +7 -1
- package/src/internal/OpenApi.ts +1 -1
- package/src/internal/Tidx.test.ts +28 -0
- package/src/internal/Tidx.ts +19 -3
- package/src/internal/Viem.test.ts +28 -0
- package/src/internal/Viem.ts +21 -5
- package/src/internal/funding/Deposit.ts +74 -5
- package/src/internal/funding/Evidence.test.ts +2 -2
- package/src/internal/funding/Evidence.ts +4 -9
- package/src/internal/funding/Provider.ts +115 -0
- package/src/internal/funding/Reconciliation.local.test.ts +7 -0
- package/src/internal/funding/Reconciliation.test.ts +1364 -109
- package/src/internal/funding/Reconciliation.ts +467 -88
- package/src/internal/funding/SourceObservation.test.ts +301 -0
- package/src/internal/funding/SourceObservation.ts +267 -0
- package/src/internal/funding/Subsidy.ts +2 -2
- package/src/internal/funding/index.test.ts +1 -0
- package/src/internal/funding/index.ts +1 -0
- package/src/internal/funding/providers/relay.test.ts +94 -4
- package/src/internal/funding/providers/relay.ts +533 -27
- package/dist/apps/data/routes/funding.d.ts.map +0 -1
- package/dist/apps/data/routes/funding.js +0 -1557
- package/dist/apps/data/routes/funding.js.map +0 -1
- package/src/apps/data/routes/funding.test.ts +0 -2994
- package/src/apps/data/routes/funding.ts +0 -1821
|
@@ -130,15 +130,16 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
130
130
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invitations": {
|
|
131
131
|
$post: {
|
|
132
132
|
output: {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
133
|
+
createdAt: string;
|
|
134
|
+
email: string;
|
|
135
|
+
expiresAt: string;
|
|
136
|
+
id: string;
|
|
137
|
+
invitedBy: string;
|
|
138
|
+
orgId: string;
|
|
139
|
+
role: "admin" | "member" | "owner";
|
|
139
140
|
};
|
|
140
141
|
outputFormat: "json";
|
|
141
|
-
status:
|
|
142
|
+
status: 200;
|
|
142
143
|
input: {
|
|
143
144
|
param: {
|
|
144
145
|
orgId: string;
|
|
@@ -173,14 +174,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
173
174
|
} | {
|
|
174
175
|
output: {
|
|
175
176
|
error: {
|
|
176
|
-
code: "
|
|
177
|
+
code: "body_invalid";
|
|
177
178
|
details?: readonly Response.error.Detail[] | undefined;
|
|
178
179
|
message: string;
|
|
179
180
|
};
|
|
180
181
|
requestId: string;
|
|
181
182
|
};
|
|
182
183
|
outputFormat: "json";
|
|
183
|
-
status:
|
|
184
|
+
status: 400;
|
|
184
185
|
input: {
|
|
185
186
|
param: {
|
|
186
187
|
orgId: string;
|
|
@@ -194,14 +195,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
194
195
|
} | {
|
|
195
196
|
output: {
|
|
196
197
|
error: {
|
|
197
|
-
code: "
|
|
198
|
+
code: "param_invalid";
|
|
198
199
|
details?: readonly Response.error.Detail[] | undefined;
|
|
199
200
|
message: string;
|
|
200
201
|
};
|
|
201
202
|
requestId: string;
|
|
202
203
|
};
|
|
203
204
|
outputFormat: "json";
|
|
204
|
-
status:
|
|
205
|
+
status: 400;
|
|
205
206
|
input: {
|
|
206
207
|
param: {
|
|
207
208
|
orgId: string;
|
|
@@ -215,14 +216,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
215
216
|
} | {
|
|
216
217
|
output: {
|
|
217
218
|
error: {
|
|
218
|
-
code: "
|
|
219
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
219
220
|
details?: readonly Response.error.Detail[] | undefined;
|
|
220
221
|
message: string;
|
|
221
222
|
};
|
|
222
223
|
requestId: string;
|
|
223
224
|
};
|
|
224
225
|
outputFormat: "json";
|
|
225
|
-
status:
|
|
226
|
+
status: 401;
|
|
226
227
|
input: {
|
|
227
228
|
param: {
|
|
228
229
|
orgId: string;
|
|
@@ -236,14 +237,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
236
237
|
} | {
|
|
237
238
|
output: {
|
|
238
239
|
error: {
|
|
239
|
-
code: "
|
|
240
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
240
241
|
details?: readonly Response.error.Detail[] | undefined;
|
|
241
242
|
message: string;
|
|
242
243
|
};
|
|
243
244
|
requestId: string;
|
|
244
245
|
};
|
|
245
246
|
outputFormat: "json";
|
|
246
|
-
status:
|
|
247
|
+
status: 403;
|
|
247
248
|
input: {
|
|
248
249
|
param: {
|
|
249
250
|
orgId: string;
|
|
@@ -257,14 +258,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
257
258
|
} | {
|
|
258
259
|
output: {
|
|
259
260
|
error: {
|
|
260
|
-
code: "
|
|
261
|
+
code: "forbidden";
|
|
261
262
|
details?: readonly Response.error.Detail[] | undefined;
|
|
262
263
|
message: string;
|
|
263
264
|
};
|
|
264
265
|
requestId: string;
|
|
265
266
|
};
|
|
266
267
|
outputFormat: "json";
|
|
267
|
-
status:
|
|
268
|
+
status: 403;
|
|
268
269
|
input: {
|
|
269
270
|
param: {
|
|
270
271
|
orgId: string;
|
|
@@ -278,14 +279,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
278
279
|
} | {
|
|
279
280
|
output: {
|
|
280
281
|
error: {
|
|
281
|
-
code: "
|
|
282
|
+
code: "organization_not_found";
|
|
282
283
|
details?: readonly Response.error.Detail[] | undefined;
|
|
283
284
|
message: string;
|
|
284
285
|
};
|
|
285
286
|
requestId: string;
|
|
286
287
|
};
|
|
287
288
|
outputFormat: "json";
|
|
288
|
-
status:
|
|
289
|
+
status: 404;
|
|
289
290
|
input: {
|
|
290
291
|
param: {
|
|
291
292
|
orgId: string;
|
|
@@ -299,14 +300,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
299
300
|
} | {
|
|
300
301
|
output: {
|
|
301
302
|
error: {
|
|
302
|
-
code: "
|
|
303
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
303
304
|
details?: readonly Response.error.Detail[] | undefined;
|
|
304
305
|
message: string;
|
|
305
306
|
};
|
|
306
307
|
requestId: string;
|
|
307
308
|
};
|
|
308
309
|
outputFormat: "json";
|
|
309
|
-
status:
|
|
310
|
+
status: 429;
|
|
310
311
|
input: {
|
|
311
312
|
param: {
|
|
312
313
|
orgId: string;
|
|
@@ -319,16 +320,15 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
319
320
|
};
|
|
320
321
|
} | {
|
|
321
322
|
output: {
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
role: "admin" | "member" | "owner";
|
|
323
|
+
error: {
|
|
324
|
+
code: "upstream_error";
|
|
325
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
326
|
+
message: string;
|
|
327
|
+
};
|
|
328
|
+
requestId: string;
|
|
329
329
|
};
|
|
330
330
|
outputFormat: "json";
|
|
331
|
-
status:
|
|
331
|
+
status: 502;
|
|
332
332
|
input: {
|
|
333
333
|
param: {
|
|
334
334
|
orgId: string;
|
|
@@ -345,15 +345,18 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
345
345
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invitations": {
|
|
346
346
|
$get: {
|
|
347
347
|
output: {
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
348
|
+
data: {
|
|
349
|
+
createdAt: string;
|
|
350
|
+
email: string;
|
|
351
|
+
expiresAt: string;
|
|
352
|
+
id: string;
|
|
353
|
+
invitedBy: string;
|
|
354
|
+
orgId: string;
|
|
355
|
+
role: "admin" | "member" | "owner";
|
|
356
|
+
}[];
|
|
354
357
|
};
|
|
355
358
|
outputFormat: "json";
|
|
356
|
-
status:
|
|
359
|
+
status: 200;
|
|
357
360
|
input: {
|
|
358
361
|
param: {
|
|
359
362
|
orgId: string;
|
|
@@ -378,14 +381,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
378
381
|
} | {
|
|
379
382
|
output: {
|
|
380
383
|
error: {
|
|
381
|
-
code: "
|
|
384
|
+
code: "param_invalid";
|
|
382
385
|
details?: readonly Response.error.Detail[] | undefined;
|
|
383
386
|
message: string;
|
|
384
387
|
};
|
|
385
388
|
requestId: string;
|
|
386
389
|
};
|
|
387
390
|
outputFormat: "json";
|
|
388
|
-
status:
|
|
391
|
+
status: 400;
|
|
389
392
|
input: {
|
|
390
393
|
param: {
|
|
391
394
|
orgId: string;
|
|
@@ -394,14 +397,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
394
397
|
} | {
|
|
395
398
|
output: {
|
|
396
399
|
error: {
|
|
397
|
-
code: "
|
|
400
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
398
401
|
details?: readonly Response.error.Detail[] | undefined;
|
|
399
402
|
message: string;
|
|
400
403
|
};
|
|
401
404
|
requestId: string;
|
|
402
405
|
};
|
|
403
406
|
outputFormat: "json";
|
|
404
|
-
status:
|
|
407
|
+
status: 401;
|
|
405
408
|
input: {
|
|
406
409
|
param: {
|
|
407
410
|
orgId: string;
|
|
@@ -410,14 +413,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
410
413
|
} | {
|
|
411
414
|
output: {
|
|
412
415
|
error: {
|
|
413
|
-
code: "
|
|
416
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
414
417
|
details?: readonly Response.error.Detail[] | undefined;
|
|
415
418
|
message: string;
|
|
416
419
|
};
|
|
417
420
|
requestId: string;
|
|
418
421
|
};
|
|
419
422
|
outputFormat: "json";
|
|
420
|
-
status:
|
|
423
|
+
status: 403;
|
|
421
424
|
input: {
|
|
422
425
|
param: {
|
|
423
426
|
orgId: string;
|
|
@@ -426,14 +429,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
426
429
|
} | {
|
|
427
430
|
output: {
|
|
428
431
|
error: {
|
|
429
|
-
code: "
|
|
432
|
+
code: "organization_not_found";
|
|
430
433
|
details?: readonly Response.error.Detail[] | undefined;
|
|
431
434
|
message: string;
|
|
432
435
|
};
|
|
433
436
|
requestId: string;
|
|
434
437
|
};
|
|
435
438
|
outputFormat: "json";
|
|
436
|
-
status:
|
|
439
|
+
status: 404;
|
|
437
440
|
input: {
|
|
438
441
|
param: {
|
|
439
442
|
orgId: string;
|
|
@@ -442,14 +445,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
442
445
|
} | {
|
|
443
446
|
output: {
|
|
444
447
|
error: {
|
|
445
|
-
code: "
|
|
448
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
446
449
|
details?: readonly Response.error.Detail[] | undefined;
|
|
447
450
|
message: string;
|
|
448
451
|
};
|
|
449
452
|
requestId: string;
|
|
450
453
|
};
|
|
451
454
|
outputFormat: "json";
|
|
452
|
-
status:
|
|
455
|
+
status: 429;
|
|
453
456
|
input: {
|
|
454
457
|
param: {
|
|
455
458
|
orgId: string;
|
|
@@ -457,18 +460,15 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
457
460
|
};
|
|
458
461
|
} | {
|
|
459
462
|
output: {
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
orgId: string;
|
|
467
|
-
role: "admin" | "member" | "owner";
|
|
468
|
-
}[];
|
|
463
|
+
error: {
|
|
464
|
+
code: "upstream_error";
|
|
465
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
466
|
+
message: string;
|
|
467
|
+
};
|
|
468
|
+
requestId: string;
|
|
469
469
|
};
|
|
470
470
|
outputFormat: "json";
|
|
471
|
-
status:
|
|
471
|
+
status: 502;
|
|
472
472
|
input: {
|
|
473
473
|
param: {
|
|
474
474
|
orgId: string;
|
|
@@ -480,15 +480,10 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
480
480
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invitations/:invitationId{inv_[A-Za-z0-9_-]+}": {
|
|
481
481
|
$delete: {
|
|
482
482
|
output: {
|
|
483
|
-
|
|
484
|
-
code: "upstream_error";
|
|
485
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
486
|
-
message: string;
|
|
487
|
-
};
|
|
488
|
-
requestId: string;
|
|
483
|
+
id: string;
|
|
489
484
|
};
|
|
490
485
|
outputFormat: "json";
|
|
491
|
-
status:
|
|
486
|
+
status: 200;
|
|
492
487
|
input: {
|
|
493
488
|
param: {
|
|
494
489
|
invitationId: string;
|
|
@@ -515,14 +510,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
515
510
|
} | {
|
|
516
511
|
output: {
|
|
517
512
|
error: {
|
|
518
|
-
code: "
|
|
513
|
+
code: "param_invalid";
|
|
519
514
|
details?: readonly Response.error.Detail[] | undefined;
|
|
520
515
|
message: string;
|
|
521
516
|
};
|
|
522
517
|
requestId: string;
|
|
523
518
|
};
|
|
524
519
|
outputFormat: "json";
|
|
525
|
-
status:
|
|
520
|
+
status: 400;
|
|
526
521
|
input: {
|
|
527
522
|
param: {
|
|
528
523
|
invitationId: string;
|
|
@@ -532,14 +527,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
532
527
|
} | {
|
|
533
528
|
output: {
|
|
534
529
|
error: {
|
|
535
|
-
code: "
|
|
530
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
536
531
|
details?: readonly Response.error.Detail[] | undefined;
|
|
537
532
|
message: string;
|
|
538
533
|
};
|
|
539
534
|
requestId: string;
|
|
540
535
|
};
|
|
541
536
|
outputFormat: "json";
|
|
542
|
-
status:
|
|
537
|
+
status: 401;
|
|
543
538
|
input: {
|
|
544
539
|
param: {
|
|
545
540
|
invitationId: string;
|
|
@@ -549,14 +544,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
549
544
|
} | {
|
|
550
545
|
output: {
|
|
551
546
|
error: {
|
|
552
|
-
code: "
|
|
547
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
553
548
|
details?: readonly Response.error.Detail[] | undefined;
|
|
554
549
|
message: string;
|
|
555
550
|
};
|
|
556
551
|
requestId: string;
|
|
557
552
|
};
|
|
558
553
|
outputFormat: "json";
|
|
559
|
-
status:
|
|
554
|
+
status: 403;
|
|
560
555
|
input: {
|
|
561
556
|
param: {
|
|
562
557
|
invitationId: string;
|
|
@@ -566,14 +561,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
566
561
|
} | {
|
|
567
562
|
output: {
|
|
568
563
|
error: {
|
|
569
|
-
code: "
|
|
564
|
+
code: "organization_not_found";
|
|
570
565
|
details?: readonly Response.error.Detail[] | undefined;
|
|
571
566
|
message: string;
|
|
572
567
|
};
|
|
573
568
|
requestId: string;
|
|
574
569
|
};
|
|
575
570
|
outputFormat: "json";
|
|
576
|
-
status:
|
|
571
|
+
status: 404;
|
|
577
572
|
input: {
|
|
578
573
|
param: {
|
|
579
574
|
invitationId: string;
|
|
@@ -583,7 +578,7 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
583
578
|
} | {
|
|
584
579
|
output: {
|
|
585
580
|
error: {
|
|
586
|
-
code: "
|
|
581
|
+
code: "invitation_not_found";
|
|
587
582
|
details?: readonly Response.error.Detail[] | undefined;
|
|
588
583
|
message: string;
|
|
589
584
|
};
|
|
@@ -600,14 +595,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
600
595
|
} | {
|
|
601
596
|
output: {
|
|
602
597
|
error: {
|
|
603
|
-
code: "
|
|
598
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
604
599
|
details?: readonly Response.error.Detail[] | undefined;
|
|
605
600
|
message: string;
|
|
606
601
|
};
|
|
607
602
|
requestId: string;
|
|
608
603
|
};
|
|
609
604
|
outputFormat: "json";
|
|
610
|
-
status:
|
|
605
|
+
status: 429;
|
|
611
606
|
input: {
|
|
612
607
|
param: {
|
|
613
608
|
invitationId: string;
|
|
@@ -616,10 +611,15 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
616
611
|
};
|
|
617
612
|
} | {
|
|
618
613
|
output: {
|
|
619
|
-
|
|
614
|
+
error: {
|
|
615
|
+
code: "upstream_error";
|
|
616
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
617
|
+
message: string;
|
|
618
|
+
};
|
|
619
|
+
requestId: string;
|
|
620
620
|
};
|
|
621
621
|
outputFormat: "json";
|
|
622
|
-
status:
|
|
622
|
+
status: 502;
|
|
623
623
|
input: {
|
|
624
624
|
param: {
|
|
625
625
|
invitationId: string;
|
|
@@ -632,15 +632,19 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
632
632
|
"/v1/invitations": {
|
|
633
633
|
$get: {
|
|
634
634
|
output: {
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
635
|
+
data: {
|
|
636
|
+
createdAt: string;
|
|
637
|
+
email: string;
|
|
638
|
+
expiresAt: string;
|
|
639
|
+
id: string;
|
|
640
|
+
invitedBy: string;
|
|
641
|
+
orgId: string;
|
|
642
|
+
role: "admin" | "member" | "owner";
|
|
643
|
+
orgName: string;
|
|
644
|
+
}[];
|
|
641
645
|
};
|
|
642
646
|
outputFormat: "json";
|
|
643
|
-
status:
|
|
647
|
+
status: 200;
|
|
644
648
|
input: {};
|
|
645
649
|
} | {
|
|
646
650
|
output: {
|
|
@@ -680,19 +684,15 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
680
684
|
input: {};
|
|
681
685
|
} | {
|
|
682
686
|
output: {
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
orgId: string;
|
|
690
|
-
role: "admin" | "member" | "owner";
|
|
691
|
-
orgName: string;
|
|
692
|
-
}[];
|
|
687
|
+
error: {
|
|
688
|
+
code: "upstream_error";
|
|
689
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
690
|
+
message: string;
|
|
691
|
+
};
|
|
692
|
+
requestId: string;
|
|
693
693
|
};
|
|
694
694
|
outputFormat: "json";
|
|
695
|
-
status:
|
|
695
|
+
status: 502;
|
|
696
696
|
input: {};
|
|
697
697
|
};
|
|
698
698
|
};
|
|
@@ -700,15 +700,12 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
700
700
|
"/v1/invitations/:invitationId{inv_[A-Za-z0-9_-]+}/accept": {
|
|
701
701
|
$post: {
|
|
702
702
|
output: {
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
message: string;
|
|
707
|
-
};
|
|
708
|
-
requestId: string;
|
|
703
|
+
orgId: string;
|
|
704
|
+
role: "admin" | "member" | "owner";
|
|
705
|
+
userId: string;
|
|
709
706
|
};
|
|
710
707
|
outputFormat: "json";
|
|
711
|
-
status:
|
|
708
|
+
status: 200;
|
|
712
709
|
input: {
|
|
713
710
|
param: {
|
|
714
711
|
invitationId: string;
|
|
@@ -733,14 +730,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
733
730
|
} | {
|
|
734
731
|
output: {
|
|
735
732
|
error: {
|
|
736
|
-
code: "
|
|
733
|
+
code: "param_invalid";
|
|
737
734
|
details?: readonly Response.error.Detail[] | undefined;
|
|
738
735
|
message: string;
|
|
739
736
|
};
|
|
740
737
|
requestId: string;
|
|
741
738
|
};
|
|
742
739
|
outputFormat: "json";
|
|
743
|
-
status:
|
|
740
|
+
status: 400;
|
|
744
741
|
input: {
|
|
745
742
|
param: {
|
|
746
743
|
invitationId: string;
|
|
@@ -749,14 +746,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
749
746
|
} | {
|
|
750
747
|
output: {
|
|
751
748
|
error: {
|
|
752
|
-
code: "
|
|
749
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
753
750
|
details?: readonly Response.error.Detail[] | undefined;
|
|
754
751
|
message: string;
|
|
755
752
|
};
|
|
756
753
|
requestId: string;
|
|
757
754
|
};
|
|
758
755
|
outputFormat: "json";
|
|
759
|
-
status:
|
|
756
|
+
status: 401;
|
|
760
757
|
input: {
|
|
761
758
|
param: {
|
|
762
759
|
invitationId: string;
|
|
@@ -796,12 +793,15 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
796
793
|
};
|
|
797
794
|
} | {
|
|
798
795
|
output: {
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
796
|
+
error: {
|
|
797
|
+
code: "upstream_error";
|
|
798
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
799
|
+
message: string;
|
|
800
|
+
};
|
|
801
|
+
requestId: string;
|
|
802
802
|
};
|
|
803
803
|
outputFormat: "json";
|
|
804
|
-
status:
|
|
804
|
+
status: 502;
|
|
805
805
|
input: {
|
|
806
806
|
param: {
|
|
807
807
|
invitationId: string;
|
|
@@ -813,15 +813,10 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
813
813
|
"/v1/invitations/:invitationId{inv_[A-Za-z0-9_-]+}/decline": {
|
|
814
814
|
$post: {
|
|
815
815
|
output: {
|
|
816
|
-
|
|
817
|
-
code: "upstream_error";
|
|
818
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
819
|
-
message: string;
|
|
820
|
-
};
|
|
821
|
-
requestId: string;
|
|
816
|
+
id: string;
|
|
822
817
|
};
|
|
823
818
|
outputFormat: "json";
|
|
824
|
-
status:
|
|
819
|
+
status: 200;
|
|
825
820
|
input: {
|
|
826
821
|
param: {
|
|
827
822
|
invitationId: string;
|
|
@@ -846,14 +841,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
846
841
|
} | {
|
|
847
842
|
output: {
|
|
848
843
|
error: {
|
|
849
|
-
code: "
|
|
844
|
+
code: "param_invalid";
|
|
850
845
|
details?: readonly Response.error.Detail[] | undefined;
|
|
851
846
|
message: string;
|
|
852
847
|
};
|
|
853
848
|
requestId: string;
|
|
854
849
|
};
|
|
855
850
|
outputFormat: "json";
|
|
856
|
-
status:
|
|
851
|
+
status: 400;
|
|
857
852
|
input: {
|
|
858
853
|
param: {
|
|
859
854
|
invitationId: string;
|
|
@@ -862,14 +857,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
862
857
|
} | {
|
|
863
858
|
output: {
|
|
864
859
|
error: {
|
|
865
|
-
code: "
|
|
860
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
866
861
|
details?: readonly Response.error.Detail[] | undefined;
|
|
867
862
|
message: string;
|
|
868
863
|
};
|
|
869
864
|
requestId: string;
|
|
870
865
|
};
|
|
871
866
|
outputFormat: "json";
|
|
872
|
-
status:
|
|
867
|
+
status: 401;
|
|
873
868
|
input: {
|
|
874
869
|
param: {
|
|
875
870
|
invitationId: string;
|
|
@@ -909,10 +904,15 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
909
904
|
};
|
|
910
905
|
} | {
|
|
911
906
|
output: {
|
|
912
|
-
|
|
907
|
+
error: {
|
|
908
|
+
code: "upstream_error";
|
|
909
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
910
|
+
message: string;
|
|
911
|
+
};
|
|
912
|
+
requestId: string;
|
|
913
913
|
};
|
|
914
914
|
outputFormat: "json";
|
|
915
|
-
status:
|
|
915
|
+
status: 502;
|
|
916
916
|
input: {
|
|
917
917
|
param: {
|
|
918
918
|
invitationId: string;
|