tapimo 0.5.2 → 0.5.3

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