@gatwech/auth 1.0.0-beta.20 → 1.0.0-beta.21
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/adapters/drizzle-adapter/index.mjs +11 -2
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.mjs +1 -1
- package/dist/adapters/memory-adapter/index.d.mts +1 -1
- package/dist/adapters/memory-adapter/index.mjs +2 -2
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.mjs +1 -1
- package/dist/{audit-log-DKsUWR8O.mjs → audit-log-DgqHJ-uv.mjs} +132 -63
- package/dist/{auth-vfCyIIeV.mjs → auth-BoEA9bN7.mjs} +14 -1
- package/dist/client/index.d.mts +2 -2
- package/dist/client/plugins/index.d.mts +47 -47
- package/dist/client/plugins/index.mjs +2 -2
- package/dist/client/react/index.d.mts +2 -2
- package/dist/{client-F67q-Lbi.d.mts → client-B00gkznv.d.mts} +1 -1
- package/dist/{client-4QEb0rUr.mjs → client-CMsC6-rl.mjs} +1 -1
- package/dist/{client-C_qmyez2.d.mts → client-Da7tq8m6.d.mts} +1 -1
- package/dist/cookies/index.d.mts +3 -3
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.mjs +1 -1
- package/dist/{db-7vHnL1XA.mjs → db-CV59HpEF.mjs} +2 -2
- package/dist/{index-BX7rl07Z.d.mts → index-BECNG13R.d.mts} +13 -13
- package/dist/{index-D57DuhZR.d.mts → index-BKy-8t2n.d.mts} +179 -126
- package/dist/{index-Df0KhQRf-BEa5tdwJ.d.mts → index-BL_t8cRp-C4QYBsac.d.mts} +56 -17
- package/dist/{index-D6ku0rUC.d.mts → index-BWYXZVsV.d.mts} +5 -5
- package/dist/{index-DwPAddfE.d.mts → index-Bhc37y9F.d.mts} +3 -3
- package/dist/{index-BNhJglHC.d.mts → index-BjCQ3jmE.d.mts} +119 -119
- package/dist/{index-CzpdkTdv.d.mts → index-Bxive_YT.d.mts} +9 -9
- package/dist/{index-DGeoJ4gu.d.mts → index-C-IDh5yy.d.mts} +2 -2
- package/dist/{index-Dnd8S4S4.d.mts → index-CM1rFdwV.d.mts} +9 -9
- package/dist/{index-CNd5jqLl.d.mts → index-CMG4Pnen.d.mts} +4 -4
- package/dist/{index-4I1YhYhk.d.mts → index-CTqynuxm.d.mts} +4 -4
- package/dist/{index-CP8x1TFq.d.mts → index-CbBQdS-u.d.mts} +6 -6
- package/dist/{index-DyXi7S2M.d.mts → index-CpH-1sse.d.mts} +10 -10
- package/dist/{index-CC920PPp.d.mts → index-D1OZ2e4m.d.mts} +14 -14
- package/dist/{index-CofuaNMl.d.mts → index-Dt2I0G4X.d.mts} +7 -7
- package/dist/{index-XfE0WjTN.d.mts → index-IX1to9TB.d.mts} +34 -34
- package/dist/{index-KhbNmMmG.d.mts → index-TrOnY3pM.d.mts} +170 -170
- package/dist/{index-CsxtcAO0.d.mts → index-VUyESU4p.d.mts} +1 -1
- package/dist/{index-CBiGsvDd.d.mts → index-WV7VzW2H.d.mts} +8 -8
- package/dist/{index-Bml-PCqP.d.mts → index-YeXSxzhX.d.mts} +19 -19
- package/dist/{index-BsSKcKgO.d.mts → index-cPt-00xm.d.mts} +6 -6
- package/dist/{index-sb-UFLuo.d.mts → index-iRoaTsOj.d.mts} +2 -2
- package/dist/{index-DFSRYWFI.d.mts → index-jEkJ2Zfk.d.mts} +6 -6
- package/dist/{index-DTkcY7xH.d.mts → index-oNlp4SvD.d.mts} +10 -10
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/integrations/next-js.d.mts +4 -4
- package/dist/integrations/node.d.mts +2 -2
- package/dist/integrations/react-start.d.mts +4 -4
- package/dist/{kysely-adapter-Bkm1liPW.mjs → kysely-adapter-BidlNTiV.mjs} +4 -2
- package/dist/oauth2/index.d.mts +2 -2
- package/dist/oauth2/index.mjs +1 -1
- package/dist/{organization-CkTKs7bx.mjs → organization-D4QMpChF.mjs} +1 -1
- package/dist/plugins/admin/index.d.mts +3 -3
- package/dist/plugins/admin/index.mjs +1 -1
- package/dist/plugins/anonymous/index.d.mts +3 -3
- package/dist/plugins/anonymous/index.mjs +1 -1
- package/dist/plugins/audit-log/client.d.mts +24 -24
- package/dist/plugins/audit-log/index.d.mts +23 -23
- package/dist/plugins/audit-log/index.mjs +2 -2
- package/dist/plugins/bearer/index.d.mts +1 -1
- package/dist/plugins/captcha/index.d.mts +1 -1
- package/dist/plugins/custom-session/index.d.mts +3 -3
- package/dist/plugins/custom-session/index.mjs +1 -1
- package/dist/plugins/device-authorization/index.d.mts +1 -1
- package/dist/plugins/device-authorization/index.mjs +1 -1
- package/dist/plugins/email-otp/index.d.mts +2 -2
- package/dist/plugins/email-otp/index.mjs +1 -1
- package/dist/plugins/generic-oauth/index.d.mts +3 -3
- package/dist/plugins/generic-oauth/index.mjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.d.mts +23 -23
- package/dist/plugins/index.mjs +5 -5
- package/dist/plugins/jwt/index.d.mts +3 -3
- package/dist/plugins/jwt/index.mjs +1 -1
- package/dist/plugins/magic-link/index.d.mts +1 -1
- package/dist/plugins/magic-link/index.mjs +1 -1
- package/dist/plugins/multi-session/index.d.mts +2 -2
- package/dist/plugins/multi-session/index.mjs +1 -1
- package/dist/plugins/oauth-proxy/index.d.mts +1 -1
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/one-tap/index.d.mts +1 -1
- package/dist/plugins/one-tap/index.mjs +1 -1
- package/dist/plugins/one-time-token/index.d.mts +3 -3
- package/dist/plugins/one-time-token/index.mjs +5 -5
- package/dist/plugins/organization/index.d.mts +3 -3
- package/dist/plugins/organization/index.mjs +2 -2
- package/dist/plugins/passkey/index.d.mts +3 -3
- package/dist/plugins/passkey/index.mjs +1 -1
- package/dist/plugins/phone-number/index.d.mts +3 -3
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/sentinel/client.d.mts +24 -24
- package/dist/plugins/sentinel/client.mjs +2 -2
- package/dist/plugins/sentinel/index.d.mts +23 -23
- package/dist/plugins/sentinel/index.mjs +3 -3
- package/dist/plugins/two-factor/index.d.mts +3 -3
- package/dist/plugins/two-factor/index.mjs +1 -1
- package/dist/plugins/username/index.d.mts +1 -1
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/{pow-OK01yPG3.mjs → pow-DvkUopsK.mjs} +17 -1
- package/dist/{sentinel-DiPqydKG.mjs → sentinel-B4Wo79HK.mjs} +295 -92
- package/dist/src/adapters/memory-adapter/memory-adapter.d.ts +1 -1
- package/dist/src/adapters/prisma-adapter/test/auth.d.ts +1 -1
- package/dist/src/adapters/tests/auth-flow.d.ts +3 -3
- package/dist/src/adapters/tests/normal.d.ts +10 -2
- package/dist/src/adapters/tests/number-id.d.ts +4 -4
- package/dist/src/adapters/tests/performance.d.ts +3 -3
- package/dist/src/adapters/tests/transactions.d.ts +3 -3
- package/dist/src/api/index.d.ts +8 -8
- package/dist/src/plugins/admin/admin.d.ts +2 -2
- package/dist/src/plugins/api-key/index.d.ts +2 -2
- package/dist/src/plugins/audit-log/index.d.ts +5 -14
- package/dist/src/plugins/audit-log/remote.d.ts +4 -4
- package/dist/src/plugins/audit-log/types.d.ts +22 -0
- package/dist/src/plugins/email-otp/index.d.ts +1 -1
- package/dist/src/plugins/multi-session/index.d.ts +8 -8
- package/dist/src/plugins/organization/routes/crud-access-control.d.ts +8 -8
- package/dist/src/plugins/organization/routes/crud-invites.d.ts +46 -46
- package/dist/src/plugins/organization/routes/crud-members.d.ts +40 -40
- package/dist/src/plugins/organization/routes/crud-org.d.ts +36 -36
- package/dist/src/plugins/organization/routes/crud-team.d.ts +50 -50
- package/dist/src/plugins/sentinel/index.d.ts +10 -1
- package/dist/src/plugins/sentinel/intel.d.ts +8 -1
- package/dist/src/plugins/sentinel/memory-cache.d.ts +12 -0
- package/dist/src/plugins/sentinel/schema.d.ts +4 -0
- package/dist/src/plugins/sentinel/store.d.ts +7 -0
- package/dist/src/plugins/sentinel/types.d.ts +29 -1
- package/dist/src/test-utils/test-instance.d.ts +25 -25
- package/dist/test-utils/index.d.mts +1045 -1045
- package/dist/test-utils/index.mjs +7 -7
- package/dist/types/index.d.mts +2 -2
- package/package.json +3 -3
|
@@ -10,12 +10,12 @@ export declare const createInvitation: <O extends OrganizationOptions>(option: O
|
|
|
10
10
|
roles: typeof import("..").defaultRoles & {
|
|
11
11
|
[key: string]: import("../../access").Role<{}>;
|
|
12
12
|
};
|
|
13
|
-
getSession: (context: import("packages/core/dist/index-
|
|
14
|
-
session: import("packages/core/dist/index-
|
|
13
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
14
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
15
15
|
activeTeamId?: string | undefined;
|
|
16
16
|
activeOrganizationId?: string | undefined;
|
|
17
17
|
};
|
|
18
|
-
user: import("packages/core/dist/index-
|
|
18
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
19
19
|
}>;
|
|
20
20
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
21
21
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -43,11 +43,11 @@ export declare const createInvitation: <O extends OrganizationOptions>(option: O
|
|
|
43
43
|
}>)[];
|
|
44
44
|
}>) => Promise<{
|
|
45
45
|
session: {
|
|
46
|
-
session: import("packages/core/dist/index-
|
|
46
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
47
47
|
activeTeamId?: string | undefined;
|
|
48
48
|
activeOrganizationId?: string | undefined;
|
|
49
49
|
};
|
|
50
|
-
user: import("packages/core/dist/index-
|
|
50
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
51
51
|
};
|
|
52
52
|
}>))[];
|
|
53
53
|
body: z.ZodObject<{
|
|
@@ -143,12 +143,12 @@ export declare const createInvitation: <O extends OrganizationOptions>(option: O
|
|
|
143
143
|
roles: typeof import("..").defaultRoles & {
|
|
144
144
|
[key: string]: import("../../access").Role<{}>;
|
|
145
145
|
};
|
|
146
|
-
getSession: (context: import("packages/core/dist/index-
|
|
147
|
-
session: import("packages/core/dist/index-
|
|
146
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
147
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
148
148
|
activeTeamId?: string | undefined;
|
|
149
149
|
activeOrganizationId?: string | undefined;
|
|
150
150
|
};
|
|
151
|
-
user: import("packages/core/dist/index-
|
|
151
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
152
152
|
}>;
|
|
153
153
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
154
154
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -176,11 +176,11 @@ export declare const createInvitation: <O extends OrganizationOptions>(option: O
|
|
|
176
176
|
}>)[];
|
|
177
177
|
}>) => Promise<{
|
|
178
178
|
session: {
|
|
179
|
-
session: import("packages/core/dist/index-
|
|
179
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
180
180
|
activeTeamId?: string | undefined;
|
|
181
181
|
activeOrganizationId?: string | undefined;
|
|
182
182
|
};
|
|
183
|
-
user: import("packages/core/dist/index-
|
|
183
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
184
184
|
};
|
|
185
185
|
}>))[];
|
|
186
186
|
body: z.ZodObject<{
|
|
@@ -324,12 +324,12 @@ export declare const createInvitation: <O extends OrganizationOptions>(option: O
|
|
|
324
324
|
roles: typeof import("..").defaultRoles & {
|
|
325
325
|
[key: string]: import("../../access").Role<{}>;
|
|
326
326
|
};
|
|
327
|
-
getSession: (context: import("packages/core/dist/index-
|
|
328
|
-
session: import("packages/core/dist/index-
|
|
327
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
328
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
329
329
|
activeTeamId?: string | undefined;
|
|
330
330
|
activeOrganizationId?: string | undefined;
|
|
331
331
|
};
|
|
332
|
-
user: import("packages/core/dist/index-
|
|
332
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
333
333
|
}>;
|
|
334
334
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
335
335
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -357,11 +357,11 @@ export declare const createInvitation: <O extends OrganizationOptions>(option: O
|
|
|
357
357
|
}>)[];
|
|
358
358
|
}>) => Promise<{
|
|
359
359
|
session: {
|
|
360
|
-
session: import("packages/core/dist/index-
|
|
360
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
361
361
|
activeTeamId?: string | undefined;
|
|
362
362
|
activeOrganizationId?: string | undefined;
|
|
363
363
|
};
|
|
364
|
-
user: import("packages/core/dist/index-
|
|
364
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
365
365
|
};
|
|
366
366
|
}>))[];
|
|
367
367
|
body: z.ZodObject<{
|
|
@@ -551,12 +551,12 @@ export declare const createInvitation: <O extends OrganizationOptions>(option: O
|
|
|
551
551
|
roles: typeof import("..").defaultRoles & {
|
|
552
552
|
[key: string]: import("../../access").Role<{}>;
|
|
553
553
|
};
|
|
554
|
-
getSession: (context: import("packages/core/dist/index-
|
|
555
|
-
session: import("packages/core/dist/index-
|
|
554
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
555
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
556
556
|
activeTeamId?: string | undefined;
|
|
557
557
|
activeOrganizationId?: string | undefined;
|
|
558
558
|
};
|
|
559
|
-
user: import("packages/core/dist/index-
|
|
559
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
560
560
|
}>;
|
|
561
561
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
562
562
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -584,11 +584,11 @@ export declare const createInvitation: <O extends OrganizationOptions>(option: O
|
|
|
584
584
|
}>)[];
|
|
585
585
|
}>) => Promise<{
|
|
586
586
|
session: {
|
|
587
|
-
session: import("packages/core/dist/index-
|
|
587
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
588
588
|
activeTeamId?: string | undefined;
|
|
589
589
|
activeOrganizationId?: string | undefined;
|
|
590
590
|
};
|
|
591
|
-
user: import("packages/core/dist/index-
|
|
591
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
592
592
|
};
|
|
593
593
|
}>))[];
|
|
594
594
|
body: z.ZodObject<{
|
|
@@ -777,12 +777,12 @@ export declare const acceptInvitation: <O extends OrganizationOptions>(options:
|
|
|
777
777
|
roles: typeof import("..").defaultRoles & {
|
|
778
778
|
[key: string]: import("../../access").Role<{}>;
|
|
779
779
|
};
|
|
780
|
-
getSession: (context: import("packages/core/dist/index-
|
|
781
|
-
session: import("packages/core/dist/index-
|
|
780
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
781
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
782
782
|
activeTeamId?: string | undefined;
|
|
783
783
|
activeOrganizationId?: string | undefined;
|
|
784
784
|
};
|
|
785
|
-
user: import("packages/core/dist/index-
|
|
785
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
786
786
|
}>;
|
|
787
787
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
788
788
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -810,11 +810,11 @@ export declare const acceptInvitation: <O extends OrganizationOptions>(options:
|
|
|
810
810
|
}>)[];
|
|
811
811
|
}>) => Promise<{
|
|
812
812
|
session: {
|
|
813
|
-
session: import("packages/core/dist/index-
|
|
813
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
814
814
|
activeTeamId?: string | undefined;
|
|
815
815
|
activeOrganizationId?: string | undefined;
|
|
816
816
|
};
|
|
817
|
-
user: import("packages/core/dist/index-
|
|
817
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
818
818
|
};
|
|
819
819
|
}>))[];
|
|
820
820
|
metadata: {
|
|
@@ -908,12 +908,12 @@ export declare const rejectInvitation: <O extends OrganizationOptions>(options:
|
|
|
908
908
|
roles: typeof import("..").defaultRoles & {
|
|
909
909
|
[key: string]: import("../../access").Role<{}>;
|
|
910
910
|
};
|
|
911
|
-
getSession: (context: import("packages/core/dist/index-
|
|
912
|
-
session: import("packages/core/dist/index-
|
|
911
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
912
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
913
913
|
activeTeamId?: string | undefined;
|
|
914
914
|
activeOrganizationId?: string | undefined;
|
|
915
915
|
};
|
|
916
|
-
user: import("packages/core/dist/index-
|
|
916
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
917
917
|
}>;
|
|
918
918
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
919
919
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -941,11 +941,11 @@ export declare const rejectInvitation: <O extends OrganizationOptions>(options:
|
|
|
941
941
|
}>)[];
|
|
942
942
|
}>) => Promise<{
|
|
943
943
|
session: {
|
|
944
|
-
session: import("packages/core/dist/index-
|
|
944
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
945
945
|
activeTeamId?: string | undefined;
|
|
946
946
|
activeOrganizationId?: string | undefined;
|
|
947
947
|
};
|
|
948
|
-
user: import("packages/core/dist/index-
|
|
948
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
949
949
|
};
|
|
950
950
|
}>))[];
|
|
951
951
|
metadata: {
|
|
@@ -1057,12 +1057,12 @@ export declare const cancelInvitation: <O extends OrganizationOptions>(options:
|
|
|
1057
1057
|
roles: typeof import("..").defaultRoles & {
|
|
1058
1058
|
[key: string]: import("../../access").Role<{}>;
|
|
1059
1059
|
};
|
|
1060
|
-
getSession: (context: import("packages/core/dist/index-
|
|
1061
|
-
session: import("packages/core/dist/index-
|
|
1060
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
1061
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
1062
1062
|
activeTeamId?: string | undefined;
|
|
1063
1063
|
activeOrganizationId?: string | undefined;
|
|
1064
1064
|
};
|
|
1065
|
-
user: import("packages/core/dist/index-
|
|
1065
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
1066
1066
|
}>;
|
|
1067
1067
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
1068
1068
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -1090,11 +1090,11 @@ export declare const cancelInvitation: <O extends OrganizationOptions>(options:
|
|
|
1090
1090
|
}>)[];
|
|
1091
1091
|
}>) => Promise<{
|
|
1092
1092
|
session: {
|
|
1093
|
-
session: import("packages/core/dist/index-
|
|
1093
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
1094
1094
|
activeTeamId?: string | undefined;
|
|
1095
1095
|
activeOrganizationId?: string | undefined;
|
|
1096
1096
|
};
|
|
1097
|
-
user: import("packages/core/dist/index-
|
|
1097
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
1098
1098
|
};
|
|
1099
1099
|
}>))[];
|
|
1100
1100
|
openapi: {
|
|
@@ -1234,12 +1234,12 @@ export declare const getInvitation: <O extends OrganizationOptions>(options: O)
|
|
|
1234
1234
|
roles: typeof import("..").defaultRoles & {
|
|
1235
1235
|
[key: string]: import("../../access").Role<{}>;
|
|
1236
1236
|
};
|
|
1237
|
-
getSession: (context: import("packages/core/dist/index-
|
|
1238
|
-
session: import("packages/core/dist/index-
|
|
1237
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
1238
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
1239
1239
|
activeTeamId?: string | undefined;
|
|
1240
1240
|
activeOrganizationId?: string | undefined;
|
|
1241
1241
|
};
|
|
1242
|
-
user: import("packages/core/dist/index-
|
|
1242
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
1243
1243
|
}>;
|
|
1244
1244
|
}>)[];
|
|
1245
1245
|
requireHeaders: true;
|
|
@@ -1377,12 +1377,12 @@ export declare const listInvitations: <O extends OrganizationOptions>(options: O
|
|
|
1377
1377
|
roles: typeof import("..").defaultRoles & {
|
|
1378
1378
|
[key: string]: import("../../access").Role<{}>;
|
|
1379
1379
|
};
|
|
1380
|
-
getSession: (context: import("packages/core/dist/index-
|
|
1381
|
-
session: import("packages/core/dist/index-
|
|
1380
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
1381
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
1382
1382
|
activeTeamId?: string | undefined;
|
|
1383
1383
|
activeOrganizationId?: string | undefined;
|
|
1384
1384
|
};
|
|
1385
|
-
user: import("packages/core/dist/index-
|
|
1385
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
1386
1386
|
}>;
|
|
1387
1387
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
1388
1388
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -1410,11 +1410,11 @@ export declare const listInvitations: <O extends OrganizationOptions>(options: O
|
|
|
1410
1410
|
}>)[];
|
|
1411
1411
|
}>) => Promise<{
|
|
1412
1412
|
session: {
|
|
1413
|
-
session: import("packages/core/dist/index-
|
|
1413
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
1414
1414
|
activeTeamId?: string | undefined;
|
|
1415
1415
|
activeOrganizationId?: string | undefined;
|
|
1416
1416
|
};
|
|
1417
|
-
user: import("packages/core/dist/index-
|
|
1417
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
1418
1418
|
};
|
|
1419
1419
|
}>))[];
|
|
1420
1420
|
query: z.ZodOptional<z.ZodObject<{
|
|
@@ -1504,12 +1504,12 @@ export declare const listUserInvitations: <O extends OrganizationOptions>(option
|
|
|
1504
1504
|
roles: typeof import("..").defaultRoles & {
|
|
1505
1505
|
[key: string]: import("../../access").Role<{}>;
|
|
1506
1506
|
};
|
|
1507
|
-
getSession: (context: import("packages/core/dist/index-
|
|
1508
|
-
session: import("packages/core/dist/index-
|
|
1507
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
1508
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
1509
1509
|
activeTeamId?: string | undefined;
|
|
1510
1510
|
activeOrganizationId?: string | undefined;
|
|
1511
1511
|
};
|
|
1512
|
-
user: import("packages/core/dist/index-
|
|
1512
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
1513
1513
|
}>;
|
|
1514
1514
|
}>)[];
|
|
1515
1515
|
query: z.ZodOptional<z.ZodObject<{
|
|
@@ -17,12 +17,12 @@ export declare const addMember: <O extends OrganizationOptions>(option: O) => {
|
|
|
17
17
|
roles: typeof import("..").defaultRoles & {
|
|
18
18
|
[key: string]: import("../../access").Role<{}>;
|
|
19
19
|
};
|
|
20
|
-
getSession: (context: import("packages/core/dist/index-
|
|
21
|
-
session: import("packages/core/dist/index-
|
|
20
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
21
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
22
22
|
activeTeamId?: string | undefined;
|
|
23
23
|
activeOrganizationId?: string | undefined;
|
|
24
24
|
};
|
|
25
|
-
user: import("packages/core/dist/index-
|
|
25
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
26
26
|
}>;
|
|
27
27
|
}>)[];
|
|
28
28
|
metadata: {
|
|
@@ -56,12 +56,12 @@ export declare const addMember: <O extends OrganizationOptions>(option: O) => {
|
|
|
56
56
|
roles: typeof import("..").defaultRoles & {
|
|
57
57
|
[key: string]: import("../../access").Role<{}>;
|
|
58
58
|
};
|
|
59
|
-
getSession: (context: import("packages/core/dist/index-
|
|
60
|
-
session: import("packages/core/dist/index-
|
|
59
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
60
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
61
61
|
activeTeamId?: string | undefined;
|
|
62
62
|
activeOrganizationId?: string | undefined;
|
|
63
63
|
};
|
|
64
|
-
user: import("packages/core/dist/index-
|
|
64
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
65
65
|
}>;
|
|
66
66
|
}>)[];
|
|
67
67
|
metadata: {
|
|
@@ -123,12 +123,12 @@ export declare const addMember: <O extends OrganizationOptions>(option: O) => {
|
|
|
123
123
|
roles: typeof import("..").defaultRoles & {
|
|
124
124
|
[key: string]: import("../../access").Role<{}>;
|
|
125
125
|
};
|
|
126
|
-
getSession: (context: import("packages/core/dist/index-
|
|
127
|
-
session: import("packages/core/dist/index-
|
|
126
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
127
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
128
128
|
activeTeamId?: string | undefined;
|
|
129
129
|
activeOrganizationId?: string | undefined;
|
|
130
130
|
};
|
|
131
|
-
user: import("packages/core/dist/index-
|
|
131
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
132
132
|
}>;
|
|
133
133
|
}>)[];
|
|
134
134
|
metadata: {
|
|
@@ -206,12 +206,12 @@ export declare const addMember: <O extends OrganizationOptions>(option: O) => {
|
|
|
206
206
|
roles: typeof import("..").defaultRoles & {
|
|
207
207
|
[key: string]: import("../../access").Role<{}>;
|
|
208
208
|
};
|
|
209
|
-
getSession: (context: import("packages/core/dist/index-
|
|
210
|
-
session: import("packages/core/dist/index-
|
|
209
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
210
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
211
211
|
activeTeamId?: string | undefined;
|
|
212
212
|
activeOrganizationId?: string | undefined;
|
|
213
213
|
};
|
|
214
|
-
user: import("packages/core/dist/index-
|
|
214
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
215
215
|
}>;
|
|
216
216
|
}>)[];
|
|
217
217
|
metadata: {
|
|
@@ -332,12 +332,12 @@ export declare const removeMember: <O extends OrganizationOptions>(options: O) =
|
|
|
332
332
|
roles: typeof import("..").defaultRoles & {
|
|
333
333
|
[key: string]: import("../../access").Role<{}>;
|
|
334
334
|
};
|
|
335
|
-
getSession: (context: import("packages/core/dist/index-
|
|
336
|
-
session: import("packages/core/dist/index-
|
|
335
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
336
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
337
337
|
activeTeamId?: string | undefined;
|
|
338
338
|
activeOrganizationId?: string | undefined;
|
|
339
339
|
};
|
|
340
|
-
user: import("packages/core/dist/index-
|
|
340
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
341
341
|
}>;
|
|
342
342
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
343
343
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -365,11 +365,11 @@ export declare const removeMember: <O extends OrganizationOptions>(options: O) =
|
|
|
365
365
|
}>)[];
|
|
366
366
|
}>) => Promise<{
|
|
367
367
|
session: {
|
|
368
|
-
session: import("packages/core/dist/index-
|
|
368
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
369
369
|
activeTeamId?: string | undefined;
|
|
370
370
|
activeOrganizationId?: string | undefined;
|
|
371
371
|
};
|
|
372
|
-
user: import("packages/core/dist/index-
|
|
372
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
373
373
|
};
|
|
374
374
|
}>))[];
|
|
375
375
|
metadata: {
|
|
@@ -483,12 +483,12 @@ export declare const updateMemberRole: <O extends OrganizationOptions>(option: O
|
|
|
483
483
|
roles: typeof import("..").defaultRoles & {
|
|
484
484
|
[key: string]: import("../../access").Role<{}>;
|
|
485
485
|
};
|
|
486
|
-
getSession: (context: import("packages/core/dist/index-
|
|
487
|
-
session: import("packages/core/dist/index-
|
|
486
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
487
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
488
488
|
activeTeamId?: string | undefined;
|
|
489
489
|
activeOrganizationId?: string | undefined;
|
|
490
490
|
};
|
|
491
|
-
user: import("packages/core/dist/index-
|
|
491
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
492
492
|
}>;
|
|
493
493
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
494
494
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -516,11 +516,11 @@ export declare const updateMemberRole: <O extends OrganizationOptions>(option: O
|
|
|
516
516
|
}>)[];
|
|
517
517
|
}>) => Promise<{
|
|
518
518
|
session: {
|
|
519
|
-
session: import("packages/core/dist/index-
|
|
519
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
520
520
|
activeTeamId?: string | undefined;
|
|
521
521
|
activeOrganizationId?: string | undefined;
|
|
522
522
|
};
|
|
523
|
-
user: import("packages/core/dist/index-
|
|
523
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
524
524
|
};
|
|
525
525
|
}>))[];
|
|
526
526
|
metadata: {
|
|
@@ -676,12 +676,12 @@ export declare const getActiveMember: <O extends OrganizationOptions>(options: O
|
|
|
676
676
|
roles: typeof import("..").defaultRoles & {
|
|
677
677
|
[key: string]: import("../../access").Role<{}>;
|
|
678
678
|
};
|
|
679
|
-
getSession: (context: import("packages/core/dist/index-
|
|
680
|
-
session: import("packages/core/dist/index-
|
|
679
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
680
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
681
681
|
activeTeamId?: string | undefined;
|
|
682
682
|
activeOrganizationId?: string | undefined;
|
|
683
683
|
};
|
|
684
|
-
user: import("packages/core/dist/index-
|
|
684
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
685
685
|
}>;
|
|
686
686
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
687
687
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -709,11 +709,11 @@ export declare const getActiveMember: <O extends OrganizationOptions>(options: O
|
|
|
709
709
|
}>)[];
|
|
710
710
|
}>) => Promise<{
|
|
711
711
|
session: {
|
|
712
|
-
session: import("packages/core/dist/index-
|
|
712
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
713
713
|
activeTeamId?: string | undefined;
|
|
714
714
|
activeOrganizationId?: string | undefined;
|
|
715
715
|
};
|
|
716
|
-
user: import("packages/core/dist/index-
|
|
716
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
717
717
|
};
|
|
718
718
|
}>))[];
|
|
719
719
|
requireHeaders: true;
|
|
@@ -882,12 +882,12 @@ export declare const leaveOrganization: <O extends OrganizationOptions>(options:
|
|
|
882
882
|
roles: typeof import("..").defaultRoles & {
|
|
883
883
|
[key: string]: import("../../access").Role<{}>;
|
|
884
884
|
};
|
|
885
|
-
getSession: (context: import("packages/core/dist/index-
|
|
886
|
-
session: import("packages/core/dist/index-
|
|
885
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
886
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
887
887
|
activeTeamId?: string | undefined;
|
|
888
888
|
activeOrganizationId?: string | undefined;
|
|
889
889
|
};
|
|
890
|
-
user: import("packages/core/dist/index-
|
|
890
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
891
891
|
}>;
|
|
892
892
|
}>))[];
|
|
893
893
|
} & {
|
|
@@ -1031,12 +1031,12 @@ export declare const listMembers: <O extends OrganizationOptions>(options: O) =>
|
|
|
1031
1031
|
roles: typeof import("..").defaultRoles & {
|
|
1032
1032
|
[key: string]: import("../../access").Role<{}>;
|
|
1033
1033
|
};
|
|
1034
|
-
getSession: (context: import("packages/core/dist/index-
|
|
1035
|
-
session: import("packages/core/dist/index-
|
|
1034
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
1035
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
1036
1036
|
activeTeamId?: string | undefined;
|
|
1037
1037
|
activeOrganizationId?: string | undefined;
|
|
1038
1038
|
};
|
|
1039
|
-
user: import("packages/core/dist/index-
|
|
1039
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
1040
1040
|
}>;
|
|
1041
1041
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
1042
1042
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -1064,11 +1064,11 @@ export declare const listMembers: <O extends OrganizationOptions>(options: O) =>
|
|
|
1064
1064
|
}>)[];
|
|
1065
1065
|
}>) => Promise<{
|
|
1066
1066
|
session: {
|
|
1067
|
-
session: import("packages/core/dist/index-
|
|
1067
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
1068
1068
|
activeTeamId?: string | undefined;
|
|
1069
1069
|
activeOrganizationId?: string | undefined;
|
|
1070
1070
|
};
|
|
1071
|
-
user: import("packages/core/dist/index-
|
|
1071
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
1072
1072
|
};
|
|
1073
1073
|
}>))[];
|
|
1074
1074
|
} & {
|
|
@@ -1173,12 +1173,12 @@ export declare const getActiveMemberRole: <O extends OrganizationOptions>(option
|
|
|
1173
1173
|
roles: typeof import("..").defaultRoles & {
|
|
1174
1174
|
[key: string]: import("../../access").Role<{}>;
|
|
1175
1175
|
};
|
|
1176
|
-
getSession: (context: import("packages/core/dist/index-
|
|
1177
|
-
session: import("packages/core/dist/index-
|
|
1176
|
+
getSession: (context: import("packages/core/dist/index-BL_t8cRp.mjs").f) => Promise<{
|
|
1177
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
1178
1178
|
activeTeamId?: string | undefined;
|
|
1179
1179
|
activeOrganizationId?: string | undefined;
|
|
1180
1180
|
};
|
|
1181
|
-
user: import("packages/core/dist/index-
|
|
1181
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
1182
1182
|
}>;
|
|
1183
1183
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
1184
1184
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -1206,11 +1206,11 @@ export declare const getActiveMemberRole: <O extends OrganizationOptions>(option
|
|
|
1206
1206
|
}>)[];
|
|
1207
1207
|
}>) => Promise<{
|
|
1208
1208
|
session: {
|
|
1209
|
-
session: import("packages/core/dist/index-
|
|
1209
|
+
session: import("packages/core/dist/index-BL_t8cRp.mjs").bt & {
|
|
1210
1210
|
activeTeamId?: string | undefined;
|
|
1211
1211
|
activeOrganizationId?: string | undefined;
|
|
1212
1212
|
};
|
|
1213
|
-
user: import("packages/core/dist/index-
|
|
1213
|
+
user: import("packages/core/dist/index-BL_t8cRp.mjs")._t;
|
|
1214
1214
|
};
|
|
1215
1215
|
}>))[];
|
|
1216
1216
|
} & {
|