tapimo 0.5.1 → 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 +34 -18
- package/dist/App.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +117 -117
- package/dist/apps/data/App.d.ts +3217 -3217
- package/dist/apps/data/FundingQuoteProviders.d.ts +32 -0
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.js +134 -1
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +206 -206
- package/dist/apps/data/routes/balances.d.ts +46 -46
- package/dist/apps/data/routes/coingecko.d.ts +169 -169
- package/dist/apps/data/routes/funding.d.ts +8 -2
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +4 -4
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +34 -34
- package/dist/apps/data/routes/receipts.d.ts +228 -228
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/transfers.d.ts +8 -15
- 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/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 +982 -966
- 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/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 +121 -121
- package/dist/apps/management/routes/invite-links.d.ts +174 -174
- package/dist/apps/management/routes/orgs.d.ts +102 -86
- 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 +124 -124
- 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 +46 -8
- 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 +7 -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 +16 -10
- package/dist/internal/FundingQuotes.d.ts.map +1 -1
- package/dist/internal/FundingQuotes.js +9 -0
- package/dist/internal/FundingQuotes.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/package.json +6 -1
- package/src/App.test.ts +2 -2
- package/src/Client.test-d.ts +28 -2
- package/src/apps/data/FundingQuoteProviders.test.ts +184 -0
- package/src/apps/data/FundingQuoteProviders.ts +185 -1
- package/src/apps/data/routes/funding.test.ts +7 -0
- package/src/apps/data/routes/funding.ts +4 -4
- 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 +50 -1
- 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/relay/Sponsorships.ts +24 -1
- package/src/db/Db.ts +4 -0
- package/src/db/Schema.ts +1 -1
- package/src/db/tables/organizations.test.ts +30 -0
- package/src/db/tables/organizations.ts +28 -0
- package/src/db/tables/requestUsage.ts +3 -23
- package/src/db/tables/sponsoredTransactions.test.ts +41 -0
- package/src/db/tables/sponsoredTransactions.ts +46 -7
- package/src/internal/Auth.test.ts +63 -10
- package/src/internal/Auth.ts +11 -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 +33 -0
- package/src/internal/FundingQuotes.ts +9 -0
- package/src/internal/RateLimit.test.ts +12 -0
- package/src/internal/RateLimit.ts +4 -4
|
@@ -130,16 +130,15 @@ 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
|
-
|
|
139
|
-
role: "admin" | "member" | "owner";
|
|
133
|
+
error: {
|
|
134
|
+
code: "upstream_error";
|
|
135
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
136
|
+
message: string;
|
|
137
|
+
};
|
|
138
|
+
requestId: string;
|
|
140
139
|
};
|
|
141
140
|
outputFormat: "json";
|
|
142
|
-
status:
|
|
141
|
+
status: 502;
|
|
143
142
|
input: {
|
|
144
143
|
param: {
|
|
145
144
|
orgId: string;
|
|
@@ -174,14 +173,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
174
173
|
} | {
|
|
175
174
|
output: {
|
|
176
175
|
error: {
|
|
177
|
-
code: "
|
|
176
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
178
177
|
details?: readonly Response.error.Detail[] | undefined;
|
|
179
178
|
message: string;
|
|
180
179
|
};
|
|
181
180
|
requestId: string;
|
|
182
181
|
};
|
|
183
182
|
outputFormat: "json";
|
|
184
|
-
status:
|
|
183
|
+
status: 401;
|
|
185
184
|
input: {
|
|
186
185
|
param: {
|
|
187
186
|
orgId: string;
|
|
@@ -195,14 +194,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
195
194
|
} | {
|
|
196
195
|
output: {
|
|
197
196
|
error: {
|
|
198
|
-
code: "
|
|
197
|
+
code: "api_key_forbidden";
|
|
199
198
|
details?: readonly Response.error.Detail[] | undefined;
|
|
200
199
|
message: string;
|
|
201
200
|
};
|
|
202
201
|
requestId: string;
|
|
203
202
|
};
|
|
204
203
|
outputFormat: "json";
|
|
205
|
-
status:
|
|
204
|
+
status: 403;
|
|
206
205
|
input: {
|
|
207
206
|
param: {
|
|
208
207
|
orgId: string;
|
|
@@ -216,14 +215,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
216
215
|
} | {
|
|
217
216
|
output: {
|
|
218
217
|
error: {
|
|
219
|
-
code: "
|
|
218
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
220
219
|
details?: readonly Response.error.Detail[] | undefined;
|
|
221
220
|
message: string;
|
|
222
221
|
};
|
|
223
222
|
requestId: string;
|
|
224
223
|
};
|
|
225
224
|
outputFormat: "json";
|
|
226
|
-
status:
|
|
225
|
+
status: 429;
|
|
227
226
|
input: {
|
|
228
227
|
param: {
|
|
229
228
|
orgId: string;
|
|
@@ -237,14 +236,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
237
236
|
} | {
|
|
238
237
|
output: {
|
|
239
238
|
error: {
|
|
240
|
-
code: "
|
|
239
|
+
code: "organization_not_found";
|
|
241
240
|
details?: readonly Response.error.Detail[] | undefined;
|
|
242
241
|
message: string;
|
|
243
242
|
};
|
|
244
243
|
requestId: string;
|
|
245
244
|
};
|
|
246
245
|
outputFormat: "json";
|
|
247
|
-
status:
|
|
246
|
+
status: 404;
|
|
248
247
|
input: {
|
|
249
248
|
param: {
|
|
250
249
|
orgId: string;
|
|
@@ -279,14 +278,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
279
278
|
} | {
|
|
280
279
|
output: {
|
|
281
280
|
error: {
|
|
282
|
-
code: "
|
|
281
|
+
code: "body_invalid";
|
|
283
282
|
details?: readonly Response.error.Detail[] | undefined;
|
|
284
283
|
message: string;
|
|
285
284
|
};
|
|
286
285
|
requestId: string;
|
|
287
286
|
};
|
|
288
287
|
outputFormat: "json";
|
|
289
|
-
status:
|
|
288
|
+
status: 400;
|
|
290
289
|
input: {
|
|
291
290
|
param: {
|
|
292
291
|
orgId: string;
|
|
@@ -300,14 +299,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
300
299
|
} | {
|
|
301
300
|
output: {
|
|
302
301
|
error: {
|
|
303
|
-
code: "
|
|
302
|
+
code: "param_invalid";
|
|
304
303
|
details?: readonly Response.error.Detail[] | undefined;
|
|
305
304
|
message: string;
|
|
306
305
|
};
|
|
307
306
|
requestId: string;
|
|
308
307
|
};
|
|
309
308
|
outputFormat: "json";
|
|
310
|
-
status:
|
|
309
|
+
status: 400;
|
|
311
310
|
input: {
|
|
312
311
|
param: {
|
|
313
312
|
orgId: string;
|
|
@@ -320,15 +319,16 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
320
319
|
};
|
|
321
320
|
} | {
|
|
322
321
|
output: {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
322
|
+
createdAt: string;
|
|
323
|
+
email: string;
|
|
324
|
+
expiresAt: string;
|
|
325
|
+
id: string;
|
|
326
|
+
invitedBy: string;
|
|
327
|
+
orgId: string;
|
|
328
|
+
role: "admin" | "member" | "owner";
|
|
329
329
|
};
|
|
330
330
|
outputFormat: "json";
|
|
331
|
-
status:
|
|
331
|
+
status: 200;
|
|
332
332
|
input: {
|
|
333
333
|
param: {
|
|
334
334
|
orgId: string;
|
|
@@ -345,18 +345,15 @@ 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
|
-
|
|
354
|
-
orgId: string;
|
|
355
|
-
role: "admin" | "member" | "owner";
|
|
356
|
-
}[];
|
|
348
|
+
error: {
|
|
349
|
+
code: "upstream_error";
|
|
350
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
351
|
+
message: string;
|
|
352
|
+
};
|
|
353
|
+
requestId: string;
|
|
357
354
|
};
|
|
358
355
|
outputFormat: "json";
|
|
359
|
-
status:
|
|
356
|
+
status: 502;
|
|
360
357
|
input: {
|
|
361
358
|
param: {
|
|
362
359
|
orgId: string;
|
|
@@ -381,14 +378,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
381
378
|
} | {
|
|
382
379
|
output: {
|
|
383
380
|
error: {
|
|
384
|
-
code: "
|
|
381
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
385
382
|
details?: readonly Response.error.Detail[] | undefined;
|
|
386
383
|
message: string;
|
|
387
384
|
};
|
|
388
385
|
requestId: string;
|
|
389
386
|
};
|
|
390
387
|
outputFormat: "json";
|
|
391
|
-
status:
|
|
388
|
+
status: 401;
|
|
392
389
|
input: {
|
|
393
390
|
param: {
|
|
394
391
|
orgId: string;
|
|
@@ -397,14 +394,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
397
394
|
} | {
|
|
398
395
|
output: {
|
|
399
396
|
error: {
|
|
400
|
-
code: "
|
|
397
|
+
code: "api_key_forbidden";
|
|
401
398
|
details?: readonly Response.error.Detail[] | undefined;
|
|
402
399
|
message: string;
|
|
403
400
|
};
|
|
404
401
|
requestId: string;
|
|
405
402
|
};
|
|
406
403
|
outputFormat: "json";
|
|
407
|
-
status:
|
|
404
|
+
status: 403;
|
|
408
405
|
input: {
|
|
409
406
|
param: {
|
|
410
407
|
orgId: string;
|
|
@@ -413,14 +410,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
413
410
|
} | {
|
|
414
411
|
output: {
|
|
415
412
|
error: {
|
|
416
|
-
code: "
|
|
413
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
417
414
|
details?: readonly Response.error.Detail[] | undefined;
|
|
418
415
|
message: string;
|
|
419
416
|
};
|
|
420
417
|
requestId: string;
|
|
421
418
|
};
|
|
422
419
|
outputFormat: "json";
|
|
423
|
-
status:
|
|
420
|
+
status: 429;
|
|
424
421
|
input: {
|
|
425
422
|
param: {
|
|
426
423
|
orgId: string;
|
|
@@ -445,14 +442,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
445
442
|
} | {
|
|
446
443
|
output: {
|
|
447
444
|
error: {
|
|
448
|
-
code: "
|
|
445
|
+
code: "param_invalid";
|
|
449
446
|
details?: readonly Response.error.Detail[] | undefined;
|
|
450
447
|
message: string;
|
|
451
448
|
};
|
|
452
449
|
requestId: string;
|
|
453
450
|
};
|
|
454
451
|
outputFormat: "json";
|
|
455
|
-
status:
|
|
452
|
+
status: 400;
|
|
456
453
|
input: {
|
|
457
454
|
param: {
|
|
458
455
|
orgId: string;
|
|
@@ -460,15 +457,18 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
460
457
|
};
|
|
461
458
|
} | {
|
|
462
459
|
output: {
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
460
|
+
data: {
|
|
461
|
+
createdAt: string;
|
|
462
|
+
email: string;
|
|
463
|
+
expiresAt: string;
|
|
464
|
+
id: string;
|
|
465
|
+
invitedBy: string;
|
|
466
|
+
orgId: string;
|
|
467
|
+
role: "admin" | "member" | "owner";
|
|
468
|
+
}[];
|
|
469
469
|
};
|
|
470
470
|
outputFormat: "json";
|
|
471
|
-
status:
|
|
471
|
+
status: 200;
|
|
472
472
|
input: {
|
|
473
473
|
param: {
|
|
474
474
|
orgId: string;
|
|
@@ -480,10 +480,15 @@ 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
|
-
|
|
483
|
+
error: {
|
|
484
|
+
code: "upstream_error";
|
|
485
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
486
|
+
message: string;
|
|
487
|
+
};
|
|
488
|
+
requestId: string;
|
|
484
489
|
};
|
|
485
490
|
outputFormat: "json";
|
|
486
|
-
status:
|
|
491
|
+
status: 502;
|
|
487
492
|
input: {
|
|
488
493
|
param: {
|
|
489
494
|
invitationId: string;
|
|
@@ -510,14 +515,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
510
515
|
} | {
|
|
511
516
|
output: {
|
|
512
517
|
error: {
|
|
513
|
-
code: "
|
|
518
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
514
519
|
details?: readonly Response.error.Detail[] | undefined;
|
|
515
520
|
message: string;
|
|
516
521
|
};
|
|
517
522
|
requestId: string;
|
|
518
523
|
};
|
|
519
524
|
outputFormat: "json";
|
|
520
|
-
status:
|
|
525
|
+
status: 401;
|
|
521
526
|
input: {
|
|
522
527
|
param: {
|
|
523
528
|
invitationId: string;
|
|
@@ -527,14 +532,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
527
532
|
} | {
|
|
528
533
|
output: {
|
|
529
534
|
error: {
|
|
530
|
-
code: "
|
|
535
|
+
code: "api_key_forbidden";
|
|
531
536
|
details?: readonly Response.error.Detail[] | undefined;
|
|
532
537
|
message: string;
|
|
533
538
|
};
|
|
534
539
|
requestId: string;
|
|
535
540
|
};
|
|
536
541
|
outputFormat: "json";
|
|
537
|
-
status:
|
|
542
|
+
status: 403;
|
|
538
543
|
input: {
|
|
539
544
|
param: {
|
|
540
545
|
invitationId: string;
|
|
@@ -544,14 +549,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
544
549
|
} | {
|
|
545
550
|
output: {
|
|
546
551
|
error: {
|
|
547
|
-
code: "
|
|
552
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
548
553
|
details?: readonly Response.error.Detail[] | undefined;
|
|
549
554
|
message: string;
|
|
550
555
|
};
|
|
551
556
|
requestId: string;
|
|
552
557
|
};
|
|
553
558
|
outputFormat: "json";
|
|
554
|
-
status:
|
|
559
|
+
status: 429;
|
|
555
560
|
input: {
|
|
556
561
|
param: {
|
|
557
562
|
invitationId: string;
|
|
@@ -578,14 +583,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
578
583
|
} | {
|
|
579
584
|
output: {
|
|
580
585
|
error: {
|
|
581
|
-
code: "
|
|
586
|
+
code: "param_invalid";
|
|
582
587
|
details?: readonly Response.error.Detail[] | undefined;
|
|
583
588
|
message: string;
|
|
584
589
|
};
|
|
585
590
|
requestId: string;
|
|
586
591
|
};
|
|
587
592
|
outputFormat: "json";
|
|
588
|
-
status:
|
|
593
|
+
status: 400;
|
|
589
594
|
input: {
|
|
590
595
|
param: {
|
|
591
596
|
invitationId: string;
|
|
@@ -595,14 +600,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
595
600
|
} | {
|
|
596
601
|
output: {
|
|
597
602
|
error: {
|
|
598
|
-
code: "
|
|
603
|
+
code: "invitation_not_found";
|
|
599
604
|
details?: readonly Response.error.Detail[] | undefined;
|
|
600
605
|
message: string;
|
|
601
606
|
};
|
|
602
607
|
requestId: string;
|
|
603
608
|
};
|
|
604
609
|
outputFormat: "json";
|
|
605
|
-
status:
|
|
610
|
+
status: 404;
|
|
606
611
|
input: {
|
|
607
612
|
param: {
|
|
608
613
|
invitationId: string;
|
|
@@ -611,15 +616,10 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
611
616
|
};
|
|
612
617
|
} | {
|
|
613
618
|
output: {
|
|
614
|
-
|
|
615
|
-
code: "upstream_error";
|
|
616
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
617
|
-
message: string;
|
|
618
|
-
};
|
|
619
|
-
requestId: string;
|
|
619
|
+
id: string;
|
|
620
620
|
};
|
|
621
621
|
outputFormat: "json";
|
|
622
|
-
status:
|
|
622
|
+
status: 200;
|
|
623
623
|
input: {
|
|
624
624
|
param: {
|
|
625
625
|
invitationId: string;
|
|
@@ -632,19 +632,15 @@ 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
|
-
|
|
641
|
-
orgId: string;
|
|
642
|
-
role: "admin" | "member" | "owner";
|
|
643
|
-
orgName: string;
|
|
644
|
-
}[];
|
|
635
|
+
error: {
|
|
636
|
+
code: "upstream_error";
|
|
637
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
638
|
+
message: string;
|
|
639
|
+
};
|
|
640
|
+
requestId: string;
|
|
645
641
|
};
|
|
646
642
|
outputFormat: "json";
|
|
647
|
-
status:
|
|
643
|
+
status: 502;
|
|
648
644
|
input: {};
|
|
649
645
|
} | {
|
|
650
646
|
output: {
|
|
@@ -684,15 +680,19 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
684
680
|
input: {};
|
|
685
681
|
} | {
|
|
686
682
|
output: {
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
683
|
+
data: {
|
|
684
|
+
createdAt: string;
|
|
685
|
+
email: string;
|
|
686
|
+
expiresAt: string;
|
|
687
|
+
id: string;
|
|
688
|
+
invitedBy: string;
|
|
689
|
+
orgId: string;
|
|
690
|
+
role: "admin" | "member" | "owner";
|
|
691
|
+
orgName: string;
|
|
692
|
+
}[];
|
|
693
693
|
};
|
|
694
694
|
outputFormat: "json";
|
|
695
|
-
status:
|
|
695
|
+
status: 200;
|
|
696
696
|
input: {};
|
|
697
697
|
};
|
|
698
698
|
};
|
|
@@ -700,12 +700,15 @@ 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
|
-
|
|
703
|
+
error: {
|
|
704
|
+
code: "upstream_error";
|
|
705
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
706
|
+
message: string;
|
|
707
|
+
};
|
|
708
|
+
requestId: string;
|
|
706
709
|
};
|
|
707
710
|
outputFormat: "json";
|
|
708
|
-
status:
|
|
711
|
+
status: 502;
|
|
709
712
|
input: {
|
|
710
713
|
param: {
|
|
711
714
|
invitationId: string;
|
|
@@ -730,14 +733,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
730
733
|
} | {
|
|
731
734
|
output: {
|
|
732
735
|
error: {
|
|
733
|
-
code: "
|
|
736
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
734
737
|
details?: readonly Response.error.Detail[] | undefined;
|
|
735
738
|
message: string;
|
|
736
739
|
};
|
|
737
740
|
requestId: string;
|
|
738
741
|
};
|
|
739
742
|
outputFormat: "json";
|
|
740
|
-
status:
|
|
743
|
+
status: 401;
|
|
741
744
|
input: {
|
|
742
745
|
param: {
|
|
743
746
|
invitationId: string;
|
|
@@ -746,14 +749,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
746
749
|
} | {
|
|
747
750
|
output: {
|
|
748
751
|
error: {
|
|
749
|
-
code: "
|
|
752
|
+
code: "forbidden";
|
|
750
753
|
details?: readonly Response.error.Detail[] | undefined;
|
|
751
754
|
message: string;
|
|
752
755
|
};
|
|
753
756
|
requestId: string;
|
|
754
757
|
};
|
|
755
758
|
outputFormat: "json";
|
|
756
|
-
status:
|
|
759
|
+
status: 403;
|
|
757
760
|
input: {
|
|
758
761
|
param: {
|
|
759
762
|
invitationId: string;
|
|
@@ -762,14 +765,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
762
765
|
} | {
|
|
763
766
|
output: {
|
|
764
767
|
error: {
|
|
765
|
-
code: "
|
|
768
|
+
code: "param_invalid";
|
|
766
769
|
details?: readonly Response.error.Detail[] | undefined;
|
|
767
770
|
message: string;
|
|
768
771
|
};
|
|
769
772
|
requestId: string;
|
|
770
773
|
};
|
|
771
774
|
outputFormat: "json";
|
|
772
|
-
status:
|
|
775
|
+
status: 400;
|
|
773
776
|
input: {
|
|
774
777
|
param: {
|
|
775
778
|
invitationId: string;
|
|
@@ -793,15 +796,12 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
793
796
|
};
|
|
794
797
|
} | {
|
|
795
798
|
output: {
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
message: string;
|
|
800
|
-
};
|
|
801
|
-
requestId: string;
|
|
799
|
+
orgId: string;
|
|
800
|
+
role: "admin" | "member" | "owner";
|
|
801
|
+
userId: string;
|
|
802
802
|
};
|
|
803
803
|
outputFormat: "json";
|
|
804
|
-
status:
|
|
804
|
+
status: 200;
|
|
805
805
|
input: {
|
|
806
806
|
param: {
|
|
807
807
|
invitationId: string;
|
|
@@ -813,10 +813,15 @@ 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
|
-
|
|
816
|
+
error: {
|
|
817
|
+
code: "upstream_error";
|
|
818
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
819
|
+
message: string;
|
|
820
|
+
};
|
|
821
|
+
requestId: string;
|
|
817
822
|
};
|
|
818
823
|
outputFormat: "json";
|
|
819
|
-
status:
|
|
824
|
+
status: 502;
|
|
820
825
|
input: {
|
|
821
826
|
param: {
|
|
822
827
|
invitationId: string;
|
|
@@ -841,14 +846,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
841
846
|
} | {
|
|
842
847
|
output: {
|
|
843
848
|
error: {
|
|
844
|
-
code: "
|
|
849
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
845
850
|
details?: readonly Response.error.Detail[] | undefined;
|
|
846
851
|
message: string;
|
|
847
852
|
};
|
|
848
853
|
requestId: string;
|
|
849
854
|
};
|
|
850
855
|
outputFormat: "json";
|
|
851
|
-
status:
|
|
856
|
+
status: 401;
|
|
852
857
|
input: {
|
|
853
858
|
param: {
|
|
854
859
|
invitationId: string;
|
|
@@ -857,14 +862,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
857
862
|
} | {
|
|
858
863
|
output: {
|
|
859
864
|
error: {
|
|
860
|
-
code: "
|
|
865
|
+
code: "forbidden";
|
|
861
866
|
details?: readonly Response.error.Detail[] | undefined;
|
|
862
867
|
message: string;
|
|
863
868
|
};
|
|
864
869
|
requestId: string;
|
|
865
870
|
};
|
|
866
871
|
outputFormat: "json";
|
|
867
|
-
status:
|
|
872
|
+
status: 403;
|
|
868
873
|
input: {
|
|
869
874
|
param: {
|
|
870
875
|
invitationId: string;
|
|
@@ -873,14 +878,14 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
873
878
|
} | {
|
|
874
879
|
output: {
|
|
875
880
|
error: {
|
|
876
|
-
code: "
|
|
881
|
+
code: "param_invalid";
|
|
877
882
|
details?: readonly Response.error.Detail[] | undefined;
|
|
878
883
|
message: string;
|
|
879
884
|
};
|
|
880
885
|
requestId: string;
|
|
881
886
|
};
|
|
882
887
|
outputFormat: "json";
|
|
883
|
-
status:
|
|
888
|
+
status: 400;
|
|
884
889
|
input: {
|
|
885
890
|
param: {
|
|
886
891
|
invitationId: string;
|
|
@@ -904,15 +909,10 @@ export declare function invitations(): import("hono/hono-base").HonoBase<Environ
|
|
|
904
909
|
};
|
|
905
910
|
} | {
|
|
906
911
|
output: {
|
|
907
|
-
|
|
908
|
-
code: "upstream_error";
|
|
909
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
910
|
-
message: string;
|
|
911
|
-
};
|
|
912
|
-
requestId: string;
|
|
912
|
+
id: string;
|
|
913
913
|
};
|
|
914
914
|
outputFormat: "json";
|
|
915
|
-
status:
|
|
915
|
+
status: 200;
|
|
916
916
|
input: {
|
|
917
917
|
param: {
|
|
918
918
|
invitationId: string;
|