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
|
@@ -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;
|
|
@@ -142,14 +150,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
142
150
|
} | {
|
|
143
151
|
output: {
|
|
144
152
|
error: {
|
|
145
|
-
code: "
|
|
153
|
+
code: "api_key_malformed";
|
|
146
154
|
details?: readonly Response.error.Detail[] | undefined;
|
|
147
155
|
message: string;
|
|
148
156
|
};
|
|
149
157
|
requestId: string;
|
|
150
158
|
};
|
|
151
159
|
outputFormat: "json";
|
|
152
|
-
status:
|
|
160
|
+
status: 400;
|
|
153
161
|
input: {
|
|
154
162
|
param: {
|
|
155
163
|
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;
|
|
@@ -211,14 +219,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
211
219
|
} | {
|
|
212
220
|
output: {
|
|
213
221
|
error: {
|
|
214
|
-
code: "
|
|
222
|
+
code: "forbidden";
|
|
215
223
|
details?: readonly Response.error.Detail[] | undefined;
|
|
216
224
|
message: string;
|
|
217
225
|
};
|
|
218
226
|
requestId: string;
|
|
219
227
|
};
|
|
220
228
|
outputFormat: "json";
|
|
221
|
-
status:
|
|
229
|
+
status: 403;
|
|
222
230
|
input: {
|
|
223
231
|
param: {
|
|
224
232
|
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;
|
|
@@ -290,6 +290,32 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
290
290
|
} & {
|
|
291
291
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links": {
|
|
292
292
|
$get: {
|
|
293
|
+
output: {
|
|
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
|
+
}[];
|
|
310
|
+
};
|
|
311
|
+
outputFormat: "json";
|
|
312
|
+
status: 200;
|
|
313
|
+
input: {
|
|
314
|
+
param: {
|
|
315
|
+
orgId: string;
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
} | {
|
|
293
319
|
output: {
|
|
294
320
|
error: {
|
|
295
321
|
code: "api_key_malformed";
|
|
@@ -308,14 +334,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
308
334
|
} | {
|
|
309
335
|
output: {
|
|
310
336
|
error: {
|
|
311
|
-
code: "
|
|
337
|
+
code: "param_invalid";
|
|
312
338
|
details?: readonly Response.error.Detail[] | undefined;
|
|
313
339
|
message: string;
|
|
314
340
|
};
|
|
315
341
|
requestId: string;
|
|
316
342
|
};
|
|
317
343
|
outputFormat: "json";
|
|
318
|
-
status:
|
|
344
|
+
status: 400;
|
|
319
345
|
input: {
|
|
320
346
|
param: {
|
|
321
347
|
orgId: string;
|
|
@@ -324,14 +350,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
324
350
|
} | {
|
|
325
351
|
output: {
|
|
326
352
|
error: {
|
|
327
|
-
code: "
|
|
353
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
328
354
|
details?: readonly Response.error.Detail[] | undefined;
|
|
329
355
|
message: string;
|
|
330
356
|
};
|
|
331
357
|
requestId: string;
|
|
332
358
|
};
|
|
333
359
|
outputFormat: "json";
|
|
334
|
-
status:
|
|
360
|
+
status: 401;
|
|
335
361
|
input: {
|
|
336
362
|
param: {
|
|
337
363
|
orgId: string;
|
|
@@ -372,50 +398,53 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
372
398
|
} | {
|
|
373
399
|
output: {
|
|
374
400
|
error: {
|
|
375
|
-
code: "
|
|
401
|
+
code: "upstream_error";
|
|
376
402
|
details?: readonly Response.error.Detail[] | undefined;
|
|
377
403
|
message: string;
|
|
378
404
|
};
|
|
379
405
|
requestId: string;
|
|
380
406
|
};
|
|
381
407
|
outputFormat: "json";
|
|
382
|
-
status:
|
|
408
|
+
status: 502;
|
|
383
409
|
input: {
|
|
384
410
|
param: {
|
|
385
411
|
orgId: string;
|
|
386
412
|
};
|
|
387
413
|
};
|
|
388
|
-
}
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
} & {
|
|
417
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}": {
|
|
418
|
+
$patch: {
|
|
389
419
|
output: {
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
useCount: number;
|
|
405
|
-
}[];
|
|
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;
|
|
406
434
|
};
|
|
407
435
|
outputFormat: "json";
|
|
408
436
|
status: 200;
|
|
409
437
|
input: {
|
|
410
438
|
param: {
|
|
439
|
+
inviteLinkId: string;
|
|
411
440
|
orgId: string;
|
|
412
441
|
};
|
|
442
|
+
} & {
|
|
443
|
+
json: {
|
|
444
|
+
enabled: boolean;
|
|
445
|
+
};
|
|
413
446
|
};
|
|
414
|
-
}
|
|
415
|
-
};
|
|
416
|
-
} & {
|
|
417
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}": {
|
|
418
|
-
$patch: {
|
|
447
|
+
} | {
|
|
419
448
|
output: {
|
|
420
449
|
error: {
|
|
421
450
|
code: "api_key_malformed";
|
|
@@ -439,14 +468,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
439
468
|
} | {
|
|
440
469
|
output: {
|
|
441
470
|
error: {
|
|
442
|
-
code: "
|
|
471
|
+
code: "body_invalid";
|
|
443
472
|
details?: readonly Response.error.Detail[] | undefined;
|
|
444
473
|
message: string;
|
|
445
474
|
};
|
|
446
475
|
requestId: string;
|
|
447
476
|
};
|
|
448
477
|
outputFormat: "json";
|
|
449
|
-
status:
|
|
478
|
+
status: 400;
|
|
450
479
|
input: {
|
|
451
480
|
param: {
|
|
452
481
|
inviteLinkId: string;
|
|
@@ -460,14 +489,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
460
489
|
} | {
|
|
461
490
|
output: {
|
|
462
491
|
error: {
|
|
463
|
-
code: "
|
|
492
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
464
493
|
details?: readonly Response.error.Detail[] | undefined;
|
|
465
494
|
message: string;
|
|
466
495
|
};
|
|
467
496
|
requestId: string;
|
|
468
497
|
};
|
|
469
498
|
outputFormat: "json";
|
|
470
|
-
status:
|
|
499
|
+
status: 401;
|
|
471
500
|
input: {
|
|
472
501
|
param: {
|
|
473
502
|
inviteLinkId: string;
|
|
@@ -523,43 +552,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
523
552
|
} | {
|
|
524
553
|
output: {
|
|
525
554
|
error: {
|
|
526
|
-
code: "
|
|
555
|
+
code: "invite_link_not_found";
|
|
527
556
|
details?: readonly Response.error.Detail[] | undefined;
|
|
528
557
|
message: string;
|
|
529
558
|
};
|
|
530
559
|
requestId: string;
|
|
531
560
|
};
|
|
532
561
|
outputFormat: "json";
|
|
533
|
-
status:
|
|
534
|
-
input: {
|
|
535
|
-
param: {
|
|
536
|
-
inviteLinkId: string;
|
|
537
|
-
orgId: string;
|
|
538
|
-
};
|
|
539
|
-
} & {
|
|
540
|
-
json: {
|
|
541
|
-
enabled: boolean;
|
|
542
|
-
};
|
|
543
|
-
};
|
|
544
|
-
} | {
|
|
545
|
-
output: {
|
|
546
|
-
createdAt: string;
|
|
547
|
-
createdBy: string;
|
|
548
|
-
enabled: boolean;
|
|
549
|
-
expiresAt: string | null;
|
|
550
|
-
id: string;
|
|
551
|
-
lastUsedAt: string | null;
|
|
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;
|
|
560
|
-
};
|
|
561
|
-
outputFormat: "json";
|
|
562
|
-
status: 200;
|
|
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;
|
|
@@ -596,6 +596,18 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
596
596
|
} & {
|
|
597
597
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}": {
|
|
598
598
|
$delete: {
|
|
599
|
+
output: {
|
|
600
|
+
id: string;
|
|
601
|
+
};
|
|
602
|
+
outputFormat: "json";
|
|
603
|
+
status: 200;
|
|
604
|
+
input: {
|
|
605
|
+
param: {
|
|
606
|
+
inviteLinkId: string;
|
|
607
|
+
orgId: string;
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
} | {
|
|
599
611
|
output: {
|
|
600
612
|
error: {
|
|
601
613
|
code: "api_key_malformed";
|
|
@@ -615,14 +627,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
615
627
|
} | {
|
|
616
628
|
output: {
|
|
617
629
|
error: {
|
|
618
|
-
code: "
|
|
630
|
+
code: "param_invalid";
|
|
619
631
|
details?: readonly Response.error.Detail[] | undefined;
|
|
620
632
|
message: string;
|
|
621
633
|
};
|
|
622
634
|
requestId: string;
|
|
623
635
|
};
|
|
624
636
|
outputFormat: "json";
|
|
625
|
-
status:
|
|
637
|
+
status: 400;
|
|
626
638
|
input: {
|
|
627
639
|
param: {
|
|
628
640
|
inviteLinkId: string;
|
|
@@ -632,14 +644,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
632
644
|
} | {
|
|
633
645
|
output: {
|
|
634
646
|
error: {
|
|
635
|
-
code: "
|
|
647
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
636
648
|
details?: readonly Response.error.Detail[] | undefined;
|
|
637
649
|
message: string;
|
|
638
650
|
};
|
|
639
651
|
requestId: string;
|
|
640
652
|
};
|
|
641
653
|
outputFormat: "json";
|
|
642
|
-
status:
|
|
654
|
+
status: 401;
|
|
643
655
|
input: {
|
|
644
656
|
param: {
|
|
645
657
|
inviteLinkId: string;
|
|
@@ -683,14 +695,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
683
695
|
} | {
|
|
684
696
|
output: {
|
|
685
697
|
error: {
|
|
686
|
-
code: "
|
|
698
|
+
code: "invite_link_not_found";
|
|
687
699
|
details?: readonly Response.error.Detail[] | undefined;
|
|
688
700
|
message: string;
|
|
689
701
|
};
|
|
690
702
|
requestId: string;
|
|
691
703
|
};
|
|
692
704
|
outputFormat: "json";
|
|
693
|
-
status:
|
|
705
|
+
status: 404;
|
|
694
706
|
input: {
|
|
695
707
|
param: {
|
|
696
708
|
inviteLinkId: string;
|
|
@@ -700,23 +712,35 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
700
712
|
} | {
|
|
701
713
|
output: {
|
|
702
714
|
error: {
|
|
703
|
-
code: "
|
|
715
|
+
code: "upstream_error";
|
|
704
716
|
details?: readonly Response.error.Detail[] | undefined;
|
|
705
717
|
message: string;
|
|
706
718
|
};
|
|
707
719
|
requestId: string;
|
|
708
720
|
};
|
|
709
721
|
outputFormat: "json";
|
|
710
|
-
status:
|
|
722
|
+
status: 502;
|
|
711
723
|
input: {
|
|
712
724
|
param: {
|
|
713
725
|
inviteLinkId: string;
|
|
714
726
|
orgId: string;
|
|
715
727
|
};
|
|
716
728
|
};
|
|
717
|
-
}
|
|
729
|
+
};
|
|
730
|
+
};
|
|
731
|
+
} & {
|
|
732
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}/redemptions": {
|
|
733
|
+
$get: {
|
|
718
734
|
output: {
|
|
719
|
-
|
|
735
|
+
data: {
|
|
736
|
+
createdAt: string;
|
|
737
|
+
email: string;
|
|
738
|
+
id: string;
|
|
739
|
+
inviteLinkId: string;
|
|
740
|
+
inviteLinkName: string;
|
|
741
|
+
orgId: string;
|
|
742
|
+
userId: string;
|
|
743
|
+
}[];
|
|
720
744
|
};
|
|
721
745
|
outputFormat: "json";
|
|
722
746
|
status: 200;
|
|
@@ -726,11 +750,7 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
726
750
|
orgId: string;
|
|
727
751
|
};
|
|
728
752
|
};
|
|
729
|
-
}
|
|
730
|
-
};
|
|
731
|
-
} & {
|
|
732
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}/redemptions": {
|
|
733
|
-
$get: {
|
|
753
|
+
} | {
|
|
734
754
|
output: {
|
|
735
755
|
error: {
|
|
736
756
|
code: "api_key_malformed";
|
|
@@ -750,14 +770,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
750
770
|
} | {
|
|
751
771
|
output: {
|
|
752
772
|
error: {
|
|
753
|
-
code: "
|
|
773
|
+
code: "param_invalid";
|
|
754
774
|
details?: readonly Response.error.Detail[] | undefined;
|
|
755
775
|
message: string;
|
|
756
776
|
};
|
|
757
777
|
requestId: string;
|
|
758
778
|
};
|
|
759
779
|
outputFormat: "json";
|
|
760
|
-
status:
|
|
780
|
+
status: 400;
|
|
761
781
|
input: {
|
|
762
782
|
param: {
|
|
763
783
|
inviteLinkId: string;
|
|
@@ -767,14 +787,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
767
787
|
} | {
|
|
768
788
|
output: {
|
|
769
789
|
error: {
|
|
770
|
-
code: "
|
|
790
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
771
791
|
details?: readonly Response.error.Detail[] | undefined;
|
|
772
792
|
message: string;
|
|
773
793
|
};
|
|
774
794
|
requestId: string;
|
|
775
795
|
};
|
|
776
796
|
outputFormat: "json";
|
|
777
|
-
status:
|
|
797
|
+
status: 401;
|
|
778
798
|
input: {
|
|
779
799
|
param: {
|
|
780
800
|
inviteLinkId: string;
|
|
@@ -818,14 +838,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
818
838
|
} | {
|
|
819
839
|
output: {
|
|
820
840
|
error: {
|
|
821
|
-
code: "
|
|
841
|
+
code: "invite_link_not_found";
|
|
822
842
|
details?: readonly Response.error.Detail[] | undefined;
|
|
823
843
|
message: string;
|
|
824
844
|
};
|
|
825
845
|
requestId: string;
|
|
826
846
|
};
|
|
827
847
|
outputFormat: "json";
|
|
828
|
-
status:
|
|
848
|
+
status: 404;
|
|
829
849
|
input: {
|
|
830
850
|
param: {
|
|
831
851
|
inviteLinkId: string;
|
|
@@ -835,45 +855,37 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
835
855
|
} | {
|
|
836
856
|
output: {
|
|
837
857
|
error: {
|
|
838
|
-
code: "
|
|
858
|
+
code: "upstream_error";
|
|
839
859
|
details?: readonly Response.error.Detail[] | undefined;
|
|
840
860
|
message: string;
|
|
841
861
|
};
|
|
842
862
|
requestId: string;
|
|
843
863
|
};
|
|
844
864
|
outputFormat: "json";
|
|
845
|
-
status:
|
|
865
|
+
status: 502;
|
|
846
866
|
input: {
|
|
847
867
|
param: {
|
|
848
868
|
inviteLinkId: string;
|
|
849
869
|
orgId: string;
|
|
850
870
|
};
|
|
851
871
|
};
|
|
852
|
-
}
|
|
872
|
+
};
|
|
873
|
+
};
|
|
874
|
+
} & {
|
|
875
|
+
"/v1/invite-links/resolve": {
|
|
876
|
+
$post: {
|
|
853
877
|
output: {
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
email: string;
|
|
857
|
-
id: string;
|
|
858
|
-
inviteLinkId: string;
|
|
859
|
-
inviteLinkName: string;
|
|
860
|
-
orgId: string;
|
|
861
|
-
userId: string;
|
|
862
|
-
}[];
|
|
878
|
+
orgName: string;
|
|
879
|
+
role: "member";
|
|
863
880
|
};
|
|
864
881
|
outputFormat: "json";
|
|
865
882
|
status: 200;
|
|
866
883
|
input: {
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
orgId: string;
|
|
884
|
+
json: {
|
|
885
|
+
token: string;
|
|
870
886
|
};
|
|
871
887
|
};
|
|
872
|
-
}
|
|
873
|
-
};
|
|
874
|
-
} & {
|
|
875
|
-
"/v1/invite-links/resolve": {
|
|
876
|
-
$post: {
|
|
888
|
+
} | {
|
|
877
889
|
output: {
|
|
878
890
|
error: {
|
|
879
891
|
code: "api_key_malformed";
|
|
@@ -892,14 +904,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
892
904
|
} | {
|
|
893
905
|
output: {
|
|
894
906
|
error: {
|
|
895
|
-
code: "
|
|
907
|
+
code: "body_invalid";
|
|
896
908
|
details?: readonly Response.error.Detail[] | undefined;
|
|
897
909
|
message: string;
|
|
898
910
|
};
|
|
899
911
|
requestId: string;
|
|
900
912
|
};
|
|
901
913
|
outputFormat: "json";
|
|
902
|
-
status:
|
|
914
|
+
status: 400;
|
|
903
915
|
input: {
|
|
904
916
|
json: {
|
|
905
917
|
token: string;
|
|
@@ -908,14 +920,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
908
920
|
} | {
|
|
909
921
|
output: {
|
|
910
922
|
error: {
|
|
911
|
-
code: "
|
|
923
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
912
924
|
details?: readonly Response.error.Detail[] | undefined;
|
|
913
925
|
message: string;
|
|
914
926
|
};
|
|
915
927
|
requestId: string;
|
|
916
928
|
};
|
|
917
929
|
outputFormat: "json";
|
|
918
|
-
status:
|
|
930
|
+
status: 401;
|
|
919
931
|
input: {
|
|
920
932
|
json: {
|
|
921
933
|
token: string;
|
|
@@ -940,14 +952,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
940
952
|
} | {
|
|
941
953
|
output: {
|
|
942
954
|
error: {
|
|
943
|
-
code: "
|
|
955
|
+
code: "invite_link_not_found";
|
|
944
956
|
details?: readonly Response.error.Detail[] | undefined;
|
|
945
957
|
message: string;
|
|
946
958
|
};
|
|
947
959
|
requestId: string;
|
|
948
960
|
};
|
|
949
961
|
outputFormat: "json";
|
|
950
|
-
status:
|
|
962
|
+
status: 404;
|
|
951
963
|
input: {
|
|
952
964
|
json: {
|
|
953
965
|
token: string;
|
|
@@ -956,23 +968,28 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
956
968
|
} | {
|
|
957
969
|
output: {
|
|
958
970
|
error: {
|
|
959
|
-
code: "
|
|
971
|
+
code: "upstream_error";
|
|
960
972
|
details?: readonly Response.error.Detail[] | undefined;
|
|
961
973
|
message: string;
|
|
962
974
|
};
|
|
963
975
|
requestId: string;
|
|
964
976
|
};
|
|
965
977
|
outputFormat: "json";
|
|
966
|
-
status:
|
|
978
|
+
status: 502;
|
|
967
979
|
input: {
|
|
968
980
|
json: {
|
|
969
981
|
token: string;
|
|
970
982
|
};
|
|
971
983
|
};
|
|
972
|
-
}
|
|
984
|
+
};
|
|
985
|
+
};
|
|
986
|
+
} & {
|
|
987
|
+
"/v1/invite-links/accept": {
|
|
988
|
+
$post: {
|
|
973
989
|
output: {
|
|
974
|
-
|
|
990
|
+
orgId: string;
|
|
975
991
|
role: "member";
|
|
992
|
+
userId: string;
|
|
976
993
|
};
|
|
977
994
|
outputFormat: "json";
|
|
978
995
|
status: 200;
|
|
@@ -981,11 +998,7 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
981
998
|
token: string;
|
|
982
999
|
};
|
|
983
1000
|
};
|
|
984
|
-
}
|
|
985
|
-
};
|
|
986
|
-
} & {
|
|
987
|
-
"/v1/invite-links/accept": {
|
|
988
|
-
$post: {
|
|
1001
|
+
} | {
|
|
989
1002
|
output: {
|
|
990
1003
|
error: {
|
|
991
1004
|
code: "api_key_malformed";
|
|
@@ -1004,14 +1017,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1004
1017
|
} | {
|
|
1005
1018
|
output: {
|
|
1006
1019
|
error: {
|
|
1007
|
-
code: "
|
|
1020
|
+
code: "body_invalid";
|
|
1008
1021
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1009
1022
|
message: string;
|
|
1010
1023
|
};
|
|
1011
1024
|
requestId: string;
|
|
1012
1025
|
};
|
|
1013
1026
|
outputFormat: "json";
|
|
1014
|
-
status:
|
|
1027
|
+
status: 400;
|
|
1015
1028
|
input: {
|
|
1016
1029
|
json: {
|
|
1017
1030
|
token: string;
|
|
@@ -1020,14 +1033,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1020
1033
|
} | {
|
|
1021
1034
|
output: {
|
|
1022
1035
|
error: {
|
|
1023
|
-
code: "
|
|
1036
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1024
1037
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1025
1038
|
message: string;
|
|
1026
1039
|
};
|
|
1027
1040
|
requestId: string;
|
|
1028
1041
|
};
|
|
1029
1042
|
outputFormat: "json";
|
|
1030
|
-
status:
|
|
1043
|
+
status: 401;
|
|
1031
1044
|
input: {
|
|
1032
1045
|
json: {
|
|
1033
1046
|
token: string;
|
|
@@ -1052,14 +1065,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1052
1065
|
} | {
|
|
1053
1066
|
output: {
|
|
1054
1067
|
error: {
|
|
1055
|
-
code: "
|
|
1068
|
+
code: "invite_link_not_found";
|
|
1056
1069
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1057
1070
|
message: string;
|
|
1058
1071
|
};
|
|
1059
1072
|
requestId: string;
|
|
1060
1073
|
};
|
|
1061
1074
|
outputFormat: "json";
|
|
1062
|
-
status:
|
|
1075
|
+
status: 404;
|
|
1063
1076
|
input: {
|
|
1064
1077
|
json: {
|
|
1065
1078
|
token: string;
|
|
@@ -1068,27 +1081,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1068
1081
|
} | {
|
|
1069
1082
|
output: {
|
|
1070
1083
|
error: {
|
|
1071
|
-
code: "
|
|
1084
|
+
code: "upstream_error";
|
|
1072
1085
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1073
1086
|
message: string;
|
|
1074
1087
|
};
|
|
1075
1088
|
requestId: string;
|
|
1076
1089
|
};
|
|
1077
1090
|
outputFormat: "json";
|
|
1078
|
-
status:
|
|
1079
|
-
input: {
|
|
1080
|
-
json: {
|
|
1081
|
-
token: string;
|
|
1082
|
-
};
|
|
1083
|
-
};
|
|
1084
|
-
} | {
|
|
1085
|
-
output: {
|
|
1086
|
-
orgId: string;
|
|
1087
|
-
role: "member";
|
|
1088
|
-
userId: string;
|
|
1089
|
-
};
|
|
1090
|
-
outputFormat: "json";
|
|
1091
|
-
status: 200;
|
|
1091
|
+
status: 502;
|
|
1092
1092
|
input: {
|
|
1093
1093
|
json: {
|
|
1094
1094
|
token: string;
|