@gatwech/auth 1.0.0-beta.18 → 1.0.0-beta.19
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 +8 -14
- package/dist/{access-C6O_osEz.mjs → access-CrwEFPHE.mjs} +1 -1
- package/dist/{access-DT1f6l5k.mjs → access-bhklJd7m.mjs} +1 -1
- package/dist/{adapter-factory-BZ2Qiqpn.mjs → adapter-factory-xbLUJt85.mjs} +2 -2
- package/dist/adapters/drizzle-adapter/index.mjs +6 -5
- package/dist/adapters/index.d.mts +5 -5
- package/dist/adapters/index.mjs +6 -5
- package/dist/adapters/kysely-adapter/index.d.mts +1 -1
- package/dist/adapters/kysely-adapter/index.mjs +8 -7
- package/dist/adapters/memory-adapter/index.d.mts +1 -1
- package/dist/adapters/memory-adapter/index.mjs +6 -5
- package/dist/adapters/mongodb-adapter/index.mjs +6 -5
- package/dist/adapters/prisma-adapter/index.mjs +6 -5
- package/dist/adapters/test.mjs +4 -3
- package/dist/{admin-Bcq53Nwj.mjs → admin-BzUJL6tr.mjs} +6 -6
- package/dist/{anonymous-CRt1imBW.mjs → anonymous-BjlTk4gl.mjs} +5 -5
- package/dist/api/index.d.mts +5 -5
- package/dist/api/index.mjs +12 -11
- package/dist/{api-0pR_I-Nx.mjs → api-Dk8Yj_J5.mjs} +15 -5
- package/dist/audit-log-DKsUWR8O.mjs +772 -0
- package/dist/{auth-CBUoBX6o.mjs → auth-vfCyIIeV.mjs} +8 -8
- package/dist/{bearer-Djf_awfo.mjs → bearer-DvQLM00l.mjs} +2 -2
- package/dist/client/index.d.mts +21 -21
- package/dist/client/index.mjs +4 -4
- package/dist/client/plugins/index.d.mts +53 -45
- package/dist/client/plugins/index.mjs +16 -12
- package/dist/client/react/index.d.mts +19 -19
- package/dist/client/react/index.mjs +2 -2
- package/dist/client-4QEb0rUr.mjs +95 -0
- package/dist/client-CSOs1YN7.d.mts +14 -0
- package/dist/client-DZHNfxuR.d.mts +75 -0
- package/dist/client-DzOqXJUm.mjs +15 -0
- package/dist/{client-aExCkfwm.mjs → client-xga7yFIX.mjs} +2 -2
- package/dist/cookies/index.d.mts +6 -6
- package/dist/cookies/index.mjs +2 -2
- package/dist/{cookies-cJObLwn1.mjs → cookies-BuvlgcA-.mjs} +1 -1
- package/dist/crypto/index.mjs +2 -1
- package/dist/{crypto-Bb42eMrH.mjs → crypto-CCyta8xj.mjs} +1 -6
- package/dist/{custom-session-L3t7ecsd.mjs → custom-session-DN_-pfi_.mjs} +2 -2
- package/dist/db/index.d.mts +5 -5
- package/dist/db/index.mjs +9 -8
- package/dist/{db-BrstmDhc.mjs → db-7vHnL1XA.mjs} +15 -9
- package/dist/{device-authorization-V4s3h4Mj.mjs → device-authorization-BKnNhlsz.mjs} +4 -4
- package/dist/{dialect-CeddeGHf.mjs → dialect-HsWUfpYY.mjs} +2 -2
- package/dist/{email-otp-BtDHSw14.mjs → email-otp-Dw0DypjQ.mjs} +7 -6
- package/dist/{generic-oauth-CL5X27ZI.mjs → generic-oauth-DFj27JY8.mjs} +4 -4
- package/dist/{has-permission-BpAr7uCn.mjs → has-permission-Bvg8de8g.mjs} +1 -1
- package/dist/{haveibeenpwned-cMpJvmzI.mjs → haveibeenpwned-CzNda7Tn.mjs} +28 -15
- package/dist/{client-CNY0tn9g.d.mts → index-BAVzFqII.d.mts} +21 -21
- package/dist/{index-DaBcikv9.d.mts → index-BNDRYfTF.d.mts} +2 -2
- package/dist/{index-Cxi7TbLE.d.mts → index-BNhJglHC.d.mts} +122 -122
- package/dist/{index-BYMI9r_d.d.mts → index-Blmhq6eA.d.mts} +4 -4
- package/dist/{index-BHoQlf7a.d.mts → index-CKnPAS5n.d.mts} +178 -178
- package/dist/{index-34ONrP8l.d.mts → index-COGe8UJx.d.mts} +11 -11
- package/dist/{index-Buhn3hkR.d.mts → index-CP3FNbOZ.d.mts} +8 -8
- package/dist/{index-D_k662QG.d.mts → index-CUknVRZp.d.mts} +14 -14
- package/dist/{index-DKNNV1kb.d.mts → index-CaqpCfE5.d.mts} +8 -8
- package/dist/{index-BBm8nQ9Q.d.mts → index-CgeC2eGC.d.mts} +2 -2
- package/dist/{index-DR0xXno9.d.mts → index-CsxtcAO0.d.mts} +1 -1
- package/dist/{index-CuFzhoS6.d.mts → index-Cv9iMevV.d.mts} +10 -10
- package/dist/{index-C7fQuk-V.d.mts → index-CxlWnL9c.d.mts} +1 -1
- package/dist/{index-zjjNBRY2.d.mts → index-DG-X1PK5.d.mts} +6 -6
- package/dist/index-DRM35ir1.d.mts +3769 -0
- package/dist/{index-BqhKCbPH.d.mts → index-DS-R7st3.d.mts} +6 -6
- package/dist/{index-C-u1h_WX.d.mts → index-DXVU0HGr.d.mts} +5 -5
- package/dist/{index-DoXZYQpq.d.mts → index-Db8jqUq2.d.mts} +10 -10
- package/dist/{index-65G5U5DB-DSdjzreF.d.mts → index-Df0KhQRf-BEa5tdwJ.d.mts} +3 -2
- package/dist/{index-B-XKqFvY.d.mts → index-Df4SvZaE.d.mts} +11 -4
- package/dist/{index-G6V0Z_Mn.d.mts → index-DyH_CgmX.d.mts} +10 -10
- package/dist/{admin-DtfO1PLg.d.mts → index-EABwA_BH.d.mts} +36 -36
- package/dist/{index-z0KSvE5i.d.mts → index-QmocqGM-.d.mts} +1 -1
- package/dist/{index-DlaMq1nb.d.mts → index-mxEUX2Gs.d.mts} +14 -14
- package/dist/{client-BOX93C3d.d.mts → index-xoYsoOiR.d.mts} +52 -52
- package/dist/{index-B3n8e37d.d.mts → index-zBdYQGaS.d.mts} +7 -7
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +16 -15
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.mts +5 -5
- package/dist/integrations/react-start.d.mts +4 -4
- package/dist/integrations/react-start.mjs +2 -2
- package/dist/{jwt-lHV4QHpD.mjs → jwt-DBN2mu0r.mjs} +4 -4
- package/dist/{kysely-adapter-DpzYO8Yf.mjs → kysely-adapter-Bkm1liPW.mjs} +1 -1
- package/dist/{magic-link-Bk-ueorR.mjs → magic-link-D9Em1aOR.mjs} +3 -3
- package/dist/{multi-session-DRrLKrg9.mjs → multi-session-Dno_8DxC.mjs} +5 -5
- package/dist/{oauth-proxy-D1sWh9B_.mjs → oauth-proxy-DW-zt8wv.mjs} +2 -2
- package/dist/oauth2/index.d.mts +5 -5
- package/dist/oauth2/index.mjs +12 -11
- package/dist/{one-tap-DMswkTEc.mjs → one-tap-CodeyQb8.mjs} +2 -2
- package/dist/{organization-BArHO_5v.mjs → organization-CkTKs7bx.mjs} +9 -9
- package/dist/{passkey-CcD4CnhM.mjs → passkey-JNQTz5a0.mjs} +5 -5
- package/dist/{phone-number-rHDIlh-2.mjs → phone-number-Dqz8aeyF.mjs} +4 -4
- package/dist/plugins/access/index.d.mts +2 -2
- package/dist/plugins/access/index.mjs +1 -1
- package/dist/plugins/admin/access/index.d.mts +2 -2
- package/dist/plugins/admin/access/index.mjs +2 -2
- package/dist/plugins/admin/index.d.mts +7 -8
- package/dist/plugins/admin/index.mjs +17 -16
- package/dist/plugins/anonymous/index.d.mts +6 -6
- package/dist/plugins/anonymous/index.mjs +13 -12
- package/dist/plugins/audit-log/client.d.mts +30 -0
- package/dist/plugins/audit-log/client.mjs +3 -0
- package/dist/plugins/audit-log/index.d.mts +29 -0
- package/dist/plugins/audit-log/index.mjs +20 -0
- package/dist/plugins/bearer/index.d.mts +1 -1
- package/dist/plugins/bearer/index.mjs +3 -3
- package/dist/plugins/captcha/index.d.mts +1 -1
- package/dist/plugins/captcha/index.mjs +1 -1
- package/dist/plugins/custom-session/index.d.mts +6 -6
- package/dist/plugins/custom-session/index.mjs +14 -13
- package/dist/plugins/device-authorization/index.d.mts +3 -3
- package/dist/plugins/device-authorization/index.mjs +13 -12
- package/dist/plugins/email-otp/index.d.mts +2 -2
- package/dist/plugins/email-otp/index.mjs +14 -13
- package/dist/plugins/generic-oauth/index.d.mts +6 -6
- package/dist/plugins/generic-oauth/index.mjs +13 -12
- package/dist/plugins/haveibeenpwned/index.d.mts +2 -2
- package/dist/plugins/haveibeenpwned/index.mjs +14 -13
- package/dist/plugins/index.d.mts +29 -139
- package/dist/plugins/index.mjs +47 -42
- package/dist/plugins/jwt/index.d.mts +6 -6
- package/dist/plugins/jwt/index.mjs +13 -12
- package/dist/plugins/magic-link/index.d.mts +1 -1
- package/dist/plugins/magic-link/index.mjs +13 -12
- package/dist/plugins/multi-session/index.d.mts +2 -2
- package/dist/plugins/multi-session/index.mjs +13 -12
- package/dist/plugins/oauth-proxy/index.d.mts +1 -1
- package/dist/plugins/oauth-proxy/index.mjs +13 -12
- package/dist/plugins/one-tap/index.d.mts +1 -1
- package/dist/plugins/one-tap/index.mjs +13 -12
- package/dist/plugins/one-time-token/index.d.mts +6 -6
- package/dist/plugins/one-time-token/index.mjs +46 -41
- package/dist/plugins/organization/access/index.d.mts +3 -3
- package/dist/plugins/organization/access/index.mjs +2 -2
- package/dist/plugins/organization/index.d.mts +8 -8
- package/dist/plugins/organization/index.mjs +17 -16
- package/dist/plugins/passkey/index.d.mts +6 -6
- package/dist/plugins/passkey/index.mjs +13 -12
- package/dist/plugins/phone-number/index.d.mts +6 -6
- package/dist/plugins/phone-number/index.mjs +13 -12
- package/dist/plugins/sentinel/client.d.mts +30 -0
- package/dist/plugins/sentinel/client.mjs +5 -0
- package/dist/plugins/sentinel/index.d.mts +29 -0
- package/dist/plugins/sentinel/index.mjs +22 -0
- package/dist/plugins/two-factor/index.d.mts +6 -6
- package/dist/plugins/two-factor/index.mjs +15 -14
- package/dist/plugins/username/index.d.mts +3 -3
- package/dist/plugins/username/index.mjs +13 -12
- package/dist/{plugins-hFZT3hmK.d.mts → plugins-Dy_FrD4Y.d.mts} +1 -1
- package/dist/{plugins-3jfNste3.mjs → plugins-yF8CFUDR.mjs} +11 -8
- package/dist/pow-OK01yPG3.mjs +61 -0
- package/dist/{proxy-CL9PZXJA.mjs → proxy-C_KXfOhk.mjs} +1 -1
- package/dist/random-32E3cU5o.mjs +7 -0
- package/dist/registry-CqG_3Qnx.mjs +194 -0
- package/dist/sentinel-C-D1IHJo.mjs +1395 -0
- package/dist/{session-Dgp133Yt.mjs → session-BB3oqApE.mjs} +2 -2
- 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 +1 -1
- package/dist/src/adapters/tests/number-id.d.ts +3 -3
- 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/client/plugins/index.d.ts +2 -0
- 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/client.d.ts +10 -0
- package/dist/src/plugins/audit-log/events.d.ts +90 -0
- package/dist/src/plugins/audit-log/index.d.ts +614 -0
- package/dist/src/plugins/audit-log/registry.d.ts +13 -0
- package/dist/src/plugins/audit-log/remote.d.ts +34 -0
- package/dist/src/plugins/audit-log/schema.d.ts +50 -0
- package/dist/src/plugins/audit-log/types.d.ts +117 -0
- package/dist/src/plugins/email-otp/index.d.ts +1 -1
- package/dist/src/plugins/haveibeenpwned/index.d.ts +6 -0
- package/dist/src/plugins/index.d.ts +2 -0
- package/dist/src/plugins/multi-session/index.d.ts +8 -8
- package/dist/src/plugins/organization/organization.d.ts +5 -5
- 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/actions.d.ts +64 -0
- package/dist/src/plugins/sentinel/client.d.ts +67 -0
- package/dist/src/plugins/sentinel/email.d.ts +22 -0
- package/dist/src/plugins/sentinel/geo.d.ts +22 -0
- package/dist/src/plugins/sentinel/index.d.ts +326 -0
- package/dist/src/plugins/sentinel/intel.d.ts +45 -0
- package/dist/src/plugins/sentinel/pow.d.ts +21 -0
- package/dist/src/plugins/sentinel/schema.d.ts +110 -0
- package/dist/src/plugins/sentinel/store.d.ts +37 -0
- package/dist/src/plugins/sentinel/types.d.ts +412 -0
- package/dist/src/test-utils/memory-secondary-storage.d.ts +16 -0
- package/dist/src/test-utils/password.d.ts +12 -0
- package/dist/src/test-utils/test-instance.d.ts +25 -25
- package/dist/test-utils/index.d.mts +1048 -1048
- package/dist/test-utils/index.mjs +53 -48
- package/dist/{two-factor-ClUXxom2.mjs → two-factor-CDVjxx4f.mjs} +6 -5
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.mjs +1 -1
- package/dist/{username-DiGklOGl.mjs → username-BHNvcvsY.mjs} +3 -3
- package/dist/{utils-SOMB4Px5.mjs → utils-B03WRaGi.mjs} +2 -1
- package/package.json +36 -3
- package/dist/index-CM-CFWwr.d.mts +0 -1919
- package/dist/index-DB7t8whN.d.mts +0 -1
- /package/dist/{access-BO2g7QVe.mjs → access-BM6jSA5j.mjs} +0 -0
- /package/dist/{bun-sqlite-dialect-CeNvMaZz.mjs → bun-sqlite-dialect-CDGusFqF.mjs} +0 -0
- /package/dist/{captcha-BqaMxlKC.mjs → captcha-DGP9lCRe.mjs} +0 -0
- /package/dist/{client-CygJhqeB.mjs → client-BuveH3MN.mjs} +0 -0
- /package/dist/{client-WiN43tAS.mjs → client-cBiytuOL.mjs} +0 -0
- /package/dist/{date-Cx2yCiC4.mjs → date-CMr04reD.mjs} +0 -0
- /package/dist/{esm-C-QicDNz.mjs → esm-BbvI87Z2.mjs} +0 -0
- /package/dist/{get-tables-BQP7YW9c.mjs → get-tables-CKvSyDST.mjs} +0 -0
- /package/dist/{helper-tmxW3BHj.d.mts → helper-BgOIGHsu.d.mts} +0 -0
- /package/dist/{misc-beA1w3XV.mjs → misc-fKH4d5XQ.mjs} +0 -0
- /package/dist/{node-sqlite-dialect-BcKxBQnm.mjs → node-sqlite-dialect-CIOjcg31.mjs} +0 -0
- /package/dist/{parser-DcrIEuXE.mjs → parser-D7EkhAjZ.mjs} +0 -0
- /package/dist/{password-sVC4nePO.mjs → password-5CdcAVaH.mjs} +0 -0
- /package/dist/{permission-DLYUF3cW.mjs → permission-CDDWgA_O.mjs} +0 -0
- /package/dist/{plugin-helper-4L-lzsjZ.mjs → plugin-helper-RJJBTOba.mjs} +0 -0
- /package/dist/{promise-8rrEHRXd.mjs → promise-D7Oo6_cY.mjs} +0 -0
- /package/dist/{types-Bjn15Uy6.mjs → types-DCPpFKUB.mjs} +0 -0
- /package/dist/{types-B1OL7hyf.d.mts → types-DNQ9XQrB.d.mts} +0 -0
|
@@ -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-Df0KhQRf.mjs").f) => Promise<{
|
|
21
|
+
session: import("packages/core/dist/index-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.mjs").f) => Promise<{
|
|
60
|
+
session: import("packages/core/dist/index-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.mjs").f) => Promise<{
|
|
127
|
+
session: import("packages/core/dist/index-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.mjs").f) => Promise<{
|
|
210
|
+
session: import("packages/core/dist/index-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.mjs").f) => Promise<{
|
|
336
|
+
session: import("packages/core/dist/index-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.mjs").f) => Promise<{
|
|
487
|
+
session: import("packages/core/dist/index-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.mjs").f) => Promise<{
|
|
680
|
+
session: import("packages/core/dist/index-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.mjs").f) => Promise<{
|
|
886
|
+
session: import("packages/core/dist/index-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.mjs").f) => Promise<{
|
|
1035
|
+
session: import("packages/core/dist/index-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.mjs").f) => Promise<{
|
|
1177
|
+
session: import("packages/core/dist/index-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.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-Df0KhQRf.mjs")._t;
|
|
1214
1214
|
};
|
|
1215
1215
|
}>))[];
|
|
1216
1216
|
} & {
|
|
@@ -17,12 +17,12 @@ export declare const createOrganization: <O extends OrganizationOptions>(options
|
|
|
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-Df0KhQRf.mjs").f) => Promise<{
|
|
21
|
+
session: import("packages/core/dist/index-Df0KhQRf.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-Df0KhQRf.mjs")._t;
|
|
26
26
|
}>;
|
|
27
27
|
}>)[];
|
|
28
28
|
metadata: {
|
|
@@ -71,12 +71,12 @@ export declare const createOrganization: <O extends OrganizationOptions>(options
|
|
|
71
71
|
roles: typeof import("..").defaultRoles & {
|
|
72
72
|
[key: string]: import("../../access").Role<{}>;
|
|
73
73
|
};
|
|
74
|
-
getSession: (context: import("packages/core/dist/index-
|
|
75
|
-
session: import("packages/core/dist/index-
|
|
74
|
+
getSession: (context: import("packages/core/dist/index-Df0KhQRf.mjs").f) => Promise<{
|
|
75
|
+
session: import("packages/core/dist/index-Df0KhQRf.mjs").bt & {
|
|
76
76
|
activeTeamId?: string | undefined;
|
|
77
77
|
activeOrganizationId?: string | undefined;
|
|
78
78
|
};
|
|
79
|
-
user: import("packages/core/dist/index-
|
|
79
|
+
user: import("packages/core/dist/index-Df0KhQRf.mjs")._t;
|
|
80
80
|
}>;
|
|
81
81
|
}>)[];
|
|
82
82
|
metadata: {
|
|
@@ -150,12 +150,12 @@ export declare const createOrganization: <O extends OrganizationOptions>(options
|
|
|
150
150
|
roles: typeof import("..").defaultRoles & {
|
|
151
151
|
[key: string]: import("../../access").Role<{}>;
|
|
152
152
|
};
|
|
153
|
-
getSession: (context: import("packages/core/dist/index-
|
|
154
|
-
session: import("packages/core/dist/index-
|
|
153
|
+
getSession: (context: import("packages/core/dist/index-Df0KhQRf.mjs").f) => Promise<{
|
|
154
|
+
session: import("packages/core/dist/index-Df0KhQRf.mjs").bt & {
|
|
155
155
|
activeTeamId?: string | undefined;
|
|
156
156
|
activeOrganizationId?: string | undefined;
|
|
157
157
|
};
|
|
158
|
-
user: import("packages/core/dist/index-
|
|
158
|
+
user: import("packages/core/dist/index-Df0KhQRf.mjs")._t;
|
|
159
159
|
}>;
|
|
160
160
|
}>)[];
|
|
161
161
|
metadata: {
|
|
@@ -265,12 +265,12 @@ export declare const createOrganization: <O extends OrganizationOptions>(options
|
|
|
265
265
|
roles: typeof import("..").defaultRoles & {
|
|
266
266
|
[key: string]: import("../../access").Role<{}>;
|
|
267
267
|
};
|
|
268
|
-
getSession: (context: import("packages/core/dist/index-
|
|
269
|
-
session: import("packages/core/dist/index-
|
|
268
|
+
getSession: (context: import("packages/core/dist/index-Df0KhQRf.mjs").f) => Promise<{
|
|
269
|
+
session: import("packages/core/dist/index-Df0KhQRf.mjs").bt & {
|
|
270
270
|
activeTeamId?: string | undefined;
|
|
271
271
|
activeOrganizationId?: string | undefined;
|
|
272
272
|
};
|
|
273
|
-
user: import("packages/core/dist/index-
|
|
273
|
+
user: import("packages/core/dist/index-Df0KhQRf.mjs")._t;
|
|
274
274
|
}>;
|
|
275
275
|
}>)[];
|
|
276
276
|
metadata: {
|
|
@@ -370,12 +370,12 @@ export declare const checkOrganizationSlug: <O extends OrganizationOptions>(opti
|
|
|
370
370
|
roles: typeof import("..").defaultRoles & {
|
|
371
371
|
[key: string]: import("../../access").Role<{}>;
|
|
372
372
|
};
|
|
373
|
-
getSession: (context: import("packages/core/dist/index-
|
|
374
|
-
session: import("packages/core/dist/index-
|
|
373
|
+
getSession: (context: import("packages/core/dist/index-Df0KhQRf.mjs").f) => Promise<{
|
|
374
|
+
session: import("packages/core/dist/index-Df0KhQRf.mjs").bt & {
|
|
375
375
|
activeTeamId?: string | undefined;
|
|
376
376
|
activeOrganizationId?: string | undefined;
|
|
377
377
|
};
|
|
378
|
-
user: import("packages/core/dist/index-
|
|
378
|
+
user: import("packages/core/dist/index-Df0KhQRf.mjs")._t;
|
|
379
379
|
}>;
|
|
380
380
|
}>))[];
|
|
381
381
|
} & {
|
|
@@ -451,12 +451,12 @@ export declare const updateOrganization: <O extends OrganizationOptions>(options
|
|
|
451
451
|
roles: typeof import("..").defaultRoles & {
|
|
452
452
|
[key: string]: import("../../access").Role<{}>;
|
|
453
453
|
};
|
|
454
|
-
getSession: (context: import("packages/core/dist/index-
|
|
455
|
-
session: import("packages/core/dist/index-
|
|
454
|
+
getSession: (context: import("packages/core/dist/index-Df0KhQRf.mjs").f) => Promise<{
|
|
455
|
+
session: import("packages/core/dist/index-Df0KhQRf.mjs").bt & {
|
|
456
456
|
activeTeamId?: string | undefined;
|
|
457
457
|
activeOrganizationId?: string | undefined;
|
|
458
458
|
};
|
|
459
|
-
user: import("packages/core/dist/index-
|
|
459
|
+
user: import("packages/core/dist/index-Df0KhQRf.mjs")._t;
|
|
460
460
|
}>;
|
|
461
461
|
}>)[];
|
|
462
462
|
metadata: {
|
|
@@ -546,12 +546,12 @@ export declare const deleteOrganization: <O extends OrganizationOptions>(options
|
|
|
546
546
|
roles: typeof import("..").defaultRoles & {
|
|
547
547
|
[key: string]: import("../../access").Role<{}>;
|
|
548
548
|
};
|
|
549
|
-
getSession: (context: import("packages/core/dist/index-
|
|
550
|
-
session: import("packages/core/dist/index-
|
|
549
|
+
getSession: (context: import("packages/core/dist/index-Df0KhQRf.mjs").f) => Promise<{
|
|
550
|
+
session: import("packages/core/dist/index-Df0KhQRf.mjs").bt & {
|
|
551
551
|
activeTeamId?: string | undefined;
|
|
552
552
|
activeOrganizationId?: string | undefined;
|
|
553
553
|
};
|
|
554
|
-
user: import("packages/core/dist/index-
|
|
554
|
+
user: import("packages/core/dist/index-Df0KhQRf.mjs")._t;
|
|
555
555
|
}>;
|
|
556
556
|
}>)[];
|
|
557
557
|
metadata: {
|
|
@@ -869,12 +869,12 @@ export declare const getFullOrganization: <O extends OrganizationOptions>(option
|
|
|
869
869
|
roles: typeof import("..").defaultRoles & {
|
|
870
870
|
[key: string]: import("../../access").Role<{}>;
|
|
871
871
|
};
|
|
872
|
-
getSession: (context: import("packages/core/dist/index-
|
|
873
|
-
session: import("packages/core/dist/index-
|
|
872
|
+
getSession: (context: import("packages/core/dist/index-Df0KhQRf.mjs").f) => Promise<{
|
|
873
|
+
session: import("packages/core/dist/index-Df0KhQRf.mjs").bt & {
|
|
874
874
|
activeTeamId?: string | undefined;
|
|
875
875
|
activeOrganizationId?: string | undefined;
|
|
876
876
|
};
|
|
877
|
-
user: import("packages/core/dist/index-
|
|
877
|
+
user: import("packages/core/dist/index-Df0KhQRf.mjs")._t;
|
|
878
878
|
}>;
|
|
879
879
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
880
880
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -902,11 +902,11 @@ export declare const getFullOrganization: <O extends OrganizationOptions>(option
|
|
|
902
902
|
}>)[];
|
|
903
903
|
}>) => Promise<{
|
|
904
904
|
session: {
|
|
905
|
-
session: import("packages/core/dist/index-
|
|
905
|
+
session: import("packages/core/dist/index-Df0KhQRf.mjs").bt & {
|
|
906
906
|
activeTeamId?: string | undefined;
|
|
907
907
|
activeOrganizationId?: string | undefined;
|
|
908
908
|
};
|
|
909
|
-
user: import("packages/core/dist/index-
|
|
909
|
+
user: import("packages/core/dist/index-Df0KhQRf.mjs")._t;
|
|
910
910
|
};
|
|
911
911
|
}>))[];
|
|
912
912
|
metadata: {
|
|
@@ -1222,12 +1222,12 @@ export declare const setActiveOrganization: <O extends OrganizationOptions>(opti
|
|
|
1222
1222
|
roles: typeof import("..").defaultRoles & {
|
|
1223
1223
|
[key: string]: import("../../access").Role<{}>;
|
|
1224
1224
|
};
|
|
1225
|
-
getSession: (context: import("packages/core/dist/index-
|
|
1226
|
-
session: import("packages/core/dist/index-
|
|
1225
|
+
getSession: (context: import("packages/core/dist/index-Df0KhQRf.mjs").f) => Promise<{
|
|
1226
|
+
session: import("packages/core/dist/index-Df0KhQRf.mjs").bt & {
|
|
1227
1227
|
activeTeamId?: string | undefined;
|
|
1228
1228
|
activeOrganizationId?: string | undefined;
|
|
1229
1229
|
};
|
|
1230
|
-
user: import("packages/core/dist/index-
|
|
1230
|
+
user: import("packages/core/dist/index-Df0KhQRf.mjs")._t;
|
|
1231
1231
|
}>;
|
|
1232
1232
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
1233
1233
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -1255,11 +1255,11 @@ export declare const setActiveOrganization: <O extends OrganizationOptions>(opti
|
|
|
1255
1255
|
}>)[];
|
|
1256
1256
|
}>) => Promise<{
|
|
1257
1257
|
session: {
|
|
1258
|
-
session: import("packages/core/dist/index-
|
|
1258
|
+
session: import("packages/core/dist/index-Df0KhQRf.mjs").bt & {
|
|
1259
1259
|
activeTeamId?: string | undefined;
|
|
1260
1260
|
activeOrganizationId?: string | undefined;
|
|
1261
1261
|
};
|
|
1262
|
-
user: import("packages/core/dist/index-
|
|
1262
|
+
user: import("packages/core/dist/index-Df0KhQRf.mjs")._t;
|
|
1263
1263
|
};
|
|
1264
1264
|
}>))[];
|
|
1265
1265
|
metadata: {
|
|
@@ -1332,12 +1332,12 @@ export declare const listOrganizations: <O extends OrganizationOptions>(options:
|
|
|
1332
1332
|
roles: typeof import("..").defaultRoles & {
|
|
1333
1333
|
[key: string]: import("../../access").Role<{}>;
|
|
1334
1334
|
};
|
|
1335
|
-
getSession: (context: import("packages/core/dist/index-
|
|
1336
|
-
session: import("packages/core/dist/index-
|
|
1335
|
+
getSession: (context: import("packages/core/dist/index-Df0KhQRf.mjs").f) => Promise<{
|
|
1336
|
+
session: import("packages/core/dist/index-Df0KhQRf.mjs").bt & {
|
|
1337
1337
|
activeTeamId?: string | undefined;
|
|
1338
1338
|
activeOrganizationId?: string | undefined;
|
|
1339
1339
|
};
|
|
1340
|
-
user: import("packages/core/dist/index-
|
|
1340
|
+
user: import("packages/core/dist/index-Df0KhQRf.mjs")._t;
|
|
1341
1341
|
}>;
|
|
1342
1342
|
}>) | ((inputContext: import("better-call").MiddlewareInputContext<{
|
|
1343
1343
|
use: ((inputContext: import("better-call").MiddlewareInputContext<import("better-call").MiddlewareOptions>) => Promise<{
|
|
@@ -1365,11 +1365,11 @@ export declare const listOrganizations: <O extends OrganizationOptions>(options:
|
|
|
1365
1365
|
}>)[];
|
|
1366
1366
|
}>) => Promise<{
|
|
1367
1367
|
session: {
|
|
1368
|
-
session: import("packages/core/dist/index-
|
|
1368
|
+
session: import("packages/core/dist/index-Df0KhQRf.mjs").bt & {
|
|
1369
1369
|
activeTeamId?: string | undefined;
|
|
1370
1370
|
activeOrganizationId?: string | undefined;
|
|
1371
1371
|
};
|
|
1372
|
-
user: import("packages/core/dist/index-
|
|
1372
|
+
user: import("packages/core/dist/index-Df0KhQRf.mjs")._t;
|
|
1373
1373
|
};
|
|
1374
1374
|
}>))[];
|
|
1375
1375
|
metadata: {
|