tapimo 0.15.0 → 0.15.1
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 +26 -26
- package/dist/admin/App.d.ts +3 -0
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +41 -41
- package/dist/admin/apps/routes.d.ts +64 -64
- package/dist/admin/apps/verified-tokens.d.ts +161 -155
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +24 -4
- package/dist/admin/apps/verified-tokens.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 +201 -209
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +357 -357
- package/dist/apps/data/routes/blocks.d.ts +125 -125
- package/dist/apps/data/routes/fee-amm.d.ts +108 -108
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +10 -2
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +43 -43
- package/dist/apps/data/routes/receipts.d.ts +235 -235
- package/dist/apps/data/routes/rpc.js +45 -11
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +81 -81
- package/dist/apps/data/routes/valuation.d.ts +32 -32
- package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
- package/dist/apps/data/routes/webhooks.d.ts +1 -1
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +17 -10
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +31 -31
- package/dist/apps/management/App.d.ts +26 -26
- package/dist/apps/management/routes/api-keys.d.ts +246 -246
- package/dist/apps/management/routes/invitations.d.ts +138 -138
- package/dist/apps/management/routes/invite-links.d.ts +168 -168
- package/dist/apps/management/routes/orgs.d.ts +98 -98
- package/dist/apps/management/routes/projects.d.ts +125 -125
- package/dist/apps/management/routes/verified-token-requests.d.ts +95 -95
- package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.js +7 -9
- package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
- package/dist/apps/management/routes/webhooks.d.ts +423 -423
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +16 -3
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/mpp/App.d.ts +44 -44
- package/dist/apps/routes/routes/chains.d.ts +25 -25
- package/dist/apps/routes/routes/quotes.d.ts +87 -87
- package/dist/apps/routes/routes/transfers.d.ts +438 -438
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +5 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/tables/verifiedTokenRequests.d.ts +21 -4
- package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -1
- package/dist/db/tables/verifiedTokenRequests.js +65 -44
- package/dist/db/tables/verifiedTokenRequests.js.map +1 -1
- package/dist/internal/Auth.d.ts +16 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +31 -8
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/routes/providers/relay.d.ts +1 -1
- package/dist/internal/routes/providers/relay.js +1 -1
- package/dist/internal/routes/providers/relay.js.map +1 -1
- package/package.json +1 -1
- package/src/admin/apps/verified-tokens.test.ts +32 -0
- package/src/admin/apps/verified-tokens.ts +30 -4
- package/src/admin/ui/src/lib/verified-tokens.ts +24 -9
- package/src/admin/ui/src/routes/__root.tsx +1 -1
- package/src/admin/ui/src/routes/organizations.tsx +34 -4
- package/src/admin/ui/src/routes/verified-tokens.tsx +64 -20
- package/src/admin/ui.generated.ts +202 -263
- package/src/apps/data/App.test.ts +26 -0
- package/src/apps/data/routes/fee-amm.test.ts +19 -0
- package/src/apps/data/routes/fee-amm.ts +10 -2
- package/src/apps/data/routes/rpc.test.ts +32 -0
- package/src/apps/data/routes/rpc.ts +47 -10
- package/src/apps/data/routes/webhooks.scan.test.ts +29 -0
- package/src/apps/data/routes/webhooks.test.ts +6 -0
- package/src/apps/data/routes/webhooks.ts +25 -12
- package/src/apps/management/routes/verified-token-requests.test.ts +16 -2
- package/src/apps/management/routes/verified-token-requests.ts +7 -10
- package/src/apps/mcp.test.ts +108 -25
- package/src/apps/mcp.ts +15 -3
- package/src/db/Db.ts +9 -0
- package/src/db/tables/routesDeposits.test.ts +72 -0
- package/src/db/tables/verifiedTokenRequests.test.ts +39 -20
- package/src/db/tables/verifiedTokenRequests.ts +80 -44
- package/src/internal/Auth.test.ts +92 -0
- package/src/internal/Auth.ts +51 -9
- package/src/internal/routes/providers/relay.test.ts +59 -0
- package/src/internal/routes/providers/relay.ts +1 -1
|
@@ -121,15 +121,24 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
121
121
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links": {
|
|
122
122
|
$post: {
|
|
123
123
|
output: {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
124
|
+
allowedEmailDomains: readonly string[] | null;
|
|
125
|
+
createdAt: string;
|
|
126
|
+
createdBy: string;
|
|
127
|
+
enabled: boolean;
|
|
128
|
+
expiresAt: string | null;
|
|
129
|
+
id: string;
|
|
130
|
+
lastUsedAt: string | null;
|
|
131
|
+
maxUses: number | null;
|
|
132
|
+
name: string;
|
|
133
|
+
orgId: string;
|
|
134
|
+
role: "member";
|
|
135
|
+
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
136
|
+
token: string;
|
|
137
|
+
updatedAt: string;
|
|
138
|
+
useCount: number;
|
|
130
139
|
};
|
|
131
140
|
outputFormat: "json";
|
|
132
|
-
status:
|
|
141
|
+
status: 200;
|
|
133
142
|
input: {
|
|
134
143
|
param: {
|
|
135
144
|
orgId: string;
|
|
@@ -146,14 +155,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
146
155
|
} | {
|
|
147
156
|
output: {
|
|
148
157
|
error: {
|
|
149
|
-
code: "
|
|
158
|
+
code: "api_key_malformed";
|
|
150
159
|
details?: readonly Response.error.Detail[] | undefined;
|
|
151
160
|
message: string;
|
|
152
161
|
};
|
|
153
162
|
requestId: string;
|
|
154
163
|
};
|
|
155
164
|
outputFormat: "json";
|
|
156
|
-
status:
|
|
165
|
+
status: 400;
|
|
157
166
|
input: {
|
|
158
167
|
param: {
|
|
159
168
|
orgId: string;
|
|
@@ -170,14 +179,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
170
179
|
} | {
|
|
171
180
|
output: {
|
|
172
181
|
error: {
|
|
173
|
-
code: "
|
|
182
|
+
code: "param_invalid";
|
|
174
183
|
details?: readonly Response.error.Detail[] | undefined;
|
|
175
184
|
message: string;
|
|
176
185
|
};
|
|
177
186
|
requestId: string;
|
|
178
187
|
};
|
|
179
188
|
outputFormat: "json";
|
|
180
|
-
status:
|
|
189
|
+
status: 400;
|
|
181
190
|
input: {
|
|
182
191
|
param: {
|
|
183
192
|
orgId: string;
|
|
@@ -194,7 +203,7 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
194
203
|
} | {
|
|
195
204
|
output: {
|
|
196
205
|
error: {
|
|
197
|
-
code: "
|
|
206
|
+
code: "body_invalid";
|
|
198
207
|
details?: readonly Response.error.Detail[] | undefined;
|
|
199
208
|
message: string;
|
|
200
209
|
};
|
|
@@ -218,14 +227,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
218
227
|
} | {
|
|
219
228
|
output: {
|
|
220
229
|
error: {
|
|
221
|
-
code: "
|
|
230
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
222
231
|
details?: readonly Response.error.Detail[] | undefined;
|
|
223
232
|
message: string;
|
|
224
233
|
};
|
|
225
234
|
requestId: string;
|
|
226
235
|
};
|
|
227
236
|
outputFormat: "json";
|
|
228
|
-
status:
|
|
237
|
+
status: 401;
|
|
229
238
|
input: {
|
|
230
239
|
param: {
|
|
231
240
|
orgId: string;
|
|
@@ -289,24 +298,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
289
298
|
};
|
|
290
299
|
} | {
|
|
291
300
|
output: {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
lastUsedAt: string | null;
|
|
299
|
-
maxUses: number | null;
|
|
300
|
-
name: string;
|
|
301
|
-
orgId: string;
|
|
302
|
-
role: "member";
|
|
303
|
-
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
304
|
-
token: string;
|
|
305
|
-
updatedAt: string;
|
|
306
|
-
useCount: number;
|
|
301
|
+
error: {
|
|
302
|
+
code: "upstream_error";
|
|
303
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
304
|
+
message: string;
|
|
305
|
+
};
|
|
306
|
+
requestId: string;
|
|
307
307
|
};
|
|
308
308
|
outputFormat: "json";
|
|
309
|
-
status:
|
|
309
|
+
status: 502;
|
|
310
310
|
input: {
|
|
311
311
|
param: {
|
|
312
312
|
orgId: string;
|
|
@@ -326,15 +326,26 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
326
326
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links": {
|
|
327
327
|
$get: {
|
|
328
328
|
output: {
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
329
|
+
data: {
|
|
330
|
+
allowedEmailDomains: readonly string[] | null;
|
|
331
|
+
createdAt: string;
|
|
332
|
+
createdBy: string;
|
|
333
|
+
enabled: boolean;
|
|
334
|
+
expiresAt: string | null;
|
|
335
|
+
id: string;
|
|
336
|
+
lastUsedAt: string | null;
|
|
337
|
+
maxUses: number | null;
|
|
338
|
+
name: string;
|
|
339
|
+
orgId: string;
|
|
340
|
+
role: "member";
|
|
341
|
+
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
342
|
+
token: string;
|
|
343
|
+
updatedAt: string;
|
|
344
|
+
useCount: number;
|
|
345
|
+
}[];
|
|
335
346
|
};
|
|
336
347
|
outputFormat: "json";
|
|
337
|
-
status:
|
|
348
|
+
status: 200;
|
|
338
349
|
input: {
|
|
339
350
|
param: {
|
|
340
351
|
orgId: string;
|
|
@@ -343,14 +354,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
343
354
|
} | {
|
|
344
355
|
output: {
|
|
345
356
|
error: {
|
|
346
|
-
code: "
|
|
357
|
+
code: "api_key_malformed";
|
|
347
358
|
details?: readonly Response.error.Detail[] | undefined;
|
|
348
359
|
message: string;
|
|
349
360
|
};
|
|
350
361
|
requestId: string;
|
|
351
362
|
};
|
|
352
363
|
outputFormat: "json";
|
|
353
|
-
status:
|
|
364
|
+
status: 400;
|
|
354
365
|
input: {
|
|
355
366
|
param: {
|
|
356
367
|
orgId: string;
|
|
@@ -359,14 +370,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
359
370
|
} | {
|
|
360
371
|
output: {
|
|
361
372
|
error: {
|
|
362
|
-
code: "
|
|
373
|
+
code: "param_invalid";
|
|
363
374
|
details?: readonly Response.error.Detail[] | undefined;
|
|
364
375
|
message: string;
|
|
365
376
|
};
|
|
366
377
|
requestId: string;
|
|
367
378
|
};
|
|
368
379
|
outputFormat: "json";
|
|
369
|
-
status:
|
|
380
|
+
status: 400;
|
|
370
381
|
input: {
|
|
371
382
|
param: {
|
|
372
383
|
orgId: string;
|
|
@@ -375,14 +386,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
375
386
|
} | {
|
|
376
387
|
output: {
|
|
377
388
|
error: {
|
|
378
|
-
code: "
|
|
389
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
379
390
|
details?: readonly Response.error.Detail[] | undefined;
|
|
380
391
|
message: string;
|
|
381
392
|
};
|
|
382
393
|
requestId: string;
|
|
383
394
|
};
|
|
384
395
|
outputFormat: "json";
|
|
385
|
-
status:
|
|
396
|
+
status: 401;
|
|
386
397
|
input: {
|
|
387
398
|
param: {
|
|
388
399
|
orgId: string;
|
|
@@ -422,26 +433,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
422
433
|
};
|
|
423
434
|
} | {
|
|
424
435
|
output: {
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
id: string;
|
|
432
|
-
lastUsedAt: string | null;
|
|
433
|
-
maxUses: number | null;
|
|
434
|
-
name: string;
|
|
435
|
-
orgId: string;
|
|
436
|
-
role: "member";
|
|
437
|
-
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
438
|
-
token: string;
|
|
439
|
-
updatedAt: string;
|
|
440
|
-
useCount: number;
|
|
441
|
-
}[];
|
|
436
|
+
error: {
|
|
437
|
+
code: "upstream_error";
|
|
438
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
439
|
+
message: string;
|
|
440
|
+
};
|
|
441
|
+
requestId: string;
|
|
442
442
|
};
|
|
443
443
|
outputFormat: "json";
|
|
444
|
-
status:
|
|
444
|
+
status: 502;
|
|
445
445
|
input: {
|
|
446
446
|
param: {
|
|
447
447
|
orgId: string;
|
|
@@ -453,15 +453,24 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
453
453
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}": {
|
|
454
454
|
$patch: {
|
|
455
455
|
output: {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
456
|
+
allowedEmailDomains: readonly string[] | null;
|
|
457
|
+
createdAt: string;
|
|
458
|
+
createdBy: string;
|
|
459
|
+
enabled: boolean;
|
|
460
|
+
expiresAt: string | null;
|
|
461
|
+
id: string;
|
|
462
|
+
lastUsedAt: string | null;
|
|
463
|
+
maxUses: number | null;
|
|
464
|
+
name: string;
|
|
465
|
+
orgId: string;
|
|
466
|
+
role: "member";
|
|
467
|
+
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
468
|
+
token: string;
|
|
469
|
+
updatedAt: string;
|
|
470
|
+
useCount: number;
|
|
462
471
|
};
|
|
463
472
|
outputFormat: "json";
|
|
464
|
-
status:
|
|
473
|
+
status: 200;
|
|
465
474
|
input: {
|
|
466
475
|
param: {
|
|
467
476
|
inviteLinkId: string;
|
|
@@ -475,14 +484,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
475
484
|
} | {
|
|
476
485
|
output: {
|
|
477
486
|
error: {
|
|
478
|
-
code: "
|
|
487
|
+
code: "api_key_malformed";
|
|
479
488
|
details?: readonly Response.error.Detail[] | undefined;
|
|
480
489
|
message: string;
|
|
481
490
|
};
|
|
482
491
|
requestId: string;
|
|
483
492
|
};
|
|
484
493
|
outputFormat: "json";
|
|
485
|
-
status:
|
|
494
|
+
status: 400;
|
|
486
495
|
input: {
|
|
487
496
|
param: {
|
|
488
497
|
inviteLinkId: string;
|
|
@@ -496,14 +505,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
496
505
|
} | {
|
|
497
506
|
output: {
|
|
498
507
|
error: {
|
|
499
|
-
code: "
|
|
508
|
+
code: "param_invalid";
|
|
500
509
|
details?: readonly Response.error.Detail[] | undefined;
|
|
501
510
|
message: string;
|
|
502
511
|
};
|
|
503
512
|
requestId: string;
|
|
504
513
|
};
|
|
505
514
|
outputFormat: "json";
|
|
506
|
-
status:
|
|
515
|
+
status: 400;
|
|
507
516
|
input: {
|
|
508
517
|
param: {
|
|
509
518
|
inviteLinkId: string;
|
|
@@ -517,7 +526,7 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
517
526
|
} | {
|
|
518
527
|
output: {
|
|
519
528
|
error: {
|
|
520
|
-
code: "
|
|
529
|
+
code: "body_invalid";
|
|
521
530
|
details?: readonly Response.error.Detail[] | undefined;
|
|
522
531
|
message: string;
|
|
523
532
|
};
|
|
@@ -538,14 +547,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
538
547
|
} | {
|
|
539
548
|
output: {
|
|
540
549
|
error: {
|
|
541
|
-
code: "
|
|
550
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
542
551
|
details?: readonly Response.error.Detail[] | undefined;
|
|
543
552
|
message: string;
|
|
544
553
|
};
|
|
545
554
|
requestId: string;
|
|
546
555
|
};
|
|
547
556
|
outputFormat: "json";
|
|
548
|
-
status:
|
|
557
|
+
status: 401;
|
|
549
558
|
input: {
|
|
550
559
|
param: {
|
|
551
560
|
inviteLinkId: string;
|
|
@@ -600,24 +609,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
600
609
|
};
|
|
601
610
|
} | {
|
|
602
611
|
output: {
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
lastUsedAt: string | null;
|
|
610
|
-
maxUses: number | null;
|
|
611
|
-
name: string;
|
|
612
|
-
orgId: string;
|
|
613
|
-
role: "member";
|
|
614
|
-
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
615
|
-
token: string;
|
|
616
|
-
updatedAt: string;
|
|
617
|
-
useCount: number;
|
|
612
|
+
error: {
|
|
613
|
+
code: "invite_link_not_found";
|
|
614
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
615
|
+
message: string;
|
|
616
|
+
};
|
|
617
|
+
requestId: string;
|
|
618
618
|
};
|
|
619
619
|
outputFormat: "json";
|
|
620
|
-
status:
|
|
620
|
+
status: 404;
|
|
621
621
|
input: {
|
|
622
622
|
param: {
|
|
623
623
|
inviteLinkId: string;
|
|
@@ -631,14 +631,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
631
631
|
} | {
|
|
632
632
|
output: {
|
|
633
633
|
error: {
|
|
634
|
-
code: "
|
|
634
|
+
code: "upstream_error";
|
|
635
635
|
details?: readonly Response.error.Detail[] | undefined;
|
|
636
636
|
message: string;
|
|
637
637
|
};
|
|
638
638
|
requestId: string;
|
|
639
639
|
};
|
|
640
640
|
outputFormat: "json";
|
|
641
|
-
status:
|
|
641
|
+
status: 502;
|
|
642
642
|
input: {
|
|
643
643
|
param: {
|
|
644
644
|
inviteLinkId: string;
|
|
@@ -655,15 +655,10 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
655
655
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}": {
|
|
656
656
|
$delete: {
|
|
657
657
|
output: {
|
|
658
|
-
|
|
659
|
-
code: "api_key_malformed";
|
|
660
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
661
|
-
message: string;
|
|
662
|
-
};
|
|
663
|
-
requestId: string;
|
|
658
|
+
id: string;
|
|
664
659
|
};
|
|
665
660
|
outputFormat: "json";
|
|
666
|
-
status:
|
|
661
|
+
status: 200;
|
|
667
662
|
input: {
|
|
668
663
|
param: {
|
|
669
664
|
inviteLinkId: string;
|
|
@@ -673,14 +668,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
673
668
|
} | {
|
|
674
669
|
output: {
|
|
675
670
|
error: {
|
|
676
|
-
code: "
|
|
671
|
+
code: "api_key_malformed";
|
|
677
672
|
details?: readonly Response.error.Detail[] | undefined;
|
|
678
673
|
message: string;
|
|
679
674
|
};
|
|
680
675
|
requestId: string;
|
|
681
676
|
};
|
|
682
677
|
outputFormat: "json";
|
|
683
|
-
status:
|
|
678
|
+
status: 400;
|
|
684
679
|
input: {
|
|
685
680
|
param: {
|
|
686
681
|
inviteLinkId: string;
|
|
@@ -690,14 +685,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
690
685
|
} | {
|
|
691
686
|
output: {
|
|
692
687
|
error: {
|
|
693
|
-
code: "
|
|
688
|
+
code: "param_invalid";
|
|
694
689
|
details?: readonly Response.error.Detail[] | undefined;
|
|
695
690
|
message: string;
|
|
696
691
|
};
|
|
697
692
|
requestId: string;
|
|
698
693
|
};
|
|
699
694
|
outputFormat: "json";
|
|
700
|
-
status:
|
|
695
|
+
status: 400;
|
|
701
696
|
input: {
|
|
702
697
|
param: {
|
|
703
698
|
inviteLinkId: string;
|
|
@@ -707,14 +702,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
707
702
|
} | {
|
|
708
703
|
output: {
|
|
709
704
|
error: {
|
|
710
|
-
code: "
|
|
705
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
711
706
|
details?: readonly Response.error.Detail[] | undefined;
|
|
712
707
|
message: string;
|
|
713
708
|
};
|
|
714
709
|
requestId: string;
|
|
715
710
|
};
|
|
716
711
|
outputFormat: "json";
|
|
717
|
-
status:
|
|
712
|
+
status: 401;
|
|
718
713
|
input: {
|
|
719
714
|
param: {
|
|
720
715
|
inviteLinkId: string;
|
|
@@ -774,10 +769,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
774
769
|
};
|
|
775
770
|
} | {
|
|
776
771
|
output: {
|
|
777
|
-
|
|
772
|
+
error: {
|
|
773
|
+
code: "upstream_error";
|
|
774
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
775
|
+
message: string;
|
|
776
|
+
};
|
|
777
|
+
requestId: string;
|
|
778
778
|
};
|
|
779
779
|
outputFormat: "json";
|
|
780
|
-
status:
|
|
780
|
+
status: 502;
|
|
781
781
|
input: {
|
|
782
782
|
param: {
|
|
783
783
|
inviteLinkId: string;
|
|
@@ -790,15 +790,18 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
790
790
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}/redemptions": {
|
|
791
791
|
$get: {
|
|
792
792
|
output: {
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
793
|
+
data: {
|
|
794
|
+
createdAt: string;
|
|
795
|
+
email: string;
|
|
796
|
+
id: string;
|
|
797
|
+
inviteLinkId: string;
|
|
798
|
+
inviteLinkName: string;
|
|
799
|
+
orgId: string;
|
|
800
|
+
userId: string;
|
|
801
|
+
}[];
|
|
799
802
|
};
|
|
800
803
|
outputFormat: "json";
|
|
801
|
-
status:
|
|
804
|
+
status: 200;
|
|
802
805
|
input: {
|
|
803
806
|
param: {
|
|
804
807
|
inviteLinkId: string;
|
|
@@ -808,14 +811,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
808
811
|
} | {
|
|
809
812
|
output: {
|
|
810
813
|
error: {
|
|
811
|
-
code: "
|
|
814
|
+
code: "api_key_malformed";
|
|
812
815
|
details?: readonly Response.error.Detail[] | undefined;
|
|
813
816
|
message: string;
|
|
814
817
|
};
|
|
815
818
|
requestId: string;
|
|
816
819
|
};
|
|
817
820
|
outputFormat: "json";
|
|
818
|
-
status:
|
|
821
|
+
status: 400;
|
|
819
822
|
input: {
|
|
820
823
|
param: {
|
|
821
824
|
inviteLinkId: string;
|
|
@@ -825,14 +828,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
825
828
|
} | {
|
|
826
829
|
output: {
|
|
827
830
|
error: {
|
|
828
|
-
code: "
|
|
831
|
+
code: "param_invalid";
|
|
829
832
|
details?: readonly Response.error.Detail[] | undefined;
|
|
830
833
|
message: string;
|
|
831
834
|
};
|
|
832
835
|
requestId: string;
|
|
833
836
|
};
|
|
834
837
|
outputFormat: "json";
|
|
835
|
-
status:
|
|
838
|
+
status: 400;
|
|
836
839
|
input: {
|
|
837
840
|
param: {
|
|
838
841
|
inviteLinkId: string;
|
|
@@ -842,14 +845,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
842
845
|
} | {
|
|
843
846
|
output: {
|
|
844
847
|
error: {
|
|
845
|
-
code: "
|
|
848
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
846
849
|
details?: readonly Response.error.Detail[] | undefined;
|
|
847
850
|
message: string;
|
|
848
851
|
};
|
|
849
852
|
requestId: string;
|
|
850
853
|
};
|
|
851
854
|
outputFormat: "json";
|
|
852
|
-
status:
|
|
855
|
+
status: 401;
|
|
853
856
|
input: {
|
|
854
857
|
param: {
|
|
855
858
|
inviteLinkId: string;
|
|
@@ -909,18 +912,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
909
912
|
};
|
|
910
913
|
} | {
|
|
911
914
|
output: {
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
orgId: string;
|
|
919
|
-
userId: string;
|
|
920
|
-
}[];
|
|
915
|
+
error: {
|
|
916
|
+
code: "upstream_error";
|
|
917
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
918
|
+
message: string;
|
|
919
|
+
};
|
|
920
|
+
requestId: string;
|
|
921
921
|
};
|
|
922
922
|
outputFormat: "json";
|
|
923
|
-
status:
|
|
923
|
+
status: 502;
|
|
924
924
|
input: {
|
|
925
925
|
param: {
|
|
926
926
|
inviteLinkId: string;
|
|
@@ -933,15 +933,11 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
933
933
|
"/v1/invite-links/resolve": {
|
|
934
934
|
$post: {
|
|
935
935
|
output: {
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
939
|
-
message: string;
|
|
940
|
-
};
|
|
941
|
-
requestId: string;
|
|
936
|
+
orgName: string;
|
|
937
|
+
role: "member";
|
|
942
938
|
};
|
|
943
939
|
outputFormat: "json";
|
|
944
|
-
status:
|
|
940
|
+
status: 200;
|
|
945
941
|
input: {
|
|
946
942
|
json: {
|
|
947
943
|
token: string;
|
|
@@ -950,14 +946,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
950
946
|
} | {
|
|
951
947
|
output: {
|
|
952
948
|
error: {
|
|
953
|
-
code: "
|
|
949
|
+
code: "api_key_malformed";
|
|
954
950
|
details?: readonly Response.error.Detail[] | undefined;
|
|
955
951
|
message: string;
|
|
956
952
|
};
|
|
957
953
|
requestId: string;
|
|
958
954
|
};
|
|
959
955
|
outputFormat: "json";
|
|
960
|
-
status:
|
|
956
|
+
status: 400;
|
|
961
957
|
input: {
|
|
962
958
|
json: {
|
|
963
959
|
token: string;
|
|
@@ -966,14 +962,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
966
962
|
} | {
|
|
967
963
|
output: {
|
|
968
964
|
error: {
|
|
969
|
-
code: "
|
|
965
|
+
code: "body_invalid";
|
|
970
966
|
details?: readonly Response.error.Detail[] | undefined;
|
|
971
967
|
message: string;
|
|
972
968
|
};
|
|
973
969
|
requestId: string;
|
|
974
970
|
};
|
|
975
971
|
outputFormat: "json";
|
|
976
|
-
status:
|
|
972
|
+
status: 400;
|
|
977
973
|
input: {
|
|
978
974
|
json: {
|
|
979
975
|
token: string;
|
|
@@ -982,14 +978,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
982
978
|
} | {
|
|
983
979
|
output: {
|
|
984
980
|
error: {
|
|
985
|
-
code: "
|
|
981
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
986
982
|
details?: readonly Response.error.Detail[] | undefined;
|
|
987
983
|
message: string;
|
|
988
984
|
};
|
|
989
985
|
requestId: string;
|
|
990
986
|
};
|
|
991
987
|
outputFormat: "json";
|
|
992
|
-
status:
|
|
988
|
+
status: 401;
|
|
993
989
|
input: {
|
|
994
990
|
json: {
|
|
995
991
|
token: string;
|
|
@@ -1029,11 +1025,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1029
1025
|
};
|
|
1030
1026
|
} | {
|
|
1031
1027
|
output: {
|
|
1032
|
-
|
|
1033
|
-
|
|
1028
|
+
error: {
|
|
1029
|
+
code: "upstream_error";
|
|
1030
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1031
|
+
message: string;
|
|
1032
|
+
};
|
|
1033
|
+
requestId: string;
|
|
1034
1034
|
};
|
|
1035
1035
|
outputFormat: "json";
|
|
1036
|
-
status:
|
|
1036
|
+
status: 502;
|
|
1037
1037
|
input: {
|
|
1038
1038
|
json: {
|
|
1039
1039
|
token: string;
|
|
@@ -1045,15 +1045,12 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1045
1045
|
"/v1/invite-links/accept": {
|
|
1046
1046
|
$post: {
|
|
1047
1047
|
output: {
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
message: string;
|
|
1052
|
-
};
|
|
1053
|
-
requestId: string;
|
|
1048
|
+
orgId: string;
|
|
1049
|
+
role: "member";
|
|
1050
|
+
userId: string;
|
|
1054
1051
|
};
|
|
1055
1052
|
outputFormat: "json";
|
|
1056
|
-
status:
|
|
1053
|
+
status: 200;
|
|
1057
1054
|
input: {
|
|
1058
1055
|
json: {
|
|
1059
1056
|
token: string;
|
|
@@ -1062,14 +1059,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1062
1059
|
} | {
|
|
1063
1060
|
output: {
|
|
1064
1061
|
error: {
|
|
1065
|
-
code: "
|
|
1062
|
+
code: "api_key_malformed";
|
|
1066
1063
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1067
1064
|
message: string;
|
|
1068
1065
|
};
|
|
1069
1066
|
requestId: string;
|
|
1070
1067
|
};
|
|
1071
1068
|
outputFormat: "json";
|
|
1072
|
-
status:
|
|
1069
|
+
status: 400;
|
|
1073
1070
|
input: {
|
|
1074
1071
|
json: {
|
|
1075
1072
|
token: string;
|
|
@@ -1078,14 +1075,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1078
1075
|
} | {
|
|
1079
1076
|
output: {
|
|
1080
1077
|
error: {
|
|
1081
|
-
code: "
|
|
1078
|
+
code: "body_invalid";
|
|
1082
1079
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1083
1080
|
message: string;
|
|
1084
1081
|
};
|
|
1085
1082
|
requestId: string;
|
|
1086
1083
|
};
|
|
1087
1084
|
outputFormat: "json";
|
|
1088
|
-
status:
|
|
1085
|
+
status: 400;
|
|
1089
1086
|
input: {
|
|
1090
1087
|
json: {
|
|
1091
1088
|
token: string;
|
|
@@ -1094,14 +1091,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1094
1091
|
} | {
|
|
1095
1092
|
output: {
|
|
1096
1093
|
error: {
|
|
1097
|
-
code: "
|
|
1094
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1098
1095
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1099
1096
|
message: string;
|
|
1100
1097
|
};
|
|
1101
1098
|
requestId: string;
|
|
1102
1099
|
};
|
|
1103
1100
|
outputFormat: "json";
|
|
1104
|
-
status:
|
|
1101
|
+
status: 401;
|
|
1105
1102
|
input: {
|
|
1106
1103
|
json: {
|
|
1107
1104
|
token: string;
|
|
@@ -1126,14 +1123,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1126
1123
|
} | {
|
|
1127
1124
|
output: {
|
|
1128
1125
|
error: {
|
|
1129
|
-
code: "
|
|
1126
|
+
code: "invite_link_email_forbidden";
|
|
1130
1127
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1131
1128
|
message: string;
|
|
1132
1129
|
};
|
|
1133
1130
|
requestId: string;
|
|
1134
1131
|
};
|
|
1135
1132
|
outputFormat: "json";
|
|
1136
|
-
status:
|
|
1133
|
+
status: 403;
|
|
1137
1134
|
input: {
|
|
1138
1135
|
json: {
|
|
1139
1136
|
token: string;
|
|
@@ -1141,12 +1138,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1141
1138
|
};
|
|
1142
1139
|
} | {
|
|
1143
1140
|
output: {
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1141
|
+
error: {
|
|
1142
|
+
code: "invite_link_not_found";
|
|
1143
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1144
|
+
message: string;
|
|
1145
|
+
};
|
|
1146
|
+
requestId: string;
|
|
1147
1147
|
};
|
|
1148
1148
|
outputFormat: "json";
|
|
1149
|
-
status:
|
|
1149
|
+
status: 404;
|
|
1150
1150
|
input: {
|
|
1151
1151
|
json: {
|
|
1152
1152
|
token: string;
|
|
@@ -1155,14 +1155,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1155
1155
|
} | {
|
|
1156
1156
|
output: {
|
|
1157
1157
|
error: {
|
|
1158
|
-
code: "
|
|
1158
|
+
code: "upstream_error";
|
|
1159
1159
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1160
1160
|
message: string;
|
|
1161
1161
|
};
|
|
1162
1162
|
requestId: string;
|
|
1163
1163
|
};
|
|
1164
1164
|
outputFormat: "json";
|
|
1165
|
-
status:
|
|
1165
|
+
status: 502;
|
|
1166
1166
|
input: {
|
|
1167
1167
|
json: {
|
|
1168
1168
|
token: string;
|