@sixb/server 0.1.2 → 0.1.4
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/README.md +1 -1
- package/dist/auth/experience.d.ts +33 -0
- package/dist/auth/experience.d.ts.map +1 -0
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2122 -1391
- package/dist/index.js.map +24 -19
- package/dist/openapi/tags.d.ts +10 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/action-runs.d.ts +6 -6
- package/dist/routes/actions.d.ts +3 -3
- package/dist/routes/agents.d.ts +164 -77
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts +31 -0
- package/dist/routes/ai-accounting.d.ts.map +1 -0
- package/dist/routes/auth.d.ts +110 -53
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +56 -56
- package/dist/routes/connector-connections.d.ts +14 -14
- package/dist/routes/datasets.d.ts +12 -12
- package/dist/routes/events.d.ts +1 -1
- package/dist/routes/files.d.ts +8 -8
- package/dist/routes/links.d.ts +6 -57
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +3 -3
- package/dist/routes/models.d.ts +60 -0
- package/dist/routes/models.d.ts.map +1 -0
- package/dist/routes/objects.d.ts +51 -3
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +10 -10
- package/dist/routes/projections.d.ts +150 -136
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +38 -38
- package/dist/routes/telemetry.d.ts +7 -7
- package/dist/routes/webhook-runs.d.ts +2 -2
- package/dist/routes/workflows.d.ts +142 -57
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/schemas/actions.d.ts +16 -16
- package/dist/schemas/agents.d.ts +586 -142
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +2393 -0
- package/dist/schemas/ai-accounting.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +96 -96
- package/dist/schemas/connectors.d.ts +35 -25
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +6 -6
- package/dist/schemas/links.d.ts +0 -41
- package/dist/schemas/links.d.ts.map +1 -1
- package/dist/schemas/logs.d.ts +22 -22
- package/dist/schemas/models.d.ts +50 -0
- package/dist/schemas/models.d.ts.map +1 -0
- package/dist/schemas/objects.d.ts +22 -0
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +20 -20
- package/dist/schemas/projections.d.ts +947 -806
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/status.d.ts +2 -2
- package/dist/schemas/syncs.d.ts +33 -33
- package/dist/schemas/webhook-runs.d.ts +12 -12
- package/dist/schemas/workflows.d.ts +833 -162
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +5 -0
- package/dist/server.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/auth/experience.ts +190 -0
- package/src/auth/public-routes.ts +7 -0
- package/src/index.ts +1 -0
- package/src/openapi/tags.ts +8 -0
- package/src/registerRoutes.ts +4 -0
- package/src/routes/agents.ts +22 -3
- package/src/routes/ai-accounting.ts +166 -0
- package/src/routes/auth.ts +188 -32
- package/src/routes/links.ts +2 -53
- package/src/routes/models.ts +31 -0
- package/src/routes/objects.ts +103 -0
- package/src/routes/projections.ts +18 -4
- package/src/routes/workflows.ts +16 -0
- package/src/schemas/agents.ts +19 -9
- package/src/schemas/ai-accounting.ts +182 -0
- package/src/schemas/connectors.ts +13 -3
- package/src/schemas/links.ts +0 -17
- package/src/schemas/models.ts +15 -0
- package/src/schemas/objects.ts +104 -0
- package/src/schemas/projections.ts +12 -3
- package/src/schemas/workflows.ts +8 -3
- package/src/server.ts +10 -0
package/dist/routes/auth.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { SixbHostView } from "@sixb/core";
|
|
2
2
|
import { type Elysia } from "elysia";
|
|
3
3
|
import { type AuthInvitationDestinationOptions, type AuthInvitationRedirectContext, type AuthInvitationRedirectInput, type ResolveAuthRedirectContext, type ResolveRequestAuthContext } from "../auth/browser-origin";
|
|
4
|
+
import { type SixbAuthExperienceOptions } from "../auth/experience";
|
|
4
5
|
export interface AuthRoutesOptions {
|
|
5
6
|
readonly resolveAuthContext: ResolveRequestAuthContext;
|
|
6
7
|
readonly resolveAuthRedirectContext: ResolveAuthRedirectContext;
|
|
7
8
|
readonly getInvitationDestinationOptions: (request: Request) => AuthInvitationDestinationOptions;
|
|
8
9
|
readonly resolveAuthRequestOrigin: (request: Request) => string;
|
|
9
10
|
readonly resolveInvitationRedirectContext: (request: Request, input: AuthInvitationRedirectInput) => AuthInvitationRedirectContext;
|
|
11
|
+
readonly authExperience?: SixbAuthExperienceOptions;
|
|
10
12
|
}
|
|
11
13
|
export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, options: AuthRoutesOptions): Elysia<"", {
|
|
12
14
|
decorator: {};
|
|
@@ -24,6 +26,60 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
24
26
|
parser: {};
|
|
25
27
|
response: {};
|
|
26
28
|
}, {
|
|
29
|
+
auth: {
|
|
30
|
+
assets: {
|
|
31
|
+
"*": {
|
|
32
|
+
get: {
|
|
33
|
+
body: unknown;
|
|
34
|
+
params: {
|
|
35
|
+
"*": string;
|
|
36
|
+
} & {};
|
|
37
|
+
query: unknown;
|
|
38
|
+
headers: unknown;
|
|
39
|
+
response: {
|
|
40
|
+
200: Response;
|
|
41
|
+
422: {
|
|
42
|
+
type: "validation";
|
|
43
|
+
on: string;
|
|
44
|
+
summary?: string;
|
|
45
|
+
message?: string;
|
|
46
|
+
found?: unknown;
|
|
47
|
+
property?: string;
|
|
48
|
+
expected?: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
} & {
|
|
56
|
+
auth: {
|
|
57
|
+
assets: {
|
|
58
|
+
"*": {
|
|
59
|
+
head: {
|
|
60
|
+
body: unknown;
|
|
61
|
+
params: {
|
|
62
|
+
"*": string;
|
|
63
|
+
} & {};
|
|
64
|
+
query: unknown;
|
|
65
|
+
headers: unknown;
|
|
66
|
+
response: {
|
|
67
|
+
200: Response;
|
|
68
|
+
422: {
|
|
69
|
+
type: "validation";
|
|
70
|
+
on: string;
|
|
71
|
+
summary?: string;
|
|
72
|
+
message?: string;
|
|
73
|
+
found?: unknown;
|
|
74
|
+
property?: string;
|
|
75
|
+
expected?: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
} & {
|
|
27
83
|
api: {
|
|
28
84
|
auth: {
|
|
29
85
|
session: {
|
|
@@ -154,13 +210,13 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
154
210
|
200: {
|
|
155
211
|
success: boolean;
|
|
156
212
|
};
|
|
157
|
-
|
|
213
|
+
404: {
|
|
158
214
|
error: string;
|
|
159
215
|
};
|
|
160
|
-
|
|
216
|
+
401: {
|
|
161
217
|
error: string;
|
|
162
218
|
};
|
|
163
|
-
|
|
219
|
+
403: {
|
|
164
220
|
error: string;
|
|
165
221
|
};
|
|
166
222
|
422: {
|
|
@@ -262,8 +318,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
262
318
|
response: {
|
|
263
319
|
200: {
|
|
264
320
|
accessTokens: {
|
|
265
|
-
id: string;
|
|
266
321
|
status: "expired" | "active" | "revoked";
|
|
322
|
+
id: string;
|
|
267
323
|
kind: "serviceAccount" | "personal";
|
|
268
324
|
name: string;
|
|
269
325
|
expiresAt: string;
|
|
@@ -327,8 +383,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
327
383
|
};
|
|
328
384
|
201: {
|
|
329
385
|
accessToken: {
|
|
330
|
-
id: string;
|
|
331
386
|
status: "expired" | "active" | "revoked";
|
|
387
|
+
id: string;
|
|
332
388
|
kind: "serviceAccount" | "personal";
|
|
333
389
|
name: string;
|
|
334
390
|
expiresAt: string;
|
|
@@ -374,8 +430,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
374
430
|
response: {
|
|
375
431
|
200: {
|
|
376
432
|
accessToken: {
|
|
377
|
-
id: string;
|
|
378
433
|
status: "expired" | "active" | "revoked";
|
|
434
|
+
id: string;
|
|
379
435
|
kind: "serviceAccount" | "personal";
|
|
380
436
|
name: string;
|
|
381
437
|
expiresAt: string;
|
|
@@ -390,13 +446,13 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
390
446
|
lastUsedIpAddress?: string | undefined;
|
|
391
447
|
};
|
|
392
448
|
};
|
|
393
|
-
|
|
449
|
+
404: {
|
|
394
450
|
error: string;
|
|
395
451
|
};
|
|
396
|
-
|
|
452
|
+
401: {
|
|
397
453
|
error: string;
|
|
398
454
|
};
|
|
399
|
-
|
|
455
|
+
403: {
|
|
400
456
|
error: string;
|
|
401
457
|
};
|
|
402
458
|
500: {
|
|
@@ -430,8 +486,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
430
486
|
response: {
|
|
431
487
|
200: {
|
|
432
488
|
serviceAccounts: {
|
|
433
|
-
id: string;
|
|
434
489
|
status: "active" | "suspended";
|
|
490
|
+
id: string;
|
|
435
491
|
name: string;
|
|
436
492
|
groupIds: string[];
|
|
437
493
|
createdAt: string;
|
|
@@ -492,8 +548,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
492
548
|
};
|
|
493
549
|
201: {
|
|
494
550
|
serviceAccount: {
|
|
495
|
-
id: string;
|
|
496
551
|
status: "active" | "suspended";
|
|
552
|
+
id: string;
|
|
497
553
|
name: string;
|
|
498
554
|
groupIds: string[];
|
|
499
555
|
createdAt: string;
|
|
@@ -531,8 +587,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
531
587
|
response: {
|
|
532
588
|
200: {
|
|
533
589
|
serviceAccount: {
|
|
534
|
-
id: string;
|
|
535
590
|
status: "active" | "suspended";
|
|
591
|
+
id: string;
|
|
536
592
|
name: string;
|
|
537
593
|
groupIds: string[];
|
|
538
594
|
createdAt: string;
|
|
@@ -540,13 +596,13 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
540
596
|
description?: string | undefined;
|
|
541
597
|
};
|
|
542
598
|
};
|
|
543
|
-
|
|
599
|
+
404: {
|
|
544
600
|
error: string;
|
|
545
601
|
};
|
|
546
|
-
|
|
602
|
+
401: {
|
|
547
603
|
error: string;
|
|
548
604
|
};
|
|
549
|
-
|
|
605
|
+
403: {
|
|
550
606
|
error: string;
|
|
551
607
|
};
|
|
552
608
|
500: {
|
|
@@ -584,8 +640,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
584
640
|
response: {
|
|
585
641
|
200: {
|
|
586
642
|
accessTokens: {
|
|
587
|
-
id: string;
|
|
588
643
|
status: "expired" | "active" | "revoked";
|
|
644
|
+
id: string;
|
|
589
645
|
kind: "serviceAccount" | "personal";
|
|
590
646
|
name: string;
|
|
591
647
|
expiresAt: string;
|
|
@@ -600,13 +656,13 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
600
656
|
lastUsedIpAddress?: string | undefined;
|
|
601
657
|
}[];
|
|
602
658
|
};
|
|
603
|
-
|
|
659
|
+
404: {
|
|
604
660
|
error: string;
|
|
605
661
|
};
|
|
606
|
-
|
|
662
|
+
401: {
|
|
607
663
|
error: string;
|
|
608
664
|
};
|
|
609
|
-
|
|
665
|
+
403: {
|
|
610
666
|
error: string;
|
|
611
667
|
};
|
|
612
668
|
500: {
|
|
@@ -647,6 +703,9 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
647
703
|
headers: unknown;
|
|
648
704
|
response: {
|
|
649
705
|
200: Response;
|
|
706
|
+
404: {
|
|
707
|
+
error: string;
|
|
708
|
+
};
|
|
650
709
|
401: {
|
|
651
710
|
error: string;
|
|
652
711
|
};
|
|
@@ -656,16 +715,13 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
656
715
|
400: {
|
|
657
716
|
error: string;
|
|
658
717
|
};
|
|
659
|
-
404: {
|
|
660
|
-
error: string;
|
|
661
|
-
};
|
|
662
718
|
500: {
|
|
663
719
|
error: string;
|
|
664
720
|
};
|
|
665
721
|
201: {
|
|
666
722
|
accessToken: {
|
|
667
|
-
id: string;
|
|
668
723
|
status: "expired" | "active" | "revoked";
|
|
724
|
+
id: string;
|
|
669
725
|
kind: "serviceAccount" | "personal";
|
|
670
726
|
name: string;
|
|
671
727
|
expiresAt: string;
|
|
@@ -716,8 +772,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
716
772
|
response: {
|
|
717
773
|
200: {
|
|
718
774
|
accessToken: {
|
|
719
|
-
id: string;
|
|
720
775
|
status: "expired" | "active" | "revoked";
|
|
776
|
+
id: string;
|
|
721
777
|
kind: "serviceAccount" | "personal";
|
|
722
778
|
name: string;
|
|
723
779
|
expiresAt: string;
|
|
@@ -732,13 +788,13 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
732
788
|
lastUsedIpAddress?: string | undefined;
|
|
733
789
|
};
|
|
734
790
|
};
|
|
735
|
-
|
|
791
|
+
404: {
|
|
736
792
|
error: string;
|
|
737
793
|
};
|
|
738
|
-
|
|
794
|
+
401: {
|
|
739
795
|
error: string;
|
|
740
796
|
};
|
|
741
|
-
|
|
797
|
+
403: {
|
|
742
798
|
error: string;
|
|
743
799
|
};
|
|
744
800
|
500: {
|
|
@@ -779,6 +835,9 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
779
835
|
headers: unknown;
|
|
780
836
|
response: {
|
|
781
837
|
200: Response;
|
|
838
|
+
404: {
|
|
839
|
+
error: string;
|
|
840
|
+
};
|
|
782
841
|
401: {
|
|
783
842
|
error: string;
|
|
784
843
|
};
|
|
@@ -788,16 +847,13 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
788
847
|
400: {
|
|
789
848
|
error: string;
|
|
790
849
|
};
|
|
791
|
-
404: {
|
|
792
|
-
error: string;
|
|
793
|
-
};
|
|
794
850
|
500: {
|
|
795
851
|
error: string;
|
|
796
852
|
};
|
|
797
853
|
201: {
|
|
798
854
|
invitation: {
|
|
799
|
-
id: string;
|
|
800
855
|
status: "pending" | "accepted" | "revoked";
|
|
856
|
+
id: string;
|
|
801
857
|
email: string;
|
|
802
858
|
expiresAt: string;
|
|
803
859
|
groupIds: string[];
|
|
@@ -842,8 +898,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
842
898
|
createInvitation: {
|
|
843
899
|
state: "enabled";
|
|
844
900
|
} | {
|
|
845
|
-
state: "disabled";
|
|
846
901
|
reason: "missing_membership_policy" | "invitation_delivery_not_supported";
|
|
902
|
+
state: "disabled";
|
|
847
903
|
};
|
|
848
904
|
};
|
|
849
905
|
groups: {
|
|
@@ -898,8 +954,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
898
954
|
hasMore: boolean;
|
|
899
955
|
total: number;
|
|
900
956
|
invitations: {
|
|
901
|
-
id: string;
|
|
902
957
|
status: "pending" | "accepted" | "revoked";
|
|
958
|
+
id: string;
|
|
903
959
|
email: string;
|
|
904
960
|
expiresAt: string;
|
|
905
961
|
groupIds: string[];
|
|
@@ -909,6 +965,9 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
909
965
|
revokedAt?: string | undefined;
|
|
910
966
|
}[];
|
|
911
967
|
};
|
|
968
|
+
404: {
|
|
969
|
+
error: string;
|
|
970
|
+
};
|
|
912
971
|
401: {
|
|
913
972
|
error: string;
|
|
914
973
|
};
|
|
@@ -918,9 +977,6 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
918
977
|
400: {
|
|
919
978
|
error: string;
|
|
920
979
|
};
|
|
921
|
-
404: {
|
|
922
|
-
error: string;
|
|
923
|
-
};
|
|
924
980
|
500: {
|
|
925
981
|
error: string;
|
|
926
982
|
};
|
|
@@ -954,8 +1010,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
954
1010
|
response: {
|
|
955
1011
|
200: {
|
|
956
1012
|
invitation: {
|
|
957
|
-
id: string;
|
|
958
1013
|
status: "pending" | "accepted" | "revoked";
|
|
1014
|
+
id: string;
|
|
959
1015
|
email: string;
|
|
960
1016
|
expiresAt: string;
|
|
961
1017
|
groupIds: string[];
|
|
@@ -965,6 +1021,9 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
965
1021
|
revokedAt?: string | undefined;
|
|
966
1022
|
};
|
|
967
1023
|
};
|
|
1024
|
+
404: {
|
|
1025
|
+
error: string;
|
|
1026
|
+
};
|
|
968
1027
|
401: {
|
|
969
1028
|
error: string;
|
|
970
1029
|
};
|
|
@@ -974,9 +1033,6 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
974
1033
|
400: {
|
|
975
1034
|
error: string;
|
|
976
1035
|
};
|
|
977
|
-
404: {
|
|
978
|
-
error: string;
|
|
979
|
-
};
|
|
980
1036
|
500: {
|
|
981
1037
|
error: string;
|
|
982
1038
|
};
|
|
@@ -1057,8 +1113,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
1057
1113
|
total: number;
|
|
1058
1114
|
members: {
|
|
1059
1115
|
user: {
|
|
1060
|
-
id: string;
|
|
1061
1116
|
status: "active" | "suspended";
|
|
1117
|
+
id: string;
|
|
1062
1118
|
email: string;
|
|
1063
1119
|
createdAt: string;
|
|
1064
1120
|
updatedAt: string;
|
|
@@ -1115,8 +1171,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
1115
1171
|
200: {
|
|
1116
1172
|
member: {
|
|
1117
1173
|
user: {
|
|
1118
|
-
id: string;
|
|
1119
1174
|
status: "active" | "suspended";
|
|
1175
|
+
id: string;
|
|
1120
1176
|
email: string;
|
|
1121
1177
|
createdAt: string;
|
|
1122
1178
|
updatedAt: string;
|
|
@@ -1126,6 +1182,9 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
1126
1182
|
groupIds: string[];
|
|
1127
1183
|
};
|
|
1128
1184
|
};
|
|
1185
|
+
404: {
|
|
1186
|
+
error: string;
|
|
1187
|
+
};
|
|
1129
1188
|
401: {
|
|
1130
1189
|
error: string;
|
|
1131
1190
|
};
|
|
@@ -1135,9 +1194,6 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
1135
1194
|
400: {
|
|
1136
1195
|
error: string;
|
|
1137
1196
|
};
|
|
1138
|
-
404: {
|
|
1139
|
-
error: string;
|
|
1140
|
-
};
|
|
1141
1197
|
500: {
|
|
1142
1198
|
error: string;
|
|
1143
1199
|
};
|
|
@@ -1174,8 +1230,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
1174
1230
|
200: {
|
|
1175
1231
|
member: {
|
|
1176
1232
|
user: {
|
|
1177
|
-
id: string;
|
|
1178
1233
|
status: "active" | "suspended";
|
|
1234
|
+
id: string;
|
|
1179
1235
|
email: string;
|
|
1180
1236
|
createdAt: string;
|
|
1181
1237
|
updatedAt: string;
|
|
@@ -1185,13 +1241,13 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
1185
1241
|
groupIds: string[];
|
|
1186
1242
|
};
|
|
1187
1243
|
};
|
|
1188
|
-
|
|
1244
|
+
404: {
|
|
1189
1245
|
error: string;
|
|
1190
1246
|
};
|
|
1191
|
-
|
|
1247
|
+
401: {
|
|
1192
1248
|
error: string;
|
|
1193
1249
|
};
|
|
1194
|
-
|
|
1250
|
+
403: {
|
|
1195
1251
|
error: string;
|
|
1196
1252
|
};
|
|
1197
1253
|
500: {
|
|
@@ -1230,8 +1286,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
1230
1286
|
200: {
|
|
1231
1287
|
member: {
|
|
1232
1288
|
user: {
|
|
1233
|
-
id: string;
|
|
1234
1289
|
status: "active" | "suspended";
|
|
1290
|
+
id: string;
|
|
1235
1291
|
email: string;
|
|
1236
1292
|
createdAt: string;
|
|
1237
1293
|
updatedAt: string;
|
|
@@ -1241,13 +1297,13 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
1241
1297
|
groupIds: string[];
|
|
1242
1298
|
};
|
|
1243
1299
|
};
|
|
1244
|
-
|
|
1300
|
+
404: {
|
|
1245
1301
|
error: string;
|
|
1246
1302
|
};
|
|
1247
|
-
|
|
1303
|
+
401: {
|
|
1248
1304
|
error: string;
|
|
1249
1305
|
};
|
|
1250
|
-
|
|
1306
|
+
403: {
|
|
1251
1307
|
error: string;
|
|
1252
1308
|
};
|
|
1253
1309
|
500: {
|
|
@@ -1329,6 +1385,7 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
|
|
|
1329
1385
|
callback: {
|
|
1330
1386
|
post: {
|
|
1331
1387
|
body: {
|
|
1388
|
+
audience?: string | undefined;
|
|
1332
1389
|
token?: string | undefined;
|
|
1333
1390
|
magicLinkId?: string | undefined;
|
|
1334
1391
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/routes/auth.ts"],"names":[],"mappings":"AACA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