tapimo 0.5.0 → 0.5.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/dist/App.d.ts +4854 -4829
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +20 -2
- package/dist/App.js.map +1 -1
- package/dist/Assets.js +3 -3
- package/dist/Assets.js.map +1 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +1 -2
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +1 -1
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +5 -10
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +6 -34
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +3 -3
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +4 -1
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/scopes.d.ts +6 -34
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/scopes.js +2 -2
- package/dist/admin/apps/scopes.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +2 -2
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +33 -33
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/data/App.d.ts +1398 -1405
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +25 -38
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts +108 -3
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.js +409 -2
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +245 -245
- package/dist/apps/data/routes/blocks.d.ts +123 -123
- package/dist/apps/data/routes/funding.d.ts +236 -146
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +23 -12
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts.map +1 -1
- package/dist/apps/data/routes/indexer.js +9 -2
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/tokenlist.d.ts +36 -36
- package/dist/apps/data/routes/transactions.d.ts +281 -281
- package/dist/apps/data/routes/transfers.d.ts +66 -73
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +21 -27
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
- package/dist/apps/data/routes/webhooks.d.ts +35 -35
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +176 -42
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/management/App.d.ts +520 -504
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +5 -4
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +120 -120
- package/dist/apps/management/routes/billing.d.ts +211 -211
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +1 -1
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +72 -72
- package/dist/apps/management/routes/invite-links.d.ts +159 -159
- package/dist/apps/management/routes/me.d.ts +17 -17
- package/dist/apps/management/routes/members.d.ts +80 -80
- package/dist/apps/management/routes/orgs.d.ts +59 -43
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +18 -1
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +109 -109
- package/dist/apps/management/routes/scopes.d.ts +11 -11
- package/dist/apps/management/routes/usage.d.ts +79 -79
- package/dist/apps/mcp.js +2 -2
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/relay/App.d.ts +2 -2
- package/dist/apps/relay/App.js +2 -2
- package/dist/apps/relay/Sponsorships.d.ts +3 -0
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +15 -1
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +4 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.js +1 -1
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +6 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +26 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/requestUsage.d.ts +2 -11
- package/dist/db/tables/requestUsage.d.ts.map +1 -1
- package/dist/db/tables/requestUsage.js +1 -20
- package/dist/db/tables/requestUsage.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +2 -1
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +52 -10
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/internal/Auth.d.ts +4 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +15 -8
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +9 -1
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +12 -3
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/FundingQuotes.d.ts +176 -56
- package/dist/internal/FundingQuotes.d.ts.map +1 -1
- package/dist/internal/FundingQuotes.js +100 -5
- package/dist/internal/FundingQuotes.js.map +1 -1
- package/dist/internal/Log.d.ts +18 -12
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +2 -0
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/RateLimit.d.ts +2 -0
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +4 -4
- package/dist/internal/RateLimit.js.map +1 -1
- package/dist/internal/Tidx.d.ts +9 -3
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +13 -7
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Viem.d.ts +14 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +19 -1
- package/dist/internal/Viem.js.map +1 -1
- package/package.json +7 -2
- package/src/ApiKeys.test.ts +2 -0
- package/src/App.test.ts +15 -4
- package/src/App.ts +31 -5
- package/src/Assets.ts +3 -3
- package/src/Client.test-d.ts +30 -3
- package/src/Scope.ts +4 -2
- package/src/Webhooks.ts +5 -10
- package/src/admin/apps/api-keys.test.ts +27 -0
- package/src/admin/apps/api-keys.ts +8 -1
- package/src/admin/apps/scopes.test.ts +7 -2
- package/src/admin/apps/scopes.ts +2 -2
- package/src/admin/ui/src/components/Dialog.tsx +8 -2
- package/src/admin/ui/src/lib/scopes.test.ts +19 -0
- package/src/admin/ui/src/lib/scopes.ts +12 -0
- package/src/admin/ui/src/routes/api-keys.tsx +128 -27
- package/src/admin/ui.generated.ts +33 -33
- package/src/apps/composition.test.ts +77 -0
- package/src/apps/data/App.ts +25 -45
- package/src/apps/data/FundingQuoteProviders.test.ts +615 -5
- package/src/apps/data/FundingQuoteProviders.ts +570 -4
- package/src/apps/data/routes/funding.test.ts +181 -7
- package/src/apps/data/routes/funding.ts +27 -12
- package/src/apps/data/routes/indexer.test.ts +82 -20
- package/src/apps/data/routes/indexer.ts +8 -2
- package/src/apps/data/routes/tokens.test.ts +54 -0
- package/src/apps/data/routes/transfers.test.ts +73 -1
- package/src/apps/data/routes/transfers.ts +24 -30
- package/src/apps/data/routes/webhooks.test.ts +203 -0
- package/src/apps/data/routes/webhooks.ts +191 -54
- package/src/apps/management/Billing.test.ts +52 -3
- package/src/apps/management/Billing.ts +5 -4
- package/src/apps/management/routes/billing.ts +6 -1
- package/src/apps/management/routes/orgs.ts +19 -1
- package/src/apps/mcp.test.ts +18 -0
- package/src/apps/mcp.ts +2 -2
- package/src/apps/relay/App.test.ts +6 -5
- package/src/apps/relay/App.ts +2 -2
- package/src/apps/relay/Sponsorships.test.ts +2 -2
- package/src/apps/relay/Sponsorships.ts +24 -1
- package/src/db/Db.test.ts +5 -5
- package/src/db/Db.ts +4 -0
- package/src/db/Schema.ts +1 -1
- package/src/db/tables/billingSettings.test.ts +2 -2
- package/src/db/tables/organizations.test.ts +32 -2
- package/src/db/tables/organizations.ts +28 -0
- package/src/db/tables/requestUsage.ts +3 -23
- package/src/db/tables/sponsoredTransactions.test.ts +60 -2
- package/src/db/tables/sponsoredTransactions.ts +67 -21
- package/src/db/tables/stripeCustomers.test.ts +2 -2
- package/src/internal/Auth.test.ts +63 -10
- package/src/internal/Auth.ts +21 -9
- package/src/internal/Cache.test.ts +19 -0
- package/src/internal/Cache.ts +13 -1
- package/src/internal/EdgeCache.test.ts +40 -0
- package/src/internal/EdgeCache.ts +11 -3
- package/src/internal/FundingQuotes.test.ts +130 -3
- package/src/internal/FundingQuotes.ts +113 -6
- package/src/internal/Log.ts +21 -14
- package/src/internal/RateLimit.test.ts +12 -0
- package/src/internal/RateLimit.ts +4 -4
- package/src/internal/Tidx.test.ts +48 -0
- package/src/internal/Tidx.ts +21 -7
- package/src/internal/Viem.test.ts +46 -0
- package/src/internal/Viem.ts +34 -1
|
@@ -118,15 +118,23 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
118
118
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links": {
|
|
119
119
|
$post: {
|
|
120
120
|
output: {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
121
|
+
createdAt: string;
|
|
122
|
+
createdBy: string;
|
|
123
|
+
enabled: boolean;
|
|
124
|
+
expiresAt: string | null;
|
|
125
|
+
id: string;
|
|
126
|
+
lastUsedAt: string | null;
|
|
127
|
+
maxUses: number | null;
|
|
128
|
+
name: string;
|
|
129
|
+
orgId: string;
|
|
130
|
+
role: "member";
|
|
131
|
+
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
132
|
+
token: string;
|
|
133
|
+
updatedAt: string;
|
|
134
|
+
useCount: number;
|
|
127
135
|
};
|
|
128
136
|
outputFormat: "json";
|
|
129
|
-
status:
|
|
137
|
+
status: 200;
|
|
130
138
|
input: {
|
|
131
139
|
param: {
|
|
132
140
|
orgId: string;
|
|
@@ -165,14 +173,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
165
173
|
} | {
|
|
166
174
|
output: {
|
|
167
175
|
error: {
|
|
168
|
-
code: "
|
|
176
|
+
code: "body_invalid";
|
|
169
177
|
details?: readonly Response.error.Detail[] | undefined;
|
|
170
178
|
message: string;
|
|
171
179
|
};
|
|
172
180
|
requestId: string;
|
|
173
181
|
};
|
|
174
182
|
outputFormat: "json";
|
|
175
|
-
status:
|
|
183
|
+
status: 400;
|
|
176
184
|
input: {
|
|
177
185
|
param: {
|
|
178
186
|
orgId: string;
|
|
@@ -188,14 +196,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
188
196
|
} | {
|
|
189
197
|
output: {
|
|
190
198
|
error: {
|
|
191
|
-
code: "
|
|
199
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
192
200
|
details?: readonly Response.error.Detail[] | undefined;
|
|
193
201
|
message: string;
|
|
194
202
|
};
|
|
195
203
|
requestId: string;
|
|
196
204
|
};
|
|
197
205
|
outputFormat: "json";
|
|
198
|
-
status:
|
|
206
|
+
status: 401;
|
|
199
207
|
input: {
|
|
200
208
|
param: {
|
|
201
209
|
orgId: string;
|
|
@@ -234,14 +242,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
234
242
|
} | {
|
|
235
243
|
output: {
|
|
236
244
|
error: {
|
|
237
|
-
code: "
|
|
245
|
+
code: "organization_not_found";
|
|
238
246
|
details?: readonly Response.error.Detail[] | undefined;
|
|
239
247
|
message: string;
|
|
240
248
|
};
|
|
241
249
|
requestId: string;
|
|
242
250
|
};
|
|
243
251
|
outputFormat: "json";
|
|
244
|
-
status:
|
|
252
|
+
status: 404;
|
|
245
253
|
input: {
|
|
246
254
|
param: {
|
|
247
255
|
orgId: string;
|
|
@@ -256,23 +264,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
256
264
|
};
|
|
257
265
|
} | {
|
|
258
266
|
output: {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
maxUses: number | null;
|
|
266
|
-
name: string;
|
|
267
|
-
orgId: string;
|
|
268
|
-
role: "member";
|
|
269
|
-
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
270
|
-
token: string;
|
|
271
|
-
updatedAt: string;
|
|
272
|
-
useCount: number;
|
|
267
|
+
error: {
|
|
268
|
+
code: "upstream_error";
|
|
269
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
270
|
+
message: string;
|
|
271
|
+
};
|
|
272
|
+
requestId: string;
|
|
273
273
|
};
|
|
274
274
|
outputFormat: "json";
|
|
275
|
-
status:
|
|
275
|
+
status: 502;
|
|
276
276
|
input: {
|
|
277
277
|
param: {
|
|
278
278
|
orgId: string;
|
|
@@ -291,15 +291,25 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
291
291
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links": {
|
|
292
292
|
$get: {
|
|
293
293
|
output: {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
294
|
+
data: {
|
|
295
|
+
createdAt: string;
|
|
296
|
+
createdBy: string;
|
|
297
|
+
enabled: boolean;
|
|
298
|
+
expiresAt: string | null;
|
|
299
|
+
id: string;
|
|
300
|
+
lastUsedAt: string | null;
|
|
301
|
+
maxUses: number | null;
|
|
302
|
+
name: string;
|
|
303
|
+
orgId: string;
|
|
304
|
+
role: "member";
|
|
305
|
+
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
306
|
+
token: string;
|
|
307
|
+
updatedAt: string;
|
|
308
|
+
useCount: number;
|
|
309
|
+
}[];
|
|
300
310
|
};
|
|
301
311
|
outputFormat: "json";
|
|
302
|
-
status:
|
|
312
|
+
status: 200;
|
|
303
313
|
input: {
|
|
304
314
|
param: {
|
|
305
315
|
orgId: string;
|
|
@@ -324,14 +334,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
324
334
|
} | {
|
|
325
335
|
output: {
|
|
326
336
|
error: {
|
|
327
|
-
code: "
|
|
337
|
+
code: "param_invalid";
|
|
328
338
|
details?: readonly Response.error.Detail[] | undefined;
|
|
329
339
|
message: string;
|
|
330
340
|
};
|
|
331
341
|
requestId: string;
|
|
332
342
|
};
|
|
333
343
|
outputFormat: "json";
|
|
334
|
-
status:
|
|
344
|
+
status: 400;
|
|
335
345
|
input: {
|
|
336
346
|
param: {
|
|
337
347
|
orgId: string;
|
|
@@ -340,14 +350,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
340
350
|
} | {
|
|
341
351
|
output: {
|
|
342
352
|
error: {
|
|
343
|
-
code: "
|
|
353
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
344
354
|
details?: readonly Response.error.Detail[] | undefined;
|
|
345
355
|
message: string;
|
|
346
356
|
};
|
|
347
357
|
requestId: string;
|
|
348
358
|
};
|
|
349
359
|
outputFormat: "json";
|
|
350
|
-
status:
|
|
360
|
+
status: 401;
|
|
351
361
|
input: {
|
|
352
362
|
param: {
|
|
353
363
|
orgId: string;
|
|
@@ -372,14 +382,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
372
382
|
} | {
|
|
373
383
|
output: {
|
|
374
384
|
error: {
|
|
375
|
-
code: "
|
|
385
|
+
code: "organization_not_found";
|
|
376
386
|
details?: readonly Response.error.Detail[] | undefined;
|
|
377
387
|
message: string;
|
|
378
388
|
};
|
|
379
389
|
requestId: string;
|
|
380
390
|
};
|
|
381
391
|
outputFormat: "json";
|
|
382
|
-
status:
|
|
392
|
+
status: 404;
|
|
383
393
|
input: {
|
|
384
394
|
param: {
|
|
385
395
|
orgId: string;
|
|
@@ -387,25 +397,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
387
397
|
};
|
|
388
398
|
} | {
|
|
389
399
|
output: {
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
lastUsedAt: string | null;
|
|
397
|
-
maxUses: number | null;
|
|
398
|
-
name: string;
|
|
399
|
-
orgId: string;
|
|
400
|
-
role: "member";
|
|
401
|
-
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
402
|
-
token: string;
|
|
403
|
-
updatedAt: string;
|
|
404
|
-
useCount: number;
|
|
405
|
-
}[];
|
|
400
|
+
error: {
|
|
401
|
+
code: "upstream_error";
|
|
402
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
403
|
+
message: string;
|
|
404
|
+
};
|
|
405
|
+
requestId: string;
|
|
406
406
|
};
|
|
407
407
|
outputFormat: "json";
|
|
408
|
-
status:
|
|
408
|
+
status: 502;
|
|
409
409
|
input: {
|
|
410
410
|
param: {
|
|
411
411
|
orgId: string;
|
|
@@ -417,15 +417,23 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
417
417
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}": {
|
|
418
418
|
$patch: {
|
|
419
419
|
output: {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
420
|
+
createdAt: string;
|
|
421
|
+
createdBy: string;
|
|
422
|
+
enabled: boolean;
|
|
423
|
+
expiresAt: string | null;
|
|
424
|
+
id: string;
|
|
425
|
+
lastUsedAt: string | null;
|
|
426
|
+
maxUses: number | null;
|
|
427
|
+
name: string;
|
|
428
|
+
orgId: string;
|
|
429
|
+
role: "member";
|
|
430
|
+
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
431
|
+
token: string;
|
|
432
|
+
updatedAt: string;
|
|
433
|
+
useCount: number;
|
|
426
434
|
};
|
|
427
435
|
outputFormat: "json";
|
|
428
|
-
status:
|
|
436
|
+
status: 200;
|
|
429
437
|
input: {
|
|
430
438
|
param: {
|
|
431
439
|
inviteLinkId: string;
|
|
@@ -460,14 +468,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
460
468
|
} | {
|
|
461
469
|
output: {
|
|
462
470
|
error: {
|
|
463
|
-
code: "
|
|
471
|
+
code: "body_invalid";
|
|
464
472
|
details?: readonly Response.error.Detail[] | undefined;
|
|
465
473
|
message: string;
|
|
466
474
|
};
|
|
467
475
|
requestId: string;
|
|
468
476
|
};
|
|
469
477
|
outputFormat: "json";
|
|
470
|
-
status:
|
|
478
|
+
status: 400;
|
|
471
479
|
input: {
|
|
472
480
|
param: {
|
|
473
481
|
inviteLinkId: string;
|
|
@@ -481,14 +489,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
481
489
|
} | {
|
|
482
490
|
output: {
|
|
483
491
|
error: {
|
|
484
|
-
code: "
|
|
492
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
485
493
|
details?: readonly Response.error.Detail[] | undefined;
|
|
486
494
|
message: string;
|
|
487
495
|
};
|
|
488
496
|
requestId: string;
|
|
489
497
|
};
|
|
490
498
|
outputFormat: "json";
|
|
491
|
-
status:
|
|
499
|
+
status: 401;
|
|
492
500
|
input: {
|
|
493
501
|
param: {
|
|
494
502
|
inviteLinkId: string;
|
|
@@ -523,14 +531,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
523
531
|
} | {
|
|
524
532
|
output: {
|
|
525
533
|
error: {
|
|
526
|
-
code: "
|
|
534
|
+
code: "organization_not_found";
|
|
527
535
|
details?: readonly Response.error.Detail[] | undefined;
|
|
528
536
|
message: string;
|
|
529
537
|
};
|
|
530
538
|
requestId: string;
|
|
531
539
|
};
|
|
532
540
|
outputFormat: "json";
|
|
533
|
-
status:
|
|
541
|
+
status: 404;
|
|
534
542
|
input: {
|
|
535
543
|
param: {
|
|
536
544
|
inviteLinkId: string;
|
|
@@ -543,23 +551,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
543
551
|
};
|
|
544
552
|
} | {
|
|
545
553
|
output: {
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
maxUses: number | null;
|
|
553
|
-
name: string;
|
|
554
|
-
orgId: string;
|
|
555
|
-
role: "member";
|
|
556
|
-
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
557
|
-
token: string;
|
|
558
|
-
updatedAt: string;
|
|
559
|
-
useCount: number;
|
|
554
|
+
error: {
|
|
555
|
+
code: "invite_link_not_found";
|
|
556
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
557
|
+
message: string;
|
|
558
|
+
};
|
|
559
|
+
requestId: string;
|
|
560
560
|
};
|
|
561
561
|
outputFormat: "json";
|
|
562
|
-
status:
|
|
562
|
+
status: 404;
|
|
563
563
|
input: {
|
|
564
564
|
param: {
|
|
565
565
|
inviteLinkId: string;
|
|
@@ -573,14 +573,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
573
573
|
} | {
|
|
574
574
|
output: {
|
|
575
575
|
error: {
|
|
576
|
-
code: "
|
|
576
|
+
code: "upstream_error";
|
|
577
577
|
details?: readonly Response.error.Detail[] | undefined;
|
|
578
578
|
message: string;
|
|
579
579
|
};
|
|
580
580
|
requestId: string;
|
|
581
581
|
};
|
|
582
582
|
outputFormat: "json";
|
|
583
|
-
status:
|
|
583
|
+
status: 502;
|
|
584
584
|
input: {
|
|
585
585
|
param: {
|
|
586
586
|
inviteLinkId: string;
|
|
@@ -597,15 +597,10 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
597
597
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}": {
|
|
598
598
|
$delete: {
|
|
599
599
|
output: {
|
|
600
|
-
|
|
601
|
-
code: "upstream_error";
|
|
602
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
603
|
-
message: string;
|
|
604
|
-
};
|
|
605
|
-
requestId: string;
|
|
600
|
+
id: string;
|
|
606
601
|
};
|
|
607
602
|
outputFormat: "json";
|
|
608
|
-
status:
|
|
603
|
+
status: 200;
|
|
609
604
|
input: {
|
|
610
605
|
param: {
|
|
611
606
|
inviteLinkId: string;
|
|
@@ -632,14 +627,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
632
627
|
} | {
|
|
633
628
|
output: {
|
|
634
629
|
error: {
|
|
635
|
-
code: "
|
|
630
|
+
code: "param_invalid";
|
|
636
631
|
details?: readonly Response.error.Detail[] | undefined;
|
|
637
632
|
message: string;
|
|
638
633
|
};
|
|
639
634
|
requestId: string;
|
|
640
635
|
};
|
|
641
636
|
outputFormat: "json";
|
|
642
|
-
status:
|
|
637
|
+
status: 400;
|
|
643
638
|
input: {
|
|
644
639
|
param: {
|
|
645
640
|
inviteLinkId: string;
|
|
@@ -649,14 +644,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
649
644
|
} | {
|
|
650
645
|
output: {
|
|
651
646
|
error: {
|
|
652
|
-
code: "
|
|
647
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
653
648
|
details?: readonly Response.error.Detail[] | undefined;
|
|
654
649
|
message: string;
|
|
655
650
|
};
|
|
656
651
|
requestId: string;
|
|
657
652
|
};
|
|
658
653
|
outputFormat: "json";
|
|
659
|
-
status:
|
|
654
|
+
status: 401;
|
|
660
655
|
input: {
|
|
661
656
|
param: {
|
|
662
657
|
inviteLinkId: string;
|
|
@@ -683,14 +678,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
683
678
|
} | {
|
|
684
679
|
output: {
|
|
685
680
|
error: {
|
|
686
|
-
code: "
|
|
681
|
+
code: "organization_not_found";
|
|
687
682
|
details?: readonly Response.error.Detail[] | undefined;
|
|
688
683
|
message: string;
|
|
689
684
|
};
|
|
690
685
|
requestId: string;
|
|
691
686
|
};
|
|
692
687
|
outputFormat: "json";
|
|
693
|
-
status:
|
|
688
|
+
status: 404;
|
|
694
689
|
input: {
|
|
695
690
|
param: {
|
|
696
691
|
inviteLinkId: string;
|
|
@@ -716,10 +711,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
716
711
|
};
|
|
717
712
|
} | {
|
|
718
713
|
output: {
|
|
719
|
-
|
|
714
|
+
error: {
|
|
715
|
+
code: "upstream_error";
|
|
716
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
717
|
+
message: string;
|
|
718
|
+
};
|
|
719
|
+
requestId: string;
|
|
720
720
|
};
|
|
721
721
|
outputFormat: "json";
|
|
722
|
-
status:
|
|
722
|
+
status: 502;
|
|
723
723
|
input: {
|
|
724
724
|
param: {
|
|
725
725
|
inviteLinkId: string;
|
|
@@ -732,15 +732,18 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
732
732
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}/redemptions": {
|
|
733
733
|
$get: {
|
|
734
734
|
output: {
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
735
|
+
data: {
|
|
736
|
+
createdAt: string;
|
|
737
|
+
email: string;
|
|
738
|
+
id: string;
|
|
739
|
+
inviteLinkId: string;
|
|
740
|
+
inviteLinkName: string;
|
|
741
|
+
orgId: string;
|
|
742
|
+
userId: string;
|
|
743
|
+
}[];
|
|
741
744
|
};
|
|
742
745
|
outputFormat: "json";
|
|
743
|
-
status:
|
|
746
|
+
status: 200;
|
|
744
747
|
input: {
|
|
745
748
|
param: {
|
|
746
749
|
inviteLinkId: string;
|
|
@@ -767,14 +770,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
767
770
|
} | {
|
|
768
771
|
output: {
|
|
769
772
|
error: {
|
|
770
|
-
code: "
|
|
773
|
+
code: "param_invalid";
|
|
771
774
|
details?: readonly Response.error.Detail[] | undefined;
|
|
772
775
|
message: string;
|
|
773
776
|
};
|
|
774
777
|
requestId: string;
|
|
775
778
|
};
|
|
776
779
|
outputFormat: "json";
|
|
777
|
-
status:
|
|
780
|
+
status: 400;
|
|
778
781
|
input: {
|
|
779
782
|
param: {
|
|
780
783
|
inviteLinkId: string;
|
|
@@ -784,14 +787,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
784
787
|
} | {
|
|
785
788
|
output: {
|
|
786
789
|
error: {
|
|
787
|
-
code: "
|
|
790
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
788
791
|
details?: readonly Response.error.Detail[] | undefined;
|
|
789
792
|
message: string;
|
|
790
793
|
};
|
|
791
794
|
requestId: string;
|
|
792
795
|
};
|
|
793
796
|
outputFormat: "json";
|
|
794
|
-
status:
|
|
797
|
+
status: 401;
|
|
795
798
|
input: {
|
|
796
799
|
param: {
|
|
797
800
|
inviteLinkId: string;
|
|
@@ -818,14 +821,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
818
821
|
} | {
|
|
819
822
|
output: {
|
|
820
823
|
error: {
|
|
821
|
-
code: "
|
|
824
|
+
code: "organization_not_found";
|
|
822
825
|
details?: readonly Response.error.Detail[] | undefined;
|
|
823
826
|
message: string;
|
|
824
827
|
};
|
|
825
828
|
requestId: string;
|
|
826
829
|
};
|
|
827
830
|
outputFormat: "json";
|
|
828
|
-
status:
|
|
831
|
+
status: 404;
|
|
829
832
|
input: {
|
|
830
833
|
param: {
|
|
831
834
|
inviteLinkId: string;
|
|
@@ -851,18 +854,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
851
854
|
};
|
|
852
855
|
} | {
|
|
853
856
|
output: {
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
orgId: string;
|
|
861
|
-
userId: string;
|
|
862
|
-
}[];
|
|
857
|
+
error: {
|
|
858
|
+
code: "upstream_error";
|
|
859
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
860
|
+
message: string;
|
|
861
|
+
};
|
|
862
|
+
requestId: string;
|
|
863
863
|
};
|
|
864
864
|
outputFormat: "json";
|
|
865
|
-
status:
|
|
865
|
+
status: 502;
|
|
866
866
|
input: {
|
|
867
867
|
param: {
|
|
868
868
|
inviteLinkId: string;
|
|
@@ -875,15 +875,11 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
875
875
|
"/v1/invite-links/resolve": {
|
|
876
876
|
$post: {
|
|
877
877
|
output: {
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
881
|
-
message: string;
|
|
882
|
-
};
|
|
883
|
-
requestId: string;
|
|
878
|
+
orgName: string;
|
|
879
|
+
role: "member";
|
|
884
880
|
};
|
|
885
881
|
outputFormat: "json";
|
|
886
|
-
status:
|
|
882
|
+
status: 200;
|
|
887
883
|
input: {
|
|
888
884
|
json: {
|
|
889
885
|
token: string;
|
|
@@ -908,14 +904,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
908
904
|
} | {
|
|
909
905
|
output: {
|
|
910
906
|
error: {
|
|
911
|
-
code: "
|
|
907
|
+
code: "body_invalid";
|
|
912
908
|
details?: readonly Response.error.Detail[] | undefined;
|
|
913
909
|
message: string;
|
|
914
910
|
};
|
|
915
911
|
requestId: string;
|
|
916
912
|
};
|
|
917
913
|
outputFormat: "json";
|
|
918
|
-
status:
|
|
914
|
+
status: 400;
|
|
919
915
|
input: {
|
|
920
916
|
json: {
|
|
921
917
|
token: string;
|
|
@@ -924,14 +920,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
924
920
|
} | {
|
|
925
921
|
output: {
|
|
926
922
|
error: {
|
|
927
|
-
code: "
|
|
923
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
928
924
|
details?: readonly Response.error.Detail[] | undefined;
|
|
929
925
|
message: string;
|
|
930
926
|
};
|
|
931
927
|
requestId: string;
|
|
932
928
|
};
|
|
933
929
|
outputFormat: "json";
|
|
934
|
-
status:
|
|
930
|
+
status: 401;
|
|
935
931
|
input: {
|
|
936
932
|
json: {
|
|
937
933
|
token: string;
|
|
@@ -940,14 +936,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
940
936
|
} | {
|
|
941
937
|
output: {
|
|
942
938
|
error: {
|
|
943
|
-
code: "
|
|
939
|
+
code: "forbidden";
|
|
944
940
|
details?: readonly Response.error.Detail[] | undefined;
|
|
945
941
|
message: string;
|
|
946
942
|
};
|
|
947
943
|
requestId: string;
|
|
948
944
|
};
|
|
949
945
|
outputFormat: "json";
|
|
950
|
-
status:
|
|
946
|
+
status: 403;
|
|
951
947
|
input: {
|
|
952
948
|
json: {
|
|
953
949
|
token: string;
|
|
@@ -971,11 +967,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
971
967
|
};
|
|
972
968
|
} | {
|
|
973
969
|
output: {
|
|
974
|
-
|
|
975
|
-
|
|
970
|
+
error: {
|
|
971
|
+
code: "upstream_error";
|
|
972
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
973
|
+
message: string;
|
|
974
|
+
};
|
|
975
|
+
requestId: string;
|
|
976
976
|
};
|
|
977
977
|
outputFormat: "json";
|
|
978
|
-
status:
|
|
978
|
+
status: 502;
|
|
979
979
|
input: {
|
|
980
980
|
json: {
|
|
981
981
|
token: string;
|
|
@@ -987,15 +987,12 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
987
987
|
"/v1/invite-links/accept": {
|
|
988
988
|
$post: {
|
|
989
989
|
output: {
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
message: string;
|
|
994
|
-
};
|
|
995
|
-
requestId: string;
|
|
990
|
+
orgId: string;
|
|
991
|
+
role: "member";
|
|
992
|
+
userId: string;
|
|
996
993
|
};
|
|
997
994
|
outputFormat: "json";
|
|
998
|
-
status:
|
|
995
|
+
status: 200;
|
|
999
996
|
input: {
|
|
1000
997
|
json: {
|
|
1001
998
|
token: string;
|
|
@@ -1020,14 +1017,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1020
1017
|
} | {
|
|
1021
1018
|
output: {
|
|
1022
1019
|
error: {
|
|
1023
|
-
code: "
|
|
1020
|
+
code: "body_invalid";
|
|
1024
1021
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1025
1022
|
message: string;
|
|
1026
1023
|
};
|
|
1027
1024
|
requestId: string;
|
|
1028
1025
|
};
|
|
1029
1026
|
outputFormat: "json";
|
|
1030
|
-
status:
|
|
1027
|
+
status: 400;
|
|
1031
1028
|
input: {
|
|
1032
1029
|
json: {
|
|
1033
1030
|
token: string;
|
|
@@ -1036,14 +1033,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1036
1033
|
} | {
|
|
1037
1034
|
output: {
|
|
1038
1035
|
error: {
|
|
1039
|
-
code: "
|
|
1036
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1040
1037
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1041
1038
|
message: string;
|
|
1042
1039
|
};
|
|
1043
1040
|
requestId: string;
|
|
1044
1041
|
};
|
|
1045
1042
|
outputFormat: "json";
|
|
1046
|
-
status:
|
|
1043
|
+
status: 401;
|
|
1047
1044
|
input: {
|
|
1048
1045
|
json: {
|
|
1049
1046
|
token: string;
|
|
@@ -1052,14 +1049,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1052
1049
|
} | {
|
|
1053
1050
|
output: {
|
|
1054
1051
|
error: {
|
|
1055
|
-
code: "
|
|
1052
|
+
code: "forbidden";
|
|
1056
1053
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1057
1054
|
message: string;
|
|
1058
1055
|
};
|
|
1059
1056
|
requestId: string;
|
|
1060
1057
|
};
|
|
1061
1058
|
outputFormat: "json";
|
|
1062
|
-
status:
|
|
1059
|
+
status: 403;
|
|
1063
1060
|
input: {
|
|
1064
1061
|
json: {
|
|
1065
1062
|
token: string;
|
|
@@ -1083,12 +1080,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1083
1080
|
};
|
|
1084
1081
|
} | {
|
|
1085
1082
|
output: {
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1083
|
+
error: {
|
|
1084
|
+
code: "upstream_error";
|
|
1085
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1086
|
+
message: string;
|
|
1087
|
+
};
|
|
1088
|
+
requestId: string;
|
|
1089
1089
|
};
|
|
1090
1090
|
outputFormat: "json";
|
|
1091
|
-
status:
|
|
1091
|
+
status: 502;
|
|
1092
1092
|
input: {
|
|
1093
1093
|
json: {
|
|
1094
1094
|
token: string;
|